[PATCH 1/3] arm: dts: ls1046afrwy: add the FMan Ethernet nodes

Camelia Groza camelia.groza at nxp.com
Wed Jun 7 13:20:45 CEST 2023


Describe the FMan Ethernet interfaces present on the board.

Signed-off-by: Camelia Groza <camelia.groza at nxp.com>
---
 arch/arm/dts/fsl-ls1046a-frwy.dts | 48 ++++++++++++++++++++++++++++++-
 1 file changed, 47 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/fsl-ls1046a-frwy.dts b/arch/arm/dts/fsl-ls1046a-frwy.dts
index cda05411d881..1e656d496025 100644
--- a/arch/arm/dts/fsl-ls1046a-frwy.dts
+++ b/arch/arm/dts/fsl-ls1046a-frwy.dts
@@ -2,7 +2,7 @@
 /*
  * Device Tree Include file for NXP Layerscape-1046A family SoC.
  *
- * Copyright 2019 NXP
+ * Copyright 2019-2023 NXP
  *
  */
 
@@ -34,3 +34,49 @@
 &i2c0 {
 	status = "okay";
 };
+
+#include "fsl-ls1046-post.dtsi"
+
+&fman0 {
+	ethernet at e0000 {
+		phy-handle = <&qsgmii_phy4>;
+		phy-connection-type = "qsgmii";
+		status = "okay";
+	};
+
+	ethernet at e8000 {
+		phy-handle = <&qsgmii_phy2>;
+		phy-connection-type = "qsgmii";
+		status = "okay";
+	};
+
+	ethernet at ea000 {
+		phy-handle = <&qsgmii_phy1>;
+		phy-connection-type = "qsgmii";
+		status = "okay";
+	};
+
+	ethernet at f2000 {
+		phy-handle = <&qsgmii_phy3>;
+		phy-connection-type = "qsgmii";
+		status = "okay";
+	};
+
+	mdio at fd000 {
+		qsgmii_phy1: ethernet-phy at 1c {
+			reg = <0x1c>;
+		};
+
+		qsgmii_phy2: ethernet-phy at 1d {
+			reg = <0x1d>;
+		};
+
+		qsgmii_phy3: ethernet-phy at 1e {
+			reg = <0x1e>;
+		};
+
+		qsgmii_phy4: ethernet-phy at 1f {
+			reg = <0x1f>;
+		};
+	};
+};
-- 
2.17.1



More information about the U-Boot mailing list