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 = "EnGenius ENS620EXT";
11 compatible = "engenius,ens620ext";
14 device_type = "memory";
15 reg = <0x80000000 0x10000000>;
20 led-failsafe = &power;
31 compatible = "qcom,tcsr";
32 reg = <0x1949000 0x100>;
33 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
37 compatible = "qcom,tcsr";
38 reg = <0x1953000 0x1000>;
39 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
43 compatible = "qcom,tcsr";
44 reg = <0x1957000 0x100>;
45 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
57 * Disable the broken restart as a workaround for the buggy
58 * 3.0.0/3.0.1 U-boots that ship with the device.
59 * Note: The watchdog is now used to restart this device.
67 compatible = "gpio-keys";
71 gpios = <&tlmm 63 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_WPS_BUTTON>;
77 compatible = "gpio-leds";
80 function = LED_FUNCTION_POWER;
81 color = <LED_COLOR_ID_AMBER>;
82 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
87 gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
92 gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
96 label = "green:wlan2g";
97 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
101 label = "green:wlan5g";
102 gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
116 serial_pins: serial_pinmux {
118 pins = "gpio60", "gpio61";
119 function = "blsp_uart0";
124 spi_0_pins: spi_0_pinmux {
126 function = "blsp_spi0";
127 pins = "gpio55", "gpio56", "gpio57";
128 drive-strength = <12>;
135 drive-strength = <2>;
142 &blsp1_spi1 { /* BLSP1 QUP1 */
143 pinctrl-0 = <&spi_0_pins>;
144 pinctrl-names = "default";
146 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
149 #address-cells = <1>;
151 compatible = "jedec,spi-nor";
153 spi-max-frequency = <50000000>;
157 compatible = "fixed-partitions";
158 #address-cells = <1>;
163 reg = <0x00000000 0x00040000>;
168 reg = <0x00040000 0x00020000>;
173 reg = <0x00060000 0x00060000>;
178 reg = <0x000c0000 0x00010000>;
183 reg = <0x000d0000 0x00010000>;
187 label = "APPSBLENV"; /* uboot env*/
188 reg = <0x000e0000 0x00010000>;
192 label = "APPSBL"; /* uboot */
193 reg = <0x000f0000 0x00090000>;
198 reg = <0x00180000 0x00010000>;
202 compatible = "denx,fit";
204 reg = <0x00190000 0x14d0000>;
208 reg = <0x01660000 0x008F0000>;
212 label = "u-boot-env";
213 reg = <0x01f50000 0x00010000>;
217 label = "userconfig";
218 reg = <0x01f60000 0x000a0000>;
226 pinctrl-0 = <&serial_pins>;
227 pinctrl-names = "default";
245 qcom,ath10k-calibration-variant = "EnGenius-ENS620EXT";
250 qcom,ath10k-calibration-variant = "EnGenius-ENS620EXT";