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>;
57 compatible = "jedec,spi-nor";
59 spi-max-frequency = <25000000>;
62 compatible = "fixed-partitions";
68 reg = <0x000000 0x040000>;
74 reg = <0x040000 0x010000>;
78 info: partition@50000 {
80 reg = <0x050000 0x010000>;
85 compatible = "denx,uimage";
87 reg = <0x060000 0xf80000>;
90 art: partition@ff0000 {
92 reg = <0xff0000 0x010000>;
103 phy0: ethernet-phy@0 {
107 qca,ar8327-initvals = <
108 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
109 0x7c 0x0000007e /* PORT0_STATUS */
117 mtd-mac-address = <&info 0x0>;
119 phy-handle = <&phy0>;
125 mtd-cal-data = <&art 0x1000>;
133 #address-cells = <1>;
139 #trigger-source-cells = <0>;
148 #address-cells = <1>;
154 #trigger-source-cells = <0>;