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>
9 compatible = "engenius,ews511ap", "qca,qca9531";
10 model = "EnGenius EWS511AP";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-keys";
22 pinctrl-names = "default";
23 pinctrl-0 = <&jtag_disable_pins>;
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-leds";
36 label = "amber:power";
37 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
48 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 label = "green:wlan2g";
53 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy0tpt";
58 label = "green:wlan5g";
59 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy1tpt";
65 compatible = "linux,wdt-gpio";
67 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
69 /* hw_margin_ms is actually 300s but driver limits it to 60s */
70 hw_margin_ms = <60000>;
95 compatible = "jedec,spi-nor";
97 spi-max-frequency = <25000000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
106 reg = <0x000000 0x040000>;
110 ubootenv: partition@40000 {
111 label = "u-boot-env";
112 reg = <0x040000 0x010000>;
115 art: partition@50000 {
117 reg = <0x050000 0x010000>;
122 compatible = "denx,uimage";
124 reg = <0x060000 0xfa0000>;
133 phy-handle = <&swphy4>;
139 mtd-cal-data = <&art 0x1000>;