Other Parts Discussed in Thread: SK-AM62,
Tool/software:
Hi TI Experts,
Customer is working on AM62x SDK9.2 SK-AM62 board.
They want to use MCU_UART0 in Linux and follow the following guide to add the pinmux and make the "status" to okay.
They added the following to k3-am625-sk.dts
&mcu_pmx0 {
mcu_uart0_pins_default: mcu_uart0_pins_default {
pinctrl-single,pins = <
/*AM62X_IOPAD(0x014, PIN_INPUT,0)/* (B5) MCU_UART0_RXD */
/*AM62X_IOPAD(0x018, PIN_OUTPUT,0)/* (A5) MCU_UART0_TXD */
/*AM62X_IOPAD(0x01c, PIN_INPUT,0) /*(A6) MCU_UART0_CTS */
/*AM62X_IOPAD(0x020, PIN_OUTPUT,0) /*(B6) MCU_UART0_RTS */
/*AM62X_MCU_IOPAD(0x001c, PIN_INPUT, 0) /* (A6) MCU_UART0_CTS */
/*AM62X_MCU_IOPAD(0x0020, PIN_OUTPUT, 0) /* (B6) MCU_UART0_RTS */
AM62X_MCU_IOPAD(0x0014, PIN_INPUT, 0) /* (B5) MCU_UART0_RXD */
AM62X_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (A5) MCU_UART0_TXD */
>;
};
};
&mcu_uart0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&mcu_uart0_pins_default>;
};
The full k3-am625-sk.dts file is below.
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/5047.k3_2D00_am625_2D00_sk.dts
We think after these changes, the MCU_UART0 should work in Linux. However, after customer loaded dev/ttyS0 to the MCU_UART0, there is nothing print come out in the command: echo ttyS0
So based on this result, we think the MCU_UART0 is still not configured properly to be used in Linux. Could you please provide some feedback to help us?
Thanks,
Kevin