diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2011-02-17 01:28:51 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-17 06:03:11 -0500 |
commit | 2e8acbc28314ce1a0f9cc65a7e76bd24595a6bad (patch) | |
tree | a85b5c44e61f91076f3d217e2dba7f2c6b122f87 /arch/arm/mach-mxs | |
parent | edca314f27c984f353a5129253d8d5241b82c517 (diff) |
ARM: mxs/mx23evk: add auart device
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r-- | arch/arm/mach-mxs/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-mxs/mach-mx23evk.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig index cd2fbdfc37e8..3c5ce09b8708 100644 --- a/arch/arm/mach-mxs/Kconfig +++ b/arch/arm/mach-mxs/Kconfig | |||
@@ -19,6 +19,7 @@ config MACH_MX23EVK | |||
19 | bool "Support MX23EVK Platform" | 19 | bool "Support MX23EVK Platform" |
20 | select SOC_IMX23 | 20 | select SOC_IMX23 |
21 | select MXS_HAVE_AMBA_DUART | 21 | select MXS_HAVE_AMBA_DUART |
22 | select MXS_HAVE_PLATFORM_AUART | ||
22 | default y | 23 | default y |
23 | help | 24 | help |
24 | Include support for MX23EVK platform. This includes specific | 25 | Include support for MX23EVK platform. This includes specific |
diff --git a/arch/arm/mach-mxs/mach-mx23evk.c b/arch/arm/mach-mxs/mach-mx23evk.c index aa0640052f58..0737ce2e6cfb 100644 --- a/arch/arm/mach-mxs/mach-mx23evk.c +++ b/arch/arm/mach-mxs/mach-mx23evk.c | |||
@@ -30,6 +30,16 @@ static const iomux_cfg_t mx23evk_pads[] __initconst = { | |||
30 | /* duart */ | 30 | /* duart */ |
31 | MX23_PAD_PWM0__DUART_RX | MXS_PAD_4MA, | 31 | MX23_PAD_PWM0__DUART_RX | MXS_PAD_4MA, |
32 | MX23_PAD_PWM1__DUART_TX | MXS_PAD_4MA, | 32 | MX23_PAD_PWM1__DUART_TX | MXS_PAD_4MA, |
33 | |||
34 | /* auart */ | ||
35 | MX23_PAD_AUART1_RX__AUART1_RX | | ||
36 | (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL), | ||
37 | MX23_PAD_AUART1_TX__AUART1_TX | | ||
38 | (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL), | ||
39 | MX23_PAD_AUART1_CTS__AUART1_CTS | | ||
40 | (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL), | ||
41 | MX23_PAD_AUART1_RTS__AUART1_RTS | | ||
42 | (MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL), | ||
33 | }; | 43 | }; |
34 | 44 | ||
35 | static void __init mx23evk_init(void) | 45 | static void __init mx23evk_init(void) |
@@ -37,6 +47,7 @@ static void __init mx23evk_init(void) | |||
37 | mxs_iomux_setup_multiple_pads(mx23evk_pads, ARRAY_SIZE(mx23evk_pads)); | 47 | mxs_iomux_setup_multiple_pads(mx23evk_pads, ARRAY_SIZE(mx23evk_pads)); |
38 | 48 | ||
39 | mx23_add_duart(); | 49 | mx23_add_duart(); |
50 | mx23_add_auart0(); | ||
40 | } | 51 | } |
41 | 52 | ||
42 | static void __init mx23evk_timer_init(void) | 53 | static void __init mx23evk_timer_init(void) |