diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-13 20:48:09 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2015-05-13 20:48:09 +0200 |
commit | 0de8d62ff5cb24d72206d9bee5ad42d517ee530e (patch) | |
tree | 3f82a922625c74cca75ccb4a4da8cbd5c8ba7895 /include/g_dnl.h | |
parent | 3b1dcb176c2e211d00ba0cf9386f1f0b07a33729 (diff) |
apalis_imx6.c: prepare Apalis GPIO pins to be GPIO
In order to use the gpio commandline feature of U-Boot the pins
one wants to control must be muxed to GPIO.
Do that for Apalis pins GPIO[1:8] and for WAKE1_MICO.
This feature can be used as follows:
e.g. set GPIO1 to 1:
Apalis iMX6 # gpio set 36
gpio: pin 36 (gpio 36) value is 1
e.g. read the state of GPIO8:
Apalis iMX6 # gpio input 6
gpio: pin 6 (gpio 6) value is 1
Diffstat (limited to 'include/g_dnl.h')
0 files changed, 0 insertions, 0 deletions