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>
8 model = "EnGenius EAP2200";
9 compatible = "engenius,eap2200";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-keys";
23 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_WPS_BUTTON>;
29 compatible = "gpio-leds";
32 label = "amber:power";
33 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
38 gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
43 gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
47 label = "blue:wlan2g";
48 gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
53 label = "yellow:wlan5g";
54 gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy1tpt";
59 label = "yellow:wlan5g2";
60 gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy2tpt";
66 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
94 pinctrl-0 = <&spi_0_pins>;
95 pinctrl-names = "default";
97 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
100 #address-cells = <1>;
102 compatible = "jedec,spi-nor";
104 spi-max-frequency = <24000000>;
106 compatible = "fixed-partitions";
107 #address-cells = <1>;
112 reg = <0x00000000 0x00040000>;
117 reg = <0x00040000 0x00020000>;
122 reg = <0x00060000 0x00060000>;
127 reg = <0x000c0000 0x00010000>;
131 label = "0:DDRPARAMS";
132 reg = <0x000d0000 0x00010000>;
136 label = "0:APPSBLENV";
137 reg = <0x000e0000 0x00010000>;
142 reg = <0x000f0000 0x00080000>;
147 reg = <0x00170000 0x00010000>;
149 compatible = "nvmem-cells";
150 #address-cells = <1>;
153 precal_art_1000: precal@1000 {
154 reg = <0x1000 0x2f20>;
157 precal_art_5000: precal@5000 {
158 reg = <0x5000 0x2f20>;
161 precal_art_9000: precal@9000 {
162 reg = <0x9000 0x2f20>;
170 pinctrl-0 = <&serial_0_pins>;
171 pinctrl-names = "default";
180 pinctrl-0 = <&nand_pins>;
181 pinctrl-names = "default";
186 compatible = "fixed-partitions";
187 #address-cells = <1>;
192 reg = <0x00000000 0x04000000>;
196 reg = <0x04000000 0x04000000>;
205 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
206 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
209 reg = <0x00000000 0 0 0 0>;
210 #address-cells = <3>;
215 compatible = "qcom,ath10k";
216 reg = <0x00010000 0 0 0 0>;
217 nvmem-cell-names = "pre-calibration";
218 nvmem-cells = <&precal_art_9000>;
219 ieee80211-freq-limit = <5470000 5875000>;
220 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";
230 nand_pins: nand_pins {
232 pins = "gpio53", "gpio58", "gpio59";
238 pins = "gpio54", "gpio55", "gpio56",
239 "gpio57", "gpio60", "gpio61",
240 "gpio62", "gpio63", "gpio64",
241 "gpio65", "gpio66", "gpio67",
248 serial_0_pins: serial_pinmux {
250 pins = "gpio16", "gpio17";
251 function = "blsp_uart0";
256 spi_0_pins: spi_0_pinmux {
258 function = "blsp_spi0";
259 pins = "gpio13", "gpio14", "gpio15";
260 drive-strength = <12>;
266 drive-strength = <2>;
275 nvmem-cell-names = "pre-calibration";
276 nvmem-cells = <&precal_art_1000>;
277 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";
282 ieee80211-freq-limit = <5170000 5350000>;
283 nvmem-cell-names = "pre-calibration";
284 nvmem-cells = <&precal_art_5000>;
285 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";