Browse Source

ramips: fix USW-Flex reversed switch-port order

Switch port order was reversed due to reading the internal labling
(which mismatches the one on the case).

Signed-off-by: David Bauer <[email protected]>
David Bauer 4 years ago
parent
commit
f82c93b93c
1 changed files with 4 additions and 4 deletions
  1. 4 4
      target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts

+ 4 - 4
target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts

@@ -65,12 +65,12 @@
 	ports {
 		port@0 {
 			status = "okay";
-			label = "lan1";
+			label = "lan5";
 		};
 
 		port@1 {
 			status = "okay";
-			label = "lan2";
+			label = "lan4";
 		};
 
 		port@2 {
@@ -80,12 +80,12 @@
 
 		port@3 {
 			status = "okay";
-			label = "lan4";
+			label = "lan2";
 		};
 
 		port@4 {
 			status = "okay";
-			label = "lan5";
+			label = "lan1";
 		};
 	};
 };