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!Repeater 3000";
10 compatible = "avm,fritzrepeater-3000";
13 led-boot = &power_led;
14 led-failsafe = &power_led;
15 led-running = &power_led;
16 led-upgrade = &power_led;
29 compatible = "qcom,tcsr";
30 reg = <0x1949000 0x100>;
31 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
35 compatible = "qcom,tcsr";
36 reg = <0x1953000 0x1000>;
37 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
41 compatible = "qcom,tcsr";
42 reg = <0x1957000 0x100>;
43 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
56 compatible = "gpio-keys";
60 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_WPS_BUTTON>;
66 compatible = "gpio-leds";
69 label = "red:connect";
70 gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
74 label = "green:connect";
75 gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
79 label = "blue:connect";
80 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
84 label = "green:power";
85 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
91 serial_0_pins: serial_pinmux {
93 pins = "gpio16", "gpio17";
94 function = "blsp_uart0";
99 nand_pins: nand_pins {
101 pins = "gpio53", "gpio58", "gpio59";
107 pins = "gpio54", "gpio55", "gpio56",
108 "gpio57", "gpio60", "gpio61",
109 "gpio62", "gpio63", "gpio64",
110 "gpio65", "gpio66", "gpio67",
119 pinctrl-0 = <&nand_pins>;
120 pinctrl-names = "default";
124 /delete-property/ nand-ecc-strength;
125 /delete-property/ nand-ecc-step-size;
128 compatible = "fixed-partitions";
129 #address-cells = <1>;
134 reg = <0x000000 0x80000>;
140 reg = <0x080000 0x80000>;
146 reg = <0x100000 0x80000>;
152 reg = <0x180000 0x40000>;
158 reg = <0x1c0000 0x80000>;
164 reg = <0x240000 0x40000>;
170 reg = <0x280000 0x40000>;
176 reg = <0x2c0000 0x840000>;
181 /* 'kernel1' in AVM firmware */
183 reg = <0xb00000 0x400000>;
187 /* 'kernel2' in AVM firmware */
189 reg = <0xf00000 0x400000>;
194 reg = <0x1300000 0x6d00000>;
209 pinctrl-0 = <&serial_0_pins>;
210 pinctrl-names = "default";
220 /* BDFs are identical for the FRITZ!Box 7530 and the FRITZ!Repeater 3000 */
221 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-3000";
226 ieee80211-freq-limit = <5170000 5350000>;
227 /* BDFs are identical for the FRITZ!Box 7530 and the FRITZ!Repeater 3000 */
228 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-3000";
234 perst-gpio = <&tlmm 35 GPIO_ACTIVE_LOW>;
235 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
238 reg = <0x00000000 0 0 0 0>;
239 #address-cells = <3>;
245 compatible = "qcom,ath10k";
247 reg = <0x00010000 0 0 0 0>;
248 ieee80211-freq-limit = <5470000 5875000>;
249 /* Uses the reference BDF */