Hello
I am a AM62 starter kit and I am able to run Debian GNU/Linux image (provided by TI) on it. The login console is tied to /dev/ttyUSB0 (which is tied to ttyS2 via bootargs). I would like to open up another UART either via expansion pins 8,10 on the 40-pin expansion connector or via any MCU expansion port.
I tried cloning the TI kernel sources from git tag 09.00.00.006 and enabled MCU UART0 on the k3-am62-mcu.dtsi file.
$ git diff
diff --git a/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi
index 460b0e5218aad..3f1299d4a9a62 100644
--- a/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi
@@ -72,7 +72,7 @@ mcu_uart0: serial@4a00000 {
power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 149 0>;
clock-names = "fclk";
- status = "disabled";
+ status = "okay";
};
mcu_i2c0: i2c@4900000 {
However, it looks like this change is not enough to enable it? If I look at the /proc file system, it still seem to be disabled.
root@am62xx:~# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:unknown port:00000000 irq:0
1: uart:unknown port:00000000 irq:0
2: uart:8250 mmio:0x02800000 irq:239 tx:11350 rx:0 RTS|DTR|DSR
3: uart:unknown port:00000000 irq:0
The SoC UART1 seem to be reserved in the dtsi file k3-am62x-sk-common.dtsi (with a comment "Main UART1 is used by TIFS firmware"). In the schematic, I see that SoC UART0, SoC UART1, MCU UART0 (and wkup UART0) are going into the FTDI chip.
What changes can I do to open up another UART that I can talk to from the linux side?
Thanks in advance
Ram