3 #include "mt7628an_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 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 = <&gpio0 2 GPIO_ACTIVE_LOW>;
36 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
48 compatible = "gpio-leds";
51 label = "tl-wr902ac-v3:green:lan";
52 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
56 label = "tl-wr902ac-v3:green:power";
57 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
61 label = "tl-wr902ac-v3:green:usb";
62 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
63 trigger-sources = <&ohci_port1>, <&ehci_port1>;
64 linux,default-trigger = "usbport";
68 label = "tl-wr902ac-v3:green:wan";
69 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
73 label = "tl-wr902ac-v3:green:wlan";
74 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
78 label = "tl-wr902ac-v3:green:wps";
79 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
85 state_default: pinctrl0 {
87 ralink,group = "i2c", "i2s", "p0led_an", "p2led_an", "p4led_an", "uart1", "wdt", "wled_an";
88 ralink,function = "gpio";
107 reg = <0x0000 0 0 0 0>;
108 mediatek,mtd-eeprom = <&factory 0x28000>;
109 ieee80211-freq-limit = <5000000 6000000>;
110 mtd-mac-address = <&factory 0xf100>;
111 mtd-mac-address-increment = <(-1)>;