[PATCH 1/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
Chukun Pan
amadeus at jmu.edu.cn
Tue Jan 20 02:00:01 PST 2026
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>
---
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
More information about the linux-riscv
mailing list