[openwrt/openwrt] mediatek/filogic: fix Cudy WR3000H ethernet port order

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 9 14:08:30 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/887cab883bc4b3e104b70e74af775522d060e1d4

commit 887cab883bc4b3e104b70e74af775522d060e1d4
Author: Thibaut VARÈNE <hacks at slashdirt.org>
AuthorDate: Fri Oct 24 11:27:59 2025 +0200

    mediatek/filogic: fix Cudy WR3000H ethernet port order
    
    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 at slashdirt.org>
    Link: https://github.com/openwrt/openwrt/pull/20528
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/mediatek/dts/mt7981b-cudy-wr3000h-v1.dts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/target/linux/mediatek/dts/mt7981b-cudy-wr3000h-v1.dts b/target/linux/mediatek/dts/mt7981b-cudy-wr3000h-v1.dts
index e34d2a9ad2..69e1098b43 100644
--- a/target/linux/mediatek/dts/mt7981b-cudy-wr3000h-v1.dts
+++ b/target/linux/mediatek/dts/mt7981b-cudy-wr3000h-v1.dts
@@ -118,22 +118,22 @@
 
 		port at 0 {
 			reg = <0>;
-			label = "lan1";
+			label = "lan4";
 		};
 
 		port at 1 {
 			reg = <1>;
-			label = "lan2";
+			label = "lan3";
 		};
 
 		port at 2 {
 			reg = <2>;
-			label = "lan3";
+			label = "lan2";
 		};
 
 		port at 3 {
 			reg = <3>;
-			label = "lan4";
+			label = "lan1";
 		};
 
 		port at 6 {




More information about the lede-commits mailing list