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 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
37 compatible = "gpio-leds";
40 label = "tl-wa801nd-v5:green:power";
41 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
45 label = "tl-wa801nd-v5:green:lan";
46 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
50 label = "tl-wa801nd-v5:green:wlan";
51 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
56 label = "tl-wa801nd-v5:red:wps";
57 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
61 label = "tl-wa801nd-v5:green:wps";
62 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
68 state_default: pinctrl0 {
70 ralink,group = "p0led_an", "p1led_an", "perst",
71 "refclk", "uart1", "wdt", "wled_an";
72 ralink,function = "gpio";