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;
34 compatible = "qcom,tcsr";
35 reg = <0x1949000 0x100>;
36 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
40 compatible = "qcom,tcsr";
41 reg = <0x194b000 0x100>;
42 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
46 compatible = "qcom,tcsr";
47 reg = <0x1953000 0x1000>;
48 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
52 compatible = "qcom,tcsr";
53 reg = <0x1957000 0x100>;
54 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
71 compatible = "gpio-keys";
75 gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RFKILL>;
81 gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_WPS_BUTTON>;
87 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_PHONE>;
93 compatible = "gpio-leds";
97 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
101 label = "green:info";
102 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
106 function = LED_FUNCTION_WLAN;
107 color = <LED_COLOR_ID_GREEN>;
108 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
113 gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
117 function = LED_FUNCTION_POWER;
118 color = <LED_COLOR_ID_GREEN>;
119 gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
123 function = LED_FUNCTION_WPS;
124 color = <LED_COLOR_ID_GREEN>;
125 gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
131 serial_0_pins: serial_pinmux {
133 pins = "gpio16", "gpio17";
134 function = "blsp_uart0";
139 nand_pins: nand_pins {
141 pins = "gpio53", "gpio58", "gpio59";
147 pins = "gpio54", "gpio55", "gpio56",
148 "gpio57", "gpio60", "gpio61",
149 "gpio62", "gpio63", "gpio64",
150 "gpio65", "gpio66", "gpio67",
158 line-name = "enable USB3 power";
159 gpios = <49 GPIO_ACTIVE_HIGH>;
166 pinctrl-0 = <&nand_pins>;
167 pinctrl-names = "default";
171 /delete-property/ nand-ecc-strength;
172 /delete-property/ nand-ecc-step-size;
175 compatible = "fixed-partitions";
176 #address-cells = <1>;
181 reg = <0x000000 0x80000>;
187 reg = <0x080000 0x80000>;
193 reg = <0x100000 0x80000>;
199 reg = <0x180000 0x40000>;
205 reg = <0x1c0000 0x80000>;
211 reg = <0x240000 0x40000>;
217 reg = <0x280000 0x40000>;
223 reg = <0x2c0000 0x840000>;
228 /* 'kernel1' in AVM firmware */
230 reg = <0xb00000 0x400000>;
234 /* 'kernel2' in AVM firmware */
236 reg = <0xf00000 0x400000>;
241 reg = <0x1300000 0x6d00000>;
256 pinctrl-0 = <&serial_0_pins>;
257 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>;