[PATCH 15/23] arm: dts: k3-am642-evm: Add main_uart1 description

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


Add main_uart1 description in evm 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-evm.dts | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/dts/k3-am642-evm.dts b/arch/arm/dts/k3-am642-evm.dts
index 82d356a66793..9cc271d9a22a 100644
--- a/arch/arm/dts/k3-am642-evm.dts
+++ b/arch/arm/dts/k3-am642-evm.dts
@@ -230,6 +230,16 @@
 		>;
 	};
 
+	/* XXX: Upstream kernel TODO: send upstream pinmux */
+	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_uart0_pins_default: main-uart0-pins-default {
 		pinctrl-single,pins = <
 			AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */
@@ -355,6 +365,9 @@
 /* main_uart1 is reserved for firmware usage */
 &main_uart1 {
 	status = "reserved";
+	/* XXX: Upstream kernel TODO: send upstream pinmux */
+	pinctrl-names = "default";
+	pinctrl-0 = <&main_uart1_pins_default>;
 };
 
 &main_i2c1 {
-- 
2.40.0



More information about the U-Boot mailing list