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";
19 compatible = "gpio-keys-polled";
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins>;
27 label = "Reset button";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
35 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 compatible = "gpio-leds";
45 label = "pcs:amber:power";
46 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
51 label = "pcs:blue:wlan";
52 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 default-state = "off";
54 linux,default-trigger = "phy0tpt";
58 label = "pcs:blue:wan";
59 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
60 default-state = "off";
64 label = "pcs:blue:lan1";
65 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
66 default-state = "off";
70 label = "pcs:blue:lan2";
71 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
72 default-state = "off";
76 label = "pcs:blue:lan3";
77 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
78 default-state = "off";
82 label = "pcs:blue:lan4";
83 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
84 default-state = "off";
90 clock-frequency = <25000000>;
107 #address-cells = <1>;
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>;
163 phy-handle = <&swphy4>;
164 mtd-mac-address = <&art 0x0>;
166 pll-data = <0x06000000 0x00000101 0x00001616>;
170 switch-phy-swap = <1>;