1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include "ar934x_senao_loader.dtsi"
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/leds/common.h>
11 compatible = "araknis,an-300-ap-i-n", "qca,ar9344";
12 model = "Araknis AN-300-AP-I-N";
15 label-mac-device = ð0;
16 led-boot = &led_power;
17 led-failsafe = &led_power;
18 led-upgrade = &led_power;
22 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
35 function = LED_FUNCTION_POWER;
36 color = <LED_COLOR_ID_AMBER>;
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
38 default-state = "off";
42 label = "blue:wifi5g";
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
48 function = LED_FUNCTION_WPS;
49 color = <LED_COLOR_ID_BLUE>;
50 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-leds";
58 label = "blue:wifi2g";
59 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy1tpt";
68 phy0: ethernet-phy@0 {
78 nvmem-cells = <&macaddr_art_0 0>;
79 nvmem-cell-names = "mac-address";
82 phy-mode = "rgmii-txid";
84 pll-data = <0x02000000 0x00000101 0x00001313>;
91 compatible = "pci168c,0030";
93 nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_5000>;
94 nvmem-cell-names = "mac-address", "calibration";
95 ieee80211-freq-limit = <2402000 2482000>;
104 ieee80211-freq-limit = <4900000 5990000>;
106 nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_1000>;
107 nvmem-cell-names = "mac-address", "calibration";
112 compatible = "fixed-layout";
113 #address-cells = <1>;
116 macaddr_art_0: macaddr@0 {
117 compatible = "mac-base";
119 #nvmem-cell-cells = <1>;
122 calibration_art_1000: calibration@1000 {
123 reg = <0x1000 0x440>;
126 calibration_art_5000: calibration@5000 {
127 reg = <0x5000 0x440>;