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>;
107 #address-cells = <1>;
113 #trigger-source-cells = <0>;
121 compatible = "jedec,spi-nor";
123 spi-max-frequency = <80000000>;
127 compatible = "fixed-partitions";
128 #address-cells = <1>;
133 reg = <0x000000 0x040000>;
138 label = "u-boot-env";
139 reg = <0x040000 0x010000>;
142 fwconcat0: partition@50000 {
144 reg = <0x050000 0xe20000>;
149 reg = <0xe70000 0x10000>;
153 fwconcat1: partition@e80000 {
155 reg = <0xe80000 0x170000>;
158 art: partition@ff0000 {
160 reg = <0xff0000 0x010000>;
169 phy0: ethernet-phy@0 {
172 qca,ar8327-initvals = <
173 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
174 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
175 0x50 0xc737c737 /* LED_CTRL0 */
176 0x54 0x00000000 /* LED_CTRL1 */
177 0x58 0x00000000 /* LED_CTRL2 */
178 0x5c 0x0030c300 /* LED_CTRL3 */
179 0x7c 0x0000007e /* PORT0_STATUS */
180 0x94 0x0000007e /* PORT6 STATUS */
188 mtd-mac-address = <&art 0x0>;
189 phy-handle = <&phy0>;
190 pll-data = <0xa6000000 0x00000101 0x00001616>;
201 mtd-mac-address = <&art 0x0>;
202 mtd-mac-address-increment = <(-1)>;
203 pll-data = <0x03000101 0x00000101 0x00001616>;
215 compatible = "qcom,ath10k";
223 mtd-cal-data = <&art 0x1000>;