On Wed, Jun 10, 2020 at 10:12:37AM +0200, Helmut Grohne wrote: > Hi, > > I've been trying to write a dt for a board and got quite confused about > the RGMII delays. That's why I looked into it and got even more confused > by what I found. Different drivers handle this quite differently. Let me > summarize.
Hi Helmut In general, in DT, put what you want the PHY to do. If the PCB does not add the delay, use rgmii-id. If the PCB does add the delay, then use rgmii. It is quite confusing, we have had bugs, and some drivers just do odd things. In general, the MAC should not add delays. The PHY should add delays, based on what is passed via DT. This assumes the PHY actually implements the delays, which most PHYs do. What exact hardware are you using? Andrew