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";
19 compatible = "gpio-keys-polled";
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";
37 label = "pcs:amber:power";
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
39 default-state = "off";
43 label = "pcs:green:power";
44 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
49 label = "pcs:amber:wlan";
50 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
51 default-state = "off";
52 linux,default-trigger = "phy1tpt";
56 label = "pcs:green:wlan";
57 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
58 default-state = "off";
59 linux,default-trigger = "phy0tpt";
63 label = "pcs:lan:amber";
64 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
65 default-state = "off";
69 label = "pcs:lan:green";
70 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
71 default-state = "off";
78 clock-frequency = <25000000>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <25000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
106 reg = <0x000000 0x040000>;
111 label = "u-boot-env";
112 reg = <0x040000 0x010000>;
118 reg = <0x050000 0x0fa0000>;
121 art: partition@7f0000 {
123 reg = <0xff0000 0x010000>;
134 compatible = "168c,0030";
135 reg = <0x0000 0 0 0 0>;
136 mtd-mac-address = <&art 0x0>;
137 mtd-mac-address-increment = <(-2)>;
138 mtd-cal-data = <&art 0x5000>;
150 mtd-cal-data = <&art 0x1000>;
151 mtd-mac-address = <&art 0x0>;
152 mtd-mac-address-increment = <(-1)>;
160 phy0: ethernet-phy@0 {
169 /* default for ar934x, except for 1000M */
170 pll-data = <0x06000000 0x00000101 0x00001616>;
172 mtd-mac-address = <&art 0x0>;
175 phy-handle = <&phy0>;