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>;
28 /delete-node/ ethernet-phy@0;
29 /delete-node/ ethernet-phy@1;
41 compatible = "gpio-export";
45 gpio-export,name = "plc-enable";
46 gpio-export,output = <1>;
47 gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
54 compatible = "gpio-keys";
58 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
64 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
65 linux,code = <KEY_RESTART>;
70 compatible = "gpio-leds";
74 gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
75 default-state = "keep";
80 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
81 default-state = "keep";
86 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
87 default-state = "keep";
93 spi_0_pins: spi_0_pinmux {
95 function = "blsp_spi0";
96 pins = "gpio55", "gpio56", "gpio57";
97 drive-strength = <12>;
104 drive-strength = <2>;
110 mdio_pins: mdio_pinmux {
123 serial_pins: serial_pinmux {
125 pins = "gpio61", "gpio60";
126 function = "blsp_uart0";
131 button_pins: button_pinmux {
134 pins = "gpio0", "gpio5";
150 pinctrl-0 = <&serial_pins>;
151 pinctrl-names = "default";
157 qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next";
162 qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next";
166 pinctrl-0 = <&spi_0_pins>;
167 pinctrl-names = "default";
169 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
172 compatible = "jedec,spi-nor";
174 linux,modalias = "n25q128a11";
175 spi-max-frequency = <24000000>;
178 compatible = "fixed-partitions";
179 #address-cells = <1>;
184 reg = <0x00000000 0x00040000>;
189 reg = <0x00040000 0x00020000>;
194 reg = <0x00060000 0x00060000>;
199 reg = <0x000c0000 0x00010000>;
204 reg = <0x000d0000 0x00010000>;
208 label = "APPSBLENV"; /* uboot env*/
209 reg = <0x000e0000 0x00010000>;
212 label = "APPSBL"; /* uboot */
213 reg = <0x000f0000 0x00080000>;
218 reg = <0x00170000 0x00010000>;
222 compatible = "denx,fit";
224 reg = <0x00180000 0x01a80000>;