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";
16 pinctrl-names = "default";
17 pinctrl-0 = <&jtag_disable_pins>;
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
27 led-boot = &power_led;
28 led-failsafe = &power_led;
29 led-running = &power_led;
30 led-upgrade = &power_led;
34 compatible = "gpio-leds";
37 label = "ews511ap:amber:power";
38 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
43 label = "ews511ap:blue:lan1";
44 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
48 label = "ews511ap:blue:lan2";
49 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 label = "ews511ap:green:wlan2g";
54 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy0tpt";
59 label = "ews511ap:green:wlan5g";
60 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy1tpt";
66 compatible = "linux,wdt-gpio";
68 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
70 /* hw_margin_ms is actually 300s but driver limits it to 60s */
71 hw_margin_ms = <60000>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <25000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x000000 0x040000>;
112 ubootenv: partition@40000 {
113 label = "u-boot-env";
114 reg = <0x040000 0x010000>;
117 art: partition@50000 {
119 reg = <0x050000 0x010000>;
124 compatible = "denx,uimage";
126 reg = <0x060000 0xfa0000>;
134 phy-handle = <&swphy4>;
143 mtd-cal-data = <&art 0x1000>;