1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x_senao_loader.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.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 function = LED_FUNCTION_POWER;
37 color = <LED_COLOR_ID_AMBER>;
38 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
43 function = LED_FUNCTION_WLAN;
44 color = <LED_COLOR_ID_GREEN>;
45 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
50 label = "red:rssilow";
51 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
55 label = "amber:rssimedium";
56 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
60 label = "green:rssihigh";
61 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
67 art: partition@ff0000 {
69 reg = <0xff0000 0x010000>;
73 compatible = "fixed-layout";
77 macaddr_art_0: macaddr@0 {
78 compatible = "mac-base";
80 #nvmem-cell-cells = <1>;
83 cal_art_5000: calibration@5000 {
93 phy1: ethernet-phy@1 {
99 phy2: ethernet-phy@2 {
103 at803x-override-sgmii-link-check;
110 nvmem-cells = <&macaddr_art_0 0>;
111 nvmem-cell-names = "mac-address";
113 phy-handle = <&phy1>;
114 phy-mode = "rgmii-id";
116 pll-data = <0x82000000 0x80000101 0x80001313>;
122 nvmem-cells = <&macaddr_art_0 1>;
123 nvmem-cell-names = "mac-address";
125 phy-handle = <&phy2>;
127 pll-data = <0x03000000 0x00000101 0x00001313>;
136 compatible = "qcom,ath10k";
137 reg = <0x0000 0 0 0 0>;
138 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
139 nvmem-cell-names = "calibration", "mac-address";