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 default-state = "off";
56 linux,default-trigger = "phy0tpt";
60 label = "pcs:blue:wan";
61 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
62 default-state = "off";
66 label = "pcs:blue:lan1";
67 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
68 default-state = "off";
72 label = "pcs:blue:lan2";
73 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
74 default-state = "off";
78 label = "pcs:blue:lan3";
79 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
80 default-state = "off";
84 label = "pcs:blue:lan4";
85 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
86 default-state = "off";
92 clock-frequency = <25000000>;
109 compatible = "jedec,spi-nor";
111 spi-max-frequency = <25000000>;
114 compatible = "fixed-partitions";
115 #address-cells = <1>;
120 reg = <0x000000 0x040000>;
125 label = "u-boot-env";
126 reg = <0x040000 0x010000>;
132 reg = <0x050000 0x07a0000>;
135 art: partition@7f0000 {
137 reg = <0x7f0000 0x010000>;
147 mtd-cal-data = <&art 0x1000>;
148 mtd-mac-address = <&art 0x1002>;
154 phy-handle = <&swphy0>;
155 mtd-mac-address = <&art 0x0>;
156 mtd-mac-address-increment = <1>;
162 phy-handle = <&swphy4>;
163 mtd-mac-address = <&art 0x0>;
165 pll-data = <0x06000000 0x00000101 0x00001616>;
169 switch-phy-swap = <1>;