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>
This commit is contained in:
Thomas Petazzoni 2012-11-12 15:22:54 +01:00
parent f69c92f4fe
commit 9f32cccc67

View file

@ -33,5 +33,26 @@
clock-frequency = <600000000>; clock-frequency = <600000000>;
status = "okay"; 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";
};
}; };
}; };