Commit 7223066c authored by Shawn Guo's avatar Shawn Guo Committed by Sascha Hauer

babbage: esdhc device registration

Update babbage board support to register esdhc device
Signed-off-by: default avatarShawn Guo <shawn.gsc@gmail.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent 662a74b4
...@@ -13,6 +13,7 @@ config MACH_MX51_BABBAGE ...@@ -13,6 +13,7 @@ config MACH_MX51_BABBAGE
bool "Support MX51 BABBAGE platforms" bool "Support MX51 BABBAGE platforms"
select IMX_HAVE_PLATFORM_IMX_I2C select IMX_HAVE_PLATFORM_IMX_I2C
select IMX_HAVE_PLATFORM_IMX_UART select IMX_HAVE_PLATFORM_IMX_UART
select IMX_HAVE_PLATFORM_ESDHC
help help
Include support for MX51 Babbage platform, also known as MX51EVK in Include support for MX51 Babbage platform, also known as MX51EVK in
u-boot. This includes specific configurations for the board and its u-boot. This includes specific configurations for the board and its
......
...@@ -112,6 +112,22 @@ static struct pad_desc mx51babbage_pads[] = { ...@@ -112,6 +112,22 @@ static struct pad_desc mx51babbage_pads[] = {
/* FEC PHY reset line */ /* FEC PHY reset line */
MX51_PAD_EIM_A20__GPIO_2_14, MX51_PAD_EIM_A20__GPIO_2_14,
/* SD 1 */
MX51_PAD_SD1_CMD__SD1_CMD,
MX51_PAD_SD1_CLK__SD1_CLK,
MX51_PAD_SD1_DATA0__SD1_DATA0,
MX51_PAD_SD1_DATA1__SD1_DATA1,
MX51_PAD_SD1_DATA2__SD1_DATA2,
MX51_PAD_SD1_DATA3__SD1_DATA3,
/* SD 2 */
MX51_PAD_SD2_CMD__SD2_CMD,
MX51_PAD_SD2_CLK__SD2_CLK,
MX51_PAD_SD2_DATA0__SD2_DATA0,
MX51_PAD_SD2_DATA1__SD2_DATA1,
MX51_PAD_SD2_DATA2__SD2_DATA2,
MX51_PAD_SD2_DATA3__SD2_DATA3,
}; };
/* Serial ports */ /* Serial ports */
...@@ -304,6 +320,9 @@ static void __init mxc_board_init(void) ...@@ -304,6 +320,9 @@ static void __init mxc_board_init(void)
/* setback USBH1_STP to be function */ /* setback USBH1_STP to be function */
mxc_iomux_v3_setup_pad(&usbh1stp); mxc_iomux_v3_setup_pad(&usbh1stp);
babbage_usbhub_reset(); babbage_usbhub_reset();
imx51_add_esdhc(0, NULL);
imx51_add_esdhc(1, NULL);
} }
static void __init mx51_babbage_timer_init(void) static void __init mx51_babbage_timer_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment