mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
d302839b65
Add targets:
* Ubiquiti UniFi 6 LR v2
* Ubiquiti UniFi 6 LR v2 (U-Boot mod)
This target does not have a RGB led bar like v1 did
Used target/linux/ramips/dts/mt7621_ubnt_unifi.dtsi as inspiration
The white dome LED is default-on, blue will turn on when the system is
in running state
Signed-off-by: Henrik Riomar <henrik.riomar@gmail.com>
(cherry picked from commit 31d86a1a11
)
27 lines
476 B
Plaintext
27 lines
476 B
Plaintext
#include "mt7622-ubnt-unifi-6-lr.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
led-boot = &led_white;
|
|
led-failsafe = &led_white;
|
|
led-running = &led_blue;
|
|
led-upgrade = &led_blue;
|
|
};
|
|
|
|
gpio-leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led_white: dome_white {
|
|
label = "white:dome";
|
|
linux,default-trigger = "default-on";
|
|
gpios = <&pio 0x43 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led_blue: dome_blue {
|
|
label = "blue:dome";
|
|
default-state = "off";
|
|
gpios = <&pio 0x44 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|