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 1200";
10 compatible = "avm,fritzrepeater-1200";
13 led-boot = &power_green;
14 led-failsafe = &power_red;
15 led-running = &power_green;
16 led-upgrade = &power_red;
17 label-mac-device = &wifi0;
27 pinctrl-0 = <&mdio_pins>;
28 pinctrl-names = "default";
32 compatible = "qcom,tcsr";
33 reg = <0x1949000 0x100>;
34 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
38 compatible = "qcom,tcsr";
39 reg = <0x1953000 0x1000>;
40 qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
44 compatible = "qcom,tcsr";
45 reg = <0x1957000 0x100>;
46 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
59 compatible = "gpio-keys";
63 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_WPS_BUTTON>;
69 compatible = "gpio-leds";
71 power_red: power_red {
73 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
76 power_green: power_green {
77 label = "green:power";
78 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
82 label = "yellow:power";
83 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
89 serial_0_pins: serial_pinmux {
91 pins = "gpio16", "gpio17";
92 function = "blsp_uart0";
97 nand_pins: nand_pins {
99 pins = "gpio53", "gpio58", "gpio59";
105 pins = "gpio54", "gpio55", "gpio56",
106 "gpio57", "gpio60", "gpio61",
107 "gpio62", "gpio63", "gpio64",
108 "gpio65", "gpio66", "gpio67",
115 mdio_pins: mdio_pinmux {
129 line-name = "PHY-reset";
130 gpios = <19 GPIO_ACTIVE_HIGH>;
136 line-name = "PHY-reset-2";
137 gpios = <47 GPIO_ACTIVE_HIGH>;
144 pinctrl-0 = <&nand_pins>;
145 pinctrl-names = "default";
150 compatible = "fixed-partitions";
151 #address-cells = <1>;
162 reg = <0x80000 0x80000>;
168 reg = <0x100000 0x80000>;
174 reg = <0x180000 0x40000>;
180 reg = <0x1c0000 0x80000>;
186 reg = <0x240000 0x40000>;
192 reg = <0x280000 0x40000>;
198 reg = <0x2c0000 0x840000>;
203 /* 'kernel1' in AVM firmware */
205 reg = <0xb00000 0x400000>;
209 /* 'kernel2' in AVM firmware */
211 reg = <0xf00000 0x400000>;
216 reg = <0x1300000 0x6d00000>;
231 pinctrl-0 = <&serial_0_pins>;
232 pinctrl-names = "default";
266 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
271 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";