From: sbabic@denx.de
To: Hugo Villeneuve <hugo@hugovil.com>,u-boot@lists.denx.de
Subject: [PATCH v2 3/5] arm: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay
Date: Tue, 11 Jul 2023 21:42:12 +0200 (CEST) [thread overview]
Message-ID: <20230711194215.E30AF86902@phobos.denx.de> (raw)
In-Reply-To: <20230525210228.4164480-4-hugo@hugovil.com>
> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> While testing the ethernet interface on a Variscite symphony carrier
> board using an imx8mn SOM with an onboard ADIN1300 PHY (EC hardware
> configuration), the ethernet PHY is not detected.
> The ADIN1300 datasheet indicate that the "Management interface
> active (t4)" state is reached at most 5ms after the reset signal is
> deasserted.
> The device tree in Variscite custom git repository uses the following
> property:
> phy-reset-post-delay = <20>;
> Add a new MDIO property 'reset-deassert-us' of 20ms to have the same
> delay inside the ethphy node. Adding this property fixes the problem
> with the PHY detection.
> Note that this SOM can also have an Atheros AR8033 PHY. In this case,
> a 1ms deassert delay is sufficient. Add a comment to that effect.
> Fixes: c4c1ed68c1e8 ("imx8mn_var_som: Add support for Variscite
> VAR-SOM-MX8M-NANO board")
> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
next prev parent reply other threads:[~2023-07-11 19:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-25 21:02 [PATCH v2 0/5] imx8mn-var-som: fix ethernet for Variscite symphony board and imx8m nano SOM Hugo Villeneuve
2023-05-25 21:02 ` [PATCH v2 1/5] imx8mn-var-som: read and print SoM infos from eeprom on startup Hugo Villeneuve
2023-07-11 19:47 ` sbabic
2023-05-25 21:02 ` [PATCH v2 2/5] imx8mn-var-som: fix non-applied PHY reset-gpios properties Hugo Villeneuve
2023-07-11 19:46 ` sbabic
2023-05-25 21:02 ` [PATCH v2 3/5] arm: dts: imx8mn-var-som: fix PHY detection bug by adding deassert delay Hugo Villeneuve
2023-07-11 19:42 ` sbabic [this message]
2023-05-25 21:02 ` [PATCH v2 4/5] imx8mn-var-som: read eth MAC address from EEPROM Hugo Villeneuve
2023-07-11 19:46 ` sbabic
2023-05-25 21:02 ` [PATCH v2 5/5] imx8mn-var-som: adjust PHY reset gpios according to hardware configuration Hugo Villeneuve
2023-07-12 10:28 ` sbabic
2023-07-12 13:40 ` sbabic
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=20230711194215.E30AF86902@phobos.denx.de \
--to=sbabic@denx.de \
--cc=hugo@hugovil.com \
--cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.