1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca953x.dtsi"
10 compatible = "engenius,ews511ap", "qca,qca9531";
11 model = "EnGenius EWS511AP";
14 compatible = "gpio-keys-polled";
17 pinctrl-names = "default";
18 pinctrl-0 = <&jtag_disable_pins>;
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
28 led-boot = &power_led;
29 led-failsafe = &power_led;
30 led-running = &power_led;
31 led-upgrade = &power_led;
35 compatible = "gpio-leds";
38 label = "ews511ap:amber:power";
39 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
44 label = "ews511ap:blue:lan1";
45 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
49 label = "ews511ap:blue:lan2";
50 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
54 label = "ews511ap:green:wlan2g";
55 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
56 linux,default-trigger = "phy0tpt";
60 label = "ews511ap: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>;
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <25000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
109 reg = <0x000000 0x040000>;
113 ubootenv: partition@40000 {
114 label = "u-boot-env";
115 reg = <0x040000 0x010000>;
118 art: partition@50000 {
120 reg = <0x050000 0x010000>;
125 compatible = "denx,uimage";
127 reg = <0x060000 0xfa0000>;
135 phy-handle = <&swphy4>;
144 mtd-cal-data = <&art 0x1000>;