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