Nivelinn Pantev

Enabling Uarts 4 & 5 on i.MX53 QSB

Discussion created by Nivelinn Pantev on Oct 30, 2011
Latest reply on Nov 30, 2011 by Nivelinn Pantev

Hi Everyone,

 

I am trying to enable and use Uarts 4 and 5 on i.MX53 QSB

What I did was to add the following code in board-mx53_loco.c:

// for pad initialization

/* UART4 */  

            MX53_PAD_CSI0_DAT12__UART4_TXD_MUX,

            MX53_PAD_CSI0_DAT13__UART4_RXD_MUX,

/* UART5 */  

            MX53_PAD_CSI0_DAT14__UART5_TXD_MUX,

            MX53_PAD_CSI0_DAT15__UART5_RXD_MUX,

 

// for uarts initialization

/* UART4 */

            imx53_add_imx_uart(3, NULL);

/* UART5 */

            imx53_add_imx_uart(4, NULL);

 

But this is what happens at kernel start-up:

[    0.928123] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    1.010420] Serial: IMX driver

[    1.010977] imx21-uart.0: ttymxc0 at MMIO 0x53fbc000 (irq = 31) is a IMX

[    1.744170] console [ttymxc0] enabled

[    1.760031] imx-uart: probe of imx21-uart.3 failed with error -2

[    1.766274] imx-uart: probe of imx21-uart.4 failed with error -2

 

Uart 1 is OK, other Uarts probing fails:

 

What I am missing?

 

Thanks a lot in advance!

Outcomes