diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-23 14:28:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-23 14:28:04 -0400 |
commit | 9a55d9752d8abfc62f1ab05ccc790d22a0c8e7c0 (patch) | |
tree | 894bb6a3fb409c6ac5f0374f5a1f656918bc35cd /arch/arm/mach-mx5/board-mx53_smd.c | |
parent | ec19628d72cff8f80220b7cedba089074ac6a599 (diff) | |
parent | dc7ad3b3d5f1cd0a0d16c05dd3ad3898979d261e (diff) |
Merge branch 'devel-stable' into for-linus
Conflicts:
arch/arm/Kconfig
arch/arm/mach-ns9xxx/include/mach/uncompress.h
Diffstat (limited to 'arch/arm/mach-mx5/board-mx53_smd.c')
-rw-r--r-- | arch/arm/mach-mx5/board-mx53_smd.c | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/board-mx53_smd.c b/arch/arm/mach-mx5/board-mx53_smd.c index 31e173267edf..817c08938f55 100644 --- a/arch/arm/mach-mx5/board-mx53_smd.c +++ b/arch/arm/mach-mx5/board-mx53_smd.c | |||
@@ -20,13 +20,11 @@ | |||
20 | 20 | ||
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <linux/clk.h> | 22 | #include <linux/clk.h> |
23 | #include <linux/fec.h> | ||
24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
25 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
26 | 25 | ||
27 | #include <mach/common.h> | 26 | #include <mach/common.h> |
28 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
29 | #include <mach/imx-uart.h> | ||
30 | #include <mach/iomux-mx53.h> | 28 | #include <mach/iomux-mx53.h> |
31 | 29 | ||
32 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
@@ -52,6 +50,31 @@ static iomux_v3_cfg_t mx53_smd_pads[] = { | |||
52 | /* I2C1 */ | 50 | /* I2C1 */ |
53 | MX53_PAD_CSI0_DAT8__I2C1_SDA, | 51 | MX53_PAD_CSI0_DAT8__I2C1_SDA, |
54 | MX53_PAD_CSI0_DAT9__I2C1_SCL, | 52 | MX53_PAD_CSI0_DAT9__I2C1_SCL, |
53 | /* SD1 */ | ||
54 | MX53_PAD_SD1_CMD__ESDHC1_CMD, | ||
55 | MX53_PAD_SD1_CLK__ESDHC1_CLK, | ||
56 | MX53_PAD_SD1_DATA0__ESDHC1_DAT0, | ||
57 | MX53_PAD_SD1_DATA1__ESDHC1_DAT1, | ||
58 | MX53_PAD_SD1_DATA2__ESDHC1_DAT2, | ||
59 | MX53_PAD_SD1_DATA3__ESDHC1_DAT3, | ||
60 | /* SD2 */ | ||
61 | MX53_PAD_SD2_CMD__ESDHC2_CMD, | ||
62 | MX53_PAD_SD2_CLK__ESDHC2_CLK, | ||
63 | MX53_PAD_SD2_DATA0__ESDHC2_DAT0, | ||
64 | MX53_PAD_SD2_DATA1__ESDHC2_DAT1, | ||
65 | MX53_PAD_SD2_DATA2__ESDHC2_DAT2, | ||
66 | MX53_PAD_SD2_DATA3__ESDHC2_DAT3, | ||
67 | /* SD3 */ | ||
68 | MX53_PAD_PATA_DATA8__ESDHC3_DAT0, | ||
69 | MX53_PAD_PATA_DATA9__ESDHC3_DAT1, | ||
70 | MX53_PAD_PATA_DATA10__ESDHC3_DAT2, | ||
71 | MX53_PAD_PATA_DATA11__ESDHC3_DAT3, | ||
72 | MX53_PAD_PATA_DATA0__ESDHC3_DAT4, | ||
73 | MX53_PAD_PATA_DATA1__ESDHC3_DAT5, | ||
74 | MX53_PAD_PATA_DATA2__ESDHC3_DAT6, | ||
75 | MX53_PAD_PATA_DATA3__ESDHC3_DAT7, | ||
76 | MX53_PAD_PATA_IORDY__ESDHC3_CLK, | ||
77 | MX53_PAD_PATA_RESET_B__ESDHC3_CMD, | ||
55 | }; | 78 | }; |
56 | 79 | ||
57 | static const struct imxuart_platform_data mx53_smd_uart_data __initconst = { | 80 | static const struct imxuart_platform_data mx53_smd_uart_data __initconst = { |
@@ -97,6 +120,9 @@ static void __init mx53_smd_board_init(void) | |||
97 | imx53_add_fec(&mx53_smd_fec_data); | 120 | imx53_add_fec(&mx53_smd_fec_data); |
98 | imx53_add_imx2_wdt(0, NULL); | 121 | imx53_add_imx2_wdt(0, NULL); |
99 | imx53_add_imx_i2c(0, &mx53_smd_i2c_data); | 122 | imx53_add_imx_i2c(0, &mx53_smd_i2c_data); |
123 | imx53_add_sdhci_esdhc_imx(0, NULL); | ||
124 | imx53_add_sdhci_esdhc_imx(1, NULL); | ||
125 | imx53_add_sdhci_esdhc_imx(2, NULL); | ||
100 | } | 126 | } |
101 | 127 | ||
102 | static void __init mx53_smd_timer_init(void) | 128 | static void __init mx53_smd_timer_init(void) |