工具与软件:
我有 am62b-P1入门套件 EVM、我已经在其中烧录了 Debian Linux、即10.01.10.04版本。 我想对我的项目使用 uart5 (在 J3连接器中提供)、并尝试启用它、但仍然无法正常工作。 我已经将 boot/dtb/ti/k3-am62-lp-sk.dtb;已将其转换为.dts 文件并进行如下更改、并且已重新启动电路板。 但它仍然不起作用。 有人能告诉我哪里出了问题吗? 提前感谢您。
引导全部;
Compatible ="ti、am654-padconf"、"pinctrl-single";
REG =<0x00 0xf4000 0x00 0x2ac>;
#pinctrl-cells =<0x01>;
pinctrl-single、register-width =<0x20>;
pinctrl-single、function-mask =<0xffffff>;
interrupts =<0x00 0x62 0x04>;
中断控制器;
#interrupt-Cells =<0x01>;
phandle =<0x1a>;
main-uart0-default-pins{
引导全部;
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{
引导全部;
pinctrl-single、pins =<0x01e4 0x50000 0x01e8 0x10000>;
phandle =<0xdf>;
};
Compatible ="ti、am64-uart"、"ti、am654-uart";
REG =<0x00 0x2800000 0x00 0x100>;
中断=<0x00 0xb2 0x04>;
电源域=<0x02 0x92 0x01>;
Clocks =<0x03 0x92 0x00>;
时钟名称="fclk";
状态="正常";
引导全部;
pinctrl-names ="默认值";
pinctrl-0=<0x19>;
Interrupts-extended =<0x01 0x00 0xb2 0x04 0x1a 0x1c8>;
中断名称="IRQ"、"WAKEUP";
phandle =<0x7d>;
};
串行@2810000{
Compatible ="ti、am64-uart"、"ti、am654-uart";
REG =<0x00 0x2810000 0x00 0x100>;
Interrupts =<0x00 0xb3 0x04>;
电源域=<0x02 0x98 0x01>;
Clocks =<0x03 0x98 0x00>;
时钟名称="fclk";
STATUS ="保留";
bootph-pre-ram;
pinctrl-names ="默认值";
pinctrl-0 =<0x1b>;
phandle =<0x7E>;
};
Compatible ="ti、am64-uart"、"ti、am654-uart";
REG =<0x00 0x2850000 0x00 0x100>;
Interrupts =<0x00 0xb7 0x04>;
电源域=<0x02 0x9C 0x01>;
Clocks =<0x03 0x9C 0x00>;
时钟名称="fclk";
状态="正常";
pinctrl-names ="默认值";
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@fc0000000/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";
...
