2 * Device Tree file for the Netgear EX2700
4 * Copyright (C) 2016 Joseph C. Lehner <joseph.c.lehner@gmail.com>
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
13 #include "mt7620a.dtsi"
15 #include <dt-bindings/input/input.h>
18 compatible = "ralink,mt7620a-soc";
19 model = "Netgear EX2700";
22 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-leds";
29 label = "ex2700:green:power";
35 label = "ex2700:red:power";
36 gpios = <&gpio0 11 1>;
40 label = "ex2700:green:device";
41 gpios = <&gpio0 13 1>;
45 label = "ex2700:red:device";
46 gpios = <&gpio0 10 1>;
50 label = "ex2700:green:router";
51 gpios = <&gpio0 12 1>;
55 label = "ex2700:red:router";
56 gpios = <&gpio0 14 1>;
60 label = "ex2700:green:wps";
61 gpios = <&gpio1 15 1>;
66 compatible = "gpio-keys-polled";
74 linux,code = <KEY_RESTART>;
80 linux,code = <KEY_WPS_BUTTON>;
99 compatible = "jedec,spi-nor";
101 linux,modalias = "m25p80", "mx25l3205d";
102 spi-max-frequency = <10000000>;
111 label = "u-boot-env";
112 reg = <0x30000 0x10000>;
118 reg = <0x40000 0x3b0000>;
121 art: partition@3f0000 {
123 reg = <0x3f0000 0x10000>;
130 mtd-mac-address = <&art 0x0>;
134 ralink,mtd-eeprom = <&art 0x1000>;
138 state_default: pinctrl0 {
140 // spi refclk: pins 37, 38, 39
141 // uartf: pins 8, 9, 10, 11, 12, 13, 14
143 ralink,group = "i2c", "uartf", "spi refclk";
144 ralink,function = "gpio";