[PATCH 05/23] arm: dts: k3-am642-sk: Add main_uart1 description

Nishanth Menon nm at ti.com
Fri Apr 14 09:57:08 CEST 2023


Add main_uart1 description in sk devicetree.

This is a pending upstream kernel updates as of v6.3-rc6.

Signed-off-by: Nishanth Menon <nm at ti.com>
---
Sent to kernel.org https://lore.kernel.org/linux-devicetree/20230414073328.381336-1-nm@ti.com/

 arch/arm/dts/k3-am642-sk.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/dts/k3-am642-sk.dts b/arch/arm/dts/k3-am642-sk.dts
index cc2027417e86..a0431ad374a5 100644
--- a/arch/arm/dts/k3-am642-sk.dts
+++ b/arch/arm/dts/k3-am642-sk.dts
@@ -246,6 +246,16 @@
 		>;
 	};
 
+	/* XXX: Kernel-Upstream: TODO: Upstream */
+	main_uart1_pins_default: main-uart1-pins-default {
+		pinctrl-single,pins = <
+			AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */
+			AM64X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */
+			AM64X_IOPAD(0x0240, PIN_INPUT, 0) /* (E15) UART1_RXD */
+			AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */
+		>;
+	};
+
 	main_usb0_pins_default: main-usb0-pins-default {
 		pinctrl-single,pins = <
 			AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */
@@ -349,6 +359,9 @@
 &main_uart1 {
 	/* main_uart1 is reserved for firmware usage */
 	status = "reserved";
+	/* XXX: Kernel-Upstream: TODO: Upstream pinmux */
+	pinctrl-names = "default";
+	pinctrl-0 = <&main_uart1_pins_default>;
 };
 
 &main_i2c1 {
-- 
2.40.0



More information about the U-Boot mailing list