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;
15 compatible = "gpio-leds";
17 label = "ubnt:red:link1";
18 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
22 label = "ubnt:orange:link2";
23 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
27 label = "ubnt:green:link3";
28 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
32 label = "ubnt:green:link4";
33 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;