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 ethphy: ethernet-phy@0 {
36 compatible = "qcom,tcsr";
37 reg = <0x1949000 0x100>;
38 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
42 compatible = "qcom,tcsr";
43 reg = <0x1953000 0x1000>;
44 qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
48 compatible = "qcom,tcsr";
49 reg = <0x1957000 0x100>;
50 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
63 compatible = "gpio-keys";
67 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_WPS_BUTTON>;
73 compatible = "gpio-leds";
75 power_red: power_red {
77 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
80 power_green: power_green {
81 label = "green:power";
82 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
86 label = "yellow:power";
87 gpios = <&tlmm 49 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",
119 mdio_pins: mdio_pinmux {
133 line-name = "PHY-reset";
134 gpios = <19 GPIO_ACTIVE_HIGH>;
140 line-name = "PHY-reset-2";
141 gpios = <47 GPIO_ACTIVE_HIGH>;
148 pinctrl-0 = <&nand_pins>;
149 pinctrl-names = "default";
154 compatible = "fixed-partitions";
155 #address-cells = <1>;
166 reg = <0x80000 0x80000>;
172 reg = <0x100000 0x80000>;
178 reg = <0x180000 0x40000>;
184 reg = <0x1c0000 0x80000>;
190 reg = <0x240000 0x40000>;
196 reg = <0x280000 0x40000>;
202 reg = <0x2c0000 0x840000>;
207 /* 'kernel1' in AVM firmware */
209 reg = <0xb00000 0x400000>;
213 /* 'kernel2' in AVM firmware */
215 reg = <0xf00000 0x400000>;
220 reg = <0x1300000 0x6d00000>;
235 pinctrl-0 = <&serial_0_pins>;
236 pinctrl-names = "default";
246 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
251 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
261 /delete-property/ psgmii-ethphy;
268 phy-handle = <ðphy>;
269 phy-mode = "rgmii-id";