mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 02:05:33 +00:00
[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: Craig Hughes <craig@gumstix.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
52f0c67340
commit
64271c4d90
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user