openwrt/target/linux/mediatek/dts/mt7622-ubnt-unifi-6-lr-v2.dtsi
Henrik Riomar d302839b65
mediatek: add Ubiquiti UniFi 6 LR v2 targets
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)
2022-07-04 19:58:04 +01:00

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>;
};
};
};