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";
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
22 compatible = "gpio-keys";
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 15 GPIO_ACTIVE_LOW>;
52 label = "pcs:blue:wlan";
53 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy0tpt";
58 label = "pcs:blue:wan";
59 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
63 label = "pcs:blue:lan1";
64 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
68 label = "pcs:blue:lan2";
69 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
73 label = "pcs:blue:lan3";
74 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
78 label = "pcs:blue:lan4";
79 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
85 clock-frequency = <25000000>;
102 compatible = "jedec,spi-nor";
104 spi-max-frequency = <25000000>;
107 compatible = "fixed-partitions";
108 #address-cells = <1>;
113 reg = <0x000000 0x040000>;
118 label = "u-boot-env";
119 reg = <0x040000 0x010000>;
124 compatible = "denx,uimage";
126 reg = <0x050000 0x07a0000>;
129 art: partition@7f0000 {
131 reg = <0x7f0000 0x010000>;
141 mtd-cal-data = <&art 0x1000>;
147 phy-handle = <&swphy0>;
148 mtd-mac-address = <&art 0x0>;
149 mtd-mac-address-increment = <1>;
155 phy-handle = <&swphy4>;
156 mtd-mac-address = <&art 0x0>;
158 pll-data = <0x06000000 0x00000101 0x00001616>;
162 switch-phy-swap = <1>;