This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: AM3358 UART5 writ failed

Tool/software: Linux

I added the following code to support uart5 depend on my hardware. 

My question is that the UART5 can  read  data, but the write operation failed. Could you give some advise?

*******************************************************************************************

static struct pinmux_config uart5_pin_mux[] = {
    {"mii1_col.uart5_rxd", OMAP_MUX_MODE1 | AM33XX_PIN_INPUT_PULLUP},
    {"rmii1_refclk.uart5_txd", OMAP_MUX_MODE1 | AM33XX_PULL_ENBL},
    {NULL, 0},
};

static void uart5_init(int evm_id, int profile)

{

    /* Configure Uart5*/

    setup_pin_mux(uart5_pin_mux);

    return;

}

static struct evm_dev_cfg myd_am335x_dev_cfg[] = {

{uart5_init,    DEV_ON_BASEBOARD, PROFILE_ALL},

{NULL, 0, 0},

}

*************************************************************************************************************