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 = "eap2200:amber:power";
33 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
37 label = "eap2200:blue:lan1";
38 gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
42 label = "eap2200:blue:lan2";
43 gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
47 label = "eap2200:blue:wlan2g";
48 gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
53 label = "eap2200:yellow:wlan5g";
54 gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy1tpt";
59 label = "eap2200:yellow:wlan5g2";
60 gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy2tpt";
65 label = "eap2200:blue:mode";
66 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
93 switch_lan_bmp = <0x10>;
107 pinctrl-0 = <&spi_0_pins>;
108 pinctrl-names = "default";
110 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
113 #address-cells = <1>;
115 compatible = "jedec,spi-nor";
117 spi-max-frequency = <24000000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
125 reg = <0x00000000 0x00040000>;
130 reg = <0x00040000 0x00020000>;
135 reg = <0x00060000 0x00060000>;
140 reg = <0x000c0000 0x00010000>;
144 label = "0:DDRPARAMS";
145 reg = <0x000d0000 0x00010000>;
149 label = "0:APPSBLENV";
150 reg = <0x000e0000 0x00010000>;
155 reg = <0x000f0000 0x00080000>;
160 reg = <0x00170000 0x00010000>;
168 pinctrl-0 = <&serial_0_pins>;
169 pinctrl-names = "default";
182 pinctrl-0 = <&nand_pins>;
183 pinctrl-names = "default";
188 compatible = "fixed-partitions";
189 #address-cells = <1>;
194 reg = <0x00000000 0x04000000>;
198 reg = <0x04000000 0x04000000>;
207 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
208 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
211 reg = <0x00000000 0 0 0 0>;
212 #address-cells = <3>;
217 compatible = "qcom,ath10k";
218 reg = <0x00010000 0 0 0 0>;
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 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";
280 ieee80211-freq-limit = <5170000 5350000>;
281 qcom,ath10k-calibration-variant = "EnGenius-EAP2200";