net: stmmac: Add UltraRISC DP1000 GMAC support

The UltraRISC DP1000 GMAC provides fixed internal delays on both TX and RX
RGMII clock paths.

Add a platform glue driver and describe both delay capabilities through
the common stmmac platform data. This lets the common RGMII delay handling
adjust the interface mode passed to the PHY and reject incompatible RGMII
modes.

Signed-off-by: Jia Wang <wangjia@ultrarisc.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20260907-dwmac-ultrarisc-v2-5-9a39bf8db313@ultrarisc.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
Jia Wang 2026-09-07 15:46:54 +08:00 • committed by Paolo Abeni
commit c6ff098cb6
4 changed files with 65 additions and 0 deletions