ath79: DTS file style update and harmonization
[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 "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                 link1 {
15                         label = "ubnt:red:link1";
16                         gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
17                 };
18
19                 link2 {
20                         label = "ubnt:orange:link2";
21                         gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
22                 };
23
24                 link3 {
25                         label = "ubnt:green:link3";
26                         gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
27                 };
28
29                 led_link4: link4 {
30                         label = "ubnt:green:link4";
31                         gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
32                 };
33         };
34 };