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