summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5p64x0/include
diff options
context:
space:
mode:
authorPadmavathi Venna <padma.v@samsung.com>2011-07-21 16:57:59 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-07-21 17:29:29 +0900
commite8de616e39ccea3b8d3cf7e68f16d216f183c4bf (patch)
tree5fb9129a463a3ff14f4431646c427331192e693d /arch/arm/mach-s5p64x0/include
parent4c0f0a3ea1210082909f053eca75ba1149f3b039 (diff)
downloadblackbird-op-linux-e8de616e39ccea3b8d3cf7e68f16d216f183c4bf.tar.gz
blackbird-op-linux-e8de616e39ccea3b8d3cf7e68f16d216f183c4bf.zip
ARM: S5P64X0: External Interrupt Support
Add external interrupt support for S5P64X0.The external interrupt group 0(0 to 15) is used for wake-up source in stop and sleep mode. Add generic irq chip support Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5p64x0/include')
-rw-r--r--arch/arm/mach-s5p64x0/include/mach/regs-gpio.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-s5p64x0/include/mach/regs-gpio.h b/arch/arm/mach-s5p64x0/include/mach/regs-gpio.h
index 0953ef6b1c77..6ce254729f3b 100644
--- a/arch/arm/mach-s5p64x0/include/mach/regs-gpio.h
+++ b/arch/arm/mach-s5p64x0/include/mach/regs-gpio.h
@@ -34,4 +34,14 @@
#define S5P6450_GPQ_BASE (S5P_VA_GPIO + 0x0180)
#define S5P6450_GPS_BASE (S5P_VA_GPIO + 0x0300)
+/* External interrupt control registers for group0 */
+
+#define EINT0CON0_OFFSET (0x900)
+#define EINT0MASK_OFFSET (0x920)
+#define EINT0PEND_OFFSET (0x924)
+
+#define S5P64X0_EINT0CON0 (S5P_VA_GPIO + EINT0CON0_OFFSET)
+#define S5P64X0_EINT0MASK (S5P_VA_GPIO + EINT0MASK_OFFSET)
+#define S5P64X0_EINT0PEND (S5P_VA_GPIO + EINT0PEND_OFFSET)
+
#endif /* __ASM_ARCH_REGS_GPIO_H */
OpenPOWER on IntegriCloud