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>;
67 compatible = "gpio-keys";
71 gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_RFKILL>;
77 gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_WPS_BUTTON>;
83 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_PHONE>;
89 compatible = "gpio-leds";
93 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
98 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
102 function = LED_FUNCTION_WLAN;
103 color = <LED_COLOR_ID_GREEN>;
104 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
109 gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
113 function = LED_FUNCTION_POWER;
114 color = <LED_COLOR_ID_GREEN>;
115 gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
119 function = LED_FUNCTION_WPS;
120 color = <LED_COLOR_ID_GREEN>;
121 gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
127 serial_0_pins: serial_pinmux {
129 pins = "gpio16", "gpio17";
130 function = "blsp_uart0";
135 nand_pins: nand_pins {
137 pins = "gpio53", "gpio58", "gpio59";
143 pins = "gpio54", "gpio55", "gpio56",
144 "gpio57", "gpio60", "gpio61",
145 "gpio62", "gpio63", "gpio64",
146 "gpio65", "gpio66", "gpio67",
154 line-name = "enable USB3 power";
155 gpios = <49 GPIO_ACTIVE_HIGH>;
162 pinctrl-0 = <&nand_pins>;
163 pinctrl-names = "default";
167 /delete-property/ nand-ecc-strength;
168 /delete-property/ nand-ecc-step-size;
171 compatible = "fixed-partitions";
172 #address-cells = <1>;
177 reg = <0x000000 0x80000>;
183 reg = <0x080000 0x80000>;
189 reg = <0x100000 0x80000>;
195 reg = <0x180000 0x40000>;
201 reg = <0x1c0000 0x80000>;
207 reg = <0x240000 0x40000>;
213 reg = <0x280000 0x40000>;
219 reg = <0x2c0000 0x840000>;
224 /* 'kernel1' in AVM firmware */
226 reg = <0xb00000 0x400000>;
230 /* 'kernel2' in AVM firmware */
232 reg = <0xf00000 0x400000>;
237 reg = <0x1300000 0x6d00000>;
252 pinctrl-0 = <&serial_0_pins>;
253 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>;