[PATCH] net: phy: realtek: Add tx/rx delay config for 8211e
Tom Rini
trini at konsulko.com
Thu Nov 4 14:13:49 CET 2021
On Tue, Oct 12, 2021 at 09:07:32PM -0500, Samuel Holland wrote:
> Some boards need to change the tx/rx delay config in order for
> gigabit Ethernet to work.
>
> In Linux commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx
> delay config"), Realtek documented the bits for overriding the delays
> from the hardware straps.
>
> Copy the logic from linux, so the delay config is set from the PHY's
> interface type (the phy-mode property in the device tree).
>
> This removes the need for a one-off workaround for the Pine A64+ board.
>
> Signed-off-by: Samuel Holland <samuel at sholland.org>
> ---
> This change is needed for the Allwinner D1 Nezha board, which has
> incorrect hardware straps.
OK, so this breaks my pine64+. It's the 1GB memory model from the
original Kickstarter with an 8211e on it. My dhcp just times out now,
with this applied. Let me know if there's some specifics you want me to
try for debug or talk to me off-list and I can try and setup access to
the board for you.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211104/52d0b544/attachment.sig>
More information about the U-Boot
mailing list