I'm using Yocto dizzy build and it works like a charm for everything else. When I check out the GPIOs on sysfs, I don't see the "direction" control
# ls /sys/class/gpio/
export gpiochip128 gpiochip192 gpiochip64 unexport
gpiochip0 gpiochip160 gpiochip32 gpiochip96
# ls /sys/class/gpio/gpiochip128/
base device label ngpio power subsystem uevent
So the question is two-fold:
(1) What is the mapping of GPIO numbers to pins for Rev. C1?
(2) Why is there no direction setting?