1 // SPDX-License-Identifier: GPL-2.0-or-later 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 = "MobiPromo CM520-79F";
10 compatible = "mobipromo,cm520-79f";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
26 pinctrl-0 = <&mdio_pins>;
27 pinctrl-names = "default";
28 reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
29 reset-delay-us = <1000>;
37 compatible = "qcom,tcsr";
38 reg = <0x1949000 0x100>;
39 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
43 compatible = "qcom,tcsr";
44 reg = <0x194b000 0x100>;
45 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
49 compatible = "qcom,tcsr";
50 reg = <0x1953000 0x1000>;
51 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
55 compatible = "qcom,tcsr";
56 reg = <0x1957000 0x100>;
57 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
69 #trigger-source-cells = <0>;
83 #trigger-source-cells = <0>;
88 #trigger-source-cells = <0>;
111 compatible = "spi-gpio";
112 #address-cells = <1>;
115 sck-gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
116 mosi-gpios = <&tlmm 36 GPIO_ACTIVE_HIGH>;
117 num-chipselects = <0>;
119 led_gpio: led_gpio@0 {
120 compatible = "fairchild,74hc595";
124 registers-number = <1>;
125 spi-max-frequency = <1000000>;
130 compatible = "gpio-leds";
134 gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
135 linux,default-trigger = "usbport";
136 trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
141 gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
146 gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
151 gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
156 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
160 label = "blue:wlan2g";
161 gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
162 linux,default-trigger = "phy0tpt";
166 label = "blue:wlan5g";
167 gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
168 linux,default-trigger = "phy1tpt";
173 compatible = "gpio-keys";
177 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
178 linux,code = <KEY_RESTART>;
200 nvmem-cells = <&macaddr_art_1006>;
201 nvmem-cell-names = "mac-address";
205 nvmem-cells = <&macaddr_art_5006>;
206 nvmem-cell-names = "mac-address";
210 pinctrl-0 = <&nand_pins>;
211 pinctrl-names = "default";
216 compatible = "fixed-partitions";
217 #address-cells = <1>;
222 reg = <0x0 0x100000>;
228 reg = <0x100000 0x100000>;
233 label = "BOOTCONFIG";
234 reg = <0x200000 0x100000>;
239 reg = <0x300000 0x100000>;
245 reg = <0x400000 0x100000>;
251 reg = <0x500000 0x80000>;
257 reg = <0x580000 0x80000>;
262 label = "BOOTCONFIG1";
263 reg = <0x600000 0x80000>;
268 reg = <0x680000 0x80000>;
273 reg = <0x700000 0x200000>;
279 reg = <0x900000 0x200000>;
283 art: partition@b00000 {
285 reg = <0xb00000 0x80000>;
291 reg = <0xb80000 0x7480000>;
302 mdio_pins: mdio_pinmux {
316 nand_pins: nand_pins {
318 pins = "gpio52", "gpio53", "gpio58",
325 pins = "gpio54", "gpio55", "gpio56",
326 "gpio57", "gpio60", "gpio61",
327 "gpio62", "gpio63", "gpio64",
328 "gpio65", "gpio66", "gpio67",
350 qcom,ath10k-calibration-variant = "CM520-79F";
355 qcom,ath10k-calibration-variant = "CM520-79F";
359 compatible = "nvmem-cells";
360 #address-cells = <1>;
363 macaddr_art_1006: macaddr@1006 {
367 macaddr_art_5006: macaddr@5006 {