mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-11 15:33:03 +00:00
31d86a1a11
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>
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>;
|
|
};
|
|
};
|
|
};
|