1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.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 function = LED_FUNCTION_POWER;
29 color = <LED_COLOR_ID_AMBER>;
30 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
34 label = "amber:wps2g";
35 gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
39 label = "blue:wlan5g";
40 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
44 label = "blue:wlan2g";
45 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-keys";
54 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
56 debounce-interval = <60>;
61 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
63 debounce-interval = <60>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <50000000>;
86 compatible = "fixed-partitions";
98 reg = <0x30000 0x10000>;
102 factory: partition@40000 {
104 reg = <0x40000 0x10000>;
108 compatible = "fixed-layout";
109 #address-cells = <1>;
112 eeprom_factory_0: eeprom@0 {
118 iNIC_rf: partition@50000 {
120 reg = <0x50000 0x10000>;
124 compatible = "fixed-layout";
125 #address-cells = <1>;
128 eeprom_iNIC_rf_0: eeprom@0 {
132 macaddr_iNIC_rf_4: macaddr@4 {
140 reg = <0x60000 0xf40000>;
141 compatible = "denx,uimage";
146 reg = <0xfa0000 0x10000>;
152 reg = <0xfb0000 0x50000>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
163 nvmem-cells = <&macaddr_iNIC_rf_4>;
164 nvmem-cell-names = "mac-address";
169 mediatek,fixed-link = <1000 1 1 1>;
178 qca,ar8327-initvals = <
179 0x10 0x40000000 /* POWER-ON STRAPPING */
180 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
181 0x7c 0x0000007e /* PORT0 STATUS */
182 0x0c 0x05600000 /* PORT6 PAD MODE CTRL */
183 0x94 0x0000007e /* PORT6 STATUS */
190 mediatek,ephy-base = /bits/ 8 <8>;
195 groups = "i2c", "uartf", "nd_sd", "wled";
206 compatible = "pci1814,5592";
208 nvmem-cells = <&eeprom_factory_0>;
209 nvmem-cell-names = "eeprom";
214 nvmem-cells = <&eeprom_iNIC_rf_0>;
215 nvmem-cell-names = "eeprom";