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";
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
22 compatible = "gpio-keys";
24 pinctrl-names = "default";
25 pinctrl-0 = <&jtag_disable_pins>;
28 label = "Reset button";
29 linux,code = <KEY_RESTART>;
30 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
36 linux,code = <KEY_WPS_BUTTON>;
37 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
38 debounce-interval = <60>;
43 compatible = "gpio-leds";
46 label = "pcs:amber:power";
47 gpios = <&gpio 2 GPIO_ACTIVE_LOW>,
48 <&gpio 4 GPIO_ACTIVE_LOW>;
53 label = "pcs:blue:wlan";
54 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
59 label = "pcs:white:wps";
60 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
66 clock-frequency = <25000000>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <25000000>;
88 compatible = "fixed-partitions";
94 reg = <0x000000 0x040000>;
100 reg = <0x040000 0x010000>;
105 compatible = "denx,uimage";
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>;
184 compatible = "swconfig,port";
186 swconfig,segment = "lan";
187 swconfig,portmap = <1 1>;
191 compatible = "swconfig,port";
193 swconfig,segment = "lan";
194 swconfig,portmap = <2 2>;
198 compatible = "swconfig,port";
200 swconfig,segment = "lan";
201 swconfig,portmap = <3 3>;
205 compatible = "swconfig,port";
207 swconfig,segment = "lan";
208 swconfig,portmap = <4 4>;
212 compatible = "swconfig,port";
214 swconfig,segment = "wan";
215 swconfig,portmap = <5 5>;
222 mtd-cal-data = <&art 0x1000>;