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 = "mx25l6405d";
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";
69 mtd-mac-address = <&factory 0x28>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
76 ralink,fixed-link = <1000 1 1 1>;
83 phy0: ethernet-phy@0 {
87 phy1: ethernet-phy@1 {
91 phy2: ethernet-phy@2 {
95 phy3: ethernet-phy@3 {
99 phy4: ethernet-phy@4 {
103 phy1f: ethernet-phy@1f {
111 ralink,port4 = "gmac";
112 mediatek,mt7530 = <1>;
116 ralink,mtd-eeprom = <&factory 0>;
120 compatible = "gpio-keys-polled";
121 #address-cells = <1>;
123 poll-interval = <20>;
126 gpios = <&gpio0 1 0>;
127 linux,code = <0x198>;
131 gpios = <&gpio0 2 0>;
132 linux,code = <0x211>;
137 compatible = "gpio-leds";
139 label = "linksys:green:power";
140 gpios = <&gpio0 10 1>;
143 label = "linksys:green:wps";
144 gpios = <&gpio0 12 1>;