[openwrt/openwrt] mediatek-filogic: assign WAN netdev trigger to blue:wan LED for cudy wr3000e
LEDE Commits
lede-commits at lists.infradead.org
Sun Nov 30 14:58:06 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f57a0e8db3d70b7248ab7bf6bd0d70960a6fdaeb
commit f57a0e8db3d70b7248ab7bf6bd0d70960a6fdaeb
Author: Richard Fröhning <misanthropos at gmx.de>
AuthorDate: Sun Nov 16 15:07:35 2025 +0100
mediatek-filogic: assign WAN netdev trigger to blue:wan LED for cudy wr3000e
- rename blue:wan-online to blue:wan
- assign wan netdev trigger to blue:wan
Signed-off-by: Richard Fröhning <misanthropos at gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20808
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/mediatek/dts/mt7981b-cudy-wr3000e-v1.dts | 2 +-
target/linux/mediatek/filogic/base-files/etc/board.d/01_leds | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/target/linux/mediatek/dts/mt7981b-cudy-wr3000e-v1.dts b/target/linux/mediatek/dts/mt7981b-cudy-wr3000e-v1.dts
index 7632e6d1a9..0aa8cb67d7 100644
--- a/target/linux/mediatek/dts/mt7981b-cudy-wr3000e-v1.dts
+++ b/target/linux/mediatek/dts/mt7981b-cudy-wr3000e-v1.dts
@@ -39,7 +39,7 @@
};
led-wan {
- function = LED_FUNCTION_WAN_ONLINE;
+ function = LED_FUNCTION_WAN;
color = <LED_COLOR_ID_BLUE>;
gpios = <&pio 11 GPIO_ACTIVE_LOW>;
};
diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
index 2965a2b9f7..0ea1a24933 100644
--- a/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
+++ b/target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
@@ -61,7 +61,8 @@ cudy,re3000-v1|\
wavlink,wl-wn573hx3)
ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0" "link tx rx"
;;
-cudy,wr3000-v1)
+cudy,wr3000-v1|\
+cudy,wr3000e-v1)
ucidef_set_led_netdev "wan" "wan" "blue:wan" "wan"
;;
cudy,wr3000h-v1|\
More information about the lede-commits
mailing list