1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "ar9342_zyxel_nwa11xx.dtsi"
8 compatible = "zyxel,nwa1100-nh", "qca,ar9342";
9 model = "Zyxel NWA1100-NH";
12 label-mac-device = ð0;
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_green;
16 led-upgrade = &led_status_red;
19 compatible = "gpio-leds";
21 led_status_green: status_green {
22 function = LED_FUNCTION_STATUS;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
28 led_status_red: status_red {
29 function = LED_FUNCTION_STATUS;
30 color = <LED_COLOR_ID_RED>;
31 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
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";
41 led_lan_green: lan_green {
42 function = LED_FUNCTION_LAN;
43 color = <LED_COLOR_ID_GREEN>;
44 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
47 led_lan_amber: lan_amber {
48 function = LED_FUNCTION_LAN;
49 color = <LED_COLOR_ID_AMBER>;
50 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;