aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r--arch/arm/mach-mxs/Kconfig1
-rw-r--r--arch/arm/mach-mxs/mach-mx28evk.c21
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig
index 3c5ce09b8708..55bf075add9b 100644
--- a/arch/arm/mach-mxs/Kconfig
+++ b/arch/arm/mach-mxs/Kconfig
@@ -29,6 +29,7 @@ config MACH_MX28EVK
29 bool "Support MX28EVK Platform" 29 bool "Support MX28EVK Platform"
30 select SOC_IMX28 30 select SOC_IMX28
31 select MXS_HAVE_AMBA_DUART 31 select MXS_HAVE_AMBA_DUART
32 select MXS_HAVE_PLATFORM_AUART
32 select MXS_HAVE_PLATFORM_FEC 33 select MXS_HAVE_PLATFORM_FEC
33 select MXS_OCOTP 34 select MXS_OCOTP
34 default y 35 default y
diff --git a/arch/arm/mach-mxs/mach-mx28evk.c b/arch/arm/mach-mxs/mach-mx28evk.c
index e8db99fabc48..1f0b708138fe 100644
--- a/arch/arm/mach-mxs/mach-mx28evk.c
+++ b/arch/arm/mach-mxs/mach-mx28evk.c
@@ -38,6 +38,25 @@ static const iomux_cfg_t mx28evk_pads[] __initconst = {
38 MX28_PAD_PWM1__DUART_TX | 38 MX28_PAD_PWM1__DUART_TX |
39 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL), 39 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
40 40
41 /* auart0 */
42 MX28_PAD_AUART0_RX__AUART0_RX |
43 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
44 MX28_PAD_AUART0_TX__AUART0_TX |
45 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
46 MX28_PAD_AUART0_CTS__AUART0_CTS |
47 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
48 MX28_PAD_AUART0_RTS__AUART0_RTS |
49 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
50 /* auart3 */
51 MX28_PAD_AUART3_RX__AUART3_RX |
52 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
53 MX28_PAD_AUART3_TX__AUART3_TX |
54 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
55 MX28_PAD_AUART3_CTS__AUART3_CTS |
56 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
57 MX28_PAD_AUART3_RTS__AUART3_RTS |
58 (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
59
41 /* fec0 */ 60 /* fec0 */
42 MX28_PAD_ENET0_MDC__ENET0_MDC | 61 MX28_PAD_ENET0_MDC__ENET0_MDC |
43 (MXS_PAD_8MA | MXS_PAD_3V3 | MXS_PAD_PULLUP), 62 (MXS_PAD_8MA | MXS_PAD_3V3 | MXS_PAD_PULLUP),
@@ -164,6 +183,8 @@ static void __init mx28evk_init(void)
164 mxs_iomux_setup_multiple_pads(mx28evk_pads, ARRAY_SIZE(mx28evk_pads)); 183 mxs_iomux_setup_multiple_pads(mx28evk_pads, ARRAY_SIZE(mx28evk_pads));
165 184
166 mx28_add_duart(); 185 mx28_add_duart();
186 mx28_add_auart0();
187 mx28_add_auart3();
167 188
168 if (mx28evk_fec_get_mac()) 189 if (mx28evk_fec_get_mac())
169 pr_warn("%s: failed on fec mac setup\n", __func__); 190 pr_warn("%s: failed on fec mac setup\n", __func__);