Re: [PATCH 5/5] arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable GMAC0 Ethernet
From: Andrew Lunn
Date: Wed Nov 25 2026 - 16:26:46 EST
> For v2, I will switch the board DTS to phy-mode = "rgmii-id".
Good.
> and drop
> tx-internal-delay-ps so the YT8531 PHY provides the standard ~2 ns
> delays,
Good.
> while keeping ERXIE = 0 and setting rx-internal-delay-ps = <2160>
> to compensate for the RX clock phase (matching existing dwmac-sun55i
> boards).
Not good. Please fix the clock inversion. Since this is a new
compatible, there is no need to preserve old broken behaviour.
The majority of boards should not need rx|tx-internal-delay-ps. The
RGMII standard says there needs to be 2ns. phy-mode rgmii-id means the
MAC/PHY pair will add 2ns. That is typically all that is needed.
rx|tx-internal-delay-ps are only really needed for badly designed
boards where the lines have not been kept equal length.
Andrew