GPIO
From FriendlyELEC WiKi
S5P4418/S5P6818 GPIO pin definition
See pin definition, total GPIOA ~ GPIOD 4 group,
Use the following command to see the GPIO pins.
#/bin/sh cd /sys/class/gpio for i in gpiochip* ; do echo `cat $i/label`: `cat $i/base` ; done
Output on T2:
nxp-gpio.0: 0 nxp-gpio.4: 128 nxp-gpio.5: 160 nxp-gpio.1: 32 nxp-gpio.2: 64 nxp-gpio.3: 96
Each label represents a group, and the above shows 6 groups.
Then the corresponding is:
nxp-gpio.0: 0 -> GPIOA nxp-gpio.4: 128 -> GPIOE ->AliveGPIO3 nxp-gpio.5: 160 -> GPIOF ->AliveGPIO5 nxp-gpio.1: 32 -> GPIOB nxp-gpio.2: 64 -> GPIOC nxp-gpio.3: 96 -> GPIOD
The difference between each group is 32, which is checked by the cat gpiochip0/ngpio command.