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,qca9560";
14 bootargs = "console=ttyS0,115200n8";
19 led-failsafe = &system;
20 led-running = &system;
21 led-upgrade = &system;
25 compatible = "gpio-leds";
28 label = "wr818:red:system";
29 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 label = "wr818:red:wifi2g";
34 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
35 linux,default-trigger = "phy0tpt";
40 compatible = "gpio-keys";
44 linux,code = <KEY_RESTART>;
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 debounce-interval = <60>;
65 compatible = "jedec,spi-nor";
67 spi-max-frequency = <25000000>;
70 compatible = "fixed-partitions";
76 reg = <0x000000 0x040000>;
82 reg = <0x040000 0x010000>;
86 info: partition@50000 {
88 reg = <0x050000 0x010000>;
93 compatible = "denx,uimage";
95 reg = <0x060000 0xf80000>;
98 art: partition@ff0000 {
100 reg = <0xff0000 0x010000>;
111 phy0: ethernet-phy@0 {
115 qca,ar8327-initvals = <
116 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
117 0x7c 0x0000007e /* PORT0_STATUS */
125 mtd-mac-address = <&info 0x0>;
127 phy-handle = <&phy0>;
132 mtd-cal-data = <&art 0x1000>;
140 #address-cells = <1>;
146 #trigger-source-cells = <0>;
155 #address-cells = <1>;
161 #trigger-source-cells = <0>;