[PATCH 4/4] ARM: dts: gemini: Fix switch node names on Vitesse switches

Linus Walleij linus.walleij at linaro.org
Sun Feb 11 13:24:26 PST 2024


The formally correct node names have "ethernet-*" prefix on
switch, ports and port, fix it up.

Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
---
 arch/arm/boot/dts/gemini/gemini-sl93512r.dts | 14 +++++++-------
 arch/arm/boot/dts/gemini/gemini-sq201.dts    | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/arch/arm/boot/dts/gemini/gemini-sl93512r.dts b/arch/arm/boot/dts/gemini/gemini-sl93512r.dts
index be06a3815e3a..4992ec276de9 100644
--- a/arch/arm/boot/dts/gemini/gemini-sl93512r.dts
+++ b/arch/arm/boot/dts/gemini/gemini-sl93512r.dts
@@ -93,7 +93,7 @@ spi {
 		cs-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
 		num-chipselects = <1>;
 
-		switch at 0 {
+		ethernet-switch at 0 {
 			compatible = "vitesse,vsc7385";
 			reg = <0>;
 			/* Specified for 2.5 MHz or below */
@@ -101,27 +101,27 @@ switch at 0 {
 			gpio-controller;
 			#gpio-cells = <2>;
 
-			ports {
+			ethernet-ports {
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-				port at 0 {
+				ethernet-port at 0 {
 					reg = <0>;
 					label = "lan1";
 				};
-				port at 1 {
+				ethernet-port at 1 {
 					reg = <1>;
 					label = "lan2";
 				};
-				port at 2 {
+				ethernet-port at 2 {
 					reg = <2>;
 					label = "lan3";
 				};
-				port at 3 {
+				ethernet-port at 3 {
 					reg = <3>;
 					label = "lan4";
 				};
-				vsc: port at 6 {
+				vsc: ethernet-port at 6 {
 					reg = <6>;
 					label = "cpu";
 					ethernet = <&gmac1>;
diff --git a/arch/arm/boot/dts/gemini/gemini-sq201.dts b/arch/arm/boot/dts/gemini/gemini-sq201.dts
index 05ef8b80f104..f8c6f6e5cdea 100644
--- a/arch/arm/boot/dts/gemini/gemini-sq201.dts
+++ b/arch/arm/boot/dts/gemini/gemini-sq201.dts
@@ -78,7 +78,7 @@ spi {
 		cs-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
 		num-chipselects = <1>;
 
-		switch at 0 {
+		ethernet-switch at 0 {
 			compatible = "vitesse,vsc7395";
 			reg = <0>;
 			/* Specified for 2.5 MHz or below */
@@ -86,27 +86,27 @@ switch at 0 {
 			gpio-controller;
 			#gpio-cells = <2>;
 
-			ports {
+			ethernet-ports {
 				#address-cells = <1>;
 				#size-cells = <0>;
 
-				port at 0 {
+				ethernet-port at 0 {
 					reg = <0>;
 					label = "lan1";
 				};
-				port at 1 {
+				ethernet-port at 1 {
 					reg = <1>;
 					label = "lan2";
 				};
-				port at 2 {
+				ethernet-port at 2 {
 					reg = <2>;
 					label = "lan3";
 				};
-				port at 3 {
+				ethernet-port at 3 {
 					reg = <3>;
 					label = "lan4";
 				};
-				vsc: port at 6 {
+				vsc: ethernet-port at 6 {
 					reg = <6>;
 					label = "cpu";
 					ethernet = <&gmac1>;

-- 
2.34.1




More information about the linux-arm-kernel mailing list