1 GPIOs features
- 90 GPIO pins (GPIO_0 to GPIO_89)
- Configurable pull-up/down
- Configurable output drive current
- Interruptable GPIOs
2 GPIO manipulation
The usage / API is well described in kernel/Documentation/gpio.txt.
3 PinMux configuration
GPIO mux configuration is done in kernel\arch\arm\mach-msm\board-8064-gpiomux.c At apq8064_init_gpiomux(void) you can find several examples of pinmux configuration. or example struct apq8064_gsbi2_UART2_configs configures GPIO pins 22,23,24 and 25 to serial port.
Generic serial bus interface (GSBI) The APQ8064 implements twelve Generic Serial Bus Interface (GSBI) ports. GSBI ports :an be configured for:
- General-purpose I/O (GPIO) bits
Please refer to datasheet section: "Table 4_2 Detailed serial interface pinout" for elaborated list.