3 #include "mt7628an_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";
24 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_RESTART>;
30 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_WPS_BUTTON>;
36 compatible = "gpio-leds";
39 label = "tl-wa801nd-v5:green:power";
40 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
44 label = "tl-wa801nd-v5:green:lan";
45 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
49 label = "tl-wa801nd-v5:green:wlan";
50 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
54 label = "tl-wa801nd-v5:red:wps";
55 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
59 label = "tl-wa801nd-v5:green:wps";
60 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
67 ralink,group = "p0led_an", "p1led_an", "perst", "refclk",
68 "uart1", "wdt", "wled_an";
69 ralink,function = "gpio";