arm: mvebu: enable Ethernet controllers on Mirabox platform
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 12 Nov 2012 14:22:54 +0000 (15:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 16 Nov 2012 09:17:48 +0000 (10:17 +0100)
The Globalscale Mirabox platform has two Ethernet interfaces,
connected to the SoC with a RGMII interface.

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

index 9eef8dd..8554dbe 100644 (file)
                        clock-frequency = <600000000>;
                        status = "okay";
                };
+               mdio {
+                       phy0: ethernet-phy@0 {
+                               reg = <0>;
+                       };
+
+                       phy1: ethernet-phy@1 {
+                               reg = <1>;
+                       };
+               };
+               ethernet@d0070000 {
+                       clock-frequency = <200000000>;
+                       status = "okay";
+                       phy = <&phy0>;
+                       phy-mode = "rgmii-id";
+               };
+               ethernet@d0074000 {
+                       clock-frequency = <200000000>;
+                       status = "okay";
+                       phy = <&phy1>;
+                       phy-mode = "rgmii-id";
+               };
        };
 };