[openwrt/openwrt] ramips: fix port labels for Xiaomi Mi Router 4

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 21 16:59:19 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b3eccbca7c476c967af8e56c73061df2893ded7d

commit b3eccbca7c476c967af8e56c73061df2893ded7d
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Thu Jan 21 22:56:43 2021 +0100

    ramips: fix port labels for Xiaomi Mi Router 4
    
    The OEM assignment of LAN ports is swapped.
    
    Fixes: c2a7bb520a0f ("ramips: mt7621: add support for Xiaomi Mi Router 4")
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts
index f8fc01ee30..18cbe0c013 100644
--- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts
+++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts
@@ -72,12 +72,12 @@
 	ports {
 		port at 1 {
 			status = "okay";
-			label = "lan1";
+			label = "lan2";
 		};
 
 		port at 2 {
 			status = "okay";
-			label = "lan2";
+			label = "lan1";
 		};
 
 		port at 4 {



More information about the lede-commits mailing list