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>;
50 compatible = "jedec,spi-nor";
52 spi-max-frequency = <25000000>;
55 compatible = "fixed-partitions";
61 reg = <0x000000 0x040000>;
67 reg = <0x040000 0x010000>;
71 info: partition@50000 {
73 reg = <0x050000 0x010000>;
78 compatible = "denx,uimage";
80 reg = <0x060000 0xf80000>;
83 art: partition@ff0000 {
85 reg = <0xff0000 0x010000>;
96 phy0: ethernet-phy@0 {
100 qca,ar8327-initvals = <
101 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
102 0x7c 0x0000007e /* PORT0_STATUS */
110 mtd-mac-address = <&info 0x0>;
112 phy-handle = <&phy0>;
118 mtd-cal-data = <&art 0x1000>;
126 #address-cells = <1>;
132 #trigger-source-cells = <0>;
141 #address-cells = <1>;
147 #trigger-source-cells = <0>;