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 EAP1300";
11 compatible = "engenius,eap1300";
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>;
50 compatible = "gpio-keys";
54 gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
55 linux,code = <KEY_RESTART>;
61 led-failsafe = &power;
67 compatible = "gpio-leds";
70 function = LED_FUNCTION_POWER;
71 color = <LED_COLOR_ID_ORANGE>;
72 gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
76 function = LED_FUNCTION_LAN;
77 color = <LED_COLOR_ID_BLUE>;
78 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
83 gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
87 label = "blue:wlan2g";
88 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
92 label = "yellow:wlan5g";
93 gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
99 serial_pins: serial_pinmux {
101 pins = "gpio60", "gpio61";
102 function = "blsp_uart0";
107 spi_0_pins: spi_0_pinmux {
109 function = "blsp_spi0";
110 pins = "gpio54", "gpio55", "gpio56", "gpio57";
111 drive-strength = <12>;
117 drive-strength = <2>;
129 pinctrl-0 = <&spi_0_pins>;
130 pinctrl-names = "default";
132 cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
135 compatible = "jedec,spi-nor";
137 spi-max-frequency = <24000000>;
139 compatible = "fixed-partitions";
140 #address-cells = <1>;
145 reg = <0x00000000 0x00040000>;
150 reg = <0x00040000 0x00020000>;
155 reg = <0x00060000 0x00060000>;
160 reg = <0x000c0000 0x00010000>;
164 label = "0:DDRPARAMS";
165 reg = <0x000d0000 0x00010000>;
169 label = "0:APPSBLENV";
170 reg = <0x000e0000 0x00010000>;
175 reg = <0x000f0000 0x00090000>;
180 reg = <0x00180000 0x00010000>;
184 compatible = "fixed-layout";
185 #address-cells = <1>;
188 precal_art_1000: precal@1000 {
189 reg = <0x1000 0x2f20>;
192 precal_art_5000: precal@5000 {
193 reg = <0x5000 0x2f20>;
198 compatible = "denx,fit";
200 reg = <0x190000 0x1dc0000>;
203 label = "u-boot-env";
204 reg = <0x01f50000 0x00010000>;
206 partition10@1f60000 {
207 label = "userconfig";
208 reg = <0x01f60000 0x000a0000>;
215 pinctrl-0 = <&serial_pins>;
216 pinctrl-names = "default";
226 nvmem-cell-names = "pre-calibration";
227 nvmem-cells = <&precal_art_1000>;
228 qcom,ath10k-calibration-variant = "EnGenius-EAP1300";
233 nvmem-cell-names = "pre-calibration";
234 nvmem-cells = <&precal_art_5000>;
235 qcom,ath10k-calibration-variant = "EnGenius-EAP1300";