root@imx6ulevk:~# cat /sys/kernel/debug/gpio
GPIOs 0-31, platform/209c000.gpio, 209c000.gpio:
gpio-9 (VSD_3V3 ) out lo
gpio-19 (2190000.usdhc cd ) in hi
GPIOs 32-63, platform/20a0000.gpio, 20a0000.gpio:
GPIOs 64-95, platform/20a4000.gpio, 20a4000.gpio:
gpio-66 (K1 ) in hi
gpio-85 (K3 ) in hi
gpio-86 (K4 ) in lo
gpio-87 (K5 ) in lo
gpio-88 (En4 ) out lo
gpio-89 (K7 ) in lo
gpio-90 (LED1 ) out lo
gpio-91 (LED2 ) out lo
gpio-92 (LED3 ) out lo
GPIOs 96-127, platform/20a8000.gpio, 20a8000.gpio:
gpio-119 (? ) out lo
GPIOs 128-159, platform/20ac000.gpio, 20ac000.gpio:
gpio-135 (spi32766.0 ) out lo
gpio-136 (? ) out lo
gpio-138 (spi4.15 ) out lo
gpio-139 (spi4.15 ) out lo
GPIOs 248-255, spi/spi32766.0, 74hc595, can sleep:
root@imx6ulevk:~# cd /sys/class/gpio/
root@imx6ulevk:/sys/class/gpio# ls
export gpiochip128 gpiochip32 gpiochip96
gpiochip0 gpiochip248 gpiochip64 unexport
root@imx6ulevk:/sys/class/gpio# echo 131 > export
root@imx6ulevk:/sys/class/gpio# ls
export gpiochip0 gpiochip248 gpiochip64 unexport
gpio131 gpiochip128 gpiochip32 gpiochip96
root@imx6ulevk:/sys/class/gpio# cd gpio131
root@imx6ulevk:/sys/class/gpio/gpio131# ls
active_low direction power uevent
device edge subsystem value
root@imx6ulevk:/sys/class/gpio/gpio131# cat direction
in
root@imx6ulevk:/sys/class/gpio/gpio131# echo out > direction
-------gpio_ensure_requested in!
root@imx6ulevk:/sys/class/gpio/gpio131# cat direction
out
root@imx6ulevk:/sys/class/gpio/gpio131# cat value
0
root@imx6ulevk:/sys/class/gpio/gpio131# echo 1 > value
root@imx6ulevk:/sys/class/gpio/gpio131# cat value
0
Usage:
fuse read <bank> <word> [<cnt>] - read 1 or 'cnt' fuse words,
starting at 'word'
fuse sense <bank> <word> [<cnt>] - sense 1 or 'cnt' fuse words,
starting at 'word'
fuse prog [-y] <bank> <word> <hexval> [<hexval>...] - program 1 or
several fuse words, starting at 'word' (PERMANENT)
fuse override <bank> <word> <hexval> [<hexval>...] - override 1 or
several fuse words, starting at 'word'