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 device_type = "memory";
14 reg = <0x0 0x8000000>;
18 bootargs = "console=ttyS0,57600 maxcpus=2";
22 compatible = "gpio-leds";
25 label = "wndr3700v5:green:wps";
26 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
30 label = "wndr3700v5:green:power";
31 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
42 label = "wndr3700v5:wps";
43 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
44 linux,code = <KEY_WPS_BUTTON>;
48 label = "wndr3700v5:wifi";
49 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
50 linux,code = <KEY_RFKILL>;
54 label = "wndr3700v5:reset";
55 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
56 linux,code = <KEY_RESTART>;
61 compatible = "gpio-export";
65 gpio-export,name = "usbpower";
66 gpio-export,output = <1>;
67 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <10000000>;
81 m25p,chunked-io = <32>;
91 reg = <0x30000 0x10000>;
95 factory: partition@f30000 {
97 reg = <0xf30000 0x10000>;
103 reg = <0x50000 0xee0000>;
113 reg = <0x0000 0 0 0 0>;
115 mediatek,mtd-eeprom = <&factory 0x8000>;
116 ieee80211-freq-limit = <5000000 6000000>;
122 reg = <0x0000 0 0 0 0>;
124 mediatek,mtd-eeprom = <&factory 0x0000>;
130 mtd-mac-address = <&factory 0x0000000c>;
134 state_default: pinctrl0 {
136 ralink,group = "rgmii2", "mdio", "wdt";
137 ralink,function = "gpio";