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";
20 compatible = "gpio-keys-polled";
39 compatible = "gpio-leds";
42 label = "e1700:green:power";
43 gpios = <&gpio0 10 1>;
47 label = "e1700:green:wps";
48 gpios = <&gpio0 12 1>;
59 compatible = "jedec,spi-nor";
61 linux,modalias = "m25p80", "mx25l6405d";
62 spi-max-frequency = <10000000>;
72 reg = <0x30000 0x10000>;
76 factory: partition@40000 {
78 reg = <0x40000 0x10000>;
84 reg = <0x50000 0x7b0000>;
90 state_default: pinctrl0 {
92 ralink,group = "i2c", "uartf";
93 ralink,function = "gpio";
100 mtd-mac-address = <&factory 0x28>;
101 pinctrl-names = "default";
102 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
106 mediatek,fixed-link = <1000 1 1 1>;
113 phy0: ethernet-phy@0 {
118 phy1: ethernet-phy@1 {
123 phy2: ethernet-phy@2 {
128 phy3: ethernet-phy@3 {
133 phy4: ethernet-phy@4 {
138 phy1f: ethernet-phy@1f {
146 mediatek,port4 = "gmac";
147 mediatek,mt7530 = <1>;
151 ralink,mtd-eeprom = <&factory 0>;