5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc";
10 model = "Netgear WNDR3700v5";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 device_type = "memory";
21 reg = <0x0 0x8000000>;
25 bootargs = "console=ttyS0,57600 maxcpus=2";
29 compatible = "gpio-leds";
32 label = "wndr3700v5:green:wps";
33 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
37 label = "wndr3700v5:green:power";
38 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
43 compatible = "gpio-keys-polled";
47 label = "wndr3700v5:wps";
48 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
49 linux,code = <KEY_WPS_BUTTON>;
53 label = "wndr3700v5:wifi";
54 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
55 linux,code = <KEY_RFKILL>;
59 label = "wndr3700v5:reset";
60 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
61 linux,code = <KEY_RESTART>;
66 compatible = "gpio-export";
70 gpio-export,name = "usbpower";
71 gpio-export,output = <1>;
72 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <10000000>;
84 m25p,chunked-io = <32>;
87 compatible = "fixed-partitions";
99 reg = <0x30000 0x10000>;
103 factory: partition@f30000 {
105 reg = <0xf30000 0x10000>;
110 compatible = "denx,uimage";
112 reg = <0x50000 0xee0000>;
124 reg = <0x0000 0 0 0 0>;
125 mediatek,mtd-eeprom = <&factory 0x8000>;
126 ieee80211-freq-limit = <5000000 6000000>;
132 reg = <0x0000 0 0 0 0>;
133 mediatek,mtd-eeprom = <&factory 0x0000>;
138 mtd-mac-address = <&factory 0x0000000c>;
142 state_default: pinctrl0 {
144 ralink,group = "rgmii2", "mdio", "wdt";
145 ralink,function = "gpio";