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.
11 #include "mt7620a.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
17 compatible = "linksys,e1700", "ralink,mt7620a-soc";
18 model = "Linksys E1700";
21 led-boot = &led_power;
22 led-failsafe = &led_power;
23 led-running = &led_power;
24 led-upgrade = &led_power;
28 compatible = "gpio-keys";
32 gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
33 linux,code = <KEY_RESTART>;
38 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
39 linux,code = <KEY_WPS_BUTTON>;
44 compatible = "gpio-leds";
47 label = "green:power";
48 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <10000000>;
67 compatible = "fixed-partitions";
79 reg = <0x30000 0x10000>;
83 factory: partition@40000 {
85 reg = <0x40000 0x10000>;
90 compatible = "denx,uimage";
92 reg = <0x50000 0x7b0000>;
100 groups = "i2c", "uartf";
106 pinctrl-names = "default";
107 pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
109 mtd-mac-address = <&factory 0x28>;
113 mediatek,fixed-link = <1000 1 1 1>;
120 phy0: ethernet-phy@0 {
125 phy1: ethernet-phy@1 {
130 phy2: ethernet-phy@2 {
135 phy3: ethernet-phy@3 {
140 phy4: ethernet-phy@4 {
145 phy1f: ethernet-phy@1f {
153 mediatek,port4 = "gmac";
157 ralink,mtd-eeprom = <&factory 0x0>;