提交 64271c4d 编写于 作者: C Craig Hughes 提交者: Russell King

[ARM] 3902/1: Enable GPIO81-84 on PXA255

The PXA255 has 84 GPIO lines available.  This patch allows access to 81-84
Signed-off-by: NCraig Hughes <craig@gumstix.com>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 52f0c673
......@@ -73,7 +73,7 @@
#define IRQ_TO_GPIO(i) (((i) < IRQ_GPIO(2)) ? ((i) - IRQ_GPIO0) : IRQ_TO_GPIO_2_x(i))
#if defined(CONFIG_PXA25x)
#define PXA_LAST_GPIO 80
#define PXA_LAST_GPIO 84
#elif defined(CONFIG_PXA27x)
#define PXA_LAST_GPIO 127
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册