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 CAP324";
11 compatible = "pcs,cap324", "qca,ar9344";
15 led-boot = &led_power_amber;
16 led-failsafe = &led_power_amber;
17 led-running = &led_power_green;
18 led-upgrade = &led_power_amber;
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 compatible = "gpio-leds";
38 led_power_amber: power_amber {
39 label = "pcs:amber:power";
40 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43 led_power_green: power_green {
44 label = "pcs:green:power";
45 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
50 label = "pcs:amber:wlan";
51 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy1tpt";
56 label = "pcs:green:wlan";
57 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
62 label = "pcs:lan:amber";
63 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
67 label = "pcs:lan:green";
68 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
74 clock-frequency = <25000000>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <25000000>;
92 compatible = "fixed-partitions";
98 reg = <0x000000 0x040000>;
103 label = "u-boot-env";
104 reg = <0x040000 0x010000>;
109 compatible = "denx,uimage";
111 reg = <0x050000 0x0fa0000>;
114 art: partition@7f0000 {
116 reg = <0xff0000 0x010000>;
127 compatible = "168c,0030";
128 reg = <0x0000 0 0 0 0>;
129 mtd-mac-address = <&art 0x0>;
130 mtd-mac-address-increment = <(-2)>;
131 mtd-cal-data = <&art 0x5000>;
143 mtd-cal-data = <&art 0x1000>;
144 mtd-mac-address = <&art 0x0>;
145 mtd-mac-address-increment = <(-1)>;
153 phy0: ethernet-phy@0 {
162 /* default for ar934x, except for 1000M */
163 pll-data = <0x06000000 0x00000101 0x00001616>;
165 mtd-mac-address = <&art 0x0>;
168 phy-handle = <&phy0>;