mediatek/filogic: fix Cudy WR3000H ethernet port order
authorThibaut VARÈNE <[email protected]>
Fri, 24 Oct 2025 09:27:59 +0000 (11:27 +0200)
committerHauke Mehrtens <[email protected]>
Sun, 9 Nov 2025 22:07:59 +0000 (23:07 +0100)
The ports are physically labelled in reverse order on the device.
This patch aligns logical names with physical ones.
LED order on front of device is correct after this patch.

Fixes: 9d66b8b312fb6a4087244ee3ee10e1ba1623df81
Signed-off-by: Thibaut VARÈNE <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20528
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/mediatek/dts/mt7981b-cudy-wr3000h-v1.dts

index e34d2a9ad2ac225cdf532652725f01c2b16797e5..69e1098b4341cf70c819df8fcbe7e3b5f6611feb 100644 (file)
 
                port@0 {
                        reg = <0>;
-                       label = "lan1";
+                       label = "lan4";
                };
 
                port@1 {
                        reg = <1>;
-                       label = "lan2";
+                       label = "lan3";
                };
 
                port@2 {
                        reg = <2>;
-                       label = "lan3";
+                       label = "lan2";
                };
 
                port@3 {
                        reg = <3>;
-                       label = "lan4";
+                       label = "lan1";
                };
 
                port@6 {