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>
9 compatible = "engenius,enstationac-v1", "qca,qca9557";
10 model = "EnGenius EnStationAC v1";
13 label-mac-device = ð0;
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
27 linux,code = <KEY_RESTART>;
32 compatible = "gpio-leds";
35 label = "amber:power";
36 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
42 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
47 label = "red:rssilow";
48 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
52 label = "amber:rssimedium";
53 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
57 label = "green:rssihigh";
58 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
63 compatible = "mtd-concat";
65 devices = <&firmware1 &firmware2>;
68 compatible = "fixed-partitions";
73 compatible = "openwrt,okli";
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <40000000>;
94 compatible = "fixed-partitions";
100 reg = <0x000000 0x040000>;
105 label = "u-boot-env";
106 reg = <0x040000 0x010000>;
111 reg = <0x050000 0x050000>;
117 reg = <0x0a0000 0x010000>;
121 firmware2: partition@b0000 {
123 reg = <0x0b0000 0x170000>;
128 reg = <0x220000 0x010000>;
132 firmware1: partition@230000 {
134 reg = <0x230000 0xb40000>;
139 reg = <0xd70000 0x280000>;
143 art: partition@ff0000 {
145 reg = <0xff0000 0x010000>;
155 phy1: ethernet-phy@1 {
161 phy2: ethernet-phy@2 {
165 at803x-override-sgmii-link-check;
172 mtd-mac-address = <&art 0x0>;
174 phy-handle = <&phy1>;
175 phy-mode = "rgmii-id";
177 pll-data = <0x82000000 0x80000101 0x80001313>;
183 mtd-mac-address = <&art 0x0>;
184 mtd-mac-address-increment = <1>;
186 phy-handle = <&phy2>;
188 pll-data = <0x03000000 0x00000101 0x00001313>;
197 compatible = "qcom,ath10k";