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!Repeater 3000";
11 compatible = "avm,fritzrepeater-3000";
14 led-boot = &power_led;
15 led-failsafe = &power_led;
16 led-running = &power_led;
17 led-upgrade = &power_led;
30 compatible = "qcom,tcsr";
31 reg = <0x1949000 0x100>;
32 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
36 compatible = "qcom,tcsr";
37 reg = <0x1953000 0x1000>;
38 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
42 compatible = "qcom,tcsr";
43 reg = <0x1957000 0x100>;
44 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
57 compatible = "gpio-keys";
61 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
67 compatible = "gpio-leds";
70 label = "red:connect";
71 gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
75 label = "green:connect";
76 gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
80 label = "blue:connect";
81 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
85 function = LED_FUNCTION_POWER;
86 color = <LED_COLOR_ID_GREEN>;
87 gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
93 serial_0_pins: serial_pinmux {
95 pins = "gpio16", "gpio17";
96 function = "blsp_uart0";
101 nand_pins: nand_pins {
103 pins = "gpio53", "gpio58", "gpio59";
109 pins = "gpio54", "gpio55", "gpio56",
110 "gpio57", "gpio60", "gpio61",
111 "gpio62", "gpio63", "gpio64",
112 "gpio65", "gpio66", "gpio67",
121 pinctrl-0 = <&nand_pins>;
122 pinctrl-names = "default";
126 /delete-property/ nand-ecc-strength;
127 /delete-property/ nand-ecc-step-size;
130 compatible = "fixed-partitions";
131 #address-cells = <1>;
136 reg = <0x000000 0x80000>;
142 reg = <0x080000 0x80000>;
148 reg = <0x100000 0x80000>;
154 reg = <0x180000 0x40000>;
160 reg = <0x1c0000 0x80000>;
166 reg = <0x240000 0x40000>;
172 reg = <0x280000 0x40000>;
178 reg = <0x2c0000 0x840000>;
183 /* 'kernel1' in AVM firmware */
185 reg = <0xb00000 0x400000>;
189 /* 'kernel2' in AVM firmware */
191 reg = <0xf00000 0x400000>;
196 reg = <0x1300000 0x6d00000>;
211 pinctrl-0 = <&serial_0_pins>;
212 pinctrl-names = "default";
222 /* BDFs are identical for the FRITZ!Box 7530 and the FRITZ!Repeater 3000 */
223 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-3000";
228 ieee80211-freq-limit = <5170000 5350000>;
229 /* BDFs are identical for the FRITZ!Box 7530 and the FRITZ!Repeater 3000 */
230 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-3000";
236 perst-gpio = <&tlmm 35 GPIO_ACTIVE_LOW>;
237 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
240 reg = <0x00000000 0 0 0 0>;
241 #address-cells = <3>;
247 compatible = "qcom,ath10k";
249 reg = <0x00010000 0 0 0 0>;
250 ieee80211-freq-limit = <5470000 5875000>;
251 /* Uses the reference BDF */