hi guys!
we need use tx2 uartd to send data, so we enable it in the dts(decode from dtb), but it cannot work , can you help me? thanks!
serial@3130000 {
compatible = "nvidia,tegra186-hsuart";
#stream-id-cells = <0x1>;
reg = <0x0 0x3130000 0x0 0x40>;
reg-shift = <0x2>;
interrupts = <0x0 0x73 0x4>;
nvidia,memory-clients = <0xe>;
dmas = <0x19 0x13 0x19 0x13>;
dma-names = "tx";
clocks = <0xd 0x4d 0xd 0x10d>;
clock-names = "serial", "parent";
resets = <0xd 0x32>;
reset-names = "serial";
status = "okay";
nvidia,adjust-baud-rates = <0x1c200 0x1c200 0x64>;
linux,phandle = <0x83>;
phandle = <0x83>;
};
we also enable other uart , uart1(/dev/ttyS0), uart3(/dev/ttyTHS2), uart6(/dev/ttyTHS5) can work, the others cannot, thanks!