File restore-ethernet-devices.patch of Package uboot-imx

From c3b71c77bd42520a5184082707850c14439c270b Mon Sep 17 00:00:00 2001
From: dewit <dewit@inventeers.nl>
Date: Tue, 26 Aug 2025 14:33:32 +0200
Subject: [PATCH] restore ethernet devices

---
 arch/arm/dts/imx93-11x11-frdm-u-boot.dtsi | 22 +++----
 arch/arm/dts/imx93-11x11-frdm.dts         | 78 +++++++++++------------
 2 files changed, 50 insertions(+), 50 deletions(-)

diff --git a/arch/arm/dts/imx93-11x11-frdm-u-boot.dtsi b/arch/arm/dts/imx93-11x11-frdm-u-boot.dtsi
index b9b5fb6b5b4..c91ea87da89 100644
--- a/arch/arm/dts/imx93-11x11-frdm-u-boot.dtsi
+++ b/arch/arm/dts/imx93-11x11-frdm-u-boot.dtsi
@@ -165,17 +165,17 @@
 	bootph-pre-ram;
 };
 
-// &fec {
-// 	phy-reset-gpios = <&pcal6524 16 GPIO_ACTIVE_LOW>;
-// 	phy-reset-duration = <15>;
-// 	phy-reset-post-delay = <100>;
-// };
-
-// &ethphy1 {
-// 	reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>;
-// 	reset-assert-us = <15000>;
-// 	reset-deassert-us = <100000>;
-// };
+&fec {
+	phy-reset-gpios = <&pcal6524 16 GPIO_ACTIVE_LOW>;
+	phy-reset-duration = <15>;
+	phy-reset-post-delay = <100>;
+};
+
+&ethphy1 {
+	reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>;
+	reset-assert-us = <15000>;
+	reset-deassert-us = <100000>;
+};
 
 &usbotg1 {
 	status = "okay";
diff --git a/arch/arm/dts/imx93-11x11-frdm.dts b/arch/arm/dts/imx93-11x11-frdm.dts
index 6da60393cf4..6f2ac061af9 100644
--- a/arch/arm/dts/imx93-11x11-frdm.dts
+++ b/arch/arm/dts/imx93-11x11-frdm.dts
@@ -95,45 +95,45 @@
 	status = "okay";
 };
 
-// &eqos {
-// 	pinctrl-names = "default";
-// 	pinctrl-0 = <&pinctrl_eqos>;
-// 	phy-mode = "rgmii-id";
-// 	phy-handle = <&ethphy1>;
-// 	status = "okay";
-
-// 	mdio {
-// 		compatible = "snps,dwmac-mdio";
-// 		#address-cells = <1>;
-// 		#size-cells = <0>;
-// 		clock-frequency = <5000000>;
-
-// 		ethphy1: ethernet-phy@1 {
-// 			reg = <1>;
-// 			eee-broken-1000t;
-// 		};
-// 	};
-// };
-
-// &fec {
-// 	pinctrl-names = "default";
-// 	pinctrl-0 = <&pinctrl_fec>;
-// 	phy-mode = "rgmii-id";
-// 	phy-handle = <&ethphy2>;
-// 	fsl,magic-packet;
-// 	status = "okay";
-
-// 	mdio {
-// 		#address-cells = <1>;
-// 		#size-cells = <0>;
-// 		clock-frequency = <5000000>;
-
-// 		ethphy2: ethernet-phy@2 {
-// 			reg = <2>;
-// 			eee-broken-1000t;
-// 		};
-// 	};
-// };
+&eqos {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_eqos>;
+	phy-mode = "rgmii-id";
+	phy-handle = <&ethphy1>;
+	status = "okay";
+
+	mdio {
+		compatible = "snps,dwmac-mdio";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clock-frequency = <5000000>;
+
+		ethphy1: ethernet-phy@1 {
+			reg = <1>;
+			eee-broken-1000t;
+		};
+	};
+};
+
+&fec {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_fec>;
+	phy-mode = "rgmii-id";
+	phy-handle = <&ethphy2>;
+	fsl,magic-packet;
+	status = "okay";
+
+	mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clock-frequency = <5000000>;
+
+		ethphy2: ethernet-phy@2 {
+			reg = <2>;
+			eee-broken-1000t;
+		};
+	};
+};
 
 &lcdif {
 	status = "okay";
-- 
2.51.0.windows.1

openSUSE Build Service is sponsored by