diff options
author | David Bauer <mail@david-bauer.net> | 2019-09-07 00:43:19 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2019-09-15 12:31:56 +0200 |
commit | 0e0f9ff93c4a6088641555d21b7d3143c5dbe945 (patch) | |
tree | f5106a214fe938aee51ef57c04abccd6b3f2fc01 /target/linux/ath79 | |
parent | e1cf17b3baf4ea6b067347b947ab058153e23887 (diff) | |
download | upstream-0e0f9ff93c4a6088641555d21b7d3143c5dbe945.tar.gz upstream-0e0f9ff93c4a6088641555d21b7d3143c5dbe945.tar.bz2 upstream-0e0f9ff93c4a6088641555d21b7d3143c5dbe945.zip |
ath79: fix UniFi AC LED mapping
The UniFi AC LED mapping is currently off. The blue/white LED are used
as WiFi indicators, while the vendor firmware does not feature WiFI
LEDs.
Instead, the LEDs are used to indicate the devices status. Align the LED
mapping to match the vendor firmware as good as possible.
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 18fa749df8bd9fe292c93f60ddd3fb963a78274a)
Diffstat (limited to 'target/linux/ath79')
-rw-r--r-- | target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi index 3ee43a6d4b..fdd4a01d86 100644 --- a/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi +++ b/target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi @@ -6,6 +6,13 @@ #include "qca956x.dtsi" / { + aliases { + led-boot = &led_white; + led-failsafe = &led_white; + led-running = &led_blue; + led-upgrade = &led_blue; + }; + chosen { bootargs = "console=ttyS0,115200n8"; }; @@ -13,16 +20,14 @@ leds { compatible = "gpio-leds"; - wifi_ac { + led_white: led_white { label = "ubnt:white:dome"; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy0tpt"; }; - wifi_n { + led_blue: led_blue { label = "ubnt:blue:dome"; gpios = <&gpio 8 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "phy1tpt"; }; }; |