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>;
75 compatible = "gpio-keys";
79 gpios = <&tlmm 42 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_RFKILL>;
85 gpios = <&tlmm 41 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_WPS_BUTTON>;
91 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
92 linux,code = <KEY_PHONE>;
97 compatible = "gpio-leds";
100 label = "fritzbox-7530:red:info";
101 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
105 label = "fritzbox-7530:green:info";
106 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
110 label = "fritzbox-7530:green:wlan";
111 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
115 label = "fritzbox-7530:green:fon";
116 gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
120 label = "fritzbox-7530:green:power";
121 gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
125 label = "fritzbox-7530:green:wps";
126 gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
132 serial_0_pins: serial_pinmux {
134 pins = "gpio16", "gpio17";
135 function = "blsp_uart0";
140 nand_pins: nand_pins {
142 pins = "gpio53", "gpio58", "gpio59";
148 pins = "gpio54", "gpio55", "gpio56",
149 "gpio57", "gpio60", "gpio61",
150 "gpio62", "gpio63", "gpio64",
151 "gpio65", "gpio66", "gpio67",
159 line-name = "enable USB3 power";
160 gpios = <49 GPIO_ACTIVE_HIGH>;
167 pinctrl-0 = <&nand_pins>;
168 pinctrl-names = "default";
170 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
174 compatible = "fixed-partitions";
175 #address-cells = <1>;
180 reg = <0x000000 0x80000>;
186 reg = <0x080000 0x80000>;
192 reg = <0x100000 0x80000>;
198 reg = <0x180000 0x40000>;
204 reg = <0x1c0000 0x80000>;
210 reg = <0x240000 0x40000>;
216 reg = <0x280000 0x40000>;
222 reg = <0x2c0000 0x840000>;
227 /* 'kernel1' in AVM firmware */
229 reg = <0xb00000 0x400000>;
233 /* 'kernel2' in AVM firmware */
235 reg = <0xf00000 0x400000>;
240 reg = <0x1300000 0x6d00000>;
255 pinctrl-0 = <&serial_0_pins>;
256 pinctrl-names = "default";
274 qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";
279 qcom,ath10k-calibration-variant = "AVM-FRITZBox-7530";
285 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
286 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
289 reg = <0x00000000 0 0 0 0>;
290 #address-cells = <3>;
295 compatible = "intel,vrx518";
297 reg = <0x00010000 0 0 0 0>;