]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek/filogic: fix Cudy WR3000H ethernet port order 21173/head
authorThibaut VARÈNE <hacks@slashdirt.org>
Fri, 24 Oct 2025 09:27:59 +0000 (11:27 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 15 Dec 2025 23:11:44 +0000 (00:11 +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 <hacks@slashdirt.org>
Link: https://github.com/openwrt/openwrt/pull/20528
(cherry picked from commit 887cab883bc4b3e104b70e74af775522d060e1d4)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Link: https://github.com/openwrt/openwrt/pull/21173
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
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 {