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,eap1200h", "qca,qca9557";
11 model = "EnGenius EAP1200H";
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 label = "blue:wifi2g";
44 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
45 linux,default-trigger = "phy1tpt";
49 label = "green:wifi5g";
50 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy0tpt";
55 function = LED_FUNCTION_WPS;
56 color = <LED_COLOR_ID_BLUE>;
57 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
65 reg = <0xff0000 0x010000>;
69 compatible = "fixed-layout";
73 macaddr_art_0: macaddr@0 {
74 compatible = "mac-base";
76 #nvmem-cell-cells = <1>;
79 calibration_art_1000: calibration@1000 {
83 calibration_art_5000: calibration@5000 {
93 phy5: ethernet-phy@5 {
103 nvmem-cells = <&macaddr_art_0 0>;
104 nvmem-cell-names = "mac-address";
106 phy-handle = <&phy5>;
107 phy-mode = "rgmii-id";
109 pll-data = <0x82000000 0x80000101 0x80001313>;
115 nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_1000>;
116 nvmem-cell-names = "mac-address", "calibration";
122 nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_5000>;
123 nvmem-cell-names = "mac-address", "calibration";