diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-12 09:22:54 -0500 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-16 04:17:48 -0500 |
| commit | 9f32cccc67590ccda30529bcbcea5c22d95c00a6 (patch) | |
| tree | 325afecaeb4e7811eb95144b87afe39ab458b245 | |
| parent | f69c92f4fe4a6c9730554b3a7bb3253e7360ca32 (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>
| -rw-r--r-- | arch/arm/boot/dts/armada-370-mirabox.dts | 21 |
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 @@ | |||
| 33 | clock-frequency = <600000000>; | 33 | clock-frequency = <600000000>; |
| 34 | status = "okay"; | 34 | status = "okay"; |
| 35 | }; | 35 | }; |
| 36 | mdio { | ||
| 37 | phy0: ethernet-phy@0 { | ||
| 38 | reg = <0>; | ||
| 39 | }; | ||
| 40 | |||
| 41 | phy1: ethernet-phy@1 { | ||
| 42 | reg = <1>; | ||
| 43 | }; | ||
| 44 | }; | ||
| 45 | ethernet@d0070000 { | ||
| 46 | clock-frequency = <200000000>; | ||
| 47 | status = "okay"; | ||
| 48 | phy = <&phy0>; | ||
| 49 | phy-mode = "rgmii-id"; | ||
| 50 | }; | ||
| 51 | ethernet@d0074000 { | ||
| 52 | clock-frequency = <200000000>; | ||
| 53 | status = "okay"; | ||
| 54 | phy = <&phy1>; | ||
| 55 | phy-mode = "rgmii-id"; | ||
| 56 | }; | ||
| 36 | }; | 57 | }; |
| 37 | }; | 58 | }; |
