mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
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 18fa749df8)
This commit is contained in:
parent
e1cf17b3ba
commit
0e0f9ff93c
1 changed files with 9 additions and 4 deletions
|
|
@ -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";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue