Does any one have GPIO with the 3.7-RC[1~4] working? I have the LED and that's it.
Bump.
Do I need to add some kind of GPIO map?
Hi,
I have working GPIO, for now I tried only /sys/class interface (linux-3.7-rc5).
Which interface do You need to use? (/sys/class/gpio or mmap?)
Robert
I would prefer the /sys/class interface.
I have not tried RC5 yet. Do you have any custom patches, or are you running stock from kernel.org?
Hi,
I have one patch, but it is connected with I2C, so I can say that there aren't any patches.
There is explained a mapping between GPIO in Linux and GPIO in Olimex board. If I'm not wrong there are 20 available GPIO at ext_con.
There is Users manual: https://www.olimex.com/Products/OLinuXino/iMX233/iMX233-OLinuXino-MAXI/resources/iMX233-OLINUXINO-MAXI.pdf
At page 41 You have a mapping.
For example:
echo 92 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio92/direction
echo 1 > /sys/class/gpio/gpio92/value
should give 3.3V at pin nr 30 in external connector.
Thanks Robwoj! Works great.