diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-05-27 22:44:16 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-09 16:38:33 -0400 |
commit | a1f7fc48c143537e2bf70affee7e8932f5be9bb4 (patch) | |
tree | 6552959ef42504b804bd527cc751058d33847c0b /include/asm-arm/arch-pxa/irqs.h | |
parent | 9c1db1a1333197bc04dfd0c71d15f8ed43eb844d (diff) |
[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/asm-arm/arch-pxa/irqs.h')
-rw-r--r-- | include/asm-arm/arch-pxa/irqs.h | 2 |
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 @@ | |||
184 | defined(CONFIG_MACH_PCM027) || \ | 184 | defined(CONFIG_MACH_PCM027) || \ |
185 | defined(CONFIG_MACH_MAGICIAN) | 185 | defined(CONFIG_MACH_MAGICIAN) |
186 | #define NR_IRQS (IRQ_BOARD_END) | 186 | #define NR_IRQS (IRQ_BOARD_END) |
187 | #elif defined(CONFIG_MACH_ZYLONITE) | ||
188 | #define NR_IRQS (IRQ_BOARD_START + 32) | ||
187 | #else | 189 | #else |
188 | #define NR_IRQS (IRQ_BOARD_START) | 190 | #define NR_IRQS (IRQ_BOARD_START) |
189 | #endif | 191 | #endif |