1 // SPDX-License-Identifier: GPL-2.0-or-later
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 EMR3500";
11 compatible = "engenius,emr3500";
23 compatible = "qcom,tcsr";
24 reg = <0x1949000 0x100>;
25 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
29 compatible = "qcom,tcsr";
30 reg = <0x1953000 0x1000>;
31 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
35 compatible = "qcom,tcsr";
36 reg = <0x1957000 0x100>;
37 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
46 compatible = "gpio-keys";
50 gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
57 led-failsafe = &power;
63 compatible = "gpio-leds";
66 function = LED_FUNCTION_POWER;
67 color = <LED_COLOR_ID_WHITE>;
68 gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
73 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
78 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
83 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
93 serial_pins: serial_pinmux {
95 pins = "gpio60", "gpio61";
96 function = "blsp_uart0";
101 spi_0_pins: spi_0_pinmux {
103 function = "blsp_spi0";
104 pins = "gpio54", "gpio55", "gpio56", "gpio57";
105 drive-strength = <12>;
111 drive-strength = <2>;
123 pinctrl-0 = <&spi_0_pins>;
124 pinctrl-names = "default";
126 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
129 compatible = "jedec,spi-nor";
131 spi-max-frequency = <24000000>;
133 compatible = "fixed-partitions";
134 #address-cells = <1>;
139 reg = <0x00000000 0x00040000>;
144 reg = <0x00040000 0x00020000>;
149 reg = <0x00060000 0x00060000>;
154 reg = <0x000c0000 0x00010000>;
158 label = "0:DDRPARAMS";
159 reg = <0x000d0000 0x00010000>;
163 label = "0:APPSBLENV";
164 reg = <0x000e0000 0x00010000>;
169 reg = <0x000f0000 0x00080000>;
174 reg = <0x00170000 0x00010000>;
178 label = "userconfig";
179 reg = <0x00180000 0x00080000>;
183 compatible = "denx,fit";
185 reg = <0x200000 0x1e00000>;
192 pinctrl-0 = <&serial_pins>;
193 pinctrl-names = "default";
207 qcom,ath10k-calibration-variant = "EnGenius-EMR3500";
212 qcom,ath10k-calibration-variant = "EnGenius-EMR3500";