aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5
diff options
context:
space:
mode:
authorShawn Guo <shawn.gsc@gmail.com>2010-10-21 12:55:20 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-21 16:38:55 -0400
commit7223066c3bd927c47673d21fd5e4774b7c4d8346 (patch)
tree15a1ee1df5786338d9834ae0409f4eacb792d10d /arch/arm/mach-mx5
parent662a74b4b2b7b471417b3778485332a93d07e409 (diff)
babbage: esdhc device registration
Update babbage board support to register esdhc device Signed-off-by: Shawn Guo <shawn.gsc@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r--arch/arm/mach-mx5/Kconfig1
-rw-r--r--arch/arm/mach-mx5/board-mx51_babbage.c19
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
index a2df9ac37996..fe96cd25de83 100644
--- a/arch/arm/mach-mx5/Kconfig
+++ b/arch/arm/mach-mx5/Kconfig
@@ -13,6 +13,7 @@ config MACH_MX51_BABBAGE
13 bool "Support MX51 BABBAGE platforms" 13 bool "Support MX51 BABBAGE platforms"
14 select IMX_HAVE_PLATFORM_IMX_I2C 14 select IMX_HAVE_PLATFORM_IMX_I2C
15 select IMX_HAVE_PLATFORM_IMX_UART 15 select IMX_HAVE_PLATFORM_IMX_UART
16 select IMX_HAVE_PLATFORM_ESDHC
16 help 17 help
17 Include support for MX51 Babbage platform, also known as MX51EVK in 18 Include support for MX51 Babbage platform, also known as MX51EVK in
18 u-boot. This includes specific configurations for the board and its 19 u-boot. This includes specific configurations for the board and its
diff --git a/arch/arm/mach-mx5/board-mx51_babbage.c b/arch/arm/mach-mx5/board-mx51_babbage.c
index 23ee4a447406..39304b4f0069 100644
--- a/arch/arm/mach-mx5/board-mx51_babbage.c
+++ b/arch/arm/mach-mx5/board-mx51_babbage.c
@@ -112,6 +112,22 @@ static struct pad_desc mx51babbage_pads[] = {
112 112
113 /* FEC PHY reset line */ 113 /* FEC PHY reset line */
114 MX51_PAD_EIM_A20__GPIO_2_14, 114 MX51_PAD_EIM_A20__GPIO_2_14,
115
116 /* SD 1 */
117 MX51_PAD_SD1_CMD__SD1_CMD,
118 MX51_PAD_SD1_CLK__SD1_CLK,
119 MX51_PAD_SD1_DATA0__SD1_DATA0,
120 MX51_PAD_SD1_DATA1__SD1_DATA1,
121 MX51_PAD_SD1_DATA2__SD1_DATA2,
122 MX51_PAD_SD1_DATA3__SD1_DATA3,
123
124 /* SD 2 */
125 MX51_PAD_SD2_CMD__SD2_CMD,
126 MX51_PAD_SD2_CLK__SD2_CLK,
127 MX51_PAD_SD2_DATA0__SD2_DATA0,
128 MX51_PAD_SD2_DATA1__SD2_DATA1,
129 MX51_PAD_SD2_DATA2__SD2_DATA2,
130 MX51_PAD_SD2_DATA3__SD2_DATA3,
115}; 131};
116 132
117/* Serial ports */ 133/* Serial ports */
@@ -304,6 +320,9 @@ static void __init mxc_board_init(void)
304 /* setback USBH1_STP to be function */ 320 /* setback USBH1_STP to be function */
305 mxc_iomux_v3_setup_pad(&usbh1stp); 321 mxc_iomux_v3_setup_pad(&usbh1stp);
306 babbage_usbhub_reset(); 322 babbage_usbhub_reset();
323
324 imx51_add_esdhc(0, NULL);
325 imx51_add_esdhc(1, NULL);
307} 326}
308 327
309static void __init mx51_babbage_timer_init(void) 328static void __init mx51_babbage_timer_init(void)