summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Rudholm <johan.rudholm@stericsson.com>2012-02-02 14:54:37 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:02:44 +0200
commitd971e422fdbcdb0aa7dc9b379538fb948d2adb9f (patch)
tree8010ee84964b4451442dbb4a1886bb927bdb3d54
parent41fca9281352fe7f9ad98e61813c58417bfe28c2 (diff)
mach-ux500: Update U8520 SD-card GPIO pins
ST-Ericsson ID: 371953 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/board-mop500.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.h b/arch/arm/mach-ux500/board-mop500.h
index 0d78dd502e2..14f3efc22b6 100644
--- a/arch/arm/mach-ux500/board-mop500.h
+++ b/arch/arm/mach-ux500/board-mop500.h
@@ -44,6 +44,11 @@
#define MOP500_HDMI_RST_GPIO 196
#define CYPRESS_SLAVE_SELECT_GPIO 216
+/* U8520-specific GPIO assignments */
+#define U8520_SDMMC_EN_GPIO 78
+#define U8520_SDMMC_1V8_3V_GPIO 5
+#define U8520_SDMMC_CD_GPIO 95
+
/* GPIOs on the TC35892 expander */
#define GPIO_MAGNET_DRDY MOP500_EGPIO(1)
#define GPIO_SDMMC_CD MOP500_EGPIO(3)
@@ -80,6 +85,7 @@ struct i2c_board_info;
extern void mop500_sdi_init(struct device *parent);
extern void snowball_sdi_init(struct device *parent);
extern void hrefv60_sdi_init(struct device *parent);
+extern void mach_u8520_sdi_init(struct device *parent);
extern void mop500_sdi_tc35892_init(struct device *parent);
void __init mop500_u8500uib_init(void);
void __init mop500_stuib_init(void);