brcm47xx: add support for ipv6 in default network config
[openwrt.git] / target / linux / kirkwood / patches-3.10 / 0024-ARM-kirkwood-add-gigabit-ethernet-and-mvmdio-device-.patch
1 From 81547b563bd8340d98cdf2c020449ef2e7e8821d Mon Sep 17 00:00:00 2001
2 From: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
3 Date: Tue, 2 Jul 2013 13:00:19 +0200
4 Subject: [PATCH 24/29] ARM: kirkwood: add gigabit ethernet and mvmdio device
5  tree nodes
6
7 This patch adds mv643xx_eth and mvmdio device tree nodes for DT enabled
8 Kirkwood boards. Phy nodes are also added with reg property set on a
9 per-board basis.
10
11 Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
12 ---
13  arch/arm/boot/dts/kirkwood-cloudbox.dts            | 16 +++++++
14  arch/arm/boot/dts/kirkwood-db.dtsi                 | 16 +++++++
15  arch/arm/boot/dts/kirkwood-dnskw.dtsi              | 16 +++++++
16  arch/arm/boot/dts/kirkwood-dockstar.dts            | 17 +++++++
17  arch/arm/boot/dts/kirkwood-dreamplug.dts           | 28 ++++++++++++
18  arch/arm/boot/dts/kirkwood-goflexnet.dts           | 16 +++++++
19  .../arm/boot/dts/kirkwood-guruplug-server-plus.dts | 30 +++++++++++++
20  arch/arm/boot/dts/kirkwood-ib62x0.dts              | 16 +++++++
21  arch/arm/boot/dts/kirkwood-iconnect.dts            | 16 +++++++
22  arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts      | 24 ++++++++++
23  arch/arm/boot/dts/kirkwood-is2.dts                 |  2 +
24  arch/arm/boot/dts/kirkwood-km_kirkwood.dts         | 16 +++++++
25  arch/arm/boot/dts/kirkwood-lsxl.dtsi               | 28 ++++++++++++
26  arch/arm/boot/dts/kirkwood-mplcec4.dts             | 27 +++++++++++
27  .../boot/dts/kirkwood-netgear_readynas_duo_v2.dts  | 16 +++++++
28  arch/arm/boot/dts/kirkwood-ns2-common.dtsi         | 16 +++++++
29  arch/arm/boot/dts/kirkwood-ns2.dts                 |  2 +
30  arch/arm/boot/dts/kirkwood-ns2lite.dts             |  2 +
31  arch/arm/boot/dts/kirkwood-ns2max.dts              |  2 +
32  arch/arm/boot/dts/kirkwood-ns2mini.dts             |  2 +
33  arch/arm/boot/dts/kirkwood-openblocks_a6.dts       | 16 +++++++
34  arch/arm/boot/dts/kirkwood-topkick.dts             | 16 +++++++
35  arch/arm/boot/dts/kirkwood-ts219-6281.dts          |  4 +-
36  arch/arm/boot/dts/kirkwood-ts219-6282.dts          |  4 +-
37  arch/arm/boot/dts/kirkwood-ts219.dtsi              | 16 +++++++
38  arch/arm/boot/dts/kirkwood.dtsi                    | 52 ++++++++++++++++++++++
39  26 files changed, 414 insertions(+), 2 deletions(-)
40
41 diff --git a/arch/arm/boot/dts/kirkwood-cloudbox.dts b/arch/arm/boot/dts/kirkwood-cloudbox.dts
42 index 5f21d4e..03e1b68 100644
43 --- a/arch/arm/boot/dts/kirkwood-cloudbox.dts
44 +++ b/arch/arm/boot/dts/kirkwood-cloudbox.dts
45 @@ -87,3 +87,19 @@
46                 gpios = <&gpio0 17 0>;
47         };
48  };
49 +
50 +&mdio {
51 +       status = "okay";
52 +
53 +       ethphy0: ethernet-phy@0 {
54 +               device_type = "ethernet-phy";
55 +               reg = <0>;
56 +       };
57 +};
58 +
59 +&eth0 {
60 +       status = "okay";
61 +       ethernet0-port@0 {
62 +               phy-handle = <&ethphy0>;
63 +       };
64 +};
65 diff --git a/arch/arm/boot/dts/kirkwood-db.dtsi b/arch/arm/boot/dts/kirkwood-db.dtsi
66 index c87cfb8..ca8bf36 100644
67 --- a/arch/arm/boot/dts/kirkwood-db.dtsi
68 +++ b/arch/arm/boot/dts/kirkwood-db.dtsi
69 @@ -87,3 +87,19 @@
70                 };
71         };
72  };
73 +
74 +&mdio {
75 +       status = "okay";
76 +
77 +       ethphy0: ethernet-phy@8 {
78 +               device_type = "ethernet-phy";
79 +               reg = <8>;
80 +       };
81 +};
82 +
83 +&eth0 {
84 +       status = "okay";
85 +       ethernet0-port@0 {
86 +               phy-handle = <&ethphy0>;
87 +       };
88 +};
89 diff --git a/arch/arm/boot/dts/kirkwood-dnskw.dtsi b/arch/arm/boot/dts/kirkwood-dnskw.dtsi
90 index 6875ac0..7c8bc17 100644
91 --- a/arch/arm/boot/dts/kirkwood-dnskw.dtsi
92 +++ b/arch/arm/boot/dts/kirkwood-dnskw.dtsi
93 @@ -217,3 +217,19 @@
94                 };
95         };
96  };
97 +
98 +&mdio {
99 +       status = "okay";
100 +
101 +       ethphy0: ethernet-phy@8 {
102 +               device_type = "ethernet-phy";
103 +               reg = <8>;
104 +       };
105 +};
106 +
107 +&eth0 {
108 +       status = "okay";
109 +       ethernet0-port@0 {
110 +               phy-handle = <&ethphy0>;
111 +       };
112 +};
113 diff --git a/arch/arm/boot/dts/kirkwood-dockstar.dts b/arch/arm/boot/dts/kirkwood-dockstar.dts
114 index 0196cf6..b5aebbc 100644
115 --- a/arch/arm/boot/dts/kirkwood-dockstar.dts
116 +++ b/arch/arm/boot/dts/kirkwood-dockstar.dts
117 @@ -91,3 +91,20 @@
118                 };
119         };
120  };
121 +
122 +&mdio {
123 +       status = "okay";
124 +
125 +       ethphy0: ethernet-phy@0 {
126 +               device_type = "ethernet-phy";
127 +               compatible = "marvell,88e1116";
128 +               reg = <0>;
129 +       };
130 +};
131 +
132 +&eth0 {
133 +       status = "okay";
134 +       ethernet0-port@0 {
135 +               phy-handle = <&ethphy0>;
136 +       };
137 +};
138 diff --git a/arch/arm/boot/dts/kirkwood-dreamplug.dts b/arch/arm/boot/dts/kirkwood-dreamplug.dts
139 index 289e51d..e0c93d4 100644
140 --- a/arch/arm/boot/dts/kirkwood-dreamplug.dts
141 +++ b/arch/arm/boot/dts/kirkwood-dreamplug.dts
142 @@ -99,3 +99,31 @@
143                 };
144         };
145  };
146 +
147 +&mdio {
148 +       status = "okay";
149 +
150 +       ethphy0: ethernet-phy@0 {
151 +               device_type = "ethernet-phy";
152 +               reg = <0>;
153 +       };
154 +
155 +       ethphy1: ethernet-phy@1 {
156 +               device_type = "ethernet-phy";
157 +               reg = <1>;
158 +       };
159 +};
160 +
161 +&eth0 {
162 +       status = "okay";
163 +       ethernet0-port@0 {
164 +               phy-handle = <&ethphy0>;
165 +       };
166 +};
167 +
168 +&eth1 {
169 +       status = "okay";
170 +       ethernet1-port@0 {
171 +               phy-handle = <&ethphy1>;
172 +       };
173 +};
174 diff --git a/arch/arm/boot/dts/kirkwood-goflexnet.dts b/arch/arm/boot/dts/kirkwood-goflexnet.dts
175 index c3573be..aba5849 100644
176 --- a/arch/arm/boot/dts/kirkwood-goflexnet.dts
177 +++ b/arch/arm/boot/dts/kirkwood-goflexnet.dts
178 @@ -170,3 +170,19 @@
179                 };
180         };
181  };
182 +
183 +&mdio {
184 +       status = "okay";
185 +
186 +       ethphy0: ethernet-phy@0 {
187 +               device_type = "ethernet-phy";
188 +               reg = <0>;
189 +       };
190 +};
191 +
192 +&eth0 {
193 +       status = "okay";
194 +       ethernet0-port@0 {
195 +               phy-handle = <&ethphy0>;
196 +       };
197 +};
198 diff --git a/arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts b/arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts
199 index 44fd97d..210dfb9 100644
200 --- a/arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts
201 +++ b/arch/arm/boot/dts/kirkwood-guruplug-server-plus.dts
202 @@ -96,3 +96,33 @@
203                 };
204         };
205  };
206 +
207 +&mdio {
208 +       status = "okay";
209 +
210 +       ethphy0: ethernet-phy@0 {
211 +               device_type = "ethernet-phy";
212 +               compatible = "marvell,88e1121";
213 +               reg = <0>;
214 +       };
215 +
216 +       ethphy1: ethernet-phy@1 {
217 +               device_type = "ethernet-phy";
218 +               compatible = "marvell,88e1121";
219 +               reg = <1>;
220 +       };
221 +};
222 +
223 +&eth0 {
224 +       status = "okay";
225 +       ethernet0-port@0 {
226 +               phy-handle = <&ethphy0>;
227 +       };
228 +};
229 +
230 +&eth1 {
231 +       status = "okay";
232 +       ethernet1-port@0 {
233 +               phy-handle = <&ethphy1>;
234 +       };
235 +};
236 diff --git a/arch/arm/boot/dts/kirkwood-ib62x0.dts b/arch/arm/boot/dts/kirkwood-ib62x0.dts
237 index 5335b1a..fff3e65 100644
238 --- a/arch/arm/boot/dts/kirkwood-ib62x0.dts
239 +++ b/arch/arm/boot/dts/kirkwood-ib62x0.dts
240 @@ -119,3 +119,19 @@
241  
242  
243  };
244 +
245 +&mdio {
246 +       status = "okay";
247 +
248 +       ethphy0: ethernet-phy@8 {
249 +               device_type = "ethernet-phy";
250 +               reg = <8>;
251 +       };
252 +};
253 +
254 +&eth0 {
255 +       status = "okay";
256 +       ethernet0-port@0 {
257 +               phy-handle = <&ethphy0>;
258 +       };
259 +};
260 diff --git a/arch/arm/boot/dts/kirkwood-iconnect.dts b/arch/arm/boot/dts/kirkwood-iconnect.dts
261 index e591d5d..9fe8ba2 100644
262 --- a/arch/arm/boot/dts/kirkwood-iconnect.dts
263 +++ b/arch/arm/boot/dts/kirkwood-iconnect.dts
264 @@ -176,3 +176,19 @@
265                 };
266         };
267  };
268 +
269 +&mdio {
270 +       status = "okay";
271 +
272 +       ethphy0: ethernet-phy@11 {
273 +               device_type = "ethernet-phy";
274 +               reg = <11>;
275 +       };
276 +};
277 +
278 +&eth0 {
279 +       status = "okay";
280 +       ethernet0-port@0 {
281 +               phy-handle = <&ethphy0>;
282 +       };
283 +};
284 diff --git a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
285 index 3694e94..315f095 100644
286 --- a/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
287 +++ b/arch/arm/boot/dts/kirkwood-iomega_ix2_200.dts
288 @@ -191,3 +191,27 @@
289                 };
290         };
291  };
292 +
293 +&mdio {
294 +       status = "okay";
295 +
296 +       ethphy1: ethernet-phy@11 {
297 +               device_type = "ethernet-phy";
298 +               reg = <11>;
299 +       };
300 +};
301 +
302 +&eth0 {
303 +       status = "okay";
304 +       ethernet0-port@0 {
305 +               speed = <1000>;
306 +               duplex = <1>;
307 +       };
308 +};
309 +
310 +&eth1 {
311 +       status = "okay";
312 +       ethernet1-port@0 {
313 +               phy-handle = <&ethphy1>;
314 +       };
315 +};
316 diff --git a/arch/arm/boot/dts/kirkwood-is2.dts b/arch/arm/boot/dts/kirkwood-is2.dts
317 index 0bdce0a..2e5fe72 100644
318 --- a/arch/arm/boot/dts/kirkwood-is2.dts
319 +++ b/arch/arm/boot/dts/kirkwood-is2.dts
320 @@ -28,3 +28,5 @@
321                 };
322         };
323  };
324 +
325 +&ethphy0 { reg = <8>; };
326 diff --git a/arch/arm/boot/dts/kirkwood-km_kirkwood.dts b/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
327 index 5bbd054..f9194b1 100644
328 --- a/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
329 +++ b/arch/arm/boot/dts/kirkwood-km_kirkwood.dts
330 @@ -43,3 +43,19 @@
331                 };
332         };
333  };
334 +
335 +&mdio {
336 +       status = "okay";
337 +
338 +       ethphy0: ethernet-phy@0 {
339 +               device_type = "ethernet-phy";
340 +               reg = <0>;
341 +       };
342 +};
343 +
344 +&eth0 {
345 +       status = "okay";
346 +       ethernet0-port@0 {
347 +               phy-handle = <&ethphy0>;
348 +       };
349 +};
350 diff --git a/arch/arm/boot/dts/kirkwood-lsxl.dtsi b/arch/arm/boot/dts/kirkwood-lsxl.dtsi
351 index 37d45c4..dcc6470 100644
352 --- a/arch/arm/boot/dts/kirkwood-lsxl.dtsi
353 +++ b/arch/arm/boot/dts/kirkwood-lsxl.dtsi
354 @@ -201,3 +201,31 @@
355                 };
356         };
357  };
358 +
359 +&mdio {
360 +       status = "okay";
361 +
362 +       ethphy0: ethernet-phy@0 {
363 +               device_type = "ethernet-phy";
364 +               reg = <0>;
365 +       };
366 +
367 +       ethphy1: ethernet-phy@8 {
368 +               device_type = "ethernet-phy";
369 +               reg = <8>;
370 +       };
371 +};
372 +
373 +&eth0 {
374 +       status = "okay";
375 +       ethernet0-port@0 {
376 +               phy-handle = <&ethphy0>;
377 +       };
378 +};
379 +
380 +&eth1 {
381 +       status = "okay";
382 +       ethernet1-port@0 {
383 +               phy-handle = <&ethphy1>;
384 +       };
385 +};
386 diff --git a/arch/arm/boot/dts/kirkwood-mplcec4.dts b/arch/arm/boot/dts/kirkwood-mplcec4.dts
387 index 90501cf..32a0133 100644
388 --- a/arch/arm/boot/dts/kirkwood-mplcec4.dts
389 +++ b/arch/arm/boot/dts/kirkwood-mplcec4.dts
390 @@ -190,3 +190,30 @@
391         };
392  };
393  
394 +&mdio {
395 +       status = "okay";
396 +
397 +       ethphy0: ethernet-phy@1 {
398 +               device_type = "ethernet-phy";
399 +               reg = <1>;
400 +       };
401 +
402 +       ethphy1: ethernet-phy@2 {
403 +               device_type = "ethernet-phy";
404 +               reg = <2>;
405 +       };
406 +};
407 +
408 +&eth0 {
409 +       status = "okay";
410 +       ethernet0-port@0 {
411 +               phy-handle = <&ethphy0>;
412 +       };
413 +};
414 +
415 +&eth1 {
416 +       status = "okay";
417 +       ethernet1-port@0 {
418 +               phy-handle = <&ethphy1>;
419 +       };
420 +};
421 diff --git a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
422 index 1ca66ab..b66b2cd 100644
423 --- a/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
424 +++ b/arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts
425 @@ -178,3 +178,19 @@
426                  };
427          };
428  };
429 +
430 +&mdio {
431 +       status = "okay";
432 +
433 +       ethphy0: ethernet-phy@0 {
434 +               device_type = "ethernet-phy";
435 +               reg = <0>;
436 +       };
437 +};
438 +
439 +&eth0 {
440 +       status = "okay";
441 +       ethernet0-port@0 {
442 +               phy-handle = <&ethphy0>;
443 +       };
444 +};
445 diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
446 index 6affd92..6a48bfd 100644
447 --- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
448 +++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
449 @@ -82,3 +82,19 @@
450         };
451  
452  };
453 +
454 +&mdio {
455 +       status = "okay";
456 +
457 +       ethphy0: ethernet-phy {
458 +               device_type = "ethernet-phy";
459 +                /* overwrite reg property in board file */
460 +       };
461 +};
462 +
463 +&eth0 {
464 +       status = "okay";
465 +       ethernet0-port@0 {
466 +               phy-handle = <&ethphy0>;
467 +       };
468 +};
469 diff --git a/arch/arm/boot/dts/kirkwood-ns2.dts b/arch/arm/boot/dts/kirkwood-ns2.dts
470 index f2d36ecf..8ffd552 100644
471 --- a/arch/arm/boot/dts/kirkwood-ns2.dts
472 +++ b/arch/arm/boot/dts/kirkwood-ns2.dts
473 @@ -28,3 +28,5 @@
474                 };
475         };
476  };
477 +
478 +&ethphy0 { reg = <8>; };
479 diff --git a/arch/arm/boot/dts/kirkwood-ns2lite.dts b/arch/arm/boot/dts/kirkwood-ns2lite.dts
480 index b02eb4e..16332f8 100644
481 --- a/arch/arm/boot/dts/kirkwood-ns2lite.dts
482 +++ b/arch/arm/boot/dts/kirkwood-ns2lite.dts
483 @@ -28,3 +28,5 @@
484                 };
485         };
486  };
487 +
488 +&ethphy0 { reg = <0>; };
489 diff --git a/arch/arm/boot/dts/kirkwood-ns2max.dts b/arch/arm/boot/dts/kirkwood-ns2max.dts
490 index bcec4d6..68d767d 100644
491 --- a/arch/arm/boot/dts/kirkwood-ns2max.dts
492 +++ b/arch/arm/boot/dts/kirkwood-ns2max.dts
493 @@ -47,3 +47,5 @@
494                 };
495         };
496  };
497 +
498 +&ethphy0 { reg = <8>; };
499 diff --git a/arch/arm/boot/dts/kirkwood-ns2mini.dts b/arch/arm/boot/dts/kirkwood-ns2mini.dts
500 index adab1ab..5b1b17b 100644
501 --- a/arch/arm/boot/dts/kirkwood-ns2mini.dts
502 +++ b/arch/arm/boot/dts/kirkwood-ns2mini.dts
503 @@ -48,3 +48,5 @@
504                 };
505         };
506  };
507 +
508 +&ethphy0 { reg = <0>; };
509 diff --git a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
510 index d27f724..f8be3e3 100644
511 --- a/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
512 +++ b/arch/arm/boot/dts/kirkwood-openblocks_a6.dts
513 @@ -210,3 +210,19 @@
514                 };
515          };
516  };
517 +
518 +&mdio {
519 +       status = "okay";
520 +
521 +       ethphy0: ethernet-phy@0 {
522 +               device_type = "ethernet-phy";
523 +               reg = <0>;
524 +       };
525 +};
526 +
527 +&eth0 {
528 +       status = "okay";
529 +       ethernet0-port@0 {
530 +               phy-handle = <&ethphy0>;
531 +       };
532 +};
533 diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts
534 index 66eb45b..34eacf2 100644
535 --- a/arch/arm/boot/dts/kirkwood-topkick.dts
536 +++ b/arch/arm/boot/dts/kirkwood-topkick.dts
537 @@ -201,3 +201,19 @@
538                 };
539         };
540  };
541 +
542 +&mdio {
543 +       status = "okay";
544 +
545 +       ethphy0: ethernet-phy@0 {
546 +               device_type = "ethernet-phy";
547 +               reg = <0>;
548 +       };
549 +};
550 +
551 +&eth0 {
552 +       status = "okay";
553 +       ethernet0-port@0 {
554 +               phy-handle = <&ethphy0>;
555 +       };
556 +};
557 diff --git a/arch/arm/boot/dts/kirkwood-ts219-6281.dts b/arch/arm/boot/dts/kirkwood-ts219-6281.dts
558 index 42648ab..fff3a3e 100644
559 --- a/arch/arm/boot/dts/kirkwood-ts219-6281.dts
560 +++ b/arch/arm/boot/dts/kirkwood-ts219-6281.dts
561 @@ -50,4 +50,6 @@
562                         gpios = <&gpio0 16 1>;
563                 };
564         };
565 -};
566 \ No newline at end of file
567 +};
568 +
569 +&ethphy0 { reg = <8>; };
570 diff --git a/arch/arm/boot/dts/kirkwood-ts219-6282.dts b/arch/arm/boot/dts/kirkwood-ts219-6282.dts
571 index 95ceeb9..ed0441a 100644
572 --- a/arch/arm/boot/dts/kirkwood-ts219-6282.dts
573 +++ b/arch/arm/boot/dts/kirkwood-ts219-6282.dts
574 @@ -50,4 +50,6 @@
575                         gpios = <&gpio1 5 1>;
576                 };
577         };
578 -};
579 \ No newline at end of file
580 +};
581 +
582 +&ethphy0 { reg = <0>; };
583 diff --git a/arch/arm/boot/dts/kirkwood-ts219.dtsi b/arch/arm/boot/dts/kirkwood-ts219.dtsi
584 index 7c022fd..6b063eb 100644
585 --- a/arch/arm/boot/dts/kirkwood-ts219.dtsi
586 +++ b/arch/arm/boot/dts/kirkwood-ts219.dtsi
587 @@ -81,3 +81,19 @@
588                 };
589         };
590  };
591 +
592 +&mdio {
593 +       status = "okay";
594 +
595 +       ethphy0: ethernet-phy {
596 +               device_type = "ethernet-phy";
597 +                /* overwrite reg property in board file */
598 +       };
599 +};
600 +
601 +&eth0 {
602 +       status = "okay";
603 +       ethernet0-port@0 {
604 +               phy-handle = <&ethphy0>;
605 +       };
606 +};
607 diff --git a/arch/arm/boot/dts/kirkwood.dtsi b/arch/arm/boot/dts/kirkwood.dtsi
608 index 7eef88f..ebc6dc4 100644
609 --- a/arch/arm/boot/dts/kirkwood.dtsi
610 +++ b/arch/arm/boot/dts/kirkwood.dtsi
611 @@ -203,5 +203,57 @@
612                         clocks = <&gate_clk 4>;
613                         status = "disabled";
614                 };
615 +
616 +               mdio: mdio-bus@72004 {
617 +                       compatible = "marvell,orion-mdio";
618 +                       #address-cells = <1>;
619 +                       #size-cells = <0>;
620 +                       reg = <0x72004 0x84>;
621 +                       interrupts = <46>;
622 +                       clocks = <&gate_clk 0>;
623 +                       status = "disabled";
624 +
625 +                       /* add phy nodes in board file */
626 +               };
627 +
628 +               eth0: ethernet-controller@72000 {
629 +                       compatible = "marvell,kirkwood-eth";
630 +                       #address-cells = <1>;
631 +                       #size-cells = <0>;
632 +                       reg = <0x72000 0x4000>;
633 +                       clocks = <&gate_clk 0>;
634 +                       marvell,tx-checksum-limit = <1600>;
635 +                       status = "disabled";
636 +
637 +                       ethernet0-port@0 {
638 +                               device_type = "network";
639 +                               compatible = "marvell,kirkwood-eth-port";
640 +                               reg = <0>;
641 +                               interrupts = <11>;
642 +                               /* overwrite MAC address in bootloader */
643 +                               local-mac-address = [00 00 00 00 00 00];
644 +                               /* set phy-handle property in board file */
645 +                       };
646 +               };
647 +
648 +               eth1: ethernet-controller@76000 {
649 +                       compatible = "marvell,kirkwood-eth";
650 +                       #address-cells = <1>;
651 +                       #size-cells = <0>;
652 +                       reg = <0x76000 0x4000>;
653 +                       clocks = <&gate_clk 19>;
654 +                       marvell,tx-checksum-limit = <1600>;
655 +                       status = "disabled";
656 +
657 +                       ethernet1-port@0 {
658 +                               device_type = "network";
659 +                               compatible = "marvell,kirkwood-eth-port";
660 +                               reg = <0>;
661 +                               interrupts = <15>;
662 +                               /* overwrite MAC address in bootloader */
663 +                               local-mac-address = [00 00 00 00 00 00];
664 +                               /* set phy-handle property in board file */
665 +                       };
666 +               };
667         };
668  };
669 -- 
670 1.8.4.rc1
671