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";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys";
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 = "amber:power";
45 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
57 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
72 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
77 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
83 clock-frequency = <25000000>;
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <25000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x040000>;
106 label = "u-boot-env";
107 reg = <0x040000 0x010000>;
112 compatible = "denx,uimage";
114 reg = <0x050000 0x07a0000>;
117 art: partition@7f0000 {
119 reg = <0x7f0000 0x010000>;
129 mtd-cal-data = <&art 0x1000>;
135 phy-handle = <&swphy0>;
136 mtd-mac-address = <&art 0x0>;
137 mac-address-increment = <1>;
141 phy-handle = <&swphy4>;
142 pll-data = <0x06000000 0x00000101 0x00001616>;
144 mtd-mac-address = <&art 0x0>;
148 switch-phy-swap = <1>;