diff options
author | Andrew Lunn <andrew@lunn.ch> | 2015-02-28 15:20:48 -0500 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2015-03-04 08:32:13 -0500 |
commit | 924361249de339123e15d78c1d95dd450a6e3f03 (patch) | |
tree | 88814ff63ed95cf138cd27a9ba4d1d877f0485d4 /arch/arm/boot/dts/armada-xp-linksys-mamba.dts | |
parent | ef34481712067205ca3a9ca52c8484550702b4e2 (diff) |
ARM: ARMADA XP: WRT1900AC: Add support for the Ethernet switch
Add a DSA section to the DT blob representing the Ethernet switch.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/armada-xp-linksys-mamba.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts index 485a6eb86910..a2cf2154dcdb 100644 --- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts +++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts | |||
@@ -327,6 +327,51 @@ | |||
327 | gpio-fan,speed-map = <0 0 | 327 | gpio-fan,speed-map = <0 0 |
328 | 4500 1>; | 328 | 4500 1>; |
329 | }; | 329 | }; |
330 | |||
331 | dsa@0 { | ||
332 | compatible = "marvell,dsa"; | ||
333 | #address-cells = <2>; | ||
334 | #size-cells = <0>; | ||
335 | |||
336 | dsa,ethernet = <ð0>; | ||
337 | dsa,mii-bus = <&mdio>; | ||
338 | |||
339 | switch@0 { | ||
340 | #address-cells = <1>; | ||
341 | #size-cells = <0>; | ||
342 | reg = <0x0 0>; /* MDIO address 0, switch 0 in tree */ | ||
343 | |||
344 | port@0 { | ||
345 | reg = <0>; | ||
346 | label = "lan4"; | ||
347 | }; | ||
348 | |||
349 | port@1 { | ||
350 | reg = <1>; | ||
351 | label = "lan3"; | ||
352 | }; | ||
353 | |||
354 | port@2 { | ||
355 | reg = <2>; | ||
356 | label = "lan2"; | ||
357 | }; | ||
358 | |||
359 | port@3 { | ||
360 | reg = <3>; | ||
361 | label = "lan1"; | ||
362 | }; | ||
363 | |||
364 | port@4 { | ||
365 | reg = <4>; | ||
366 | label = "internet"; | ||
367 | }; | ||
368 | |||
369 | port@5 { | ||
370 | reg = <5>; | ||
371 | label = "cpu"; | ||
372 | }; | ||
373 | }; | ||
374 | }; | ||
330 | }; | 375 | }; |
331 | 376 | ||
332 | &pinctrl { | 377 | &pinctrl { |