mirror of https://github.com/hak5/openwrt.git
ath79: ubnt-xw: Add LED aliases for diag and status LED support
Currently there is no LED signalization for various system states implemented in diag.sh, so this patch adds support for it. Tested-by: Joe Ayers <ae6xe@arrl.net> Signed-off-by: Petr Štetiar <ynezz@true.cz>openwrt-19.07
parent
32141c183a
commit
965ce07dbb
|
@ -9,6 +9,13 @@
|
|||
compatible = "ubnt,xw", "qca,ar9342";
|
||||
model = "Ubiquiti Networks XW board";
|
||||
|
||||
aliases {
|
||||
led-boot = &system;
|
||||
led-running = &system;
|
||||
led-upgrade = &system;
|
||||
led-failsafe = &system;
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
|
@ -27,7 +34,7 @@
|
|||
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
link4 {
|
||||
system: link4 {
|
||||
label = "ubnt:green:link4";
|
||||
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue