Part Number: SK-AM62B-P1
Tool/software:
I have am62b-p1 starter kit EVM, and I have flashed Debian Linux in it—the 10.01.10.04 version. I wanted to use uart5 (available in J3 connector) for my project and am trying to enable it, but it didn't work. I have boot/dtb/ti/k3-am62-lp-sk.dtb; converted it to .dts files and made changes as below, and have rebooted the board. Still, it didn't work. Can someone point me where it went wrong? Thank you in advance.
bootph-all;
compatible = "ti,am654-padconf", "pinctrl-single";
reg = <0x00 0xf4000 0x00 0x2ac>;
#pinctrl-cells = <0x01>;
pinctrl-single,register-width = <0x20>;
pinctrl-single,function-mask = <0xffffffff>;
interrupts = <0x00 0x62 0x04>;
interrupt-controller;
#interrupt-cells = <0x01>;
phandle = <0x1a>;
main-uart0-default-pins {
bootph-all;
pinctrl-single,pins = <0x1c8 0x50000 0x1cc 0x10000>;
phandle = <0x19>;
};
main-uart1-default-pins {
bootph-pre-ram;
pinctrl-single,pins = <0x194 0x50002 0x198 0x10002 0x1ac 0x50002 0x1b0 0x10002>;
phandle = <0x1b>;
};
main-uart5-default-pins {
bootph-all;
pinctrl-single,pins = <0x01e4 0x50000 0x01e8 0x10000>;
phandle = <0xdf>;
};
compatible = "ti,am64-uart", "ti,am654-uart";
reg = <0x00 0x2800000 0x00 0x100>;
interrupts = <0x00 0xb2 0x04>;
power-domains = <0x02 0x92 0x01>;
clocks = <0x03 0x92 0x00>;
clock-names = "fclk";
status = "okay";
bootph-all;
pinctrl-names = "default";
pinctrl-0 = <0x19>;
interrupts-extended = <0x01 0x00 0xb2 0x04 0x1a 0x1c8>;
interrupt-names = "irq", "wakeup";
phandle = <0x7d>;
};
serial@2810000 {
compatible = "ti,am64-uart", "ti,am654-uart";
reg = <0x00 0x2810000 0x00 0x100>;
interrupts = <0x00 0xb3 0x04>;
power-domains = <0x02 0x98 0x01>;
clocks = <0x03 0x98 0x00>;
clock-names = "fclk";
status = "reserved";
bootph-pre-ram;
pinctrl-names = "default";
pinctrl-0 = <0x1b>;
phandle = <0x7e>;
};
compatible = "ti,am64-uart", "ti,am654-uart";
reg = <0x00 0x2850000 0x00 0x100>;
interrupts = <0x00 0xb7 0x04>;
power-domains = <0x02 0x9c 0x01>;
clocks = <0x03 0x9c 0x00>;
clock-names = "fclk";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0xdf>;
phandle = <0x82>;
};
serial2 = "/bus@f0000/serial@2800000";
serial5 = "/bus@f0000/serial@2850000";
mmc0 = "/bus@f0000/mmc@fa10000";
mmc1 = "/bus@f0000/mmc@fa00000";
mmc2 = "/bus@f0000/mmc@fa20000";
spi0 = "/bus@f0000/bus@fc00000/spi@fc40000";
ethernet0 = "/bus@f0000/ethernet@8000000/ethernet-ports/port@1";
ethernet1 = "/bus@f0000/ethernet@8000000/ethernet-ports/port@2";
usb0 = "/bus@f0000/dwc3-usb@f900000/usb@31000000";
usb1 = "/bus@f0000/dwc3-usb@f910000/usb@31100000";
};
main_uart0_pins_default = "/bus@f0000/pinctrl@f4000/main-uart0-default-pins";
main_uart1_pins_default = "/bus@f0000/pinctrl@f4000/main-uart1-default-pins";
main_uart5_pins_default = "/bus@f0000/pinctrl@f4000/main-uart5-default-pins";
main_uart0 = "/bus@f0000/serial@2800000";
main_uart1 = "/bus@f0000/serial@2810000";
main_uart2 = "/bus@f0000/serial@2820000";
main_uart3 = "/bus@f0000/serial@2830000";
main_uart4 = "/bus@f0000/serial@2840000";
main_uart5 = "/bus@f0000/serial@2850000";
main_uart6 = "/bus@f0000/serial@2860000";
...
