1 /* This file is released into the public domain */
5 #include "mt7620a.dtsi"
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/gpio/gpio.h>
11 compatible = "netgear,wn3000rp-v3", "ralink,mt7620a-soc";
12 model = "Netgear WN3000RPv3";
15 bootargs = "console=ttyS0,57600";
19 compatible = "gpio-leds";
22 label = "wn3000rpv3:green:power";
23 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
28 label = "wn3000rpv3:red:power";
29 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
33 label = "wn3000rpv3:green:client";
34 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
38 label = "wn3000rpv3:red:client";
39 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
43 label = "wn3000rpv3:green:router";
44 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
48 label = "wn3000rpv3:red:router";
49 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
53 label = "wn3000rpv3:green:wps";
54 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
58 label = "wn3000rpv3:blue:leftarrow";
59 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
63 label = "wn3000rpv3:blue:rightarrow";
64 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
69 compatible = "gpio-keys-polled";
76 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_RESTART>;
82 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_WPS_BUTTON>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <10000000>;
109 label = "u-boot-env";
110 reg = <0x30000 0x10000>;
116 reg = <0x40000 0x7b0000>;
119 art: partition@7f0000 {
121 reg = <0x7f0000 0x10000>;
128 mtd-mac-address = <&art 0x0>;
132 mtd-mac-address = <&art 0x6>;
133 ralink,mtd-eeprom = <&art 0x1000>;
137 state_default: pinctrl0 {
139 ralink,group = "i2c", "uartf", "spi refclk";
140 ralink,function = "gpio";