Tool/software:
Dear TI Support Team,
I am working with the TI AM62L3 processor and trying to configure wkup_uart0 as an RS232 interface. While other UARTs(rs485(ttys#) ,data uart (ttyS1/4)) are working correctly, RS232 on wkup_uart0 is not being detected. I have attempted enabling wkup_uart0 in two ways:
-
Modifying
arch/arm64/boot/dts/ti/k3-am62l-wakeup.dtsi– I setstatus = "okay", assigned the necessary clocks, and ensured proper interrupt configuration. However, after making these changes, the UART does not appear in/dev/ttyS*, anddmesg | grep -i ttydoes not listwkup_uart0. Additionally, I noticed corrupted boot logs with unknown symbols repeating, even though there is no kernel panic. -
Enabling
wkup_uart0in my board-specific device tree (k3-am62l-<board>.dts) – The same issue persists. The UART is still not detected, and the boot log corruption remains unchanged.
Other UART interfaces on the board are functioning correctly, and I have verified the clock, interrupt, and power-domain settings. Could you please provide guidance on the correct device tree configuration, necessary pinmux settings, and any additional testing methods to ensure wkup_uart0 is correctly initialized? Additionally, I would appreciate insights into potential causes for the corrupted boot output after enabling wkup_uart0. Any debugging suggestions or required changes would be helpfull.
&cbass_wakeup {
target-module@2b300050 {
wkup_uart0 {
bootph-all;
pinctrl-names = "default";
pinctrl-0 = <&wkup_uart0_pins_default>;
status = "okay";
};
};
};
wkup_uart0_pins_default: wkup_uart0-default-pins {
pinctrl-single,pins = <
AM62PX_MCU_IOPAD(0x0008, PIN_INPUT, 0) /* (W23) WKUP_UART0_CTSn */
AM62PX_MCU_IOPAD(0x000c, PIN_OUTPUT, 0) /* (W22) WKUP_UART0_RTSn */
AM62PX_MCU_IOPAD(0x0000, PIN_INPUT, 0) /* (Y22) WKUP_UART0_RXD */
AM62PX_MCU_IOPAD(0x0004, PIN_OUTPUT, 0) /* (AA23) WKUP_UART0_TXD */
>;
bootph-all;
};
Best regards,
Dheeraj