Thread (3 messages) 3 messages, 3 authors, 2025-05-20

[PATCH v2] arm: dts: aspeed: yosemite4: add gpio name for uart mux sel

From: Delphine CC Chiu <delphine_cc_chiu@wiwynn.com>
Date: 2025-05-19 02:49:40
Also in: linux-arm-kernel, linux-aspeed, lkml
Subsystem: arm/aspeed machine support, the rest · Maintainers: Joel Stanley, Andrew Jeffery, Linus Torvalds

From: Marshall Zhan <redacted>

Add gpio line name to support multiplexed console

Signed-off-by: Marshall Zhan <redacted>
Signed-off-by: Delphine CC Chiu <delphine_cc_chiu@wiwynn.com>
---
 .../aspeed/aspeed-bmc-facebook-yosemite4.dts  | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
index 29f224bccd63..aae789854c52 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts
@@ -189,6 +189,11 @@ gpio@22 {
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-line-names = "SLOT1_UART_SEL0","SLOT1_UART_SEL1",
+                               "SLOT1_UART_SEL2","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","";
        };

        gpio@23 {
@@ -235,6 +240,11 @@ gpio@22 {
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-line-names = "SLOT2_UART_SEL0","SLOT2_UART_SEL1",
+                               "SLOT2_UART_SEL2","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","";
        };

        gpio@23 {
@@ -281,6 +291,11 @@ gpio@22 {
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-line-names = "SLOT3_UART_SEL0","SLOT3_UART_SEL1",
+                               "SLOT3_UART_SEL2","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","";
        };

        gpio@23 {
@@ -327,6 +342,11 @@ gpio@22 {
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-line-names = "SLOT4_UART_SEL0","SLOT4_UART_SEL1",
+                               "SLOT4_UART_SEL2","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","";
        };

        gpio@23 {
@@ -373,6 +393,11 @@ gpio@22 {
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-line-names = "SLOT5_UART_SEL0","SLOT5_UART_SEL1",
+                               "SLOT5_UART_SEL2","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","";
        };

        gpio@23 {
@@ -419,6 +444,11 @@ gpio@22 {
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-line-names = "SLOT6_UART_SEL0","SLOT6_UART_SEL1",
+                               "SLOT6_UART_SEL2","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","";
        };

        gpio@23 {
@@ -465,6 +495,11 @@ gpio@22 {
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-line-names = "SLOT7_UART_SEL0","SLOT7_UART_SEL1",
+                               "SLOT7_UART_SEL2","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","";
        };

        gpio@23 {
@@ -511,6 +546,11 @@ gpio@22 {
                reg = <0x22>;
                gpio-controller;
                #gpio-cells = <2>;
+               gpio-line-names = "SLOT8_UART_SEL0","SLOT8_UART_SEL1",
+                               "SLOT8_UART_SEL2","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","",
+                               "","","","","","","","";
        };

        gpio@23 {
--
2.25.1

WIWYNN PROPRIETARY
This email (and any attachments) contains proprietary or confidential information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or distribution of this email or the content of this email is strictly prohibited. If you are not the intended recipient, please notify the sender and delete this email immediately.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help