summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500.h
diff options
context:
space:
mode:
authorBibek Basu <bibek.basu@stericsson.com>2011-02-15 12:56:16 +0530
committerLinus Walleij <linus.walleij@linaro.org>2011-03-28 08:47:18 +0200
commit3ef374a22bdf91fb3b4213200aadd054f81c3499 (patch)
treec89057633a516b558b2ef830ee5c53d482df4328 /arch/arm/mach-ux500/board-mop500.h
parent0cb3fcd72cc3e6dd88f0e769746d294e5e6bafa9 (diff)
mach-ux500: board support for AB8500 GPIO driver
This is the board support patch for ab8500 gpio driver on mach-ux500.Patch implements 16 virtual IRQ mapped to 16 interrupt capable AB8500 GPIOs. Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> [Modify for header file placement] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.h')
-rw-r--r--arch/arm/mach-ux500/board-mop500.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 56722f4be71b..03a31cc9b084 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -27,6 +27,10 @@
#define GPIO_BU21013_CS MOP500_EGPIO(13)
#define GPIO_SDMMC_EN MOP500_EGPIO(17)
#define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18)
+#define MOP500_EGPIO_END MOP500_EGPIO(24)
+
+/* GPIOs on the AB8500 mixed-signals circuit */
+#define MOP500_AB8500_GPIO(x) (MOP500_EGPIO_END + (x))
struct i2c_board_info;