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>
This commit is contained in:
Adrian Schmutzler 2020-01-18 18:58:10 +01:00
parent ca63d17531
commit 9573176300
2 changed files with 10 additions and 10 deletions

View File

@ -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>;
};

View File

@ -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>;
};