aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-18 18:58:10 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-01-18 19:39:05 +0100
commit95731763002fff9c82b734f09bc34eb797af5bf2 (patch)
tree5531af6d90c89fc632419baf8697072d7f865569
parentca63d175311882b87d02cc0d00bef503b72fe014 (diff)
downloadupstream-95731763002fff9c82b734f09bc34eb797af5bf2.tar.gz
upstream-95731763002fff9c82b734f09bc34eb797af5bf2.tar.bz2
upstream-95731763002fff9c82b734f09bc34eb797af5bf2.zip
ath79: use rssihigh LED instead of WAN LED for status indication
Using the LED of network interfaces for status (boot/failsafe/...) indication is somewhat misleading, as the blinking might be mistaken for network activity. This uses rssi LEDs instead, which do not blink normally and thus are less ambiguous. The rssihigh LED has also been used consistently for the TP-Link CPE devices. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
-rw-r--r--target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts10
-rw-r--r--target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts10
2 files changed, 10 insertions, 10 deletions
diff --git a/target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts b/target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts
index 66ac718264..b4a5bb4709 100644
--- a/target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts
+++ b/target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts
@@ -12,9 +12,9 @@
aliases {
serial0 = &uart;
- led-boot = &led_wan;
- led-failsafe = &led_wan;
- led-upgrade = &led_wan;
+ led-boot = &led_rssihigh;
+ led-failsafe = &led_rssihigh;
+ led-upgrade = &led_rssihigh;
label-mac-device = &eth0;
};
@@ -24,7 +24,7 @@
pinctrl-names = "default";
pinctrl-0 = <&led_rssimediumhigh_pin>;
- led_wan: wan {
+ wan {
label = "cf-e120a-v3:green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
@@ -55,7 +55,7 @@
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};
- rssihigh {
+ led_rssihigh: rssihigh {
label = "cf-e120a-v3:green:rssihigh";
gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
};
diff --git a/target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts b/target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts
index 0d01342685..45e3727daa 100644
--- a/target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts
+++ b/target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts
@@ -12,9 +12,9 @@
aliases {
serial0 = &uart;
- led-boot = &led_wan;
- led-failsafe = &led_wan;
- led-upgrade = &led_wan;
+ led-boot = &led_rssihigh;
+ led-failsafe = &led_rssihigh;
+ led-upgrade = &led_rssihigh;
};
leds {
@@ -23,7 +23,7 @@
pinctrl-names = "default";
pinctrl-0 = <&jtag_disable_pins &led_rssilow_pin &led_rssimediumhigh_pin &led_rssihigh_pin>;
- led_wan: wan {
+ wan {
label = "cf-e110n-v2:green:wan";
gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
};
@@ -48,7 +48,7 @@
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
- rssihigh {
+ led_rssihigh: rssihigh {
label = "cf-e110n-v2:green:rssihigh";
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
};