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 CR5000";
10 compatible = "pcs,cr5000", "qca,ar9344";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins>;
27 label = "Reset button";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
35 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 compatible = "gpio-leds";
45 label = "amber:power";
46 gpios = <&gpio 2 GPIO_ACTIVE_LOW>,
47 <&gpio 4 GPIO_ACTIVE_LOW>;
53 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy0tpt";
59 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
65 clock-frequency = <25000000>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <25000000>;
83 compatible = "fixed-partitions";
89 reg = <0x000000 0x040000>;
95 reg = <0x040000 0x010000>;
100 compatible = "denx,uimage";
102 reg = <0x050000 0x07a0000>;
105 art: partition@7f0000 {
107 reg = <0x7f0000 0x010000>;
116 #address-cells = <1>;
121 #trigger-source-cells = <0>;
133 compatible = "pci168c,0030";
134 reg = <0x0000 0 0 0 0>;
135 mtd-mac-address = <&art 0x5002>;
146 phy0: ethernet-phy@0 {
149 qca,ar8327-initvals = <
150 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
151 0x10 0x81000080 /* POWER_ON_STRAP */
152 0x50 0xcc35cc35 /* LED_CTRL0 */
153 0x54 0xca35ca35 /* LED_CTRL1 */
154 0x58 0xc935c935 /* LED_CTRL2 */
155 0x5c 0x03ffff00 /* LED_CTRL3 */
156 0x7c 0x0000007e /* PORT0_STATUS */
162 #address-cells = <1>;
166 /* default for ar934x, except for 1000M */
167 pll-data = <0x06000000 0x00000101 0x00001616>;
169 mtd-mac-address = <&art 0x0>;
172 phy-handle = <&phy0>;
179 compatible = "swconfig,port";
181 swconfig,segment = "lan";
182 swconfig,portmap = <1 1>;
186 compatible = "swconfig,port";
188 swconfig,segment = "lan";
189 swconfig,portmap = <2 2>;
193 compatible = "swconfig,port";
195 swconfig,segment = "lan";
196 swconfig,portmap = <3 3>;
200 compatible = "swconfig,port";
202 swconfig,segment = "lan";
203 swconfig,portmap = <4 4>;
207 compatible = "swconfig,port";
209 swconfig,segment = "wan";
210 swconfig,portmap = <5 5>;
217 mtd-cal-data = <&art 0x1000>;