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 {
59 compatible = "mac-base";
61 #nvmem-cell-cells = <1>;
64 calibration_art_1000: calibration@1000 {
68 calibration_art_5000: calibration@5000 {
78 phy1: ethernet-phy@1 {
84 phy2: ethernet-phy@2 {
88 at803x-override-sgmii-link-check;
95 nvmem-cells = <&macaddr_art_0 0>;
96 nvmem-cell-names = "mac-address";
99 phy-mode = "rgmii-id";
101 pll-data = <0x82000000 0x80000101 0x80001313>;
107 nvmem-cells = <&macaddr_art_0 1>;
108 nvmem-cell-names = "mac-address";
110 phy-handle = <&phy2>;
112 pll-data = <0x03000000 0x00000101 0x00001313>;
120 nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_1000>;
121 nvmem-cell-names = "mac-address", "calibration";
127 nvmem-cells = <&macaddr_art_0 3>, <&calibration_art_5000>;
128 nvmem-cell-names = "mac-address", "calibration";