1 #include "mt7628an_tplink_8m.dtsi"
4 compatible = "tplink,tl-wr902ac-v3", "mediatek,mt7628an-soc";
5 model = "TP-Link TL-WR902AC v3";
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
15 compatible = "gpio-keys";
19 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
43 compatible = "gpio-leds";
46 function = LED_FUNCTION_LAN;
47 color = <LED_COLOR_ID_GREEN>;
48 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
52 function = LED_FUNCTION_POWER;
53 color = <LED_COLOR_ID_GREEN>;
54 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
58 function = LED_FUNCTION_USB;
59 color = <LED_COLOR_ID_GREEN>;
60 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
61 trigger-sources = <&ohci_port1>, <&ehci_port1>;
62 linux,default-trigger = "usbport";
66 function = LED_FUNCTION_WAN;
67 color = <LED_COLOR_ID_GREEN>;
68 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
72 function = LED_FUNCTION_WLAN;
73 color = <LED_COLOR_ID_GREEN>;
74 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
78 function = LED_FUNCTION_WPS;
79 color = <LED_COLOR_ID_GREEN>;
80 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
87 groups = "i2c", "i2s", "p0led_an", "p2led_an", "p4led_an", "uart1", "wdt", "wled_an";
95 nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
96 nvmem-cell-names = "eeprom", "mac-address";
105 reg = <0x0000 0 0 0 0>;
106 ieee80211-freq-limit = <5000000 6000000>;
107 nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
108 nvmem-cell-names = "eeprom", "mac-address";
110 #include <dt-bindings/leds/common.h>