7e906dd3e23b8916e717cf69b0a26aa4af13cca9
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / ar9344_engenius_eap600.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344_senao_ap-dual.dtsi"
4
5 / {
6 model = "EnGenius EAP600";
7 compatible = "engenius,eap600", "qca,ar9344";
8
9 leds {
10 compatible = "gpio-leds";
11
12 led_power: power {
13 label = "amber:power";
14 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
15 default-state = "on";
16 };
17
18 wps {
19 label = "blue:wps";
20 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
21 };
22
23 wifi5g {
24 label = "green:wifi5g";
25 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
26 linux,default-trigger = "phy0tpt";
27 };
28 };
29 };
30
31 &eth0 {
32 nvmem-cells = <&macaddr_art_0>;
33 nvmem-cell-names = "mac-address";
34 mac-address-increment = <(-2)>;
35 };
36
37 &pcie {
38 wifi@0,0,0 {
39 nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
40 nvmem-cell-names = "mac-address", "calibration";
41 };
42 };
43
44 &wmac {
45 nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
46 nvmem-cell-names = "mac-address", "calibration";
47 mac-address-increment = <(-1)>;
48 };
49
50 &art {
51 nvmem-layout {
52 compatible = "fixed-layout";
53 #address-cells = <1>;
54 #size-cells = <1>;
55
56 macaddr_art_0: macaddr@0 {
57 reg = <0x0 0x6>;
58 };
59
60 calibration_art_1000: calibration@1000 {
61 reg = <0x1000 0x440>;
62 };
63
64 calibration_art_5000: calibration@5000 {
65 reg = <0x5000 0x440>;
66 };
67 };
68 };