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/soc/qcom,tcsr.h>
9 model = "EnGenius EAP1300";
10 compatible = "engenius,eap1300";
22 compatible = "qcom,tcsr";
23 reg = <0x1949000 0x100>;
24 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
28 compatible = "qcom,tcsr";
29 reg = <0x1953000 0x1000>;
30 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
34 compatible = "qcom,tcsr";
35 reg = <0x1957000 0x100>;
36 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
49 compatible = "gpio-keys";
53 gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
54 linux,code = <KEY_RESTART>;
60 led-failsafe = &power;
66 compatible = "gpio-leds";
69 label = "orange:power";
70 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
75 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
80 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
84 label = "blue:wlan2g";
85 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
89 label = "yellow:wlan5g";
90 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
96 serial_pins: serial_pinmux {
98 pins = "gpio60", "gpio61";
99 function = "blsp_uart0";
104 spi_0_pins: spi_0_pinmux {
106 function = "blsp_spi0";
107 pins = "gpio54", "gpio55", "gpio56", "gpio57";
108 drive-strength = <12>;
114 drive-strength = <2>;
126 pinctrl-0 = <&spi_0_pins>;
127 pinctrl-names = "default";
129 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
132 compatible = "jedec,spi-nor";
134 spi-max-frequency = <24000000>;
136 compatible = "fixed-partitions";
137 #address-cells = <1>;
142 reg = <0x00000000 0x00040000>;
147 reg = <0x00040000 0x00020000>;
152 reg = <0x00060000 0x00060000>;
157 reg = <0x000c0000 0x00010000>;
161 label = "0:DDRPARAMS";
162 reg = <0x000d0000 0x00010000>;
166 label = "0:APPSBLENV";
167 reg = <0x000e0000 0x00010000>;
172 reg = <0x000f0000 0x00090000>;
177 reg = <0x00180000 0x00010000>;
181 compatible = "fixed-layout";
182 #address-cells = <1>;
185 precal_art_1000: precal@1000 {
186 reg = <0x1000 0x2f20>;
189 precal_art_5000: precal@5000 {
190 reg = <0x5000 0x2f20>;
195 compatible = "denx,fit";
197 reg = <0x190000 0x1dc0000>;
200 label = "u-boot-env";
201 reg = <0x01f50000 0x00010000>;
203 partition10@1f60000 {
204 label = "userconfig";
205 reg = <0x01f60000 0x000a0000>;
212 pinctrl-0 = <&serial_pins>;
213 pinctrl-names = "default";
223 nvmem-cell-names = "pre-calibration";
224 nvmem-cells = <&precal_art_1000>;
225 qcom,ath10k-calibration-variant = "EnGenius-EAP1300";
230 nvmem-cell-names = "pre-calibration";
231 nvmem-cells = <&precal_art_5000>;
232 qcom,ath10k-calibration-variant = "EnGenius-EAP1300";