3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "tplink,re350-v1", "mediatek,mt7621-soc";
9 model = "TP-LINK RE350 v1";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_BLUE>;
24 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
28 label = "blue:wifi2G";
29 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
33 label = "blue:wifi5G";
34 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
38 function = LED_FUNCTION_WPS;
39 color = <LED_COLOR_ID_RED>;
40 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
44 function = LED_FUNCTION_WPS;
45 color = <LED_COLOR_ID_BLUE>;
46 gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
50 label = "green:eth_act";
51 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
55 label = "green:eth_link";
56 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-keys";
65 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RESTART>;
77 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_POWER>;
83 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_WPS_BUTTON>;
93 compatible = "jedec,spi-nor";
95 spi-max-frequency = <10000000>;
98 compatible = "fixed-partitions";
109 compatible = "tplink,firmware";
111 reg = <0x20000 0x5e0000>;
116 reg = <0x600000 0x50000>;
120 compatible = "fixed-layout";
121 #address-cells = <1>;
124 macaddr_config_10008: macaddr@10008 {
125 compatible = "mac-base";
127 #nvmem-cell-cells = <1>;
134 reg = <0x7f0000 0x10000>;
138 compatible = "fixed-layout";
139 #address-cells = <1>;
142 eeprom_radio_0: eeprom@0 {
146 eeprom_radio_8000: eeprom@8000 {
147 reg = <0x8000 0x200>;
161 reg = <0x0000 0 0 0 0>;
162 nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008 1>;
163 nvmem-cell-names = "eeprom", "mac-address";
169 reg = <0x0000 0 0 0 0>;
170 ieee80211-freq-limit = <5000000 6000000>;
171 nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008 2>;
172 nvmem-cell-names = "eeprom", "mac-address";
177 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
181 nvmem-cells = <&macaddr_config_10008 0>;
182 nvmem-cell-names = "mac-address";
196 groups = "rgmii2", "wdt";