]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm: mvebu: add Ethernet controllers using mvneta driver for Armada 370/XP
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Sep 2012 13:06:43 +0000 (15:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 16 Nov 2012 09:17:41 +0000 (10:17 +0100)
The Armada 370 SoC has two network units, while the Armada XP has four
network units. The first two network units are common to both the
Armada XP and Armada 370, so they are added to armada-370-xp.dtsi,
while the other two network units are specific to the Armada XP and
therefore added to armada-xp.dtsi.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-xp.dtsi

index 16cc82cdaa817aef1cb2e235c93b8412ddfb7af8..643101b73306f15fa4f9ff31060affb88b2c1db1 100644 (file)
                        compatible = "marvell,armada-addr-decoding-controller";
                        reg = <0xd0020000 0x258>;
                };
+
+               mdio {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "marvell,orion-mdio";
+                       reg = <0xd0072004 0x4>;
+               };
+
+               ethernet@d0070000 {
+                               compatible = "marvell,armada-370-neta";
+                               reg = <0xd0070000 0x2500>;
+                               interrupts = <8>;
+                               status = "disabled";
+               };
+
+               ethernet@d0074000 {
+                               compatible = "marvell,armada-370-neta";
+                               reg = <0xd0074000 0x2500>;
+                               interrupts = <10>;
+                               status = "disabled";
+               };
        };
 };
 
index 71d6b5d0daf1ca8a03360ba74b62922bf9de36b1..3bbbccfa2c8fd8568e17f7319298758f9470dd35 100644 (file)
                                compatible = "marvell,armada-370-xp-system-controller";
                                reg = <0xd0018200 0x500>;
                };
+
+               ethernet@d0030000 {
+                               compatible = "marvell,armada-370-neta";
+                               reg = <0xd0030000 0x2500>;
+                               interrupts = <12>;
+                               status = "disabled";
+               };
+
+               ethernet@d0034000 {
+                               compatible = "marvell,armada-370-neta";
+                               reg = <0xd0034000 0x2500>;
+                               interrupts = <14>;
+                               status = "disabled";
+               };
        };
 };