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;
33 compatible = "qcom,tcsr";
34 reg = <0x1949000 0x100>;
35 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
39 compatible = "qcom,tcsr";
40 reg = <0x1953000 0x1000>;
41 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
45 compatible = "qcom,tcsr";
46 reg = <0x1957000 0x100>;
47 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
61 switch_lan_bmp = <0x30>;
62 switch_wan_bmp = <0x02>;
72 compatible = "gpio-keys";
76 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_WPS_BUTTON>;
82 compatible = "gpio-leds";
85 label = "red:connect";
86 gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
90 label = "green:connect";
91 gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
95 label = "blue:connect";
96 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
100 label = "green:power";
101 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
107 serial_0_pins: serial_pinmux {
109 pins = "gpio16", "gpio17";
110 function = "blsp_uart0";
115 nand_pins: nand_pins {
117 pins = "gpio53", "gpio58", "gpio59";
123 pins = "gpio54", "gpio55", "gpio56",
124 "gpio57", "gpio60", "gpio61",
125 "gpio62", "gpio63", "gpio64",
126 "gpio65", "gpio66", "gpio67",
135 pinctrl-0 = <&nand_pins>;
136 pinctrl-names = "default";
141 compatible = "fixed-partitions";
142 #address-cells = <1>;
147 reg = <0x000000 0x80000>;
153 reg = <0x080000 0x80000>;
159 reg = <0x100000 0x80000>;
165 reg = <0x180000 0x40000>;
171 reg = <0x1c0000 0x80000>;
177 reg = <0x240000 0x40000>;
183 reg = <0x280000 0x40000>;
189 reg = <0x2c0000 0x840000>;
194 /* 'kernel1' in AVM firmware */
196 reg = <0xb00000 0x400000>;
200 /* 'kernel2' in AVM firmware */
202 reg = <0xf00000 0x400000>;
207 reg = <0x1300000 0x6d00000>;
226 pinctrl-0 = <&serial_0_pins>;
227 pinctrl-names = "default";
237 /* BDFs are identical for the FRITZ!Box 7530 and the FRITZ!Repeater 3000 */
238 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-3000";
243 ieee80211-freq-limit = <5170000 5350000>;
244 /* BDFs are identical for the FRITZ!Box 7530 and the FRITZ!Repeater 3000 */
245 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-3000";
251 perst-gpio = <&tlmm 35 GPIO_ACTIVE_LOW>;
252 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
255 reg = <0x00000000 0 0 0 0>;
256 #address-cells = <3>;
262 compatible = "qcom,ath10k";
264 reg = <0x00010000 0 0 0 0>;
265 ieee80211-freq-limit = <5470000 5875000>;
266 /* Uses the reference BDF */