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;
28 pinctrl-0 = <&mdio_pins>;
29 pinctrl-names = "default";
31 ethphy: ethernet-phy@0 {
37 compatible = "qcom,tcsr";
38 reg = <0x1949000 0x100>;
39 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
43 compatible = "qcom,tcsr";
44 reg = <0x1953000 0x1000>;
45 qcom,ess-interface-select = <TCSR_ESS_PSGMII_RGMII5>;
49 compatible = "qcom,tcsr";
50 reg = <0x1957000 0x100>;
51 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
64 compatible = "gpio-keys";
68 gpios = <&tlmm 10 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_WPS_BUTTON>;
74 compatible = "gpio-leds";
76 power_red: power_red {
77 function = LED_FUNCTION_POWER;
78 color = <LED_COLOR_ID_RED>;
79 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
82 power_green: power_green {
83 function = LED_FUNCTION_POWER;
84 color = <LED_COLOR_ID_GREEN>;
85 gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
89 function = LED_FUNCTION_POWER;
90 color = <LED_COLOR_ID_YELLOW>;
91 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
97 serial_0_pins: serial_pinmux {
99 pins = "gpio16", "gpio17";
100 function = "blsp_uart0";
105 nand_pins: nand_pins {
107 pins = "gpio53", "gpio58", "gpio59";
113 pins = "gpio54", "gpio55", "gpio56",
114 "gpio57", "gpio60", "gpio61",
115 "gpio62", "gpio63", "gpio64",
116 "gpio65", "gpio66", "gpio67",
123 mdio_pins: mdio_pinmux {
137 line-name = "PHY-reset";
138 gpios = <19 GPIO_ACTIVE_HIGH>;
144 line-name = "PHY-reset-2";
145 gpios = <47 GPIO_ACTIVE_HIGH>;
152 pinctrl-0 = <&nand_pins>;
153 pinctrl-names = "default";
158 compatible = "fixed-partitions";
159 #address-cells = <1>;
170 reg = <0x80000 0x80000>;
176 reg = <0x100000 0x80000>;
182 reg = <0x180000 0x40000>;
188 reg = <0x1c0000 0x80000>;
194 reg = <0x240000 0x40000>;
200 reg = <0x280000 0x40000>;
206 reg = <0x2c0000 0x840000>;
211 /* 'kernel1' in AVM firmware */
213 reg = <0xb00000 0x400000>;
217 /* 'kernel2' in AVM firmware */
219 reg = <0xf00000 0x400000>;
224 reg = <0x1300000 0x6d00000>;
239 pinctrl-0 = <&serial_0_pins>;
240 pinctrl-names = "default";
250 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
255 qcom,ath10k-calibration-variant = "AVM-FRITZRepeater-1200";
265 /delete-property/ psgmii-ethphy;
272 phy-handle = <ðphy>;
273 phy-mode = "rgmii-id";