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>
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
14 label-mac-device = ð1;
18 compatible = "gpio-leds";
22 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
23 trigger-sources = <&hub_port0>;
24 linux,default-trigger = "usbport";
28 label = "amber:status";
29 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
43 label = "blue:system";
44 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-export";
53 gpio-export,name = "usb2:power";
54 gpio-export,output = <1>;
55 gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
60 compatible = "gpio-keys";
64 linux,code = <KEY_WPS_BUTTON>;
65 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
66 debounce-interval = <60>;
70 label = "Reset button";
71 linux,code = <KEY_RESTART>;
72 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
73 debounce-interval = <60>;
78 compatible = "mtd-concat";
80 devices = <&fwpart1 &fwpart2>;
83 compatible = "fixed-partitions";
88 compatible = "openwrt,okli";
109 #address-cells = <1>;
115 #trigger-source-cells = <0>;
123 compatible = "jedec,spi-nor";
125 spi-max-frequency = <80000000>;
129 compatible = "fixed-partitions";
130 #address-cells = <1>;
135 reg = <0x000000 0x040000>;
140 label = "u-boot-env";
141 reg = <0x040000 0x010000>;
144 fwpart1: partition@50000 {
146 reg = <0x050000 0xe20000>;
151 reg = <0xe70000 0x10000>;
155 fwpart2: partition@e80000 {
157 reg = <0xe80000 0x170000>;
160 art: partition@ff0000 {
162 reg = <0xff0000 0x010000>;
171 phy0: ethernet-phy@0 {
174 qca,ar8327-initvals = <
175 0x04 0x00080080 /* PORT0 PAD MODE CTRL */
176 0x0c 0x07600000 /* PORT6 PAD MODE CTRL */
177 0x50 0xc737c737 /* LED_CTRL0 */
178 0x54 0x00000000 /* LED_CTRL1 */
179 0x58 0x00000000 /* LED_CTRL2 */
180 0x5c 0x0030c300 /* LED_CTRL3 */
181 0x7c 0x0000007e /* PORT0_STATUS */
182 0x94 0x0000007e /* PORT6 STATUS */
190 mtd-mac-address = <&art 0x0>;
191 phy-handle = <&phy0>;
192 pll-data = <0xa6000000 0x00000101 0x00001616>;
203 mtd-mac-address = <&art 0x0>;
204 mtd-mac-address-increment = <(-1)>;
205 pll-data = <0x03000101 0x00000101 0x00001616>;
217 compatible = "qcom,ath10k";
225 mtd-cal-data = <&art 0x1000>;