summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/mach-mx23evk.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2011-02-17 14:28:51 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-02-17 12:03:11 +0100
commit2e8acbc28314ce1a0f9cc65a7e76bd24595a6bad (patch)
treea85b5c44e61f91076f3d217e2dba7f2c6b122f87 /arch/arm/mach-mxs/mach-mx23evk.c
parentedca314f27c984f353a5129253d8d5241b82c517 (diff)
downloadblackbird-op-linux-2e8acbc28314ce1a0f9cc65a7e76bd24595a6bad.tar.gz
blackbird-op-linux-2e8acbc28314ce1a0f9cc65a7e76bd24595a6bad.zip
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/mach-mx23evk.c')
-rw-r--r--arch/arm/mach-mxs/mach-mx23evk.c11
1 files changed, 11 insertions, 0 deletions
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 = {
/* duart */
MX23_PAD_PWM0__DUART_RX | 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)
@@ -37,6 +47,7 @@ static void __init mx23evk_init(void)
mxs_iomux_setup_multiple_pads(mx23evk_pads, ARRAY_SIZE(mx23evk_pads));
mx23_add_duart();
+ mx23_add_auart0();
}
static void __init mx23evk_timer_init(void)
OpenPOWER on IntegriCloud