bmips: dts: remove unneeded cfe alias
[openwrt/staging/dangole.git] / target / linux / bmips / dts / bcm6369-comtrend-wap-5813n.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm6368.dtsi"
4
5 / {
6 model = "Comtrend WAP-5813n";
7 compatible = "comtrend,wap-5813n", "brcm,bcm6369", "brcm,bcm6368";
8
9 aliases {
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_red;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
14 };
15
16 keys {
17 compatible = "gpio-keys-polled";
18 poll-interval = <100>;
19
20 wlan {
21 label = "wlan";
22 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WLAN>;
24 debounce-interval = <60>;
25 };
26
27 reset {
28 label = "reset";
29 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
31 debounce-interval = <60>;
32 };
33
34 wps {
35 label = "wps";
36 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_WPS_BUTTON>;
38 debounce-interval = <60>;
39 };
40 };
41
42 leds {
43 compatible = "gpio-leds";
44
45 led@5 {
46 label = "green:internet";
47 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
48 };
49
50 led@14 {
51 label = "green:usb";
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
53 };
54
55 led_power_green: led@22 {
56 label = "green:power";
57 gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
58 };
59
60 led@23 {
61 label = "green:wps";
62 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
63 };
64
65 led_power_red: led@24 {
66 label = "red:power";
67 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
68 panic-indicator;
69 };
70
71 led@31 {
72 label = "red:internet";
73 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
74 };
75 };
76
77 bcm4322-sprom {
78 compatible = "brcm,ssb-sprom";
79
80 pci-bus = <0>;
81 pci-dev = <1>;
82
83 nvmem-cells = <&macaddr_cfe_6a0 1>;
84 nvmem-cell-names = "mac-address";
85
86 brcm,sprom = "brcm/bcm4322-sprom.bin";
87 brcm,sprom-fixups = <97 0xfeed>,
88 <98 0x15d1>,
89 <99 0xfb0d>,
90 <113 0xfef7>,
91 <114 0x15f7>,
92 <115 0xfb1a>;
93 };
94 };
95
96 &ehci {
97 status = "okay";
98 };
99
100 &ethernet {
101 status = "okay";
102
103 nvmem-cells = <&macaddr_cfe_6a0 0>;
104 nvmem-cell-names = "mac-address";
105 };
106
107 &lsspi {
108 status = "okay";
109
110 switch@0 {
111 compatible = "brcm,bcm53115";
112 reg = <0>;
113 spi-max-frequency = <781000>;
114 dsa,member = <1 0>;
115
116 ports {
117 #address-cells = <1>;
118 #size-cells = <0>;
119
120 port@0 {
121 reg = <0>;
122 label = "lan4";
123 };
124
125 port@1 {
126 reg = <1>;
127 label = "lan3";
128 };
129
130 port@2 {
131 reg = <2>;
132 label = "lan2";
133 };
134
135 port@3 {
136 reg = <3>;
137 label = "lan1";
138 };
139
140 port@4 {
141 reg = <4>;
142 label = "wan";
143 };
144
145 port@5 {
146 reg = <5>;
147
148 phy-mode = "rgmii";
149 ethernet = <&switch0port4>;
150
151 fixed-link {
152 speed = <1000>;
153 full-duplex;
154 };
155 };
156 };
157 };
158 };
159
160 &pflash {
161 status = "okay";
162
163 partitions {
164 compatible = "fixed-partitions";
165 #address-cells = <1>;
166 #size-cells = <1>;
167
168 partition@0 {
169 label = "CFE";
170 reg = <0x000000 0x010000>;
171 read-only;
172
173 nvmem-layout {
174 compatible = "fixed-layout";
175 #address-cells = <1>;
176 #size-cells = <1>;
177
178 macaddr_cfe_6a0: macaddr@6a0 {
179 compatible = "mac-base";
180 reg = <0x6a0 0x6>;
181 #nvmem-cell-cells = <1>;
182 };
183 };
184 };
185
186 partition@20000 {
187 label = "firmware";
188 reg = <0x010000 0x7e0000>;
189 compatible = "brcm,bcm963xx-imagetag";
190 };
191
192 partition@fe0000 {
193 label = "nvram";
194 reg = <0x7f0000 0x010000>;
195 };
196 };
197 };
198
199 &ohci {
200 status = "okay";
201 };
202
203 &pci {
204 status = "okay";
205 };
206
207 &switch0 {
208 dsa,member = <0 0>;
209
210 ports {
211 switch0port4: port@4 {
212 reg = <4>;
213 label = "extsw";
214
215 phy-mode = "rgmii";
216
217 fixed-link {
218 speed = <1000>;
219 full-duplex;
220 };
221 };
222 };
223 };
224
225 &uart0 {
226 status = "okay";
227 };
228
229 &usbh {
230 status = "okay";
231 };