In general the delay should be added by the PHY instead of the MAC, and this improves network stability on some boards which seem to need different delay. Fixes: 387b3bbac5ea ("arm64: dts: rockchip: Add Xunlong OrangePi R1 Plus LTS") Cc: stable@xxxxxxxxxxxxxxx # 6.6+ Signed-off-by: Tianling Shen <cnsztl@xxxxxxxxx> Link: https://lore.kernel.org/r/20250119091154.1110762-1-cnsztl@xxxxxxxxx Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx> (cherry picked from commit a6a7cba17c544fb95d5a29ab9d9ed4503029cb29) [Fix conflicts due to missing dtsi conversion] Signed-off-by: Tianling Shen <cnsztl@xxxxxxxxx> --- .../arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts b/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts index 4237f2ee8fee..f57d4acd9807 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-orangepi-r1-plus-lts.dts @@ -15,9 +15,11 @@ / { }; &gmac2io { + /delete-property/ tx_delay; + /delete-property/ rx_delay; + phy-handle = <&yt8531c>; - tx_delay = <0x19>; - rx_delay = <0x05>; + phy-mode = "rgmii-id"; mdio { /delete-node/ ethernet-phy@1; -- 2.48.1