AnsweredAssumed Answered

WB Quad Rev. C1, GPIO mapping and "direction" settings

Question asked by Abhay Ghatpande on Nov 22, 2014
Latest reply on Nov 27, 2014 by gusarambula



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?