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>
7 #include <dt-bindings/leds/common.h>
10 model = "PowerCloud Systems CR3000";
11 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 function = LED_FUNCTION_POWER;
46 color = <LED_COLOR_ID_AMBER>;
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
52 function = LED_FUNCTION_WLAN;
53 color = <LED_COLOR_ID_BLUE>;
54 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
59 function = LED_FUNCTION_WAN;
60 color = <LED_COLOR_ID_BLUE>;
61 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
76 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
81 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
87 clock-frequency = <25000000>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <25000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
105 reg = <0x000000 0x040000>;
110 label = "u-boot-env";
111 reg = <0x040000 0x010000>;
116 compatible = "denx,uimage";
118 reg = <0x050000 0x07a0000>;
121 art: partition@7f0000 {
123 reg = <0x7f0000 0x010000>;
127 compatible = "fixed-layout";
128 #address-cells = <1>;
131 macaddr_art_0: macaddr@0 {
132 compatible = "mac-base";
134 #nvmem-cell-cells = <1>;
145 mtd-cal-data = <&art 0x1000>;
151 phy-handle = <&swphy0>;
152 nvmem-cells = <&macaddr_art_0 1>;
153 nvmem-cell-names = "mac-address";
157 phy-handle = <&swphy4>;
158 pll-data = <0x06000000 0x00000101 0x00001616>;
160 nvmem-cells = <&macaddr_art_0 0>;
161 nvmem-cell-names = "mac-address";
165 switch-phy-swap = <1>;