Skip to contentSkip to conversation

arm64: tegra: Add SBSA UART for Tegra234

PATCH In review Jon Hunter 2 participants 2 messages Oct 19, 2022 – Oct 24, 2022

Subsystems (2)
lore
Share & tools
lore

Jon Hunter

author maintainer
#0 lore raw

PATCH 1/1 arm64: tegra: Add SBSA UART for Tegra234

Populate the SBSA UART for Tegra234 and enable this UART for Jetson AGX Orin.

---
 .../boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts     | 5 +++++
 arch/arm64/boot/dts/nvidia/tegra234.dtsi                   | 7 +++++++
 2 files changed, 12 insertions(+)
arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +5 -0
index fc7dcd521340..f7a1265cee97 100644
@@ -2007,6 +2007,11 @@ serial@3100000 {
 			status = "okay";
 		};
 
+		serial@31d0000 {
+			current-speed = <115200>;
+			status = "okay";
+		};
+
 		hda@3510000 {
 			nvidia,model = "NVIDIA Jetson AGX Orin HDA";
 			status = "okay";
arch/arm64/boot/dts/nvidia/tegra234.dtsi +7 -0
index a68be5a0771b..abe8ab35bbcc 100644
@@ -1324,6 +1324,13 @@ rce-fabric@be00000 {
 			status = "okay";
 		};
 
+		uarti: serial@31d0000 {
+			compatible = "arm,sbsa-uart";
+			reg = <0x31d0000 0x10000>;
+			interrupts = <GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
+
 		p2u_hsio_0: phy@3e00000 {
 			compatible = "nvidia,tegra234-p2u";
 			reg = <0x03e00000 0x10000>;
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Jon Hunter

Populate the SBSA UART for Tegra234 and enable this UART for Jetson AGX Orin.

---
 .../boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts     | 5 +++++
 arch/arm64/boot/dts/nvidia/tegra234.dtsi                   | 7 +++++++
 2 files changed, 12 insertions(+)

Applied, thanks. I noticed that the nodes have become a litte disordered after the P2U nodes were added in commit ec142c44b026 ("arm64: tegra:
Add P2U and PCIe controller nodes to Tegra234 DT"), so I sorted the SBSA UART node correctly and then reordered the remaining nodes correctly.

We should probably have a check for that. I'll see if I can come up with something quickly.

Thierry