mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 21:59:48 +01:00
mpc85xx: tl-wdr4900: add back 5ghz 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
In the conversion to dts, qca,led-pin was used for both interfaces.
Unfortunately, it's mutually exclusive with gpio-controller which made
it not do anything.
Fixes: 949e1a0 ("mpc85xx: tl-wdr4900: move platform code to dts")
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19758
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
be1c301cdc
commit
cc0ff28f23
1 changed files with 10 additions and 3 deletions
|
|
@ -398,18 +398,25 @@
|
|||
compatible = "gpio-leds";
|
||||
|
||||
led-0 {
|
||||
gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_WLAN_5GHZ;
|
||||
linux,default-trigger = "phy0tpt";
|
||||
};
|
||||
|
||||
led-1 {
|
||||
gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_WPS;
|
||||
};
|
||||
|
||||
system_green: led-1 {
|
||||
system_green: led-2 {
|
||||
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_STATUS;
|
||||
};
|
||||
|
||||
led-2 {
|
||||
led-3 {
|
||||
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_USB;
|
||||
|
|
@ -418,7 +425,7 @@
|
|||
trigger-sources = <&hub_port1>;
|
||||
};
|
||||
|
||||
led-3 {
|
||||
led-4 {
|
||||
gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
function = LED_FUNCTION_USB;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue