Commit 2e8acbc2 authored by Shawn Guo's avatar Shawn Guo Committed by Sascha Hauer

ARM: mxs/mx23evk: add auart device

Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
parent edca314f
...@@ -19,6 +19,7 @@ config MACH_MX23EVK ...@@ -19,6 +19,7 @@ config MACH_MX23EVK
bool "Support MX23EVK Platform" bool "Support MX23EVK Platform"
select SOC_IMX23 select SOC_IMX23
select MXS_HAVE_AMBA_DUART select MXS_HAVE_AMBA_DUART
select MXS_HAVE_PLATFORM_AUART
default y default y
help help
Include support for MX23EVK platform. This includes specific Include support for MX23EVK platform. This includes specific
......
...@@ -30,6 +30,16 @@ static const iomux_cfg_t mx23evk_pads[] __initconst = { ...@@ -30,6 +30,16 @@ static const iomux_cfg_t mx23evk_pads[] __initconst = {
/* duart */ /* duart */
MX23_PAD_PWM0__DUART_RX | MXS_PAD_4MA, MX23_PAD_PWM0__DUART_RX | MXS_PAD_4MA,
MX23_PAD_PWM1__DUART_TX | MXS_PAD_4MA, MX23_PAD_PWM1__DUART_TX | MXS_PAD_4MA,
/* auart */
MX23_PAD_AUART1_RX__AUART1_RX |
(MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
MX23_PAD_AUART1_TX__AUART1_TX |
(MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
MX23_PAD_AUART1_CTS__AUART1_CTS |
(MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
MX23_PAD_AUART1_RTS__AUART1_RTS |
(MXS_PAD_4MA | MXS_PAD_3V3 | MXS_PAD_NOPULL),
}; };
static void __init mx23evk_init(void) static void __init mx23evk_init(void)
...@@ -37,6 +47,7 @@ static void __init mx23evk_init(void) ...@@ -37,6 +47,7 @@ static void __init mx23evk_init(void)
mxs_iomux_setup_multiple_pads(mx23evk_pads, ARRAY_SIZE(mx23evk_pads)); mxs_iomux_setup_multiple_pads(mx23evk_pads, ARRAY_SIZE(mx23evk_pads));
mx23_add_duart(); mx23_add_duart();
mx23_add_auart0();
} }
static void __init mx23evk_timer_init(void) static void __init mx23evk_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