mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	 BAREBOX <barebox@lists.infradead.org>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
	 Michael Tretter <m.tretter@pengutronix.de>
Subject: [PATCH v2] ARM: dts: socfpga: AXE5-Eagle: fix phy reset
Date: Tue, 12 May 2026 14:42:55 +0200	[thread overview]
Message-ID: <20260512-socfpga-agilex5-dwmac-v2-1-f1008a19eb27@pengutronix.de> (raw)

The snps,reset-gpio is a property of the Synopsys DesignWare MAC and
belongs into the gmac node. However, this property is deprecated and
shall be replaced by regular gpio reset at the phy.

Switch the PHY to a proper reset-gpios property.

While at it, move the reset-gpios property below the reg property.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
Changes in v2:
- Remove deprecated binding and switch to reset-gpios
- Link to v1: https://patch.msgid.link/20260422-socfpga-agilex5-dwmac-v1-1-648a33bd9ec2@pengutronix.de
---
Changes in v2:
- Remove deprecated binding and switch to reset-gpios
---
 arch/arm/dts/socfpga_agilex5_axe5_eagle.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/socfpga_agilex5_axe5_eagle.dts b/arch/arm/dts/socfpga_agilex5_axe5_eagle.dts
index 16491323da6c..4cae3979e166 100644
--- a/arch/arm/dts/socfpga_agilex5_axe5_eagle.dts
+++ b/arch/arm/dts/socfpga_agilex5_axe5_eagle.dts
@@ -81,9 +81,10 @@ mdio0 {
 		#size-cells = <0>;
 		compatible = "snps,dwmac-mdio";
 		emac2_phy0: ethernet-phy@1 {
-			snps,reset-gpio = <&portb 10 GPIO_ACTIVE_LOW>;
-			snps,reset-delays-us = <0 10000 10000>;
 			reg = <0x1>;
+			reset-gpios = <&portb 10 GPIO_ACTIVE_LOW>;
+			reset-assert-us = <10000>;
+			reset-deassert-us = <10000>;
 			adi,rx-internal-delay-ps = <2000>;
 			adi,tx-internal-delay-ps = <2000>;
 		};

---
base-commit: 2cb5e0014a37160731ad6eb6d7f7d846394db362
change-id: 20260422-socfpga-agilex5-dwmac-9d45a7c123a8

Best regards,
-- 
Michael Tretter <m.tretter@pengutronix.de>




             reply	other threads:[~2026-05-12 12:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-12 12:42 Michael Tretter [this message]
2026-05-13  5:50 ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260512-socfpga-agilex5-dwmac-v2-1-f1008a19eb27@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    --cc=s.trumtrar@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox