[PATCH 1/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
Yixun Lan
dlan at kernel.org
Tue Jan 20 16:50:02 PST 2026
Hi Chukun,
On 18:00 Tue 20 Jan , Chukun Pan wrote:
> On the SpacemiT K1 platform, the MAC can't read statistics when the PHY
> clock stops. Disable Link Down Power Saving Mode for the YT8531C PHY on
> OrangePi R2S and RV2 boards to avoid reading statistics timeout logs.
>
> Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
Looks good to me
Reviewed-by: Yixun Lan <dlan at kernel.org>
> ---
> arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts | 2 ++
> arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> index 58098c4a2aab..de75f6aac740 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
> @@ -52,6 +52,7 @@ mdio-bus {
>
> rgmii0: phy at 1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> @@ -75,6 +76,7 @@ mdio-bus {
>
> rgmii1: phy at 1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> index 41dc8e35e6eb..7b7331cb3c72 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts
> @@ -54,6 +54,7 @@ mdio-bus {
>
> rgmii0: phy at 1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> @@ -77,6 +78,7 @@ mdio-bus {
>
> rgmii1: phy at 1 {
> reg = <0x1>;
> + motorcomm,auto-sleep-disabled;
> };
> };
> };
> --
> 2.25.1
>
--
Yixun Lan (dlan)
More information about the linux-riscv
mailing list