aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-08-15 00:29:45 +0200
committerDavid Bauer <mail@david-bauer.net>2019-08-15 00:33:12 +0200
commit84c103509a7e5bd6ae99983b29f2cf665b254ef8 (patch)
tree64fd8c6acb5424f3cd2a2689c487702794ad4070 /target/linux/ath79/dts
parenta6f85b81b7efd3fa3265d70e5406275b2dc03f5f (diff)
downloadupstream-84c103509a7e5bd6ae99983b29f2cf665b254ef8.tar.gz
upstream-84c103509a7e5bd6ae99983b29f2cf665b254ef8.tar.bz2
upstream-84c103509a7e5bd6ae99983b29f2cf665b254ef8.zip
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>
Diffstat (limited to 'target/linux/ath79/dts')
-rw-r--r--target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts b/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
index 17fa09dc78..22d70af594 100644
--- a/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
+++ b/target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts
@@ -11,16 +11,16 @@
model = "TP-Link TL-WR842N v3";
aliases {
- led-boot = &qss_led;
- led-failsafe = &qss_led;
- led-running = &qss_led;
- led-upgrade = &qss_led;
+ led-boot = &power_led;
+ led-failsafe = &power_led;
+ led-running = &power_led;
+ led-upgrade = &power_led;
};
gpio_leds: leds {
compatible = "gpio-leds";
- system: power {
+ power_led: power {
label = "tp-link:green:power";
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
default-state = "on";
@@ -32,7 +32,7 @@
linux,default-trigger = "phy0tpt";
};
- qss_led: qss {
+ qss {
label = "tp-link:green:qss";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};