]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
authorChukun Pan <amadeus@jmu.edu.cn>
Tue, 20 Jan 2026 10:00:01 +0000 (18:00 +0800)
committerYixun Lan <dlan@kernel.org>
Wed, 21 Jan 2026 00:52:03 +0000 (08:52 +0800)
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@jmu.edu.cn>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Link: https://lore.kernel.org/r/20260120100001.1285624-2-amadeus@jmu.edu.cn
Signed-off-by: Yixun Lan <dlan@kernel.org>
arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts
arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts

index 58098c4a2aabdab5be59ca2fa957ac59b0486338..de75f6aac740553da3dd0596819d89c66990c819 100644 (file)
@@ -52,6 +52,7 @@
 
                rgmii0: phy@1 {
                        reg = <0x1>;
+                       motorcomm,auto-sleep-disabled;
                };
        };
 };
@@ -75,6 +76,7 @@
 
                rgmii1: phy@1 {
                        reg = <0x1>;
+                       motorcomm,auto-sleep-disabled;
                };
        };
 };
index 41dc8e35e6ebe4c00bdfa69b8a62f0e1d23d319a..7b7331cb3c726f11d597f81917f3a3f5fc21e1b9 100644 (file)
@@ -54,6 +54,7 @@
 
                rgmii0: phy@1 {
                        reg = <0x1>;
+                       motorcomm,auto-sleep-disabled;
                };
        };
 };
@@ -77,6 +78,7 @@
 
                rgmii1: phy@1 {
                        reg = <0x1>;
+                       motorcomm,auto-sleep-disabled;
                };
        };
 };