ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9342_zyxel_nwa1100-nh.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "ar9342_zyxel_nwa11xx.dtsi"
6
7 / {
8 compatible = "zyxel,nwa1100-nh", "qca,ar9342";
9 model = "Zyxel NWA1100-NH";
10
11 aliases {
12 label-mac-device = &eth0;
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_green;
16 led-upgrade = &led_status_red;
17 };
18 leds {
19 compatible = "gpio-leds";
20
21 led_status_green: status_green {
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
25 default-state = "on";
26 };
27
28 led_status_red: status_red {
29 function = LED_FUNCTION_STATUS;
30 color = <LED_COLOR_ID_RED>;
31 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
32 };
33
34 led_wlan_green: wlan_green {
35 function = LED_FUNCTION_WLAN;
36 color = <LED_COLOR_ID_GREEN>;
37 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
39 };
40
41 led_lan_green: lan_green {
42 function = LED_FUNCTION_LAN;
43 color = <LED_COLOR_ID_GREEN>;
44 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
45 };
46
47 led_lan_amber: lan_amber {
48 function = LED_FUNCTION_LAN;
49 color = <LED_COLOR_ID_AMBER>;
50 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
51 };
52 };
53 };