2 * Device Tree file for the Linksys E1700
4 * Copyright (C) 2014 Imre Kaloz <kaloz@openwrt.org>
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 = "linksys,e1700", "ralink,mt7620a-soc";
17 model = "Linksys E1700";
26 compatible = "jedec,spi-nor";
28 linux,modalias = "m25p80", "mx25l6405d";
29 spi-max-frequency = <10000000>;
39 reg = <0x30000 0x10000>;
43 factory: partition@40000 {
45 reg = <0x40000 0x10000>;
51 reg = <0x50000 0x7b0000>;
58 state_default: pinctrl0 {
60 ralink,group = "i2c", "uartf";
61 ralink,function = "gpio";
68 mtd-mac-address = <&factory 0x28>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
74 mediatek,fixed-link = <1000 1 1 1>;
81 phy0: ethernet-phy@0 {
86 phy1: ethernet-phy@1 {
91 phy2: ethernet-phy@2 {
96 phy3: ethernet-phy@3 {
101 phy4: ethernet-phy@4 {
106 phy1f: ethernet-phy@1f {
114 mediatek,port4 = "gmac";
115 mediatek,mt7530 = <1>;
119 ralink,mtd-eeprom = <&factory 0>;
123 compatible = "gpio-keys-polled";
124 #address-cells = <1>;
126 poll-interval = <20>;
130 gpios = <&gpio0 1 0>;
131 linux,code = <0x198>;
136 gpios = <&gpio0 2 0>;
137 linux,code = <0x211>;
142 compatible = "gpio-leds";
145 label = "e1700:green:power";
146 gpios = <&gpio0 10 1>;
150 label = "e1700:green:wps";
151 gpios = <&gpio0 12 1>;