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";
16 led-failsafe = &status;
17 led-running = &status;
18 led-upgrade = &status;
22 compatible = "gpio-keys-polled";
25 pinctrl-names = "default";
26 pinctrl-0 = <&jtag_disable_pins>;
29 label = "Reset button";
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 linux,code = <KEY_WPS_BUTTON>;
38 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 debounce-interval = <60>;
44 compatible = "gpio-leds";
47 label = "pcs:amber:power";
48 gpios = <&gpio 2 GPIO_ACTIVE_LOW>,
49 <&gpio 4 GPIO_ACTIVE_LOW>;
54 label = "pcs:blue:wlan";
55 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
56 default-state = "off";
57 linux,default-trigger = "phy0tpt";
61 label = "pcs:white:wps";
62 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
63 default-state = "off";
69 clock-frequency = <25000000>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <25000000>;
91 compatible = "fixed-partitions";
97 reg = <0x000000 0x040000>;
102 label = "u-boot-env";
103 reg = <0x040000 0x010000>;
108 compatible = "denx,uimage";
110 reg = <0x050000 0x07a0000>;
113 art: partition@7f0000 {
115 reg = <0x7f0000 0x010000>;
124 #address-cells = <1>;
129 #trigger-source-cells = <0>;
141 compatible = "pci168c,0030";
142 reg = <0x0000 0 0 0 0>;
143 mtd-mac-address = <&art 0x5002>;
154 phy0: ethernet-phy@0 {
157 qca,ar8327-initvals = <
158 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
159 0x10 0x81000080 /* POWER_ON_STRAP */
160 0x50 0xcc35cc35 /* LED_CTRL0 */
161 0x54 0xca35ca35 /* LED_CTRL1 */
162 0x58 0xc935c935 /* LED_CTRL2 */
163 0x5c 0x03ffff00 /* LED_CTRL3 */
164 0x7c 0x0000007e /* PORT0_STATUS */
170 #address-cells = <1>;
174 /* default for ar934x, except for 1000M */
175 pll-data = <0x06000000 0x00000101 0x00001616>;
177 mtd-mac-address = <&art 0x0>;
180 phy-handle = <&phy0>;
188 compatible = "swconfig,port";
190 swconfig,segment = "lan";
191 swconfig,portmap = <1 1>;
195 compatible = "swconfig,port";
197 swconfig,segment = "lan";
198 swconfig,portmap = <2 2>;
202 compatible = "swconfig,port";
204 swconfig,segment = "lan";
205 swconfig,portmap = <3 3>;
209 compatible = "swconfig,port";
211 swconfig,segment = "lan";
212 swconfig,portmap = <4 4>;
216 compatible = "swconfig,port";
218 swconfig,segment = "wan";
219 swconfig,portmap = <5 5>;
226 mtd-cal-data = <&art 0x1000>;
227 mtd-mac-address = <&art 0x1002>;