1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca956x.dtsi"
10 model = "ROSINSON WR818";
11 compatible = "rosinson,wr818", "qca,qca9563";
14 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-running = &led_system;
17 led-upgrade = &led_system;
21 compatible = "gpio-leds";
24 label = "wr818:red:system";
25 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
29 label = "wr818:red:wifi2g";
30 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
31 linux,default-trigger = "phy0tpt";
36 compatible = "gpio-keys";
40 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
42 debounce-interval = <60>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <25000000>;
66 compatible = "fixed-partitions";
72 reg = <0x000000 0x040000>;
78 reg = <0x040000 0x010000>;
82 info: partition@50000 {
84 reg = <0x050000 0x010000>;
89 compatible = "denx,uimage";
91 reg = <0x060000 0xf80000>;
94 art: partition@ff0000 {
96 reg = <0xff0000 0x010000>;
107 phy0: ethernet-phy@0 {
111 qca,ar8327-initvals = <
112 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
113 0x7c 0x0000007e /* PORT0_STATUS */
121 mtd-mac-address = <&info 0x0>;
123 phy-handle = <&phy0>;
129 mtd-cal-data = <&art 0x1000>;
137 #address-cells = <1>;
143 #trigger-source-cells = <0>;
152 #address-cells = <1>;
158 #trigger-source-cells = <0>;