summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/board-mop500.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-03 10:31:54 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-01-03 10:31:58 +0000
commitcde9efef401563943d5a58eb9b7274bfdc08ca9b (patch)
tree858a436055612db6282dc63db0fe3ba41147056a /arch/arm/mach-ux500/board-mop500.h
parent50401d77ee4904673042dd737eed436067cc23f5 (diff)
parent60ebe1568fd15b7ffa101acc645069e27d546ed6 (diff)
Merge branch 'ux500-core' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into devel-stable
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.h')
-rw-r--r--arch/arm/mach-ux500/board-mop500.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 2d240322fa6..3104ae2a02c 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -7,6 +7,15 @@
#ifndef __BOARD_MOP500_H
#define __BOARD_MOP500_H
+#define MOP500_EGPIO(x) (NOMADIK_NR_GPIO + (x))
+
+/* GPIOs on the TC35892 expander */
+#define GPIO_SDMMC_CD MOP500_EGPIO(3)
+#define GPIO_SDMMC_EN MOP500_EGPIO(17)
+#define GPIO_SDMMC_1V8_3V_SEL MOP500_EGPIO(18)
+
extern void mop500_sdi_init(void);
+extern void mop500_sdi_tc35892_init(void);
+extern void mop500_keypad_init(void);
#endif