blob: 3e9cea7285a118c6ebe96ec1fd85b68d986d95d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#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>;
};
};
};
|