mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-10 08:44:39 +01:00
lantiq: tplink_tdw89x0: use led-sources for wifi LED
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Avoids having to create a custom LED for wifi. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/21059 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
ff63c5cd82
commit
a90fb76736
1 changed files with 4 additions and 14 deletions
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue