The Cyrus P5020 board has 2 ethernet ports, add the required device tree
entries.

Signed-off-by: Darren Stevens <dar...@stevens-zone.net>

---

 arch/powerpc/boot/dts/fsl/cyrus_p5020.dts | 39
 +++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+)

diff --git a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts index 40ba060..bdf0405
100644 --- a/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
+++ b/arch/powerpc/boot/dts/fsl/cyrus_p5020.dts
@@ -17,6 +17,11 @@
        #size-cells = <2>;
        interrupt-parent = <&mpic>;
 
+       aliases {
+               ethernet0 = &enet3;
+               ethernet1 = &enet4;
+       };
+
        memory {
                device_type = "memory";
        };
@@ -67,6 +72,40 @@
                                reg = <0x6f>;
                        };
                };
+
+               fman@400000 {
+                       mdio@e1120 {
+                               phy3: ethernet-phy@3 {
+                                       reg = <0x3>;
+                               };
+
+                               phy7: ethernet-phy@7 {
+                                       reg = <0x7>;
+                               };
+                       };
+
+                       ethernet@e0000 {
+                               status = "disabled";
+                       };
+
+                       ethernet@e2000 {
+                               status = "disabled";
+                       };
+
+                       ethernet@e4000 {
+                               status = "disabled";
+                       };
+
+                       ethernet@e6000 {
+                               phy-handle = <&phy3>;
+                               phy-connection-type = "rgmii";
+                       };
+
+                       ethernet@e8000 {
+                               phy-handle = <&phy7>;
+                               phy-connection-type = "rgmii";
+                       };
+               };
        };
 
        rio: rapidio@ffe0c0000 {

Reply via email to