I have installed linux 2.6. I wanted to know if there are any drivers to access the GPR port pins.
+1
A:
Look for a /dev/gpio file. This link shows some C code that accesses the GPIO pins. Please note that the exact way this works might differ with different ARM Linux distributions, and you don't give a lot of detail in your question.
unwind
2010-06-23 07:03:18
Thanks for the linkI'm trying to access the GPIO pins using mmap. How does one get to know the physical address of the banking register controlling the pin?
tsudot
2010-06-23 11:09:17
I'm working on a friendly arm mini2440 board with a sc32440 processor
tsudot
2010-06-23 11:13:02
easy: download the datasheet or the technical reference manual and look for the register description of the gpio block.
Nils Pipenbrinck
2010-06-27 10:51:05