[PATCH] arm64: tegra: enable uart instance on 40-pin header
From: Kartik
Date: Thu Jan 20 2022 - 05:09:45 EST
From: kartik <kkartik@xxxxxxxxxx>
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.
Signed-off-by: kartik <kkartik@xxxxxxxxxx>
---
arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
index efbbb87..4eda238 100644
--- a/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
@@ -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";
};
--
2.7.4