1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "ar9341_tplink_tl-wa.dtsi"
8 model = "TP-Link TL-WA901ND v3";
9 compatible = "tplink,tl-wa901nd-v3", "qca,ar9341";
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
19 compatible = "gpio-keys";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
30 compatible = "gpio-leds";
33 function = LED_FUNCTION_LAN;
34 color = <LED_COLOR_ID_GREEN>;
35 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
39 function = LED_FUNCTION_WLAN;
40 color = <LED_COLOR_ID_GREEN>;
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
51 label = "green:system";
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;