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 = "araknis,an-500-ap-i-ac", "qca,qca9557";
11 model = "Araknis AN-500-AP-I-AC";
14 label-mac-device = ð0;
15 led-boot = &led_power;
16 led-failsafe = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-keys";
24 linux,code = <KEY_RESTART>;
25 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
26 debounce-interval = <60>;
31 compatible = "gpio-leds";
34 function = LED_FUNCTION_POWER;
35 color = <LED_COLOR_ID_AMBER>;
36 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
37 default-state = "off";
41 label = "blue:wifi2g";
42 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy1tpt";
47 label = "blue:wifi5g";
48 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
53 function = LED_FUNCTION_WPS;
54 color = <LED_COLOR_ID_BLUE>;
55 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
61 art: partition@ff0000 {
63 reg = <0xff0000 0x010000>;
67 compatible = "fixed-layout";
71 macaddr_art_0: macaddr@0 {
72 compatible = "mac-base";
74 #nvmem-cell-cells = <1>;
77 cal_art_5000: calibration@5000 {
87 phy5: ethernet-phy@5 {
97 nvmem-cells = <&macaddr_art_0 0>;
98 nvmem-cell-names = "mac-address";
100 phy-handle = <&phy5>;
101 phy-mode = "rgmii-id";
103 pll-data = <0x82000000 0x80000101 0x80001313>;
109 mtd-cal-data = <&art 0x1000>;
111 nvmem-cells = <&macaddr_art_0 1>;
112 nvmem-cell-names = "mac-address";
119 compatible = "qcom,ath10k";
120 reg = <0x0000 0 0 0 0>;
121 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
122 nvmem-cell-names = "calibration", "mac-address";