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"
15 #include <dt-bindings/input/input.h>
18 compatible = "linksys,e1700", "ralink,mt7620a-soc";
19 model = "Linksys E1700";
22 compatible = "gpio-keys-polled";
30 linux,code = <KEY_RESTART>;
36 linux,code = <KEY_WPS_BUTTON>;
41 compatible = "gpio-leds";
44 label = "e1700:green:power";
45 gpios = <&gpio0 10 1>;
49 label = "e1700:green:wps";
50 gpios = <&gpio0 12 1>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
73 reg = <0x30000 0x10000>;
77 factory: partition@40000 {
79 reg = <0x40000 0x10000>;
85 reg = <0x50000 0x7b0000>;
91 state_default: pinctrl0 {
93 ralink,group = "i2c", "uartf";
94 ralink,function = "gpio";
101 mtd-mac-address = <&factory 0x28>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
107 mediatek,fixed-link = <1000 1 1 1>;
114 phy0: ethernet-phy@0 {
119 phy1: ethernet-phy@1 {
124 phy2: ethernet-phy@2 {
129 phy3: ethernet-phy@3 {
134 phy4: ethernet-phy@4 {
139 phy1f: ethernet-phy@1f {
147 mediatek,port4 = "gmac";
148 mediatek,mt7530 = <1>;
152 ralink,mtd-eeprom = <&factory 0>;