[PATCH 10/11] powerpc: dts: t1042d4rdb: add FMan v3 nodes

Camelia Groza camelia.groza at nxp.com
Fri Apr 9 15:41:58 CEST 2021


Add the FMan v3 nodes for the T1042D4RDB. The nodes are copied over with
little modification from the Linux kernel source code.

Signed-off-by: Camelia Groza <camelia.groza at nxp.com>
---
 arch/powerpc/dts/t1042d4rdb.dts | 55 ++++++++++++++++++++++++++++++++-
 1 file changed, 54 insertions(+), 1 deletion(-)

diff --git a/arch/powerpc/dts/t1042d4rdb.dts b/arch/powerpc/dts/t1042d4rdb.dts
index 3584c06aa8d6..5e9fab7a1057 100644
--- a/arch/powerpc/dts/t1042d4rdb.dts
+++ b/arch/powerpc/dts/t1042d4rdb.dts
@@ -3,7 +3,7 @@
  * T1042D4RDB Device Tree Source
  *
  * Copyright 2013 - 2015 Freescale Semiconductor Inc.
- * Copyright 2019 NXP
+ * Copyright 2019-2021 NXP
  */
 
 /include/ "t104x.dtsi"
@@ -20,6 +20,57 @@
 	};
 };
 
+&soc {
+	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 2 {
+				reg = <0x02>;
+			};
+
+			phy_sgmii_1: ethernet-phy at 3 {
+				reg = <0x03>;
+			};
+
+			phy_sgmii_2: ethernet-phy at 1 {
+				reg = <0x01>;
+			};
+
+			phy_rgmii_0: ethernet-phy at 4 {
+				reg = <0x04>;
+			};
+
+			phy_rgmii_1: ethernet-phy at 5 {
+				reg = <0x05>;
+			};
+		};
+	};
+};
+
 &espi0 {
 	status = "okay";
 	flash at 0 {
@@ -30,3 +81,5 @@
 		spi-max-frequency = <10000000>; /* input clock */
 	};
 };
+
+/include/ "t1042si-post.dtsi"
-- 
2.17.1



More information about the U-Boot mailing list