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";
22 pinctrl-names = "default";
23 pinctrl-0 = <&jtag_disable_pins>;
26 label = "Reset button";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
34 linux,code = <KEY_WPS_BUTTON>;
35 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
36 debounce-interval = <60>;
41 compatible = "gpio-leds";
44 label = "pcs:amber:power";
45 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
50 label = "pcs:blue:wlan";
51 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 default-state = "off";
53 linux,default-trigger = "phy0tpt";
57 label = "pcs:blue:wan";
58 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
59 default-state = "off";
63 label = "pcs:blue:lan1";
64 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
65 default-state = "off";
69 label = "pcs:blue:lan2";
70 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
71 default-state = "off";
75 label = "pcs:blue:lan3";
76 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
77 default-state = "off";
81 label = "pcs:blue:lan4";
82 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
83 default-state = "off";
89 clock-frequency = <25000000>;
106 compatible = "jedec,spi-nor";
108 spi-max-frequency = <25000000>;
111 compatible = "fixed-partitions";
112 #address-cells = <1>;
117 reg = <0x000000 0x040000>;
122 label = "u-boot-env";
123 reg = <0x040000 0x010000>;
129 reg = <0x050000 0x07a0000>;
132 art: partition@7f0000 {
134 reg = <0x7f0000 0x010000>;
144 mtd-cal-data = <&art 0x1000>;
145 mtd-mac-address = <&art 0x1002>;
151 phy-handle = <&swphy0>;
152 mtd-mac-address = <&art 0x0>;
153 mtd-mac-address-increment = <1>;
160 phy-handle = <&swphy4>;
161 mtd-mac-address = <&art 0x0>;
163 pll-data = <0x06000000 0x00000101 0x00001616>;
167 switch-phy-swap = <1>;