to use GPIO, the GPIO controll register is needed to be set.
under Embedded Linux, should GPIO be mapped to PCI I/O space?
which IRQ should be arranged to it?
is there only load the driver of GPIO?
How can I use GPIO under Embedded Linux?
Anybody could provide some documents or tips?
I'm not really sure either, however, IIRC ARM maps "everything" to its memory space (memory-mapped I/O). Therefore, mmap() -- kernel mode function -- might help you. I think this function should be supported on embedded linux as well.
You should read platform document for understand the memory map.
If you use an SCO with ARM core as a microprocessor, like Ti OMPA 1710, you should read the OMAP 1710 datasheet. In the datasheet, it will point out the GPIO memory address.
In the datasheet, GPIO will be mapped to the memory space of ARM memory space rather than PCI I/O space.