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>
7 #include "qca9557.dtsi"
10 compatible = "domywifi,dw33d", "qca,qca9558";
11 model = "DomyWifi DW33D";
14 bootargs = "console=ttyS0,115200n8";
18 led-boot = &led_system;
19 led-failsafe = &led_system;
20 led-running = &led_system;
21 led-upgrade = &led_system;
25 compatible = "gpio-leds";
28 label = "dw33d:blue:system";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
33 label = "dw33d:blue:mmc";
34 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&hub_port0>;
36 linux,default-trigger = "usbport";
40 label = "dw33d:blue:usb";
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
42 trigger-sources = <&hub_port1>;
43 linux,default-trigger = "usbport";
47 label = "dw33d:blue:wlan2g";
48 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
53 label = "dw33d:blue:internet";
54 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-keys";
62 label = "Reset button";
63 linux,code = <KEY_RESTART>;
64 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
65 debounce-interval = <60>;
74 compatible = "qcom,ath10k";
94 #trigger-source-cells = <0>;
103 #address-cells = <1>;
109 #trigger-source-cells = <0>;
119 compatible = "jedec,spi-nor";
121 spi-max-frequency = <25000000>;
124 compatible = "fixed-partitions";
125 #address-cells = <1>;
135 label = "u-boot-env";
136 reg = <0x40000 0x10000>;
140 label = "oem-firmware";
141 reg = <0x50000 0xfa0000>;
144 art: partition@ff0000 {
146 reg = <0xff0000 0x10000>;
157 compatible = "fixed-partitions";
158 #address-cells = <1>;
163 reg = <0x0 0x500000>;
168 reg = <0x500000 0x5b00000>;
172 label = "oem-backup";
173 reg = <0x6000000 0x2000000>;
181 phy0: ethernet-phy@0 {
184 qca,ar8327-initvals = <
185 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
186 0x0c 0x00080080 /* PORT6 PAD MODE CTRL */
187 0x7c 0x0000007e /* PORT0_STATUS */
188 0x94 0x0000007e /* PORT6 STATUS */
196 mtd-mac-address = <&art 0x0>;
197 pll-data = <0x56000000 0x00000101 0x00001616>;
198 phy-handle = <&phy0>;
204 mtd-mac-address = <&art 0x6>;
205 pll-data = <0x03000101 0x00000101 0x00001616>;
215 mtd-cal-data = <&art 0x1000>;
216 mtd-mac-address = <&art 0xc>;