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>
8 model = "devolo Magic 2 WiFi next";
9 compatible = "devolo,magic-2-wifi-next";
12 device_type = "memory";
13 reg = <0x80000000 0x10000000>;
23 pinctrl-0 = <&mdio_pins>;
24 pinctrl-names = "default";
25 reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
26 reset-delay-us = <2000>;
38 compatible = "gpio-export";
42 gpio-export,name = "plc-enable";
43 gpio-export,output = <1>;
44 gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
51 compatible = "gpio-keys";
55 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
61 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
62 linux,code = <KEY_RESTART>;
67 compatible = "gpio-leds";
71 gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
72 default-state = "keep";
77 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
78 default-state = "keep";
83 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
84 default-state = "keep";
90 spi_0_pins: spi_0_pinmux {
92 function = "blsp_spi0";
93 pins = "gpio55", "gpio56", "gpio57";
94 drive-strength = <12>;
101 drive-strength = <2>;
107 mdio_pins: mdio_pinmux {
120 serial_pins: serial_pinmux {
122 pins = "gpio61", "gpio60";
123 function = "blsp_uart0";
128 button_pins: button_pinmux {
131 pins = "gpio0", "gpio5";
147 pinctrl-0 = <&serial_pins>;
148 pinctrl-names = "default";
162 qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next";
167 qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next";
171 pinctrl-0 = <&spi_0_pins>;
172 pinctrl-names = "default";
174 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
177 compatible = "jedec,spi-nor";
179 linux,modalias = "n25q128a11";
180 spi-max-frequency = <24000000>;
183 compatible = "fixed-partitions";
184 #address-cells = <1>;
189 reg = <0x00000000 0x00040000>;
194 reg = <0x00040000 0x00020000>;
199 reg = <0x00060000 0x00060000>;
204 reg = <0x000c0000 0x00010000>;
209 reg = <0x000d0000 0x00010000>;
213 label = "APPSBLENV"; /* uboot env*/
214 reg = <0x000e0000 0x00010000>;
217 label = "APPSBL"; /* uboot */
218 reg = <0x000f0000 0x00080000>;
223 reg = <0x00170000 0x00010000>;
227 compatible = "denx,fit";
229 reg = <0x00180000 0x01a80000>;