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>;
54 compatible = "fixed-layout";
58 macaddr_art_0: macaddr@0 {
62 calibration_art_1000: calibration@1000 {
66 calibration_art_5000: calibration@5000 {
76 phy1: ethernet-phy@1 {
82 phy2: ethernet-phy@2 {
86 at803x-override-sgmii-link-check;
93 nvmem-cells = <&macaddr_art_0>;
94 nvmem-cell-names = "mac-address";
97 phy-mode = "rgmii-id";
99 pll-data = <0x82000000 0x80000101 0x80001313>;
105 nvmem-cells = <&macaddr_art_0>;
106 nvmem-cell-names = "mac-address";
107 mac-address-increment = <1>;
109 phy-handle = <&phy2>;
111 pll-data = <0x03000000 0x00000101 0x00001313>;
119 nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
120 nvmem-cell-names = "mac-address", "calibration";
121 mac-address-increment = <2>;
127 nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
128 nvmem-cell-names = "mac-address", "calibration";
129 mac-address-increment = <3>;