1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
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>
9 model = "EnGenius EAP2200";
10 compatible = "engenius,eap2200";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys";
24 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_WPS_BUTTON>;
30 compatible = "gpio-leds";
33 function = LED_FUNCTION_POWER;
34 color = <LED_COLOR_ID_AMBER>;
35 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
40 gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
45 gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
49 label = "blue:wlan2g";
50 gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy0tpt";
55 label = "yellow:wlan5g";
56 gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy1tpt";
61 label = "yellow:wlan5g2";
62 gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "phy2tpt";
68 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
96 pinctrl-0 = <&spi_0_pins>;
97 pinctrl-names = "default";
99 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
102 #address-cells = <1>;
104 compatible = "jedec,spi-nor";
106 spi-max-frequency = <24000000>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
114 reg = <0x00000000 0x00040000>;
119 reg = <0x00040000 0x00020000>;
124 reg = <0x00060000 0x00060000>;
129 reg = <0x000c0000 0x00010000>;
133 label = "0:DDRPARAMS";
134 reg = <0x000d0000 0x00010000>;
138 label = "0:APPSBLENV";
139 reg = <0x000e0000 0x00010000>;
144 reg = <0x000f0000 0x00080000>;
149 reg = <0x00170000 0x00010000>;
153 compatible = "fixed-layout";
154 #address-cells = <1>;
157 precal_art_1000: precal@1000 {
158 reg = <0x1000 0x2f20>;
161 precal_art_5000: precal@5000 {
162 reg = <0x5000 0x2f20>;
165 precal_art_9000: precal@9000 {
166 reg = <0x9000 0x2f20>;
175 pinctrl-0 = <&serial_0_pins>;
176 pinctrl-names = "default";
185 pinctrl-0 = <&nand_pins>;
186 pinctrl-names = "default";
191 compatible = "fixed-partitions";
192 #address-cells = <1>;
197 reg = <0x00000000 0x04000000>;
201 reg = <0x04000000 0x04000000>;
210 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
211 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
214 reg = <0x00000000 0 0 0 0>;
215 #address-cells = <3>;
220 compatible = "qcom,ath10k";
221 reg = <0x00010000 0 0 0 0>;
222 nvmem-cell-names = "pre-calibration";
223 nvmem-cells = <&precal_art_9000>;
224 ieee80211-freq-limit = <5470000 5875000>;
225 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";
235 nand_pins: nand_pins {
237 pins = "gpio53", "gpio58", "gpio59";
243 pins = "gpio54", "gpio55", "gpio56",
244 "gpio57", "gpio60", "gpio61",
245 "gpio62", "gpio63", "gpio64",
246 "gpio65", "gpio66", "gpio67",
253 serial_0_pins: serial_pinmux {
255 pins = "gpio16", "gpio17";
256 function = "blsp_uart0";
261 spi_0_pins: spi_0_pinmux {
263 function = "blsp_spi0";
264 pins = "gpio13", "gpio14", "gpio15";
265 drive-strength = <12>;
271 drive-strength = <2>;
280 nvmem-cell-names = "pre-calibration";
281 nvmem-cells = <&precal_art_1000>;
282 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";
287 ieee80211-freq-limit = <5170000 5350000>;
288 nvmem-cell-names = "pre-calibration";
289 nvmem-cells = <&precal_art_5000>;
290 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";