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/leds/common.h>
7 #include <dt-bindings/soc/qcom,tcsr.h>
10 model = "AVM FRITZ!Box 7530";
11 compatible = "avm,fritzbox-7530";
14 bootargs-append = " coherent_pool=4M";
18 led-boot = &power_green;
19 led-failsafe = &info_red;
20 led-running = &power_green;
21 led-upgrade = &info_red;
26 compatible = "qcom,tcsr";
27 reg = <0x1949000 0x100>;
28 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
32 compatible = "qcom,tcsr";
33 reg = <0x194b000 0x100>;
34 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
38 compatible = "qcom,tcsr";
39 reg = <0x1953000 0x1000>;
40 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
44 compatible = "qcom,tcsr";
45 reg = <0x1957000 0x100>;
46 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
51 compatible = "gpio-keys";
55 gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_RFKILL>;
61 gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
67 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_PHONE>;
73 compatible = "gpio-leds";
77 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
82 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
86 function = LED_FUNCTION_WLAN;
87 color = <LED_COLOR_ID_GREEN>;
88 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
93 gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
97 function = LED_FUNCTION_POWER;
98 color = <LED_COLOR_ID_GREEN>;
99 gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
103 function = LED_FUNCTION_WPS;
104 color = <LED_COLOR_ID_GREEN>;
105 gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
123 serial_0_pins: serial_pinmux {
125 pins = "gpio16", "gpio17";
126 function = "blsp_uart0";
131 nand_pins: nand_pins {
133 pins = "gpio53", "gpio58", "gpio59";
139 pins = "gpio54", "gpio55", "gpio56",
140 "gpio57", "gpio60", "gpio61",
141 "gpio62", "gpio63", "gpio64",
142 "gpio65", "gpio66", "gpio67",
150 line-name = "enable USB3 power";
151 gpios = <49 GPIO_ACTIVE_HIGH>;
158 pinctrl-0 = <&nand_pins>;
159 pinctrl-names = "default";
163 /delete-property/ nand-ecc-strength;
164 /delete-property/ nand-ecc-step-size;
167 compatible = "fixed-partitions";
168 #address-cells = <1>;
173 reg = <0x000000 0x80000>;
179 reg = <0x080000 0x80000>;
185 reg = <0x100000 0x80000>;
191 reg = <0x180000 0x40000>;
197 reg = <0x1c0000 0x80000>;
203 reg = <0x240000 0x40000>;
209 reg = <0x280000 0x40000>;
215 reg = <0x2c0000 0x840000>;
220 /* 'kernel1' in AVM firmware */
222 reg = <0xb00000 0x400000>;
226 /* 'kernel2' in AVM firmware */
228 reg = <0xf00000 0x400000>;
233 reg = <0x1300000 0x6d00000>;
248 pinctrl-0 = <&serial_0_pins>;
249 pinctrl-names = "default";
299 qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";
304 qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";
310 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
311 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
314 reg = <0x00000000 0 0 0 0>;
315 #address-cells = <3>;
320 compatible = "intel,vrx518";
322 reg = <0x00010000 0 0 0 0>;