1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "ROSINSON WR818";
10 compatible = "rosinson,wr818", "qca,qca9563";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 compatible = "gpio-leds";
24 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy0tpt";
35 compatible = "gpio-keys";
39 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 debounce-interval = <60>;
54 compatible = "jedec,spi-nor";
56 spi-max-frequency = <25000000>;
59 compatible = "fixed-partitions";
65 reg = <0x000000 0x040000>;
71 reg = <0x040000 0x010000>;
75 info: partition@50000 {
77 reg = <0x050000 0x010000>;
82 compatible = "denx,uimage";
84 reg = <0x060000 0xf80000>;
87 art: partition@ff0000 {
89 reg = <0xff0000 0x010000>;
100 phy0: ethernet-phy@0 {
104 qca,ar8327-initvals = <
105 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
106 0x7c 0x0000007e /* PORT0_STATUS */
114 mtd-mac-address = <&info 0x0>;
116 phy-handle = <&phy0>;
122 mtd-cal-data = <&art 0x1000>;
130 #address-cells = <1>;
136 #trigger-source-cells = <0>;
145 #address-cells = <1>;
151 #trigger-source-cells = <0>;