1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mtd/partitions/uimage.h>
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
15 label-mac-device = ð1;
19 compatible = "gpio-leds";
23 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
24 trigger-sources = <&hub_port0>;
25 linux,default-trigger = "usbport";
29 label = "amber:status";
30 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
35 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
44 label = "blue:system";
45 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
50 compatible = "gpio-export";
54 gpio-export,name = "usb2:power";
55 gpio-export,output = <1>;
56 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
61 compatible = "gpio-keys";
65 linux,code = <KEY_WPS_BUTTON>;
66 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
67 debounce-interval = <60>;
71 label = "Reset button";
72 linux,code = <KEY_RESTART>;
73 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
74 debounce-interval = <60>;
79 compatible = "mtd-concat";
81 devices = <&fwconcat0 &fwconcat1>;
84 compatible = "fixed-partitions";
89 compatible = "openwrt,uimage", "denx,uimage";
90 openwrt,ih-magic = <IH_MAGIC_OKLI>;
111 #address-cells = <1>;
117 #trigger-source-cells = <0>;
125 compatible = "jedec,spi-nor";
127 spi-max-frequency = <80000000>;
131 compatible = "fixed-partitions";
132 #address-cells = <1>;
137 reg = <0x000000 0x040000>;
142 label = "u-boot-env";
143 reg = <0x040000 0x010000>;
146 fwconcat0: partition@50000 {
148 reg = <0x050000 0xe20000>;
153 reg = <0xe70000 0x10000>;
157 fwconcat1: partition@e80000 {
159 reg = <0xe80000 0x170000>;
162 art: partition@ff0000 {
164 reg = <0xff0000 0x010000>;
173 phy0: ethernet-phy@0 {
176 qca,ar8327-initvals = <
177 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
178 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
179 0x50 0xc737c737 /* LED_CTRL0 */
180 0x54 0x00000000 /* LED_CTRL1 */
181 0x58 0x00000000 /* LED_CTRL2 */
182 0x5c 0x0030c300 /* LED_CTRL3 */
183 0x7c 0x0000007e /* PORT0_STATUS */
184 0x94 0x0000007e /* PORT6 STATUS */
192 mtd-mac-address = <&art 0x0>;
193 phy-handle = <&phy0>;
194 pll-data = <0xa6000000 0x00000101 0x00001616>;
205 mtd-mac-address = <&art 0x0>;
206 mtd-mac-address-increment = <(-1)>;
207 pll-data = <0x03000101 0x00000101 0x00001616>;
219 compatible = "qcom,ath10k";
227 mtd-cal-data = <&art 0x1000>;