1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "mt7620a.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "engenius,esr600", "ralink,mt7620a-soc";
11 model = "EnGenius ESR600";
14 bootargs = "console=ttyS0,115200";
18 led-boot = &led_power;
19 led-failsafe = &led_power;
20 led-running = &led_power;
21 led-upgrade = &led_power;
25 compatible = "gpio-leds";
28 label = "esr600:amber:power";
29 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
33 label = "esr600:amber:wps2g";
34 gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
38 label = "esr600:blue:wlan5g";
39 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
43 label = "esr600:blue:wlan2g";
44 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys";
53 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
55 debounce-interval = <60>;
60 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
62 debounce-interval = <60>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <50000000>;
89 compatible = "fixed-partitions";
100 label = "u-boot-env";
101 reg = <0x30000 0x10000>;
105 factory: partition@40000 {
107 reg = <0x40000 0x10000>;
111 iNIC_rf: partition@50000 {
113 reg = <0x50000 0x10000>;
119 reg = <0x60000 0xf40000>;
120 compatible = "denx,uimage";
125 reg = <0xfa0000 0x10000>;
131 reg = <0xfb0000 0x50000>;
140 pinctrl-names = "default";
141 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
142 mtd-mac-address = <&iNIC_rf 0x4>;
147 mediatek,fixed-link = <1000 1 1 1>;
157 qca,ar8327-initvals = <
158 0x10 0x40000000 /* POWER-ON STRAPPING */
159 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
160 0x7c 0x0000007e /* PORT0 STATUS */
161 0x0c 0x05600000 /* PORT6 PAD MODE CTRL */
162 0x94 0x0000007e /* PORT6 STATUS */
170 ralink,group = "i2c", "uartf", "nd_sd", "wled";
171 ralink,function = "gpio";
181 compatible = "pci1814,5592";
183 ralink,mtd-eeprom = <&factory 0x0>;
188 ralink,mtd-eeprom = <&iNIC_rf 0x0>;