ARM: mx5/mx53_smd: Add esdhc support
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> LAKML-Reference: 1301921449-32194-1-git-send-email-fabio.estevam@freescale.com Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
fdaf0ef72a
commit
c6c83b451c
2 changed files with 29 additions and 0 deletions
|
@ -154,6 +154,7 @@ config MACH_MX53_SMD
|
||||||
select IMX_HAVE_PLATFORM_IMX2_WDT
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
||||||
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_SDHCI_ESDHC_IMX
|
||||||
help
|
help
|
||||||
Include support for MX53 SMD platform. This includes specific
|
Include support for MX53 SMD platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
|
@ -50,6 +50,31 @@ static iomux_v3_cfg_t mx53_smd_pads[] = {
|
||||||
/* I2C1 */
|
/* I2C1 */
|
||||||
MX53_PAD_CSI0_DAT8__I2C1_SDA,
|
MX53_PAD_CSI0_DAT8__I2C1_SDA,
|
||||||
MX53_PAD_CSI0_DAT9__I2C1_SCL,
|
MX53_PAD_CSI0_DAT9__I2C1_SCL,
|
||||||
|
/* SD1 */
|
||||||
|
MX53_PAD_SD1_CMD__ESDHC1_CMD,
|
||||||
|
MX53_PAD_SD1_CLK__ESDHC1_CLK,
|
||||||
|
MX53_PAD_SD1_DATA0__ESDHC1_DAT0,
|
||||||
|
MX53_PAD_SD1_DATA1__ESDHC1_DAT1,
|
||||||
|
MX53_PAD_SD1_DATA2__ESDHC1_DAT2,
|
||||||
|
MX53_PAD_SD1_DATA3__ESDHC1_DAT3,
|
||||||
|
/* SD2 */
|
||||||
|
MX53_PAD_SD2_CMD__ESDHC2_CMD,
|
||||||
|
MX53_PAD_SD2_CLK__ESDHC2_CLK,
|
||||||
|
MX53_PAD_SD2_DATA0__ESDHC2_DAT0,
|
||||||
|
MX53_PAD_SD2_DATA1__ESDHC2_DAT1,
|
||||||
|
MX53_PAD_SD2_DATA2__ESDHC2_DAT2,
|
||||||
|
MX53_PAD_SD2_DATA3__ESDHC2_DAT3,
|
||||||
|
/* SD3 */
|
||||||
|
MX53_PAD_PATA_DATA8__ESDHC3_DAT0,
|
||||||
|
MX53_PAD_PATA_DATA9__ESDHC3_DAT1,
|
||||||
|
MX53_PAD_PATA_DATA10__ESDHC3_DAT2,
|
||||||
|
MX53_PAD_PATA_DATA11__ESDHC3_DAT3,
|
||||||
|
MX53_PAD_PATA_DATA0__ESDHC3_DAT4,
|
||||||
|
MX53_PAD_PATA_DATA1__ESDHC3_DAT5,
|
||||||
|
MX53_PAD_PATA_DATA2__ESDHC3_DAT6,
|
||||||
|
MX53_PAD_PATA_DATA3__ESDHC3_DAT7,
|
||||||
|
MX53_PAD_PATA_IORDY__ESDHC3_CLK,
|
||||||
|
MX53_PAD_PATA_RESET_B__ESDHC3_CMD,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct imxuart_platform_data mx53_smd_uart_data __initconst = {
|
static const struct imxuart_platform_data mx53_smd_uart_data __initconst = {
|
||||||
|
@ -95,6 +120,9 @@ static void __init mx53_smd_board_init(void)
|
||||||
imx53_add_fec(&mx53_smd_fec_data);
|
imx53_add_fec(&mx53_smd_fec_data);
|
||||||
imx53_add_imx2_wdt(0, NULL);
|
imx53_add_imx2_wdt(0, NULL);
|
||||||
imx53_add_imx_i2c(0, &mx53_smd_i2c_data);
|
imx53_add_imx_i2c(0, &mx53_smd_i2c_data);
|
||||||
|
imx53_add_sdhci_esdhc_imx(0, NULL);
|
||||||
|
imx53_add_sdhci_esdhc_imx(1, NULL);
|
||||||
|
imx53_add_sdhci_esdhc_imx(2, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init mx53_smd_timer_init(void)
|
static void __init mx53_smd_timer_init(void)
|
||||||
|
|
Reference in a new issue