[PATCH v3 2/2] ethernet: eswin: Add eic7700 ethernet driver
Andrew Lunn
andrew at lunn.ch
Tue Jul 22 07:07:23 PDT 2025
> In v2, `eswin,dly-param-xxx` is used to configure all delay registers via
> device tree, including RXCLK and TXCLK. Based on the latest discussion,
> this approach in the next version:
> - The delay configuration for RXCLK and TXCLK will be handled using the
> standard DT properties `rx-internal-delay-ps` and `tx-internal-delay-ps`.
> - The remaining delay configuration (e.g., for RXD0-4, TXD0-4, RXDV) will
> continue to use the vendor-specific `eswin,dly-param-xxx` properties.
> - If the standard delay properties are not specified in DT, a default of 0
> ps
> will be assumed.
Please keep the RGMII standard in mind. All it says is that there
should be a 2ns delay between the data and the clock signal. It is
also quite generous on the range of delays which should actually
work. It says nothing about being able to configure that delay. And it
definitely says nothing about being able to configure each individual
single.
You hardware has a lot of flexibility, but none of if should actually
be needed, if you follow the standard.
So phy-mode = "rgmii-id"; should be all you need for most boards.
Everything else should be optional, with sensible defaults.
Andrew
More information about the linux-arm-kernel
mailing list