1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/mtd/partitions/uimage.h>
10 compatible = "engenius,enstationac-v1", "qca,qca9557";
11 model = "EnGenius EnStationAC v1";
14 label-mac-device = ð0;
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-running = &led_power;
18 led-upgrade = &led_power;
22 compatible = "gpio-keys";
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
28 linux,code = <KEY_RESTART>;
33 compatible = "gpio-leds";
36 label = "amber:power";
37 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
48 label = "red:rssilow";
49 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
53 label = "amber:rssimedium";
54 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
58 label = "green:rssihigh";
59 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
64 compatible = "mtd-concat";
66 devices = <&fwconcat0 &fwconcat1>;
69 compatible = "fixed-partitions";
74 compatible = "openwrt,uimage", "denx,uimage";
75 openwrt,ih-magic = <IH_MAGIC_OKLI>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <40000000>;
96 compatible = "fixed-partitions";
102 reg = <0x000000 0x040000>;
107 label = "u-boot-env";
108 reg = <0x040000 0x010000>;
113 reg = <0x050000 0x050000>;
119 reg = <0x0a0000 0x010000>;
123 fwconcat1: partition@b0000 {
125 reg = <0x0b0000 0x170000>;
130 reg = <0x220000 0x010000>;
134 fwconcat0: partition@230000 {
136 reg = <0x230000 0xb40000>;
141 reg = <0xd70000 0x280000>;
145 art: partition@ff0000 {
147 reg = <0xff0000 0x010000>;
157 phy1: ethernet-phy@1 {
163 phy2: ethernet-phy@2 {
167 at803x-override-sgmii-link-check;
174 mtd-mac-address = <&art 0x0>;
176 phy-handle = <&phy1>;
177 phy-mode = "rgmii-id";
179 pll-data = <0x82000000 0x80000101 0x80001313>;
185 mtd-mac-address = <&art 0x0>;
186 mtd-mac-address-increment = <1>;
188 phy-handle = <&phy2>;
190 pll-data = <0x03000000 0x00000101 0x00001313>;
199 compatible = "qcom,ath10k";