1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2016 Joseph C. Lehner <joseph.c.lehner@gmail.com>
6 #include "mt7620a.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
12 compatible = "netgear,ex2700", "ralink,mt7620a-soc";
13 model = "Netgear EX2700";
16 led-boot = &led_power_green;
17 led-failsafe = &led_power_green;
18 led-running = &led_power_green;
19 led-upgrade = &led_power_green;
23 compatible = "gpio-keys";
27 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
39 compatible = "gpio-leds";
41 led_power_green: power_g {
42 label = "green:power";
43 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
53 label = "green:device";
54 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
63 label = "green:router";
64 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
92 compatible = "fixed-partitions";
103 label = "u-boot-env";
104 reg = <0x30000 0x10000>;
109 compatible = "denx,uimage";
111 reg = <0x40000 0x3b0000>;
114 art: partition@3f0000 {
116 reg = <0x3f0000 0x10000>;
124 nvmem-cells = <&macaddr_art_0>;
125 nvmem-cell-names = "mac-address";
129 ralink,mtd-eeprom = <&art 0x1000>;
131 nvmem-cells = <&macaddr_art_6>;
132 nvmem-cell-names = "mac-address";
137 groups = "i2c", "uartf", "spi refclk";
143 compatible = "nvmem-cells";
144 #address-cells = <1>;
147 macaddr_art_0: macaddr@0 {
151 macaddr_art_6: macaddr@6 {