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>;
112 compatible = "fixed-layout";
113 #address-cells = <1>;
116 macaddr_art_0: macaddr@0 {
117 compatible = "mac-base";
119 #nvmem-cell-cells = <1>;
131 compatible = "168c,0030";
132 reg = <0x0000 0 0 0 0>;
133 nvmem-cells = <&macaddr_art_0 (-2)>;
134 nvmem-cell-names = "mac-address";
135 mtd-cal-data = <&art 0x5000>;
137 ieee80211-freq-limit = <2402000 2482000>;
146 ieee80211-freq-limit = <4900000 5990000>;
147 mtd-cal-data = <&art 0x1000>;
148 nvmem-cells = <&macaddr_art_0 (-1)>;
149 nvmem-cell-names = "mac-address";
155 phy0: ethernet-phy@0 {
164 /* default for ar934x, except for 1000M */
165 pll-data = <0x06000000 0x00000101 0x00001616>;
167 nvmem-cells = <&macaddr_art_0 0>;
168 nvmem-cell-names = "mac-address";
171 phy-handle = <&phy0>;