]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm: dts: marvell: clearfog-gtr-l8: align port numbers with enclosure
authorJosua Mayer <josua@solid-run.com>
Thu, 4 Jan 2024 17:48:11 +0000 (18:48 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 1 Mar 2024 15:35:13 +0000 (16:35 +0100)
Clearfog GTR has an official enclosure with labels for all interfaces.
The "lan" ports on the 8-port switch in device-tree were numbered  in
reverse wrt. enclosure.

Update all device-tree labels to match.

Signed-off-by: Josua Mayer <josua@solid-run.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/marvell/armada-385-clearfog-gtr-l8.dts

index 1d6cfb975f4823879a33f5c2a54829e690a97b1f..cb85f8e31dfc501ea57759949009a2b337ad72f2 100644 (file)
 
                        ethernet-port@1 {
                                reg = <1>;
-                               label = "lan8";
+                               label = "lan1";
                                phy-handle = <&switch0phy0>;
                        };
 
                        ethernet-port@2 {
                                reg = <2>;
-                               label = "lan7";
+                               label = "lan2";
                                phy-handle = <&switch0phy1>;
                        };
 
                        ethernet-port@3 {
                                reg = <3>;
-                               label = "lan6";
+                               label = "lan3";
                                phy-handle = <&switch0phy2>;
                        };
 
                        ethernet-port@4 {
                                reg = <4>;
-                               label = "lan5";
+                               label = "lan4";
                                phy-handle = <&switch0phy3>;
                        };
 
                        ethernet-port@5 {
                                reg = <5>;
-                               label = "lan4";
+                               label = "lan5";
                                phy-handle = <&switch0phy4>;
                        };
 
                        ethernet-port@6 {
                                reg = <6>;
-                               label = "lan3";
+                               label = "lan6";
                                phy-handle = <&switch0phy5>;
                        };
 
                        ethernet-port@7 {
                                reg = <7>;
-                               label = "lan2";
+                               label = "lan7";
                                phy-handle = <&switch0phy6>;
                        };
 
                        ethernet-port@8 {
                                reg = <8>;
-                               label = "lan1";
+                               label = "lan8";
                                phy-handle = <&switch0phy7>;
                        };