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.

am437x uart2 DTS Configuration

Hello TI,

          I have a custom board on which we are able to run 3.12 Linux. Now we need UART2 to communicate to other board (USING TTY signals, NO RS232).

I have configured UART2 in the DTS file (am437x-gp-evm.dts) by adding the following .

uart2_pins: uart2_pins {
pinctrl-single,pins = <
0x150 (PIN_INPUT_PULLUP | MUX_MODE1) /* uart2_rxd.spi0_sclk */
0x154 (PIN_OUTPUT_PULLDOWN | MUX_MODE1) /* uart2_txd.spi0_d0 */
>;
};

&uart2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart2_pins>;
};

Now I am trying Loop back to check if transmission and receiving is working fine. (By shorting Tx and Rx Pin )

getty 115200  /dev/ttyO2 

after running this command, I am able to see tx count increasing but not the rx count in /proc/tty/driver/OMAP-SERIAL

root@am437x-evm:~# cat /proc/tty/driver/OMAP-SERIAL
serinfo:1.0 driver revision:
0: uart:OMAP UART0 mmio:0x44E09000 irq:104 tx:2707 rx:75 RTS|CTS|DTR|DSR|CD
1: uart:OMAP UART1 mmio:0x48022000 irq:105 tx:0 rx:0 CTS|DSR|CD|RI
2: uart:OMAP UART2 mmio:0x48024000 irq:106 tx:451 rx:0 CTS|DSR

So my Question :

Is my PINMux proper?? I have used TX and RX mode only .

Is there anything else I am missing to Enable UART 2 ??

is there another  configuration?

Regards,

vefone