hardware uart1,ttyTHS0 do not data
uartb: serial@3110000 {
compatible = "nvidia,tegra194-hsuart";
iommus = <&smmu_niso0 TEGRA_SID_NISO0_GPCDMA_0>;
dma-coherent;
reg = <0x0 0x03110000 0x0 0x10000>;
reg-shift = <2>;
interrupts = <0 TEGRA234_IRQ_UARTB 0x04>;
nvidia,memory-clients = <14>;
dmas = <&gpcdma 9>, <&gpcdma 9>;
dma-names = "rx", "tx";
clocks = <&bpmp_clks TEGRA234_CLK_UARTB>,
<&bpmp_clks TEGRA234_CLK_PLLP_OUT0>;
clock-names = "serial", "parent";
resets = <&bpmp_resets TEGRA234_RESET_UARTB>;
reset-names = "serial";
status = "okay";
};
serial@3110000 is on ttyTHS1.
ttyTHS1我从串口发给orin nx平台,orin nx没有数据
Is the pinmux setting correct?
硬件uart1 对应就是ttyTHS0,现在有数据了
Hi,
應該是你貼錯了. serial@3110000 是uart2. 對應的是ttyTHS1
serial@3100000 → ttyTHS0…
1 Like
cstdae
March 18, 2023, 2:24am
12
Hi
I guess the comments in tegra234-p3509-a02.dtsi
are misleading, UART2 Goes to M2.E in P3509, not UART5, you probably copied them from other orin’s dts. 😂
serial@3140000 {
/* UARTE, Goes to M2.E and also some of the pins to bootstrap */
status = "okay";
};
system
Closed
April 12, 2023, 3:27am
14
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.