]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc: define the fman node for the kmcoge4 DTS
authorValentin Longchamp <valentin.longchamp@keymile.com>
Tue, 19 Apr 2016 09:37:21 +0000 (11:37 +0200)
committerScott Wood <oss@buserror.net>
Sat, 9 Jul 2016 01:19:25 +0000 (20:19 -0500)
Now that the FMAN mac driver has been merged the fman node is relevant.

The kmcoge4 board implements 3 ethernet interfaces, 1 with a RGMII phy
and 2 with fixed 1 Giga SGMII links.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/boot/dts/fsl/kmcoge4.dts

index 2d4b64fcee884a462fbc9ea66b4a5d73932bd683..ae70a24094b02bf3cf46e2edaba45d81e8ab132c 100644 (file)
                sata@221000 {
                        status = "disabled";
                };
+
+               fman0: fman@400000 {
+                       enet0: ethernet@e0000 {
+                               phy-connection-type = "sgmii";
+                               fixed-link {
+                                       speed = <1000>;
+                                       full-duplex;
+                               };
+                       };
+                       mdio0: mdio@e1120 {
+                               front_phy: ethernet-phy@11 {
+                                       reg = <0x11>;
+                               };
+                       };
+
+                       enet1: ethernet@e2000 {
+                               phy-connection-type = "sgmii";
+                               fixed-link {
+                                       speed = <1000>;
+                                       full-duplex;
+                               };
+                       };
+                       enet2: ethernet@e4000 {
+                               status = "disabled";
+                       };
+
+                       enet3: ethernet@e6000 {
+                               status = "disabled";
+                       };
+                       enet4: ethernet@e8000 {
+                               phy-handle = <&front_phy>;
+                               phy-connection-type = "rgmii";
+                       };
+                       enet5: ethernet@f0000 {
+                               status = "disabled";
+                       };
+               };
        };
 
        rio: rapidio@ffe0c0000 {