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>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <25000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
109 reg = <0x000000 0x040000>;
114 label = "u-boot-env";
115 reg = <0x040000 0x010000>;
120 compatible = "denx,uimage";
122 reg = <0x050000 0x07a0000>;
125 art: partition@7f0000 {
127 reg = <0x7f0000 0x010000>;
137 mtd-cal-data = <&art 0x1000>;
143 phy-handle = <&swphy0>;
144 mtd-mac-address = <&art 0x0>;
145 mtd-mac-address-increment = <1>;
149 phy-handle = <&swphy4>;
150 pll-data = <0x06000000 0x00000101 0x00001616>;
152 mtd-mac-address = <&art 0x0>;
156 switch-phy-swap = <1>;