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>;
151 compatible = "fixed-layout";
152 #address-cells = <1>;
155 precal_art_1000: precal@1000 {
156 reg = <0x1000 0x2f20>;
159 precal_art_5000: precal@5000 {
160 reg = <0x5000 0x2f20>;
163 precal_art_9000: precal@9000 {
164 reg = <0x9000 0x2f20>;
173 pinctrl-0 = <&serial_0_pins>;
174 pinctrl-names = "default";
183 pinctrl-0 = <&nand_pins>;
184 pinctrl-names = "default";
189 compatible = "fixed-partitions";
190 #address-cells = <1>;
195 reg = <0x00000000 0x04000000>;
199 reg = <0x04000000 0x04000000>;
208 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
209 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
212 reg = <0x00000000 0 0 0 0>;
213 #address-cells = <3>;
218 compatible = "qcom,ath10k";
219 reg = <0x00010000 0 0 0 0>;
220 nvmem-cell-names = "pre-calibration";
221 nvmem-cells = <&precal_art_9000>;
222 ieee80211-freq-limit = <5470000 5875000>;
223 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";
233 nand_pins: nand_pins {
235 pins = "gpio53", "gpio58", "gpio59";
241 pins = "gpio54", "gpio55", "gpio56",
242 "gpio57", "gpio60", "gpio61",
243 "gpio62", "gpio63", "gpio64",
244 "gpio65", "gpio66", "gpio67",
251 serial_0_pins: serial_pinmux {
253 pins = "gpio16", "gpio17";
254 function = "blsp_uart0";
259 spi_0_pins: spi_0_pinmux {
261 function = "blsp_spi0";
262 pins = "gpio13", "gpio14", "gpio15";
263 drive-strength = <12>;
269 drive-strength = <2>;
278 nvmem-cell-names = "pre-calibration";
279 nvmem-cells = <&precal_art_1000>;
280 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";
285 ieee80211-freq-limit = <5170000 5350000>;
286 nvmem-cell-names = "pre-calibration";
287 nvmem-cells = <&precal_art_5000>;
288 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";