Skip to contentSkip to conversation

arm64: tegra: enable uart instance on 40-pin header

PATCH New Kartik 1 participant 1 message Jan 20, 2022

Subsystems (2)
lore
Share & tools
lore

Kartik

author
#0 lore raw

PATCH 1/1 arm64: tegra: enable uart instance on 40-pin header

From: kartik <[email protected]>

On P3737 board, UART-A is available on 40-pin header.

Enable UART-A for P3737 and change the compatible string to "nvidia,tegra194-hsuart". This enables serial-tegra driver, which supports HW flow control and is the preffered driver for higher baud rates.

---
 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +8 -0
index efbbb87..4eda238 100644
@@ -11,6 +11,7 @@
 	aliases {
 		mmc3 = "/bus@0/mmc@3460000";
 		serial0 = &tcu;
+		serial1 = &uarta;
 	};
 
 	chosen {
@@ -18,6 +19,13 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	bus@0 {
+		serial@3100000 {
+			compatible = "nvidia,tegra194-hsuart";
+			status = "okay";
+		};
+	};
+
 	serial {
 		status = "okay";
 	};
Signature · 1 line
2.7.4