1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "engenius,esr600h", "ralink,rt3662-soc", "ralink,rt3883-soc";
10 model = "EnGenius ESR600H";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
24 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
30 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
36 poll-interval = <100>;
40 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 compatible = "gpio-export";
50 gpio-export,name = "usb";
51 gpio-export,output = <1>;
52 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <20000000>;
70 compatible = "fixed-partitions";
82 reg = <0x30000 0x1000>;
87 reg = <0x32000 0xe000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 eeprom_factory_8000: eeprom@8000 {
106 reg = <0x8000 0x200>;
112 compatible = "denx,uimage";
114 reg = <0x50000 0x7b0000>;
122 groups = "i2c", "jtag", "uartf";
131 phy-handle = <&phy0>;
138 phy0: ethernet-phy@0 {
142 qca,ar8327-initvals = <
143 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
144 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
145 0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
146 0x50 0xc437c437 /* LED Control Register 0 */
147 0x54 0xc337c337 /* LED Control Register 1 */
148 0x58 0x00000000 /* LED Control Register 2 */
149 0x5c 0x03ffff00 /* LED Control Register 3 */
150 0x7c 0x0000007e /* PORT0_STATUS */
151 0x94 0x0000007e /* PORT6 STATUS */
165 compatible = "pci1814,3091";
166 reg = <0x10000 0 0 0 0>;
168 nvmem-cells = <&eeprom_factory_8000>;
169 nvmem-cell-names = "eeprom";
175 nvmem-cells = <&eeprom_factory_0>;
176 nvmem-cell-names = "eeprom";