Skip to contentSkip to conversation

arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name

PATCH Superseded Andrew Davis 2 participants 2 messages Jun 1, 2023

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ti: k3-am625-beagleplay: Use UART name in pinmux name

The main_uart0 may not always be the console, but it will always be the UART0 in MAIN domain. Name the pinmux node to match. This makes it consistent with all other TI SoC based boards.

---
 arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts +2 -2
index cb46c38ce2cc1..29c51705c2f17 100644
@@ -397,7 +397,7 @@ AM62X_IOPAD(0x01a8, PIN_INPUT, 7) /* (D20) MCASP0_AFSX.GPIO1_12 */
 		>;
 	};
 
-	console_pins_default: console-pins-default {
+	main_uart0_pins_default: main-uart0-pins-default {
 		pinctrl-single,pins = <
 			AM62X_IOPAD(0x01c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
 			AM62X_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
@@ -736,7 +736,7 @@ wlcore: wlcore@2 {
 
 &main_uart0 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&console_pins_default>;
+	pinctrl-0 = <&main_uart0_pins_default>;
 	status = "okay";
 };
 
Signature · 1 line
2.39.2
#1 lore raw

Andew, since we are touching this section, do you want to match with @Tony Lindgren rename changes here in omap...

https://www.spinics.net/lists/linux-omap/msg166406.html

Regards,

Quoted 35 lines · Andrew Davis

The main_uart0 may not always be the console, but it will always be the UART0 in MAIN domain. Name the pinmux node to match. This makes it consistent with all other TI SoC based boards.

---
 arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts +2 -3
index cb46c38ce2cc1..29c51705c2f17 100644
@@ -397,7 +397,7 @@ AM62X_IOPAD(0x01a8, PIN_INPUT, 7) /* (D20) MCASP0_AFSX.GPIO1_12 */
                >;
        };
 
-       console_pins_default: console-pins-default {
+       main_uart0_pins_default: main-uart0-pins-default {
                pinctrl-single,pins = <
                        AM62X_IOPAD(0x01c8, PIN_INPUT, 0) /* (D14) UART0_RXD */
                        AM62X_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */
@@ -736,7 +736,7 @@ wlcore: wlcore@2 {
 
 &main_uart0 {
        pinctrl-names = "default";
-       pinctrl-0 = <&console_pins_default>;
+       pinctrl-0 = <&main_uart0_pins_default>;
        status = "okay";
 };
 
--

2.39.2

Signature · 2 lines
Robert Nelson
https://rcn-ee.com/