1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "engenius,ews511ap", "qca,qca9531";
11 model = "EnGenius EWS511AP";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins>;
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
34 compatible = "gpio-leds";
37 function = LED_FUNCTION_POWER;
38 color = <LED_COLOR_ID_AMBER>;
39 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
54 label = "green:wlan2g";
55 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "phy0tpt";
60 label = "green:wlan5g";
61 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy1tpt";
67 compatible = "linux,wdt-gpio";
69 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
71 /* hw_margin_ms is actually 300s but driver limits it to 60s */
72 hw_margin_ms = <60000>;
89 compatible = "qcom,ath10k";
90 reg = <0x0000 0 0 0 0>;
91 nvmem-cells = <&cal_art_5000>;
92 nvmem-cell-names = "calibration";
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <25000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
111 reg = <0x000000 0x040000>;
115 ubootenv: partition@40000 {
116 label = "u-boot-env";
117 reg = <0x040000 0x010000>;
120 art: partition@50000 {
122 reg = <0x050000 0x010000>;
126 compatible = "fixed-layout";
127 #address-cells = <1>;
130 cal_art_5000: calibration@5000 {
131 reg = <0x5000 0x844>;
137 compatible = "denx,uimage";
139 reg = <0x060000 0xfa0000>;
148 phy-handle = <&swphy4>;
154 mtd-cal-data = <&art 0x1000>;