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>;
77 compatible = "fixed-layout";
81 macaddr_info_0: macaddr@0 {
88 compatible = "denx,uimage";
90 reg = <0x060000 0xf80000>;
93 art: partition@ff0000 {
95 reg = <0xff0000 0x010000>;
105 phy0: ethernet-phy@0 {
109 qca,ar8327-initvals = <
110 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
111 0x7c 0x0000007e /* PORT0_STATUS */
119 nvmem-cells = <&macaddr_info_0>;
120 nvmem-cell-names = "mac-address";
122 phy-handle = <&phy0>;
128 mtd-cal-data = <&art 0x1000>;