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>;
98 compatible = "denx,uimage";
100 reg = <0x50000 0x7b0000>;
108 groups = "i2c", "jtag", "uartf";
117 phy-handle = <&phy0>;
124 phy0: ethernet-phy@0 {
128 qca,ar8327-initvals = <
129 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
130 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
131 0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
132 0x50 0xc437c437 /* LED Control Register 0 */
133 0x54 0xc337c337 /* LED Control Register 1 */
134 0x58 0x00000000 /* LED Control Register 2 */
135 0x5c 0x03ffff00 /* LED Control Register 3 */
136 0x7c 0x0000007e /* PORT0_STATUS */
137 0x94 0x0000007e /* PORT6 STATUS */
151 compatible = "pci1814,3091";
154 ralink,mtd-eeprom = <&factory 0x8000>;
162 ralink,mtd-eeprom = <&factory 0x0>;