summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/armada-370-mirabox.dts
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-12 15:22:54 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-16 10:17:48 +0100
commit9f32cccc67590ccda30529bcbcea5c22d95c00a6 (patch)
tree325afecaeb4e7811eb95144b87afe39ab458b245 /arch/arm/boot/dts/armada-370-mirabox.dts
parentf69c92f4fe4a6c9730554b3a7bb3253e7360ca32 (diff)
arm: mvebu: enable Ethernet controllers on Mirabox platform
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>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-mirabox.dts')
-rw-r--r--arch/arm/boot/dts/armada-370-mirabox.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts
index 9eef8dd61158..8554dbee2640 100644
--- a/arch/arm/boot/dts/armada-370-mirabox.dts
+++ b/arch/arm/boot/dts/armada-370-mirabox.dts
@@ -33,5 +33,26 @@
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";
+ };
};
};