summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100/include/mach/regs-gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pc100/include/mach/regs-gpio.h')
-rw-r--r--arch/arm/mach-s5pc100/include/mach/regs-gpio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/include/mach/regs-gpio.h b/arch/arm/mach-s5pc100/include/mach/regs-gpio.h
index dd6295e1251..6abe481e248 100644
--- a/arch/arm/mach-s5pc100/include/mach/regs-gpio.h
+++ b/arch/arm/mach-s5pc100/include/mach/regs-gpio.h
@@ -71,5 +71,12 @@
#define S5P_EXTINT_RISEEDGE (0x03)
#define S5P_EXTINT_BOTHEDGE (0x04)
+#define EINT_MODE S3C_GPIO_SFN(0x2)
+
+#define EINT_GPIO_0(x) S5PC100_GPH0(x)
+#define EINT_GPIO_1(x) S5PC100_GPH1(x)
+#define EINT_GPIO_2(x) S5PC100_GPH2(x)
+#define EINT_GPIO_3(x) S5PC100_GPH3(x)
+
#endif /* __ASM_MACH_S5PC100_REGS_GPIO_H */