summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-05-28 04:44:16 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-07-09 22:38:33 +0200
commita1f7fc48c143537e2bf70affee7e8932f5be9bb4 (patch)
tree6552959ef42504b804bd527cc751058d33847c0b /include
parent[ARM] pxa: add pxa3xx NAND support for littleton (diff)
downloadlinux-a1f7fc48c143537e2bf70affee7e8932f5be9bb4.tar.xz
linux-a1f7fc48c143537e2bf70affee7e8932f5be9bb4.zip
[ARM] pxa: add GPIO expander (PCA9539) support for zylonite
And also reserve 32 IRQs for the two GPIO expanders. Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-pxa/irqs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/irqs.h b/include/asm-arm/arch-pxa/irqs.h
index b6c8fe377683..d85736048461 100644
--- a/include/asm-arm/arch-pxa/irqs.h
+++ b/include/asm-arm/arch-pxa/irqs.h
@@ -184,6 +184,8 @@
defined(CONFIG_MACH_PCM027) || \
defined(CONFIG_MACH_MAGICIAN)
#define NR_IRQS (IRQ_BOARD_END)
+#elif defined(CONFIG_MACH_ZYLONITE)
+#define NR_IRQS (IRQ_BOARD_START + 32)
#else
#define NR_IRQS (IRQ_BOARD_START)
#endif