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 bootargs = "console=ttyS0,57600";
24 compatible = "gpio-leds";
27 label = "re350-v1:blue:power";
28 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
32 label = "re350-v1:blue:wifi2G";
33 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
37 label = "re350-v1:blue:wifi5G";
38 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
42 label = "re350-v1:red:wps";
43 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
47 label = "re350-v1:blue:wps";
48 gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
52 label = "re350-v1:green:eth_act";
53 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
57 label = "re350-v1:green:eth_link";
58 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
63 compatible = "gpio-keys";
67 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_RESTART>;
79 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_POWER>;
85 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_WPS_BUTTON>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <10000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
111 compatible = "tplink,firmware";
113 reg = <0x20000 0x5e0000>;
116 config: partition@600000 {
118 reg = <0x600000 0x50000>;
122 radio: partition@7f0000 {
124 reg = <0x7f0000 0x10000>;
137 reg = <0x0000 0 0 0 0>;
138 mediatek,mtd-eeprom = <&radio 0x0>;
139 mtd-mac-address = <&config 0x10008>;
140 mtd-mac-address-increment = <1>;
146 reg = <0x0000 0 0 0 0>;
147 mediatek,mtd-eeprom = <&radio 0x8000>;
148 ieee80211-freq-limit = <5000000 6000000>;
149 mtd-mac-address = <&config 0x10008>;
150 mtd-mac-address-increment = <2>;
155 mtd-mac-address = <&config 0x10008>;
169 groups = "rgmii2", "wdt";