3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "tplink,re350-v1", "mediatek,mt7621-soc";
8 model = "TP-LINK RE350 v1";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
22 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
26 label = "blue:wifi2G";
27 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
31 label = "blue:wifi5G";
32 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
42 gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
46 label = "green:eth_act";
47 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
51 label = "green:eth_link";
52 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-keys";
61 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_RESTART>;
73 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_POWER>;
79 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_WPS_BUTTON>;
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <10000000>;
94 compatible = "fixed-partitions";
105 compatible = "tplink,firmware";
107 reg = <0x20000 0x5e0000>;
110 config: partition@600000 {
112 reg = <0x600000 0x50000>;
116 radio: partition@7f0000 {
118 reg = <0x7f0000 0x10000>;
131 reg = <0x0000 0 0 0 0>;
132 mediatek,mtd-eeprom = <&radio 0x0>;
133 nvmem-cells = <&macaddr_config_10008>;
134 nvmem-cell-names = "mac-address";
135 mac-address-increment = <1>;
141 reg = <0x0000 0 0 0 0>;
142 mediatek,mtd-eeprom = <&radio 0x8000>;
143 ieee80211-freq-limit = <5000000 6000000>;
144 nvmem-cells = <&macaddr_config_10008>;
145 nvmem-cell-names = "mac-address";
146 mac-address-increment = <2>;
151 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
155 nvmem-cells = <&macaddr_config_10008>;
156 nvmem-cell-names = "mac-address";
170 groups = "rgmii2", "wdt";
176 compatible = "nvmem-cells";
177 #address-cells = <1>;
180 macaddr_config_10008: macaddr@10008 {