[PATCH 3/3] powerpc/fsl/dts: add FMan node for t1042d4rdb

Madalin Bucur madalin.bucur at nxp.com
Sat Nov 12 00:59:44 AEDT 2016


Signed-off-by: Madalin Bucur <madalin.bucur at nxp.com>
---
 arch/powerpc/boot/dts/fsl/t1042d4rdb.dts | 47 ++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/arch/powerpc/boot/dts/fsl/t1042d4rdb.dts b/arch/powerpc/boot/dts/fsl/t1042d4rdb.dts
index 2a5a90d..8c0c318 100644
--- a/arch/powerpc/boot/dts/fsl/t1042d4rdb.dts
+++ b/arch/powerpc/boot/dts/fsl/t1042d4rdb.dts
@@ -48,6 +48,53 @@
 					"fsl,deepsleep-cpld";
 		};
 	};
+	soc: soc at ffe000000 {
+		fman0: fman at 400000 {
+			ethernet at e0000 {
+				phy-handle = <&phy_sgmii_0>;
+				phy-connection-type = "sgmii";
+			};
+
+			ethernet at e2000 {
+				phy-handle = <&phy_sgmii_1>;
+				phy-connection-type = "sgmii";
+			};
+
+			ethernet at e4000 {
+				phy-handle = <&phy_sgmii_2>;
+				phy-connection-type = "sgmii";
+			};
+
+			ethernet at e6000 {
+				phy-handle = <&phy_rgmii_0>;
+				phy-connection-type = "rgmii";
+			};
+
+			ethernet at e8000 {
+				phy-handle = <&phy_rgmii_1>;
+				phy-connection-type = "rgmii";
+			};
+
+			mdio0: mdio at fc000 {
+				phy_sgmii_0: ethernet-phy at 02 {
+					reg = <0x02>;
+				};
+				phy_sgmii_1: ethernet-phy at 03 {
+					reg = <0x03>;
+				};
+				phy_sgmii_2: ethernet-phy at 01 {
+					reg = <0x01>;
+				};
+				phy_rgmii_0: ethernet-phy at 04 {
+					reg = <0x04>;
+				};
+				phy_rgmii_1: ethernet-phy at 05 {
+					reg = <0x05>;
+				};
+			};
+		};
+	};
+
 };
 
 #include "t1042si-post.dtsi"
-- 
2.1.0



More information about the Linuxppc-dev mailing list