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>
9 compatible = "engenius,ews660ap", "qca,qca9558";
10 model = "EnGenius EWS660AP";
13 label-mac-device = ð0;
14 led-boot = &led_wifi5g;
15 led-failsafe = &led_wifi5g;
16 led-upgrade = &led_wifi5g;
20 compatible = "gpio-keys";
24 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
26 linux,code = <KEY_RESTART>;
31 compatible = "gpio-leds";
34 label = "green:wifi2g";
35 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy1tpt";
40 label = "green:wifi5g";
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
50 reg = <0xff0000 0x010000>;
53 compatible = "nvmem-cells";
57 macaddr_art_0: macaddr@0 {
61 calibration_art_1000: calibration@1000 {
65 calibration_art_5000: calibration@5000 {
74 phy1: ethernet-phy@1 {
80 phy2: ethernet-phy@2 {
84 at803x-override-sgmii-link-check;
91 nvmem-cells = <&macaddr_art_0>;
92 nvmem-cell-names = "mac-address";
95 phy-mode = "rgmii-id";
97 pll-data = <0x82000000 0x80000101 0x80001313>;
103 nvmem-cells = <&macaddr_art_0>;
104 nvmem-cell-names = "mac-address";
105 mac-address-increment = <1>;
107 phy-handle = <&phy2>;
109 pll-data = <0x03000000 0x00000101 0x00001313>;
117 nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
118 nvmem-cell-names = "mac-address", "calibration";
119 mac-address-increment = <2>;
125 nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
126 nvmem-cell-names = "mac-address", "calibration";
127 mac-address-increment = <3>;