From: Han Gao The YT8531 PHY on SRD3-10 is not always ready 10 ms after its reset is released. When phylib configures the RGMII delays at that point, MDIO reads can still return 0xffff and the RX delay stays at its reset value. After the interface is reopened, the link comes up at 1 Gbit/s but received traffic is broken. Increase reset-deassert-us to 50 ms so that the PHY is ready before its registers are accessed. Fixes: 2c7ef3dc129f ("riscv: dts: sophgo: sg2044: Add ethernet control device") Cc: stable@vger.kernel.org Signed-off-by: Han Gao --- Give the YT8531 PHY on SRD3-10 50 ms after reset deassertion so that phylib can reliably program its RGMII delays. --- arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts index 88ddc8e793f62b4119b2df92ba6357c8e6e75c46..f80e703356e4df13aa1e755f6fc4dcf3984bd832 100644 --- a/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts +++ b/arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts @@ -47,7 +47,7 @@ phy0: phy@0 { reg = <0>; reset-gpios = <&porta 28 GPIO_ACTIVE_LOW>; reset-assert-us = <10000>; - reset-deassert-us = <10000>; + reset-deassert-us = <50000>; rx-internal-delay-ps = <2050>; }; }; --- base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244 change-id: 20261201-srd3-10-phy-reset-5abcc7829d95 Best regards, -- Han Gao