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 CAP324";
10 compatible = "pcs,cap324", "qca,ar9344";
13 led-boot = &led_power_amber;
14 led-failsafe = &led_power_amber;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_amber;
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 compatible = "gpio-leds";
36 led_power_amber: power_amber {
37 label = "amber:power";
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
41 led_power_green: power_green {
42 label = "green:power";
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy1tpt";
55 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "phy0tpt";
61 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
72 clock-frequency = <25000000>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <25000000>;
84 compatible = "fixed-partitions";
90 reg = <0x000000 0x040000>;
96 reg = <0x040000 0x010000>;
101 compatible = "denx,uimage";
103 reg = <0x050000 0x0fa0000>;
106 art: partition@7f0000 {
108 reg = <0xff0000 0x010000>;
119 compatible = "168c,0030";
120 reg = <0x0000 0 0 0 0>;
121 nvmem-cells = <&macaddr_art_0>;
122 nvmem-cell-names = "mac-address";
123 mac-address-increment = <(-2)>;
124 mtd-cal-data = <&art 0x5000>;
126 ieee80211-freq-limit = <2402000 2482000>;
135 ieee80211-freq-limit = <4900000 5990000>;
136 mtd-cal-data = <&art 0x1000>;
137 nvmem-cells = <&macaddr_art_0>;
138 nvmem-cell-names = "mac-address";
139 mac-address-increment = <(-1)>;
145 phy0: ethernet-phy@0 {
154 /* default for ar934x, except for 1000M */
155 pll-data = <0x06000000 0x00000101 0x00001616>;
157 nvmem-cells = <&macaddr_art_0>;
158 nvmem-cell-names = "mac-address";
161 phy-handle = <&phy0>;
165 compatible = "nvmem-cells";
166 #address-cells = <1>;
169 macaddr_art_0: macaddr@0 {