aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/ar9342_ubnt_nanobeam-ac.dts8
-rw-r--r--target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts8
2 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9342_ubnt_nanobeam-ac.dts b/target/linux/ath79/dts/ar9342_ubnt_nanobeam-ac.dts
index 08c73ff367..3d0b4d8c51 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_nanobeam-ac.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_nanobeam-ac.dts
@@ -7,6 +7,12 @@
compatible = "ubnt,nanobeam-ac", "ubnt,wa", "qca,ar9342";
model = "Ubiquiti NanoBeam AC (WA)";
+ aliases {
+ led-boot = &led_rssi3;
+ led-failsafe = &led_rssi3;
+ led-upgrade = &led_rssi3;
+ };
+
leds {
compatible = "gpio-leds";
@@ -25,7 +31,7 @@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- rssi3 {
+ led_rssi3: rssi3 {
label = "ubnt:blue:rssi3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
diff --git a/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts b/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts
index 0e3c6b5c9f..d8aebaeb07 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts
@@ -7,6 +7,12 @@
compatible = "ubnt,nanostation-ac","ubnt,wa", "qca,ar9342";
model = "Ubiquiti Nanostation AC (WA)";
+ aliases {
+ led-boot = &led_rssi3;
+ led-failsafe = &led_rssi3;
+ led-upgrade = &led_rssi3;
+ };
+
leds {
compatible = "gpio-leds";
@@ -25,7 +31,7 @@
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
};
- rssi3 {
+ led_rssi3: rssi3 {
label = "ubnt:blue:rssi3";
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};