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", "qcom,ipq4019";
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>;
40 pinctrl-0 = <&serial_pins>;
41 pinctrl-names = "default";
63 compatible = "gpio-keys";
67 gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
68 linux,code = <KEY_RESTART>;
74 led-failsafe = &power;
80 compatible = "gpio-leds";
83 label = "eap1300:orange:power";
84 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
88 label = "eap1300:blue:lan";
89 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
93 label = "eap1300:blue:mesh";
94 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
98 label = "eap1300:blue:wlan2g";
99 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
103 label = "eap1300:yellow:wlan5g";
104 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
110 serial_pins: serial_pinmux {
112 pins = "gpio60", "gpio61";
113 function = "blsp_uart0";
118 spi_0_pins: spi_0_pinmux {
120 function = "blsp_spi0";
121 pins = "gpio54", "gpio55", "gpio56", "gpio57";
122 drive-strength = <12>;
128 drive-strength = <2>;
140 pinctrl-0 = <&spi_0_pins>;
141 pinctrl-names = "default";
143 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
146 compatible = "jedec,spi-nor";
148 spi-max-frequency = <24000000>;
150 compatible = "fixed-partitions";
151 #address-cells = <1>;
156 reg = <0x00000000 0x00040000>;
161 reg = <0x00040000 0x00020000>;
166 reg = <0x00060000 0x00060000>;
171 reg = <0x000c0000 0x00010000>;
175 label = "0:DDRPARAMS";
176 reg = <0x000d0000 0x00010000>;
180 label = "0:APPSBLENV";
181 reg = <0x000e0000 0x00010000>;
186 reg = <0x000f0000 0x00090000>;
191 reg = <0x00180000 0x00010000>;
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>;
225 qcom,ath10k-calibration-variant = "EnGenius-EAP1300";
230 qcom,ath10k-calibration-variant = "EnGenius-EAP1300";