ath79: indicate boot/failsafe/upgrade for NanoBeam/Nanostation AC

Like for Ubiquiti PowerBeam 5AC Gen2, the highest RSSI LED can
be exploited to indicate boot/failsafe/upgrade for the NanoBeam AC
and Nanostation AC as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
master
Adrian Schmutzler 4 years ago
parent e210fe91b1
commit 80a094aaf3

@ -7,6 +7,12 @@
compatible = "ubnt,nanobeam-ac", "ubnt,wa", "qca,ar9342"; compatible = "ubnt,nanobeam-ac", "ubnt,wa", "qca,ar9342";
model = "Ubiquiti NanoBeam AC (WA)"; model = "Ubiquiti NanoBeam AC (WA)";
aliases {
led-boot = &led_rssi3;
led-failsafe = &led_rssi3;
led-upgrade = &led_rssi3;
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
@ -25,7 +31,7 @@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
rssi3 { led_rssi3: rssi3 {
label = "ubnt:blue:rssi3"; label = "ubnt:blue:rssi3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };

@ -7,6 +7,12 @@
compatible = "ubnt,nanostation-ac","ubnt,wa", "qca,ar9342"; compatible = "ubnt,nanostation-ac","ubnt,wa", "qca,ar9342";
model = "Ubiquiti Nanostation AC (WA)"; model = "Ubiquiti Nanostation AC (WA)";
aliases {
led-boot = &led_rssi3;
led-failsafe = &led_rssi3;
led-upgrade = &led_rssi3;
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
@ -25,7 +31,7 @@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>; gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
}; };
rssi3 { led_rssi3: rssi3 {
label = "ubnt:blue:rssi3"; label = "ubnt:blue:rssi3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>; gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
}; };

Loading…
Cancel
Save