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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "engenius,esr600h", "ralink,rt3662-soc", "ralink,rt3883-soc";
11 model = "EnGenius ESR600H";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
24 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_BLUE>;
26 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
31 function = LED_FUNCTION_WPS;
32 color = <LED_COLOR_ID_BLUE>;
33 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys-polled";
39 poll-interval = <100>;
43 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 compatible = "gpio-export";
53 gpio-export,name = "usb";
54 gpio-export,output = <1>;
55 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <20000000>;
73 compatible = "fixed-partitions";
85 reg = <0x30000 0x1000>;
90 reg = <0x32000 0xe000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
100 compatible = "fixed-layout";
101 #address-cells = <1>;
104 eeprom_factory_0: eeprom@0 {
108 eeprom_factory_8000: eeprom@8000 {
109 reg = <0x8000 0x200>;
115 compatible = "denx,uimage";
117 reg = <0x50000 0x7b0000>;
125 groups = "i2c", "jtag", "uartf";
134 phy-handle = <&phy0>;
141 phy0: ethernet-phy@0 {
145 qca,ar8327-initvals = <
146 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
147 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
148 0x10 0x40000000 /* Power-on Strapping: 176-pin interface configuration */
149 0x50 0xc437c437 /* LED Control Register 0 */
150 0x54 0xc337c337 /* LED Control Register 1 */
151 0x58 0x00000000 /* LED Control Register 2 */
152 0x5c 0x03ffff00 /* LED Control Register 3 */
153 0x7c 0x0000007e /* PORT0_STATUS */
154 0x94 0x0000007e /* PORT6 STATUS */
168 compatible = "pci1814,3091";
169 reg = <0x10000 0 0 0 0>;
171 nvmem-cells = <&eeprom_factory_8000>;
172 nvmem-cell-names = "eeprom";
178 nvmem-cells = <&eeprom_factory_0>;
179 nvmem-cell-names = "eeprom";