diff options
author | Lech Perczak <lech.perczak@gmail.com> | 2018-08-21 23:17:00 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-23 22:42:15 +0200 |
commit | d40956a74c34000fb7ab83fa7deeaa6535ef4e5d (patch) | |
tree | 3a616628a6181ba48fa0594ed4175ca7f1067dd2 /target | |
parent | 7782715373a0f902e89a1e2613d30098b8fc26b8 (diff) | |
download | openwrt-d40956a74c34000fb7ab83fa7deeaa6535ef4e5d.tar.gz openwrt-d40956a74c34000fb7ab83fa7deeaa6535ef4e5d.tar.bz2 openwrt-d40956a74c34000fb7ab83fa7deeaa6535ef4e5d.zip |
ath79: ubnt-xm: hijack LED4 as booting/failsafe
Create aliases for led-booting and led-failsafe pointing at
ubnt:green:link4 LED, forUbiquiti XM series, so visual feedback
on device status becomes available, in order to enter failsafe mode
via button. led-running and led-upgrade aliases are omitted to avoid
conflicting with RSSI LEDs when in normal operation.
Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ath79/dts/ar7241_ubnt_xm.dtsi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi b/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi index fddcbe2b16..f6cefdabd0 100644 --- a/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi +++ b/target/linux/ath79/dts/ar7241_ubnt_xm.dtsi @@ -9,6 +9,11 @@ compatible = "ubnt,xm", "qca,ar7241"; model = "Ubiquiti Networks XM (rev 1.0) board"; + aliases { + led-boot = &link4; + led-failsafe = &link4; + }; + /* extosc: ref { compatible = "fixed-clock"; #clock-cells = <0>; @@ -42,7 +47,7 @@ gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; }; - link4 { + link4: link4 { label = "ubnt:green:link4"; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; }; |