ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_ruckus_zf7372.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 7352/7372[-E/-U]";
9 compatible = "ruckus,zf7372", "qca,ar9344";
10
11 leds {
12 air-green {
13 label = "green:air";
14 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
15 };
16
17 air-yellow {
18 label = "yellow:air";
19 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
20 };
21
22 dir-green {
23 label = "green:dir";
24 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
25 };
26
27 eth1-green {
28 label = "green:eth1";
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
30 };
31
32 power_red: power-red {
33 function = LED_FUNCTION_POWER;
34 color = <LED_COLOR_ID_RED>;
35 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
36 panic-indicator;
37 };
38
39 wlan2g-green {
40 label = "green:wlan2g";
41 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0assoc";
43 };
44
45 wlan2g-yellow {
46 label = "yellow:wlan2g";
47 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy0tpt";
49 };
50
51 wlan5g-green {
52 label = "green:wlan5g";
53 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy1assoc";
55 };
56
57 wlan5g-yellow {
58 label = "yellow:wlan5g";
59 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy1tpt";
61 };
62 };
63
64 beamforming-2g-spi {
65 compatible = "spi-gpio";
66 mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
67 sck-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
68 num-chipselects = <0>;
69 #address-cells = <1>;
70 #size-cells = <0>;
71
72 beamforming-2g-gpio@0 {
73 compatible = "fairchild,74hc595";
74 reg = <0>;
75 registers-number = <1>;
76 spi-max-frequency = <24000000>;
77 gpio-controller;
78 #gpio-cells = <2>;
79 };
80 };
81
82 beamforming-5g-spi {
83 compatible = "spi-gpio";
84 mosi-gpios = <&ath9k 15 GPIO_ACTIVE_HIGH>;
85 sck-gpios = <&ath9k 14 GPIO_ACTIVE_HIGH>;
86 num-chipselects = <0>;
87 #address-cells = <1>;
88 #size-cells = <0>;
89
90 beamforming-5g-gpio@0 {
91 compatible = "fairchild,74hc595";
92 reg = <0>;
93 registers-number = <1>;
94 spi-max-frequency = <24000000>;
95 gpio-controller;
96 #gpio-cells = <2>;
97 };
98 };
99 };
100
101 &eth0 {
102 nvmem-cells = <&macaddr_board_data_6c>;
103 };
104
105 &eth1 {
106 status = "okay";
107
108 nvmem-cells = <&macaddr_board_data_66>;
109 nvmem-cell-names = "mac-address";
110
111 gmac-config {
112 device = <&gmac>;
113 switch-phy-swap = <0>;
114 switch-only-mode = <1>;
115 };
116 };
117
118 &pcie {
119 status = "okay";
120
121 ath9k: wifi@0,0 {
122 compatible = "pci168c,0033";
123 reg = <0x0000 0 0 0 0>;
124 gpio-controller;
125 #gpio-cells = <2>;
126
127 nvmem-cells = <&macaddr_board_data_76>;
128 nvmem-cell-names = "mac-address";
129 };
130 };
131
132 &board_data {
133 nvmem-layout {
134 compatible = "fixed-layout";
135 #address-cells = <1>;
136 #size-cells = <1>;
137
138 macaddr_board_data_60: macaddr@60 {
139 reg = <0x60 0x6>;
140 };
141
142 macaddr_board_data_66: macaddr@66 {
143 reg = <0x66 0x6>;
144 };
145
146 macaddr_board_data_6c: macaddr@6c {
147 reg = <0x6c 0x6>;
148 };
149
150 macaddr_board_data_76: macaddr@76 {
151 reg = <0x76 0x6>;
152 };
153
154 cal_board_data_41000: cal@41000 {
155 reg = <0x41000 0x440>;
156 };
157 };
158 };