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>
9 model = "devolo Magic 2 WiFi next";
10 compatible = "devolo,magic-2-wifi-next";
13 device_type = "memory";
14 reg = <0x80000000 0x10000000>;
24 pinctrl-0 = <&mdio_pins>;
25 pinctrl-names = "default";
26 reset-gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
27 reset-delay-us = <2000>;
39 compatible = "gpio-export";
43 gpio-export,name = "plc-enable";
44 gpio-export,output = <1>;
45 gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
52 compatible = "gpio-keys";
56 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
63 linux,code = <KEY_RESTART>;
68 compatible = "gpio-leds";
72 gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
73 default-state = "keep";
77 function = LED_FUNCTION_WLAN;
78 color = <LED_COLOR_ID_WHITE>;
79 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
80 default-state = "keep";
85 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
86 default-state = "keep";
92 spi_0_pins: spi_0_pinmux {
94 function = "blsp_spi0";
95 pins = "gpio55", "gpio56", "gpio57";
96 drive-strength = <12>;
103 drive-strength = <2>;
109 mdio_pins: mdio_pinmux {
122 serial_pins: serial_pinmux {
124 pins = "gpio61", "gpio60";
125 function = "blsp_uart0";
130 button_pins: button_pinmux {
133 pins = "gpio0", "gpio5";
149 pinctrl-0 = <&serial_pins>;
150 pinctrl-names = "default";
164 qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next";
169 qcom,ath10k-calibration-variant = "devolo,magic-2-wifi-next";
173 pinctrl-0 = <&spi_0_pins>;
174 pinctrl-names = "default";
176 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
179 compatible = "jedec,spi-nor";
181 linux,modalias = "n25q128a11";
182 spi-max-frequency = <24000000>;
185 compatible = "fixed-partitions";
186 #address-cells = <1>;
191 reg = <0x00000000 0x00040000>;
196 reg = <0x00040000 0x00020000>;
201 reg = <0x00060000 0x00060000>;
206 reg = <0x000c0000 0x00010000>;
211 reg = <0x000d0000 0x00010000>;
215 label = "APPSBLENV"; /* uboot env*/
216 reg = <0x000e0000 0x00010000>;
219 label = "APPSBL"; /* uboot */
220 reg = <0x000f0000 0x00080000>;
225 reg = <0x00170000 0x00010000>;
229 compatible = "denx,fit";
231 reg = <0x00180000 0x01a80000>;