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>;
40 usb2_hs_phy: hsphy@a8000 {
54 compatible = "gpio-keys";
58 gpios = <&tlmm 59 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
65 led-failsafe = &power;
71 compatible = "gpio-leds";
74 function = LED_FUNCTION_POWER;
75 color = <LED_COLOR_ID_WHITE>;
76 gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
81 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
86 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
91 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
97 serial_pins: serial_pinmux {
99 pins = "gpio60", "gpio61";
100 function = "blsp_uart0";
105 spi_0_pins: spi_0_pinmux {
107 function = "blsp_spi0";
108 pins = "gpio54", "gpio55", "gpio56", "gpio57";
109 drive-strength = <12>;
115 drive-strength = <2>;
127 pinctrl-0 = <&spi_0_pins>;
128 pinctrl-names = "default";
130 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
133 compatible = "jedec,spi-nor";
135 spi-max-frequency = <24000000>;
137 compatible = "fixed-partitions";
138 #address-cells = <1>;
143 reg = <0x00000000 0x00040000>;
148 reg = <0x00040000 0x00020000>;
153 reg = <0x00060000 0x00060000>;
158 reg = <0x000c0000 0x00010000>;
162 label = "0:DDRPARAMS";
163 reg = <0x000d0000 0x00010000>;
167 label = "0:APPSBLENV";
168 reg = <0x000e0000 0x00010000>;
173 reg = <0x000f0000 0x00080000>;
178 reg = <0x00170000 0x00010000>;
182 label = "userconfig";
183 reg = <0x00180000 0x00080000>;
187 compatible = "denx,fit";
189 reg = <0x200000 0x1e00000>;
196 pinctrl-0 = <&serial_pins>;
197 pinctrl-names = "default";
211 qcom,ath10k-calibration-variant = "EnGenius-EMR3500";
216 qcom,ath10k-calibration-variant = "EnGenius-EMR3500";