Skip to content
Permalink
Browse files

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>
  • Loading branch information...
ynezz authored and chunkeey committed Dec 6, 2018
1 parent 32141c1 commit 965ce07dbb16d975c85d8a7d7d3500665480ad81
Showing with 8 additions and 1 deletion.
  1. +8 −1 target/linux/ath79/dts/ar9342_ubnt_xw.dtsi
@@ -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>;
};

0 comments on commit 965ce07

Please sign in to comment.
You can’t perform that action at this time.