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";
20 compatible = "gpio-keys-polled";
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 default-state = "off";
56 linux,default-trigger = "phy0tpt";
60 label = "pcs:white:wps";
61 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
62 default-state = "off";
69 clock-frequency = <25000000>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <25000000>;
93 compatible = "fixed-partitions";
99 reg = <0x000000 0x040000>;
104 label = "u-boot-env";
105 reg = <0x040000 0x010000>;
111 reg = <0x050000 0x07a0000>;
114 art: partition@7f0000 {
116 reg = <0x7f0000 0x010000>;
128 #trigger-source-cells = <0>;
132 #trigger-source-cells = <0>;
145 ath9k: wifi@168c,0030 {
146 compatible = "pci168c,0030";
147 mtd-mac-address = <&art 0x5002>;
158 phy0: ethernet-phy@0 {
161 qca,ar8327-initvals = <
162 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
163 0x10 0x81000080 /* POWER_ON_STRAP */
164 0x50 0xcc35cc35 /* LED_CTRL0 */
165 0x54 0xca35ca35 /* LED_CTRL1 */
166 0x58 0xc935c935 /* LED_CTRL2 */
167 0x5c 0x03ffff00 /* LED_CTRL3 */
168 0x7c 0x0000007e /* PORT0_STATUS */
176 /* default for ar934x, except for 1000M */
177 pll-data = <0x06000000 0x00000101 0x00001616>;
179 mtd-mac-address = <&art 0x0>;
182 phy-handle = <&phy0>;
190 compatible = "swconfig,port";
191 swconfig,segment = "lan";
192 swconfig,portmap = <1 1>;
196 compatible = "swconfig,port";
197 swconfig,segment = "lan";
198 swconfig,portmap = <2 2>;
202 compatible = "swconfig,port";
203 swconfig,segment = "lan";
204 swconfig,portmap = <3 3>;
208 compatible = "swconfig,port";
209 swconfig,segment = "lan";
210 swconfig,portmap = <4 4>;
214 compatible = "swconfig,port";
215 swconfig,segment = "wan";
216 swconfig,portmap = <5 5>;
224 mtd-cal-data = <&art 0x1000>;
225 mtd-mac-address = <&art 0x1002>;