1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/soc/qcom,tcsr.h>
9 model = "EZVIZ CS-W3-WD1200G EUP";
10 compatible = "ezviz,cs-w3-wd1200g-eup";
13 led-boot = &led_status_green;
14 led-failsafe = &led_status_red;
15 led-running = &led_status_blue;
16 led-upgrade = &led_status_green;
26 pinctrl-0 = <&mdio_pins>;
27 pinctrl-names = "default";
28 reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
29 reset-delay-us = <5000>;
33 compatible = "qcom,tcsr";
34 reg = <0x1949000 0x100>;
35 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
39 compatible = "qcom,tcsr";
40 reg = <0x194b000 0x100>;
41 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
45 compatible = "qcom,tcsr";
46 reg = <0x1953000 0x1000>;
47 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
51 compatible = "qcom,tcsr";
52 reg = <0x1957000 0x100>;
53 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
66 compatible = "gpio-leds";
68 led_status_red: status_red {
70 gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
73 led_status_green: status_green {
74 label = "green:status";
75 gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
78 led_status_blue: status_blue {
79 label = "blue:status";
80 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
85 compatible = "gpio-keys";
89 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
90 linux,code = <KEY_RESTART>;
96 serial_pins: serial_pinmux {
98 pins = "gpio60", "gpio61";
99 function = "blsp_uart0";
104 mdio_pins: mdio_pinmux {
118 spi_0_pins: spi_0_pinmux {
120 function = "blsp_spi0";
121 pins = "gpio55", "gpio56", "gpio57";
122 drive-strength = <12>;
128 drive-strength = <2>;
140 pinctrl-0 = <&spi_0_pins>;
141 pinctrl-names = "default";
143 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
146 compatible = "jedec,spi-nor";
148 spi-max-frequency = <24000000>;
151 compatible = "fixed-partitions";
152 #address-cells = <1>;
157 reg = <0x00000000 0x00040000>;
163 reg = <0x00040000 0x00020000>;
169 reg = <0x00060000 0x00060000>;
175 reg = <0x000c0000 0x00010000>;
181 reg = <0x000d0000 0x00010000>;
187 reg = <0x000e0000 0x00010000>;
193 reg = <0x000f0000 0x00080000>;
199 reg = <0x00170000 0x00010000>;
203 compatible = "fixed-layout";
204 #address-cells = <1>;
207 macaddr_art_0: macaddr@0 {
211 macaddr_art_6: macaddr@6 {
215 precal_art_1000: precal@1000 {
216 reg = <0x1000 0x2f20>;
219 precal_art_5000: precal@5000 {
220 reg = <0x5000 0x2f20>;
226 compatible = "denx,fit";
228 reg = <0x00180000 0x00e80000>;
235 pinctrl-0 = <&serial_pins>;
236 pinctrl-names = "default";
246 nvmem-cells = <&macaddr_art_0>;
247 nvmem-cell-names = "mac-address";
272 nvmem-cells = <&macaddr_art_6>;
273 nvmem-cell-names = "mac-address";
282 qcom,ath10k-calibration-variant = "ezviz-cs-w3-wd1200g-eup";
283 nvmem-cell-names = "pre-calibration";
284 nvmem-cells = <&precal_art_1000>;
289 qcom,ath10k-calibration-variant = "ezviz-cs-w3-wd1200g-eup";
290 nvmem-cell-names = "pre-calibration";
291 nvmem-cells = <&precal_art_5000>;