5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,re350-v1", "mediatek,mt7621-soc";
10 model = "TP-LINK RE350 v1";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "re350-v1:blue:power";
24 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
28 label = "re350-v1:blue:wifi2G";
29 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
33 label = "re350-v1:blue:wifi5G";
34 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
38 label = "re350-v1:red:wps";
39 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
43 label = "re350-v1:blue:wps";
44 gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
48 label = "re350-v1:green:eth_act";
49 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
53 label = "re350-v1:green:eth_link";
54 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-keys";
63 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_RESTART>;
75 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_POWER>;
81 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_WPS_BUTTON>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <10000000>;
96 compatible = "fixed-partitions";
107 compatible = "tplink,firmware";
109 reg = <0x20000 0x5e0000>;
112 config: partition@600000 {
114 reg = <0x600000 0x50000>;
118 radio: partition@7f0000 {
120 reg = <0x7f0000 0x10000>;
133 reg = <0x0000 0 0 0 0>;
134 mediatek,mtd-eeprom = <&radio 0x0>;
135 mtd-mac-address = <&config 0x10008>;
136 mtd-mac-address-increment = <1>;
142 reg = <0x0000 0 0 0 0>;
143 mediatek,mtd-eeprom = <&radio 0x8000>;
144 ieee80211-freq-limit = <5000000 6000000>;
145 mtd-mac-address = <&config 0x10008>;
146 mtd-mac-address-increment = <2>;
151 mtd-mac-address = <&config 0x10008>;
165 groups = "rgmii2", "wdt";