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>
10 model = "PowerCloud Systems CR5000";
11 compatible = "pcs,cr5000", "qca,ar9344";
19 compatible = "gpio-keys-polled";
22 pinctrl-names = "default";
23 pinctrl-0 = <&jtag_disable_pins>;
26 label = "Reset button";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 linux,code = <KEY_WPS_BUTTON>;
35 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
36 debounce-interval = <60>;
41 compatible = "gpio-leds";
44 label = "pcs:amber:power";
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>,
46 <&gpio 4 GPIO_ACTIVE_LOW>;
51 label = "pcs:blue:wlan";
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
53 default-state = "off";
54 linux,default-trigger = "phy0tpt";
58 label = "pcs:white:wps";
59 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
60 default-state = "off";
67 clock-frequency = <25000000>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <25000000>;
89 compatible = "fixed-partitions";
95 reg = <0x000000 0x040000>;
100 label = "u-boot-env";
101 reg = <0x040000 0x010000>;
107 reg = <0x050000 0x07a0000>;
110 art: partition@7f0000 {
112 reg = <0x7f0000 0x010000>;
121 #address-cells = <1>;
126 #trigger-source-cells = <0>;
138 compatible = "pci168c,0030";
139 reg = <0x0000 0 0 0 0>;
140 mtd-mac-address = <&art 0x5002>;
151 phy0: ethernet-phy@0 {
154 qca,ar8327-initvals = <
155 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
156 0x10 0x81000080 /* POWER_ON_STRAP */
157 0x50 0xcc35cc35 /* LED_CTRL0 */
158 0x54 0xca35ca35 /* LED_CTRL1 */
159 0x58 0xc935c935 /* LED_CTRL2 */
160 0x5c 0x03ffff00 /* LED_CTRL3 */
161 0x7c 0x0000007e /* PORT0_STATUS */
167 #address-cells = <1>;
171 /* default for ar934x, except for 1000M */
172 pll-data = <0x06000000 0x00000101 0x00001616>;
174 mtd-mac-address = <&art 0x0>;
177 phy-handle = <&phy0>;
185 compatible = "swconfig,port";
187 swconfig,segment = "lan";
188 swconfig,portmap = <1 1>;
192 compatible = "swconfig,port";
194 swconfig,segment = "lan";
195 swconfig,portmap = <2 2>;
199 compatible = "swconfig,port";
201 swconfig,segment = "lan";
202 swconfig,portmap = <3 3>;
206 compatible = "swconfig,port";
208 swconfig,segment = "lan";
209 swconfig,portmap = <4 4>;
213 compatible = "swconfig,port";
215 swconfig,segment = "wan";
216 swconfig,portmap = <5 5>;
224 mtd-cal-data = <&art 0x1000>;
225 mtd-mac-address = <&art 0x1002>;