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>
10 compatible = "araknis,an-300-ap-i-n", "qca,ar9344";
11 model = "Araknis AN-300-AP-I-N";
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 label = "amber:power";
35 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
36 default-state = "off";
40 label = "blue:wifi5g";
41 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
47 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-leds";
55 label = "blue:wifi2g";
56 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy1tpt";
65 phy0: ethernet-phy@0 {
75 nvmem-cells = <&macaddr_art_0>;
76 nvmem-cell-names = "mac-address";
79 phy-mode = "rgmii-txid";
81 pll-data = <0x02000000 0x00000101 0x00001313>;
88 compatible = "pci168c,0030";
90 nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
91 nvmem-cell-names = "mac-address", "calibration";
92 mac-address-increment = <1>;
104 nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
105 nvmem-cell-names = "mac-address", "calibration";
106 mac-address-increment = <2>;
110 compatible = "nvmem-cells";
111 #address-cells = <1>;
114 macaddr_art_0: macaddr@0 {
118 calibration_art_1000: calibration@1000 {
119 reg = <0x1000 0x440>;
122 calibration_art_5000: calibration@5000 {
123 reg = <0x5000 0x440>;