[openwrt/openwrt] ramips: fix USW-Flex reversed switch-port order

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 4 14:24:43 PDT 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f82c93b93c0a021921ac7a30ba6e7a090c7ddd1c

commit f82c93b93c0a021921ac7a30ba6e7a090c7ddd1c
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Mon Oct 4 17:53:10 2021 +0200

    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 <mail at david-bauer.net>
---
 target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts b/target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts
index de5491bf1b..166320caca 100644
--- a/target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts
+++ b/target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts
@@ -65,12 +65,12 @@
 	ports {
 		port at 0 {
 			status = "okay";
-			label = "lan1";
+			label = "lan5";
 		};
 
 		port at 1 {
 			status = "okay";
-			label = "lan2";
+			label = "lan4";
 		};
 
 		port at 2 {
@@ -80,12 +80,12 @@
 
 		port at 3 {
 			status = "okay";
-			label = "lan4";
+			label = "lan2";
 		};
 
 		port at 4 {
 			status = "okay";
-			label = "lan5";
+			label = "lan1";
 		};
 	};
 };



More information about the lede-commits mailing list