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 1200";
11 compatible = "avm,fritzrepeater-1200";
14 led-boot = &power_green;
15 led-failsafe = &power_red;
16 led-running = &power_green;
17 led-upgrade = &power_red;
18 label-mac-device = &wifi0;
27 compatible = "qcom,tcsr";
28 reg = <0x1949000 0x100>;
29 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
33 compatible = "qcom,tcsr";
34 reg = <0x1953000 0x1000>;
35 qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
39 compatible = "qcom,tcsr";
40 reg = <0x1957000 0x100>;
41 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
50 compatible = "gpio-keys";
54 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
60 compatible = "gpio-leds";
62 power_red: power_red {
63 function = LED_FUNCTION_POWER;
64 color = <LED_COLOR_ID_RED>;
65 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
68 power_green: power_green {
69 function = LED_FUNCTION_POWER;
70 color = <LED_COLOR_ID_GREEN>;
71 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
75 function = LED_FUNCTION_POWER;
76 color = <LED_COLOR_ID_YELLOW>;
77 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
87 serial_0_pins: serial_pinmux {
89 pins = "gpio16", "gpio17";
90 function = "blsp_uart0";
95 nand_pins: nand_pins {
97 pins = "gpio53", "gpio58", "gpio59";
103 pins = "gpio54", "gpio55", "gpio56",
104 "gpio57", "gpio60", "gpio61",
105 "gpio62", "gpio63", "gpio64",
106 "gpio65", "gpio66", "gpio67",
113 mdio_pins: mdio_pinmux {
127 line-name = "PHY-reset";
128 gpios = <19 GPIO_ACTIVE_HIGH>;
134 line-name = "PHY-reset-2";
135 gpios = <47 GPIO_ACTIVE_HIGH>;
142 pinctrl-0 = <&nand_pins>;
143 pinctrl-names = "default";
148 compatible = "fixed-partitions";
149 #address-cells = <1>;
160 reg = <0x80000 0x80000>;
166 reg = <0x100000 0x80000>;
172 reg = <0x180000 0x40000>;
178 reg = <0x1c0000 0x80000>;
184 reg = <0x240000 0x40000>;
190 reg = <0x280000 0x40000>;
196 reg = <0x2c0000 0x840000>;
201 /* 'kernel1' in AVM firmware */
203 reg = <0xb00000 0x400000>;
207 /* 'kernel2' in AVM firmware */
209 reg = <0xf00000 0x400000>;
214 reg = <0x1300000 0x6d00000>;
229 pinctrl-0 = <&serial_0_pins>;
230 pinctrl-names = "default";
240 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
245 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
250 pinctrl-0 = <&mdio_pins>;
251 pinctrl-names = "default";
253 ethphy: ethernet-phy@0 {
265 /delete-property/ psgmii-ethphy;
272 phy-handle = <ðphy>;
273 phy-mode = "rgmii-id";