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 led-status = &led_power_green;
19 bootargs = "console=ttyS0,57600";
23 compatible = "gpio-leds";
25 led_power_green: power_g {
26 label = "wn3000rpv3:green:power";
27 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
32 label = "wn3000rpv3:red:power";
33 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
37 label = "wn3000rpv3:green:client";
38 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
42 label = "wn3000rpv3:red:client";
43 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
47 label = "wn3000rpv3:green:router";
48 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
52 label = "wn3000rpv3:red:router";
53 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
57 label = "wn3000rpv3:green:wps";
58 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
62 label = "wn3000rpv3:blue:leftarrow";
63 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
67 label = "wn3000rpv3:blue:rightarrow";
68 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
73 compatible = "gpio-keys-polled";
78 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_RESTART>;
84 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
85 linux,code = <KEY_WPS_BUTTON>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <10000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
114 label = "u-boot-env";
115 reg = <0x30000 0x10000>;
121 reg = <0x40000 0x7b0000>;
124 art: partition@7f0000 {
126 reg = <0x7f0000 0x10000>;
134 mtd-mac-address = <&art 0x0>;
138 mtd-mac-address = <&art 0x6>;
139 ralink,mtd-eeprom = <&art 0x1000>;
143 state_default: pinctrl0 {
145 ralink,group = "i2c", "uartf", "spi refclk";
146 ralink,function = "gpio";