[SRU] [jammy:linux-xilinx-zynqmp 10/14] UBUNTU: SAUCE: dts: zynqmp-sck-kd-g-revA: Enable uart0 for KD240
Portia Stephens
portia.stephens at canonical.com
Thu Aug 22 09:11:13 UTC 2024
From: Wen-chien Jesse Sung <jesse.sung at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/2055237
This is backported from commit 1dfb4885eaa3 linux-xlnx. This
change comes from a large syncing commit so this commit pulls out only
the required changes to enabled uart0.
Signed-off-by: Portia Stephens <portia.stephens at canonical.com>
---
.../boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts | 31 +++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts
index 94cb63cc6a186..6bfb2594bda8c 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dts
@@ -171,6 +171,30 @@ conf-tx {
};
};
+ pinctrl_uart0_default: uart0-default {
+ conf {
+ groups = "uart0_17_grp";
+ slew-rate = <SLEW_RATE_SLOW>;
+ power-source = <IO_STANDARD_LVCMOS18>;
+ drive-strength = <12>;
+ };
+
+ conf-rx {
+ pins = "MIO70";
+ bias-high-impedance;
+ };
+
+ conf-tx {
+ pins = "MIO71";
+ bias-disable;
+ };
+
+ mux {
+ groups = "uart0_17_grp";
+ function = "uart0";
+ };
+ };
+
pinctrl_uart1_default: uart1-default {
conf {
groups = "uart1_9_grp";
@@ -321,6 +345,13 @@ mux {
};
};
+&uart0 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart0_default>;
+ assigned-clock-rates = <100000000>;
+};
+
&uart1 {
status = "okay";
pinctrl-names = "default";
--
2.34.1
More information about the kernel-team
mailing list