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>
9 compatible = "engenius,esr600", "ralink,mt7620a-soc";
10 model = "EnGenius ESR600";
13 bootargs = "console=ttyS0,115200";
17 led-boot = &led_power;
18 led-failsafe = &led_power;
19 led-running = &led_power;
20 led-upgrade = &led_power;
24 compatible = "gpio-leds";
27 label = "amber:power";
28 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
32 label = "amber:wps2g";
33 gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
37 label = "blue:wlan5g";
38 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
42 label = "blue:wlan2g";
43 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys";
52 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
54 debounce-interval = <60>;
59 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>;
61 debounce-interval = <60>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <50000000>;
84 compatible = "fixed-partitions";
96 reg = <0x30000 0x10000>;
100 factory: partition@40000 {
101 compatible = "nvmem-cells";
103 reg = <0x40000 0x10000>;
104 #address-cells = <1>;
108 eeprom_factory_0: eeprom@0 {
113 iNIC_rf: partition@50000 {
114 compatible = "nvmem-cells";
116 reg = <0x50000 0x10000>;
117 #address-cells = <1>;
121 eeprom_iNIC_rf_0: eeprom@0 {
125 macaddr_iNIC_rf_4: macaddr@4 {
132 reg = <0x60000 0xf40000>;
133 compatible = "denx,uimage";
138 reg = <0xfa0000 0x10000>;
144 reg = <0xfb0000 0x50000>;
152 pinctrl-names = "default";
153 pinctrl-0 = <&rgmii1_pins &mdio_pins>;
155 nvmem-cells = <&macaddr_iNIC_rf_4>;
156 nvmem-cell-names = "mac-address";
161 mediatek,fixed-link = <1000 1 1 1>;
170 qca,ar8327-initvals = <
171 0x10 0x40000000 /* POWER-ON STRAPPING */
172 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
173 0x7c 0x0000007e /* PORT0 STATUS */
174 0x0c 0x05600000 /* PORT6 PAD MODE CTRL */
175 0x94 0x0000007e /* PORT6 STATUS */
182 mediatek,ephy-base = /bits/ 8 <8>;
187 groups = "i2c", "uartf", "nd_sd", "wled";
198 compatible = "pci1814,5592";
200 nvmem-cells = <&eeprom_factory_0>;
201 nvmem-cell-names = "eeprom";
206 nvmem-cells = <&eeprom_iNIC_rf_0>;
207 nvmem-cell-names = "eeprom";