提交 df42c8a7 编写于 作者: F Fabio Estevam 提交者: Sascha Hauer

ARM: mx5/board-mx53_evk.c: Make UART1 functional

Fix UART1 IOMUX settings and configure UART1 to work with only RX/TX pins.
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
上级 cdb2daa4
...@@ -44,8 +44,6 @@ ...@@ -44,8 +44,6 @@
static iomux_v3_cfg_t mx53_evk_pads[] = { static iomux_v3_cfg_t mx53_evk_pads[] = {
MX53_PAD_CSI0_DAT10__UART1_TXD_MUX, MX53_PAD_CSI0_DAT10__UART1_TXD_MUX,
MX53_PAD_CSI0_DAT11__UART1_RXD_MUX, MX53_PAD_CSI0_DAT11__UART1_RXD_MUX,
MX53_PAD_PATA_DIOW__UART1_TXD_MUX,
MX53_PAD_PATA_DMACK__UART1_RXD_MUX,
MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX, MX53_PAD_PATA_BUFFER_EN__UART2_RXD_MUX,
MX53_PAD_PATA_DMARQ__UART2_TXD_MUX, MX53_PAD_PATA_DMARQ__UART2_TXD_MUX,
...@@ -72,7 +70,7 @@ static const struct imxuart_platform_data mx53_evk_uart_pdata __initconst = { ...@@ -72,7 +70,7 @@ static const struct imxuart_platform_data mx53_evk_uart_pdata __initconst = {
static inline void mx53_evk_init_uart(void) static inline void mx53_evk_init_uart(void)
{ {
imx53_add_imx_uart(0, &mx53_evk_uart_pdata); imx53_add_imx_uart(0, NULL);
imx53_add_imx_uart(1, &mx53_evk_uart_pdata); imx53_add_imx_uart(1, &mx53_evk_uart_pdata);
imx53_add_imx_uart(2, &mx53_evk_uart_pdata); imx53_add_imx_uart(2, &mx53_evk_uart_pdata);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册