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>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <25000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x000000 0x040000>;
113 label = "u-boot-env";
114 reg = <0x040000 0x010000>;
119 compatible = "denx,uimage";
121 reg = <0x050000 0x07a0000>;
124 art: partition@7f0000 {
126 reg = <0x7f0000 0x010000>;
136 mtd-cal-data = <&art 0x1000>;
142 phy-handle = <&swphy0>;
143 mtd-mac-address = <&art 0x0>;
144 mtd-mac-address-increment = <1>;
148 phy-handle = <&swphy4>;
149 pll-data = <0x06000000 0x00000101 0x00001616>;
151 mtd-mac-address = <&art 0x0>;
155 switch-phy-swap = <1>;