3 #include "TPLINK-8M.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-wa801nd-v5", "mediatek,mt7628an-soc";
10 model = "TP-Link TL-WA801ND v5";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys-polled";
25 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
34 label = "tl-wa801nd-v5:green:power";
35 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
39 label = "tl-wa801nd-v5:green:lan";
40 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
44 label = "tl-wa801nd-v5:green:wlan";
45 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
49 label = "tl-wa801nd-v5:orange:wps";
50 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
56 state_default: pinctrl0 {
58 ralink,group = "p0led_an", "perst", "refclk", "wdt", "wled_an";
59 ralink,function = "gpio";