1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,pr2000", "ralink,mt7620n-soc";
10 model = "Netgear PR2000";
13 label-mac-device = ðernet;
17 compatible = "gpio-leds";
20 label = "green:internet";
21 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
26 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
27 linux,default-trigger = "phy0tpt";
32 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&ohci_port1>, <&ehci_port1>;
34 linux,default-trigger = "usbport";
39 compatible = "gpio-keys";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
51 linux,input-type = <EV_SW>;
56 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
58 linux,input-type = <EV_SW>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <50000000>;
81 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
96 /* sercomm header for kernel starts at 0x3ffba
97 * can be safely ignored since not used by OpenWRT
101 compatible = "denx,uimage";
103 reg = <0x40000 0xf20000>;
106 factory: partition@f60000 {
108 reg = <0xf60000 0x10000>;
112 board_data: partition@f70000 {
113 label = "board_data";
114 reg = <0xf70000 0x10000>;
120 reg = <0xf80000 0x10000>;
125 label = "Traffic Meter";
126 reg = <0xf90000 0x10000>;
131 label = "Traffic Meter2";
132 reg = <0xfa0000 0x10000>;
138 reg = <0xfb0000 0x10000>;
143 reg = <0xfc0000 0x10000>;
148 label = "ralink_nvram";
149 reg = <0xfd0000 0x10000>;
155 reg = <0xfe0000 0x10000>;
161 reg = <0xff0000 0x10000>;
169 mtd-mac-address = <&board_data 0xb0>;
170 mediatek,portmap = "wllll";
182 ralink,mtd-eeprom = <&factory 0x0>;
183 mtd-mac-address = <&board_data 0xb0>;
188 groups = "ephy", "wled", "pa", "i2c";