aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-ep93xx/irqs.h
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2006-03-20 16:02:37 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-21 17:06:21 -0500
commitbd20ff5793b4ece4fa3e9e0fcf8e6bbd93526215 (patch)
tree3241a5ab8b8ff5e00107f80417d5dc75e57e8acb /include/asm-arm/arch-ep93xx/irqs.h
parent36c64af4e013ddf44c44298f50ff138ef1e2e7b7 (diff)
[ARM] 3374/1: ep93xx: gpio interrupt support
Patch from Lennert Buytenhek Add GPIO interrupt support for the first 16 GPIO lines (port A and B.) Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-ep93xx/irqs.h')
-rw-r--r--include/asm-arm/arch-ep93xx/irqs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/arch-ep93xx/irqs.h b/include/asm-arm/arch-ep93xx/irqs.h
index 8c10fb964faf..9a42f5de9e57 100644
--- a/include/asm-arm/arch-ep93xx/irqs.h
+++ b/include/asm-arm/arch-ep93xx/irqs.h
@@ -67,7 +67,9 @@
67#define IRQ_EP93XX_SAI 60 67#define IRQ_EP93XX_SAI 60
68#define EP93XX_VIC2_VALID_IRQ_MASK 0x1fffffff 68#define EP93XX_VIC2_VALID_IRQ_MASK 0x1fffffff
69 69
70#define NR_EP93XX_IRQS 64 70#define IRQ_EP93XX_GPIO(x) (64 + (x))
71
72#define NR_EP93XX_IRQS IRQ_EP93XX_GPIO(16)
71 73
72#define EP93XX_BOARD_IRQ(x) (NR_EP93XX_IRQS + (x)) 74#define EP93XX_BOARD_IRQ(x) (NR_EP93XX_IRQS + (x))
73#define EP93XX_BOARD_IRQS 32 75#define EP93XX_BOARD_IRQS 32