Dear List:

I am designing a board based on V3s, and I am running out of GPIO pins, let 
alone pins with interrupt capability. Can I add an I2C GPIO expander like 
MCP23008 to provide both additional GPIO pins and interrupt lines, and still 
make everything work under both booted Linux and U-Boot?

Here are where the pins are going:

Port G SDC1 + Port B UART2 + a few I/O expander GPIO interrupt pins = Wi-Fi + 
Bluetooth module AP6212
Port B EINT5 = main interrupt line going to the I/O expander
Port B UART0 = debug serial port
Port B TWI0 + a few I/O expander GPIO interrupt pins = main I2C bus shared by 
various components, including the I2C on I/O expander, AXP203, various sensors, 
touch panel, etc.
Port E LCD + Port B PWM0 = LCD
Port C SPI0 = boot Flash S25FL512
Port F SDC0 + one I/O expander GPIO interrupt pins = microSD card slot + JTAG 
header
Port F PF6 = USB OTG ID pin

Will all of this work at all? How should I set up the device tree for U-Boot 
and kernel for this?

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to