ramips: fix port labels for Xiaomi Mi Router 4
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 21 Jan 2021 21:56:43 +0000 (22:56 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 21 Jan 2021 21:56:43 +0000 (22:56 +0100)
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@adrianschmutzler.de>
target/linux/ramips/dts/mt7621_xiaomi_mi-router-4.dts

index f8fc01e..18cbe0c 100644 (file)
        ports {
                port@1 {
                        status = "okay";
-                       label = "lan1";
+                       label = "lan2";
                };
 
                port@2 {
                        status = "okay";
-                       label = "lan2";
+                       label = "lan1";
                };
 
                port@4 {