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 = "AVM FRITZ!Box 7530";
10 compatible = "avm,fritzbox-7530";
13 led-boot = &power_green;
14 led-failsafe = &info_red;
15 led-running = &power_green;
16 led-upgrade = &info_green;
29 compatible = "qcom,tcsr";
30 reg = <0x1949000 0x100>;
31 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
35 compatible = "qcom,tcsr";
36 reg = <0x194b000 0x100>;
37 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
41 compatible = "qcom,tcsr";
42 reg = <0x1953000 0x1000>;
43 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
47 compatible = "qcom,tcsr";
48 reg = <0x1957000 0x100>;
49 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
66 compatible = "gpio-keys";
70 gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_RFKILL>;
76 gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_WPS_BUTTON>;
82 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_PHONE>;
88 compatible = "gpio-leds";
92 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
97 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
101 label = "green:wlan";
102 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
107 gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
111 label = "green:power";
112 gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
117 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";
267 qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";
272 qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";
278 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
279 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
282 reg = <0x00000000 0 0 0 0>;
283 #address-cells = <3>;
288 compatible = "intel,vrx518";
290 reg = <0x00010000 0 0 0 0>;