bmips: dts: remove unneeded cferom alias
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm6362-netgear-dgnd3700-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm6362.dtsi"
4
5 / {
6 model = "Netgear DGND3700 v2";
7 compatible = "netgear,dgnd3700-v2", "brcm,bcm6362";
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 11 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_WLAN>;
24 debounce-interval = <60>;
25 };
26
27 wps {
28 label = "wps";
29 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
31 debounce-interval = <60>;
32 };
33
34 reset {
35 label = "reset";
36 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
38 debounce-interval = <60>;
39 };
40 };
41
42 leds {
43 compatible = "gpio-leds";
44
45 led@28 {
46 label = "green:dsl";
47 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
48 };
49
50 led_power_red: led@34 {
51 label = "red:power";
52 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
53 panic-indicator;
54 };
55 };
56 };
57
58 &ehci {
59 status = "okay";
60 };
61
62 &ethernet {
63 status = "okay";
64
65 nvmem-cells = <&macaddr_cferom_6a0>;
66 nvmem-cell-names = "mac-address";
67 };
68
69 &leds {
70 status = "okay";
71
72 brcm,serial-leds;
73 brcm,serial-dat-low;
74 brcm,serial-shift-inv;
75 brcm,serial-mux;
76
77 pinctrl-names = "default";
78 pinctrl-0 = <&pinctrl_leds &pinctrl_serial_led>;
79
80 led@1 {
81 reg = <1>;
82 active-low;
83 label = "green:internet";
84 };
85
86 led_power_green: led@8 {
87 reg = <8>;
88 label = "green:power";
89 };
90
91 led@9 {
92 reg = <9>;
93 active-low;
94 label = "green:wps";
95 };
96
97 led@10 {
98 reg = <10>;
99 active-low;
100 label = "green:usb1";
101 };
102
103 led@11 {
104 reg = <11>;
105 active-low;
106 label = "green:usb2";
107 };
108
109 led@12 {
110 reg = <12>;
111 active-low;
112 label = "amber:internet";
113 };
114
115 led@13 {
116 reg = <13>;
117 active-low;
118 label = "green:ethernet";
119 };
120
121 led@14 {
122 reg = <14>;
123 active-low;
124 label = "amber:dsl";
125 };
126
127 led@16 {
128 reg = <16>;
129 active-low;
130 label = "amber:usb1";
131 };
132
133 led@17 {
134 reg = <17>;
135 active-low;
136 label = "amber:usb2";
137 };
138
139 led@18 {
140 reg = <18>;
141 active-low;
142 label = "amber:ethernet";
143 };
144 };
145
146 &mdio_ext {
147 switch@1e {
148 compatible = "brcm,bcm53125";
149 reg = <30>;
150
151 dsa,member = <1 0>;
152
153 ports {
154 #address-cells = <1>;
155 #size-cells = <0>;
156
157 port@0 {
158 reg = <0>;
159 label = "lan1";
160 };
161
162 port@1 {
163 reg = <1>;
164 label = "lan2";
165 };
166
167 port@2 {
168 reg = <2>;
169 label = "lan3";
170 };
171
172 port@3 {
173 reg = <3>;
174 label = "lan4";
175 };
176
177 port@4 {
178 reg = <4>;
179 label = "wan";
180 };
181
182 port@8 {
183 reg = <8>;
184
185 phy-mode = "rgmii";
186 ethernet = <&switch0port4>;
187
188 fixed-link {
189 speed = <1000>;
190 full-duplex;
191 };
192 };
193 };
194 };
195 };
196
197 &nflash {
198 status = "okay";
199
200 nandcs@0 {
201 compatible = "brcm,nandcs";
202 reg = <0>;
203 nand-ecc-step-size = <512>;
204 nand-ecc-strength = <15>;
205 nand-on-flash-bbt;
206
207 #address-cells = <1>;
208 #size-cells = <1>;
209
210 partitions {
211 compatible = "fixed-partitions";
212 #address-cells = <1>;
213 #size-cells = <1>;
214
215 partition@0 {
216 label = "cferom";
217 reg = <0x0000000 0x0004000>;
218 read-only;
219
220 nvmem-layout {
221 compatible = "fixed-layout";
222 #address-cells = <1>;
223 #size-cells = <1>;
224
225 macaddr_cferom_6a0: macaddr@6a0 {
226 reg = <0x6a0 0x6>;
227 };
228 };
229 };
230
231 partition@4000 {
232 compatible = "brcm,wfi";
233 label = "wfi";
234 reg = <0x0004000 0x1c7c000>;
235 brcm,cferam = "cfe";
236 };
237
238 partition@1c80000 {
239 label = "flag";
240 reg = <0x1c80000 0x0040000>;
241 read-only;
242 };
243
244 partition@1cc0000 {
245 label = "pcbasn";
246 reg = <0x1cc0000 0x0040000>;
247 read-only;
248 };
249
250 partition@1d00000 {
251 label = "xxx";
252 reg = <0x1d00000 0x0080000>;
253 read-only;
254 };
255
256 partition@1d80000 {
257 label = "language_dev";
258 reg = <0x1d80000 0x0040000>;
259 read-only;
260 };
261
262 partition@1dc0000 {
263 label = "scnvram";
264 reg = <0x1dc0000 0x0100000>;
265 read-only;
266 };
267 };
268 };
269 };
270
271 &ohci {
272 status = "okay";
273 };
274
275 &pcie {
276 status = "okay";
277 };
278
279 &pinctrl {
280 pinctrl_leds: leds {
281 function = "led";
282 pins = "gpio1";
283 };
284 };
285
286 &switch0 {
287 dsa,member = <0 0>;
288
289 ports {
290 switch0port4: port@4 {
291 reg = <4>;
292 label = "extsw";
293
294 phy-mode = "rgmii";
295
296 fixed-link {
297 speed = <1000>;
298 full-duplex;
299 };
300 };
301 };
302 };
303
304 &uart0 {
305 status = "okay";
306 };
307
308 &usbh {
309 status = "okay";
310 };