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-status = &led_power;
17 compatible = "gpio-keys-polled";
22 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 compatible = "gpio-leds";
31 label = "tl-wa801nd-v5:green:power";
32 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
36 label = "tl-wa801nd-v5:green:lan";
37 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
41 label = "tl-wa801nd-v5:green:wlan";
42 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
46 label = "tl-wa801nd-v5:orange:wps";
47 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
53 state_default: pinctrl0 {
55 ralink,group = "p0led_an", "perst", "refclk", "wdt", "wled_an";
56 ralink,function = "gpio";