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 CR3000";
11 compatible = "pcs,cr3000", "qca,ar9341";
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 15 GPIO_ACTIVE_LOW>;
53 label = "pcs:blue:wlan";
54 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
59 label = "pcs:blue:wan";
60 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
64 label = "pcs:blue:lan1";
65 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
69 label = "pcs:blue:lan2";
70 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
74 label = "pcs:blue:lan3";
75 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
79 label = "pcs:blue:lan4";
80 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
86 clock-frequency = <25000000>;
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <25000000>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
114 reg = <0x000000 0x040000>;
119 label = "u-boot-env";
120 reg = <0x040000 0x010000>;
125 compatible = "denx,uimage";
127 reg = <0x050000 0x07a0000>;
130 art: partition@7f0000 {
132 reg = <0x7f0000 0x010000>;
142 mtd-cal-data = <&art 0x1000>;
143 mtd-mac-address = <&art 0x1002>;
149 phy-handle = <&swphy0>;
150 mtd-mac-address = <&art 0x0>;
151 mtd-mac-address-increment = <1>;
157 phy-handle = <&swphy4>;
158 mtd-mac-address = <&art 0x0>;
160 pll-data = <0x06000000 0x00000101 0x00001616>;
164 switch-phy-swap = <1>;