From: Richard Fröhning Date: Sun, 16 Nov 2025 14:07:35 +0000 (+0100) Subject: mediatek-filogic: assign WAN netdev trigger to blue:wan LED for cudy wr3000e X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f57a0e8db3d70b7248ab7bf6bd0d70960a6fdaeb;p=openwrt%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/20808 Signed-off-by: Hauke Mehrtens --- 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 = ; 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|\