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>
9 compatible = "domywifi,dw33d", "qca,qca9558";
10 model = "DomyWifi DW33D";
13 led-boot = &led_system;
14 led-failsafe = &led_system;
15 led-running = &led_system;
16 led-upgrade = &led_system;
20 compatible = "gpio-leds";
23 label = "blue:system";
24 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&hub_port0>;
31 linux,default-trigger = "usbport";
36 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
37 trigger-sources = <&hub_port1>;
38 linux,default-trigger = "usbport";
42 label = "blue:wlan2g";
43 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy1tpt";
48 label = "blue:internet";
49 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys";
57 label = "Reset button";
58 linux,code = <KEY_RESTART>;
59 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
60 debounce-interval = <60>;
69 compatible = "qcom,ath10k";
71 nvmem-cells = <&cal_art_5000>, <&macaddr_art_12>;
72 nvmem-cell-names = "calibration", "mac-address";
96 compatible = "jedec,spi-nor";
98 spi-max-frequency = <25000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
112 label = "u-boot-env";
113 reg = <0x40000 0x10000>;
117 label = "oem-firmware";
118 reg = <0x50000 0xfa0000>;
121 art: partition@ff0000 {
123 reg = <0xff0000 0x10000>;
127 compatible = "fixed-layout";
128 #address-cells = <1>;
131 macaddr_art_0: macaddr@0 {
135 macaddr_art_6: macaddr@6 {
139 macaddr_art_c: macaddr@c {
143 macaddr_art_12: macaddr@12 {
147 cal_art_5000: calibration@5000 {
148 reg = <0x5000 0x844>;
160 compatible = "fixed-partitions";
161 #address-cells = <1>;
166 reg = <0x0 0x500000>;
171 reg = <0x500000 0x5b00000>;
175 label = "oem-backup";
176 reg = <0x6000000 0x2000000>;
184 phy0: ethernet-phy@0 {
187 qca,ar8327-initvals = <
188 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
189 0x0c 0x00080080 /* PORT6 PAD MODE CTRL */
190 0x7c 0x0000007e /* PORT0_STATUS */
191 0x94 0x0000007e /* PORT6 STATUS */
199 nvmem-cells = <&macaddr_art_0>;
200 nvmem-cell-names = "mac-address";
201 pll-data = <0x56000000 0x00000101 0x00001616>;
202 phy-handle = <&phy0>;
208 nvmem-cells = <&macaddr_art_6>;
209 nvmem-cell-names = "mac-address";
210 pll-data = <0x03000101 0x00000101 0x00001616>;
220 mtd-cal-data = <&art 0x1000>;
221 nvmem-cells = <&macaddr_art_c>;
222 nvmem-cell-names = "mac-address";