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";
16 led-failsafe = &status;
17 led-running = &running;
18 led-upgrade = &status;
22 compatible = "gpio-keys-polled";
25 pinctrl-names = "default";
26 pinctrl-0 = <&jtag_disable_pins>;
29 label = "Reset button";
30 linux,code = <KEY_RESTART>;
31 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 compatible = "gpio-leds";
40 label = "pcs:amber:power";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
44 running: power_green {
45 label = "pcs:green:power";
46 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
51 label = "pcs:amber:wlan";
52 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
53 linux,default-trigger = "phy1tpt";
57 label = "pcs:green:wlan";
58 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
63 label = "pcs:lan:amber";
64 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
68 label = "pcs:lan:green";
69 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
75 clock-frequency = <25000000>;
92 compatible = "jedec,spi-nor";
94 spi-max-frequency = <25000000>;
97 compatible = "fixed-partitions";
103 reg = <0x000000 0x040000>;
108 label = "u-boot-env";
109 reg = <0x040000 0x010000>;
114 compatible = "denx,uimage";
116 reg = <0x050000 0x0fa0000>;
119 art: partition@7f0000 {
121 reg = <0xff0000 0x010000>;
132 compatible = "168c,0030";
133 reg = <0x0000 0 0 0 0>;
134 mtd-mac-address = <&art 0x0>;
135 mtd-mac-address-increment = <(-2)>;
136 mtd-cal-data = <&art 0x5000>;
148 mtd-cal-data = <&art 0x1000>;
149 mtd-mac-address = <&art 0x0>;
150 mtd-mac-address-increment = <(-1)>;
158 phy0: ethernet-phy@0 {
167 /* default for ar934x, except for 1000M */
168 pll-data = <0x06000000 0x00000101 0x00001616>;
170 mtd-mac-address = <&art 0x0>;
173 phy-handle = <&phy0>;