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";
26 compatible = "qcom,tcsr";
27 reg = <0x1949000 0x100>;
28 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
32 compatible = "qcom,tcsr";
33 reg = <0x1953000 0x1000>;
34 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
38 compatible = "qcom,tcsr";
39 reg = <0x1957000 0x100>;
40 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
61 compatible = "gpio-keys";
65 gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
66 linux,code = <KEY_RESTART>;
72 led-failsafe = &power;
78 compatible = "gpio-leds";
81 label = "eap1300:orange:power";
82 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
86 label = "eap1300:blue:lan";
87 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
91 label = "eap1300:blue:mesh";
92 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
96 label = "eap1300:blue:wlan2g";
97 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
101 label = "eap1300:yellow:wlan5g";
102 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
108 serial_pins: serial_pinmux {
110 pins = "gpio60", "gpio61";
111 function = "blsp_uart0";
116 spi_0_pins: spi_0_pinmux {
118 function = "blsp_spi0";
119 pins = "gpio54", "gpio55", "gpio56", "gpio57";
120 drive-strength = <12>;
126 drive-strength = <2>;
138 pinctrl-0 = <&spi_0_pins>;
139 pinctrl-names = "default";
141 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
144 compatible = "jedec,spi-nor";
146 spi-max-frequency = <24000000>;
148 compatible = "fixed-partitions";
149 #address-cells = <1>;
154 reg = <0x00000000 0x00040000>;
159 reg = <0x00040000 0x00020000>;
164 reg = <0x00060000 0x00060000>;
169 reg = <0x000c0000 0x00010000>;
173 label = "0:DDRPARAMS";
174 reg = <0x000d0000 0x00010000>;
178 label = "0:APPSBLENV";
179 reg = <0x000e0000 0x00010000>;
184 reg = <0x000f0000 0x00090000>;
189 reg = <0x00180000 0x00010000>;
193 compatible = "denx,fit";
195 reg = <0x190000 0x1dc0000>;
198 label = "u-boot-env";
199 reg = <0x01f50000 0x00010000>;
201 partition10@1f60000 {
202 label = "userconfig";
203 reg = <0x01f60000 0x000a0000>;
210 pinctrl-0 = <&serial_pins>;
211 pinctrl-names = "default";
229 qcom,ath10k-calibration-variant = "EnGenius-EAP1300";
234 qcom,ath10k-calibration-variant = "EnGenius-EAP1300";