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-status = &led_power;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600 maxcpus=2";
26 compatible = "gpio-leds";
29 label = "wndr3700v5:green:wps";
30 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
34 label = "wndr3700v5:green:power";
35 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
40 compatible = "gpio-keys-polled";
46 label = "wndr3700v5:wps";
47 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
48 linux,code = <KEY_WPS_BUTTON>;
52 label = "wndr3700v5:wifi";
53 gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
54 linux,code = <KEY_RFKILL>;
58 label = "wndr3700v5:reset";
59 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
60 linux,code = <KEY_RESTART>;
65 compatible = "gpio-export";
69 gpio-export,name = "usbpower";
70 gpio-export,output = <1>;
71 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <10000000>;
85 m25p,chunked-io = <32>;
95 reg = <0x30000 0x10000>;
99 factory: partition@f30000 {
101 reg = <0xf30000 0x10000>;
107 reg = <0x50000 0xee0000>;
117 reg = <0x0000 0 0 0 0>;
119 mediatek,mtd-eeprom = <&factory 0x8000>;
120 ieee80211-freq-limit = <5000000 6000000>;
126 reg = <0x0000 0 0 0 0>;
128 mediatek,mtd-eeprom = <&factory 0x0000>;
134 mtd-mac-address = <&factory 0x0000000c>;
138 state_default: pinctrl0 {
140 ralink,group = "rgmii2", "mdio", "wdt";
141 ralink,function = "gpio";