ath79: add support for Netgear WNR1000 v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_xm_outdoor.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 #include "ar7241_ubnt_xm.dtsi"
7
8 / {
9 aliases {
10 led-boot = &link4;
11 led-failsafe = &link4;
12 label-mac-device = &wifi;
13 };
14
15 leds {
16 compatible = "gpio-leds";
17 link1 {
18 label = "ubnt:red:link1";
19 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
20 };
21
22 link2 {
23 label = "ubnt:orange:link2";
24 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
25 };
26
27 link3 {
28 label = "ubnt:green:link3";
29 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
30 };
31
32 link4: link4 {
33 label = "ubnt:green:link4";
34 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
35 };
36 };
37 };