ramips: fix USW-Flex reversed switch-port order
authorDavid Bauer <mail@david-bauer.net>
Mon, 4 Oct 2021 15:53:10 +0000 (17:53 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 4 Oct 2021 21:24:32 +0000 (23:24 +0200)
Switch port order was reversed due to reading the internal labling
(which mismatches the one on the case).

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts

index de5491bf1bf272a2db10b72cabe8bb014e57ee75..166320cacabcb26de0c397d1d0ad7294ec81a4aa 100644 (file)
        ports {
                port@0 {
                        status = "okay";
-                       label = "lan1";
+                       label = "lan5";
                };
 
                port@1 {
                        status = "okay";
-                       label = "lan2";
+                       label = "lan4";
                };
 
                port@2 {
 
                port@3 {
                        status = "okay";
-                       label = "lan4";
+                       label = "lan2";
                };
 
                port@4 {
                        status = "okay";
-                       label = "lan5";
+                       label = "lan1";
                };
        };
 };