1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "PowerCloud Systems CR3000";
10 compatible = "pcs,cr3000", "qca,ar9341";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
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 = "amber:power";
46 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "phy0tpt";
58 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
63 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
68 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
78 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
84 clock-frequency = <25000000>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <25000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
106 reg = <0x000000 0x040000>;
111 label = "u-boot-env";
112 reg = <0x040000 0x010000>;
117 compatible = "denx,uimage";
119 reg = <0x050000 0x07a0000>;
122 art: partition@7f0000 {
124 reg = <0x7f0000 0x010000>;
134 mtd-cal-data = <&art 0x1000>;
140 phy-handle = <&swphy0>;
141 mtd-mac-address = <&art 0x0>;
142 mtd-mac-address-increment = <1>;
146 phy-handle = <&swphy4>;
147 pll-data = <0x06000000 0x00000101 0x00001616>;
149 mtd-mac-address = <&art 0x0>;
153 switch-phy-swap = <1>;