File move-gpio-def.patch of Package uboot-imx

From 2eeb3e48617f32ac984bbd5878af5354f892578b Mon Sep 17 00:00:00 2001
From: dewit <dewit@inventeers.nl>
Date: Fri, 29 Aug 2025 14:04:57 +0200
Subject: [PATCH] move-gpio-def

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

diff --git a/arch/arm/dts/imx93-11x11-frdm-u-boot.dtsi b/arch/arm/dts/imx93-11x11-frdm-u-boot.dtsi
index 94a740766c4..b07b6785bc7 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 = <&gpio4 27 GPIO_ACTIVE_LOW>;
-	phy-reset-duration = <15>;
-	phy-reset-post-delay = <100>;
-};
-
-&ethphy1 {
- 	reset-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
- 	reset-assert-us = <15000>;
- 	reset-deassert-us = <100000>;
-};
+// &fec {
+// 	phy-reset-gpios = <&gpio4 27 GPIO_ACTIVE_LOW>;
+// 	phy-reset-duration = <15>;
+// 	phy-reset-post-delay = <100>;
+// };
+
+// &ethphy1 {
+// 	reset-gpios = <&gpio3 29 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 1ceef8fd749..5e8fd2907c0 100644
--- a/arch/arm/dts/imx93-11x11-frdm.dts
+++ b/arch/arm/dts/imx93-11x11-frdm.dts
@@ -110,8 +110,12 @@
 		clock-frequency = <5000000>;
 
 		ethphy1: ethernet-phy@1 {
+            compatible = "ti,dp83822";
 			reg = <1>;
 			eee-broken-1000t;
+            reset-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
+		    reset-assert-us = <10000>;
+		    reset-deassert-us = <80000>;
 		};
 	};
 };
@@ -134,6 +138,9 @@
             compatible = "ti,dp83822";
 			reg = <1>;
 			eee-broken-1000t;
+            reset-gpios = <&gpio4 27 GPIO_ACTIVE_LOW>;
+		    reset-assert-us = <10000>;
+		    reset-deassert-us = <80000>;
 		};
 	};
 };
-- 
2.51.0.windows.1

openSUSE Build Service is sponsored by