1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "ar7241_ubnt_xm.dtsi"
11 led-failsafe = &link4;
12 label-mac-device = &wifi;
16 compatible = "gpio-leds";
18 label = "ubnt:red:link1";
19 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
23 label = "ubnt:orange:link2";
24 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
28 label = "ubnt:green:link3";
29 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
33 label = "ubnt:green:link4";
34 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;