Re: [PATCH 5/5] arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable GMAC0 Ethernet
From: Andrew Lunn
Date: Wed Nov 25 2026 - 12:30:33 EST
On Thu, Nov 26, 2026 at 12:06:13AM +1100, Alastair D'Silva wrote:
> The Orange Pi 4 Pro connects A733 GMAC0 to a Motorcomm YT8531 Gigabit
> PHY over RGMII without PCB trace delays. Use phy-mode = "rgmii" rather
> than "rgmii-id" so PHY-side delays stay disabled and the MAC applies the
> calibrated TX (2160 ps) and RX (3780 ps) delays directly.
https://elixir.bootlin.com/linux/v6.15/source/Documentation/devicetree/bindings/net/ethernet-controller.yaml#L287
phy-mode describes the PCB. If the PCB has no delays, rgmii-id should
be used.
The MAC/PHY pair need to decide which of the two add the delays. This
is not decided by phy-mode.
3780 ps is also huge, much greater than the 2ns required by the
standard. It suggests something else is going on, maybe a clock is
inverted? Please investigate.
Andrew