5 #include <dt-bindings/input/input.h>
8 compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc";
9 model = "Netgear WNDR3700v5";
12 device_type = "memory";
13 reg = <0x0 0x8000000>;
17 bootargs = "console=ttyS0,57600 maxcpus=2";
21 compatible = "gpio-leds";
24 label = "wndr3700v5:green:wps";
25 gpios = <&gpio0 12 1>;
29 label = "wndr3700v5:green:power";
30 gpios = <&gpio0 18 1>;
35 compatible = "gpio-keys-polled";
41 label = "wndr3700v5:wps";
43 linux,code = <KEY_WPS_BUTTON>;
47 label = "wndr3700v5:wifi";
49 linux,code = <KEY_RFKILL>;
53 label = "wndr3700v5:reset";
54 gpios = <&gpio0 14 0>;
55 linux,code = <KEY_RESTART>;
60 compatible = "gpio-export";
64 gpio-export,name = "usbpower";
65 gpio-export,output = <1>;
66 gpios = <&gpio0 10 1>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
80 m25p,chunked-io = <32>;
90 reg = <0x30000 0x10000>;
94 factory: partition@f30000 {
96 reg = <0xf30000 0x10000>;
102 reg = <0x50000 0xee0000>;
112 reg = <0x0000 0 0 0 0>;
114 mediatek,mtd-eeprom = <&factory 0x8000>;
115 ieee80211-freq-limit = <5000000 6000000>;
121 reg = <0x0000 0 0 0 0>;
123 mediatek,mtd-eeprom = <&factory 0x0000>;
129 mtd-mac-address = <&factory 0x0000000c>;
133 state_default: pinctrl0 {
135 ralink,group = "rgmii2", "mdio", "wdt";
136 ralink,function = "gpio";