ath79: add support for TP-Link TL-WR941N v7 (CN)
[oweals/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         };
13
14         leds {
15                 compatible = "gpio-leds";
16                 link1 {
17                         label = "ubnt:red:link1";
18                         gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
19                 };
20
21                 link2 {
22                         label = "ubnt:orange:link2";
23                         gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
24                 };
25
26                 link3 {
27                         label = "ubnt:green:link3";
28                         gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
29                 };
30
31                 link4: link4 {
32                         label = "ubnt:green:link4";
33                         gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
34                 };
35         };
36 };