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"
16 compatible = "ralink,mt7620a-soc";
17 model = "Netgear EX2700";
20 bootargs = "console=ttyS0,57600";
39 compatible = "jedec,spi-nor";
41 linux,modalias = "m25p80", "mx25l3205d";
42 spi-max-frequency = <10000000>;
52 reg = <0x30000 0x10000>;
58 reg = <0x40000 0x3b0000>;
61 art: partition@3f0000 {
63 reg = <0x3f0000 0x10000>;
71 mtd-mac-address = <&art 0x0>;
75 ralink,mtd-eeprom = <&art 0x1000>;
79 state_default: pinctrl0 {
81 // spi refclk: pins 37, 38, 39
82 // uartf: pins 8, 9, 10, 11, 12, 13, 14
84 ralink,group = "i2c", "uartf", "spi refclk";
85 ralink,function = "gpio";
91 compatible = "gpio-leds";
94 label = "ex2700:green:power";
100 label = "ex2700:red:power";
101 gpios = <&gpio0 11 1>;
105 label = "ex2700:green:device";
106 gpios = <&gpio0 13 1>;
110 label = "ex2700:red:device";
111 gpios = <&gpio0 10 1>;
115 label = "ex2700:green:router";
116 gpios = <&gpio0 12 1>;
120 label = "ex2700:red:router";
121 gpios = <&gpio0 14 1>;
125 label = "ex2700:green:wps";
126 gpios = <&gpio1 15 1>;
131 compatible = "gpio-keys-polled";
132 #address-cells = <1>;
134 poll-interval = <20>;
138 gpios = <&gpio0 1 1>;
139 linux,code = <0x198>;
144 gpios = <&gpio0 2 1>;
145 linux,code = <0x211>;