3 #include "TPLINK-8M.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-wr902ac-v3", "mediatek,mt7628an-soc";
10 model = "TP-Link TL-WR902AC v3";
13 compatible = "gpio-keys-polled";
20 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
21 linux,code = <KEY_RESTART>;
26 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
38 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
44 compatible = "gpio-leds";
47 label = "tl-wr902ac-v3:green:lan";
48 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
52 label = "tl-wr902ac-v3:green:power";
53 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
57 label = "tl-wr902ac-v3:green:usb";
58 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
62 label = "tl-wr902ac-v3:green:wan";
63 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
67 label = "tl-wr902ac-v3:green:wlan";
68 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
72 label = "tl-wr902ac-v3:green:wps";
73 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
79 state_default: pinctrl0 {
81 ralink,group = "i2c", "i2s", "p0led_an", "p2led_an", "p4led_an", "uart1", "wdt", "wled_an";
82 ralink,function = "gpio";
100 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x28000>;
103 ieee80211-freq-limit = <5000000 6000000>;
104 mtd-mac-address = <&factory 0xf100>;
105 mtd-mac-address-increment = <(-1)>;