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";
30 /delete-node/ ethernet-phy@1;
31 /delete-node/ ethernet-phy@2;
32 /delete-node/ ethernet-phy@3;
33 /delete-node/ ethernet-phy@4;
34 /delete-node/ psgmii-phy@5;
38 compatible = "qcom,tcsr";
39 reg = <0x1949000 0x100>;
40 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
44 compatible = "qcom,tcsr";
45 reg = <0x1953000 0x1000>;
46 qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
50 compatible = "qcom,tcsr";
51 reg = <0x1957000 0x100>;
52 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
64 switch_mac_mode = <0x3>; /* mac mode for RGMII RMII */
65 switch_lan_bmp = <0x0>; /* lan port bitmap */
66 switch_wan_bmp = <0x10>; /* wan port bitmap */
71 phy-mode = "rgmii-id";
78 compatible = "gpio-keys";
82 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_WPS_BUTTON>;
88 compatible = "gpio-leds";
90 power_red: power_red {
92 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
95 power_green: power_green {
96 label = "green:power";
97 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
101 label = "yellow:power";
102 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
108 serial_0_pins: serial_pinmux {
110 pins = "gpio16", "gpio17";
111 function = "blsp_uart0";
116 nand_pins: nand_pins {
118 pins = "gpio53", "gpio58", "gpio59";
124 pins = "gpio54", "gpio55", "gpio56",
125 "gpio57", "gpio60", "gpio61",
126 "gpio62", "gpio63", "gpio64",
127 "gpio65", "gpio66", "gpio67",
134 mdio_pins: mdio_pinmux {
148 line-name = "PHY-reset";
149 gpios = <19 GPIO_ACTIVE_HIGH>;
155 line-name = "PHY-reset-2";
156 gpios = <47 GPIO_ACTIVE_HIGH>;
163 pinctrl-0 = <&nand_pins>;
164 pinctrl-names = "default";
169 compatible = "fixed-partitions";
170 #address-cells = <1>;
181 reg = <0x80000 0x80000>;
187 reg = <0x100000 0x80000>;
193 reg = <0x180000 0x40000>;
199 reg = <0x1c0000 0x80000>;
205 reg = <0x240000 0x40000>;
211 reg = <0x280000 0x40000>;
217 reg = <0x2c0000 0x840000>;
222 /* 'kernel1' in AVM firmware */
224 reg = <0xb00000 0x400000>;
228 /* 'kernel2' in AVM firmware */
230 reg = <0xf00000 0x400000>;
235 reg = <0x1300000 0x6d00000>;
250 pinctrl-0 = <&serial_0_pins>;
251 pinctrl-names = "default";
261 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
266 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
270 qcom,phy_mdio_addr = <0>;
271 qcom,poll_required = <1>;