53456d40939cb90c0a02fa8b913b32232681911b
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / ar9344_engenius_ecb600.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 ECB600";
7 compatible = "engenius,ecb600", "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 wifi5g {
19 label = "blue:wifi5g";
20 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
21 linux,default-trigger = "phy0tpt";
22 };
23 };
24 };
25
26 &eth0 {
27 nvmem-cells = <&macaddr_art_0>;
28 nvmem-cell-names = "mac-address";
29 };
30
31 &pcie {
32 wifi@0,0,0 {
33 nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
34 nvmem-cell-names = "mac-address", "calibration";
35 mac-address-increment = <(-2)>;
36 };
37 };
38
39 &wmac {
40 nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
41 nvmem-cell-names = "mac-address", "calibration";
42 mac-address-increment = <(-1)>;
43 };
44
45 &art {
46 nvmem-layout {
47 compatible = "fixed-layout";
48 #address-cells = <1>;
49 #size-cells = <1>;
50
51 macaddr_art_0: macaddr@0 {
52 reg = <0x0 0x6>;
53 };
54
55 calibration_art_1000: calibration@1000 {
56 reg = <0x1000 0x440>;
57 };
58
59 calibration_art_5000: calibration@5000 {
60 reg = <0x5000 0x440>;
61 };
62 };
63 };