ath79: use Power LED as System LED for TL-WR842Nv3
The TP-Link TL-WR842N v3 has a software-controllable Power LED. The WPS LED is normally only used as a System LED, when the Power LED can't be controlled by software. Additionally, the Power LED is also the System LED for this board in ar71xx. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
a6f85b81b7
commit
84c103509a
@ -11,16 +11,16 @@
|
|||||||
model = "TP-Link TL-WR842N v3";
|
model = "TP-Link TL-WR842N v3";
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
led-boot = &qss_led;
|
led-boot = &power_led;
|
||||||
led-failsafe = &qss_led;
|
led-failsafe = &power_led;
|
||||||
led-running = &qss_led;
|
led-running = &power_led;
|
||||||
led-upgrade = &qss_led;
|
led-upgrade = &power_led;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio_leds: leds {
|
gpio_leds: leds {
|
||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
|
|
||||||
system: power {
|
power_led: power {
|
||||||
label = "tp-link:green:power";
|
label = "tp-link:green:power";
|
||||||
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
||||||
default-state = "on";
|
default-state = "on";
|
||||||
@ -32,7 +32,7 @@
|
|||||||
linux,default-trigger = "phy0tpt";
|
linux,default-trigger = "phy0tpt";
|
||||||
};
|
};
|
||||||
|
|
||||||
qss_led: qss {
|
qss {
|
||||||
label = "tp-link:green:qss";
|
label = "tp-link:green:qss";
|
||||||
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user