From: Adrian Schmutzler Date: Sat, 18 Jan 2020 17:58:10 +0000 (+0100) Subject: ath79: use rssihigh LED instead of WAN LED for status indication X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=95731763002fff9c82b734f09bc34eb797af5bf2;p=oweals%2Fopenwrt.git 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 --- 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 = ð0; }; @@ -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>; };