From: Rosen Penev Date: Sat, 6 Dec 2025 03:44:33 +0000 (-0800) Subject: lantiq: tplink_tdw89x0: use led-sources for wifi LED X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;p=openwrt%2Fopenwrt.git lantiq: tplink_tdw89x0: use led-sources for wifi LED Avoids having to create a custom LED for wifi. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/21059 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi index 104c905baa..30927fe549 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_tplink_tdw89x0.dtsi @@ -18,7 +18,6 @@ led-dsl = &led_dsl; led-internet = &led_internet; - led-wifi = &led_wifi; }; memory@0 { @@ -88,17 +87,6 @@ }; }; - ath9k-leds { - compatible = "gpio-leds"; - - led_wifi: wifi { - label = "green:wifi"; - gpios = <&ath9k 0 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0tpt"; - }; - }; - - usb_vbus: regulator-usb-vbus { compatible = "regulator-fixed"; @@ -207,9 +195,11 @@ ath9k: wifi@0,0 { reg = <0 0 0 0 0>; - #gpio-cells = <2>; - gpio-controller; ieee80211-freq-limit = <2402000 2482000>; + + led { + led-sources = <0>; + }; }; }; };