Enable UART 10 on BeagleBone AI running TI Linux SDK

Hello team,

I was trying to enable UART 10 on my BBAI running TI Linux SDK by adding pinmux control node for UART 10 to am5729-beagleboneai.dts file as follow
&dra7_pmx_core {

uart10_pins: pinmux_uart10_pins {

pinctrl-single,pins = <

DRA7XX_CORE_IOPAD(0x3544, MUX_MODE15) /driver off shared pin/

DRA7XX_CORE_IOPAD(0x368C, PIN_OUTPUT_PULLUP | MUX_MODE3) /* uart10_txd.uart10_txd */

DRA7XX_CORE_IOPAD(0x3688, PIN_INPUT_PULLUP | MUX_MODE3) /* uart10_rxd.uart10_rxd */

;

};

};
&uart10 {
pinctrl-names = “default”;
pinctrl-0 = <&uart10_pins>;

status = “okay”;
};

with this configuration, UART 10 device was registered under /dev/ttyS9 node. However running a basic ‘echo’ and ‘cat’ on this dev didn’t give correct result:

  • Test model: loopback Tx <–> Rx

  • Send ‘1234’
    am57xx-evm:~# echo ‘1234’ > /dev/ttyS9

  • Receive data

am57xx-evm:~# cat /dev/ttyS9
1234

1234

1234

1234

=> This is not correct since we expect to receive a single ‘1234’ while we got many of this.
Is there anybody running into this issue and know how to fix it.

Thanks in advance
th