ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9342_ruckus_zf7321.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "ar934x_ruckus_zf73xx.dtsi"
6
7 / {
8 model = "Ruckus ZoneFlex 7321[-U]";
9 compatible = "ruckus,zf7321", "qca,ar9342";
10
11 leds {
12 air-green {
13 label = "green:air";
14 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
15 };
16
17 dir-green {
18 label = "green:dir";
19 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
20 };
21
22 power_red: power-red {
23 function = LED_FUNCTION_POWER;
24 color = <LED_COLOR_ID_RED>;
25 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
26 panic-indicator;
27 };
28
29 wlan2g-green {
30 label = "green:wlan2g";
31 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy0assoc";
33 };
34
35 wlan2g-yellow {
36 label = "yellow:wlan2g";
37 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
39 };
40
41 wlan5g-green {
42 label = "green:wlan5g";
43 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0assoc";
45 };
46
47 wlan5g-yellow {
48 label = "yellow:wlan5g";
49 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy0tpt";
51 };
52 };
53 };
54
55 &board_data {
56 nvmem-layout {
57 compatible = "fixed-layout";
58 #address-cells = <1>;
59 #size-cells = <1>;
60
61 macaddr_board_data_60: macaddr@60 {
62 reg = <0x60 0x6>;
63 };
64
65 macaddr_board_data_66: macaddr@66 {
66 reg = <0x66 0x6>;
67 };
68
69 cal_board_data_41000: cal@41000 {
70 reg = <0x41000 0x440>;
71 };
72 };
73 };
74
75 &eth0 {
76 nvmem-cells = <&macaddr_board_data_66>;
77 };