Skip to content

Commit 5164e95

Browse files
aiamadeusYixun Lan
authored andcommitted
riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
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>
1 parent 4083d8d commit 5164e95

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252

5353
rgmii0: phy@1 {
5454
reg = <0x1>;
55+
motorcomm,auto-sleep-disabled;
5556
};
5657
};
5758
};
@@ -75,6 +76,7 @@
7576

7677
rgmii1: phy@1 {
7778
reg = <0x1>;
79+
motorcomm,auto-sleep-disabled;
7880
};
7981
};
8082
};

arch/riscv/boot/dts/spacemit/k1-orangepi-rv2.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454

5555
rgmii0: phy@1 {
5656
reg = <0x1>;
57+
motorcomm,auto-sleep-disabled;
5758
};
5859
};
5960
};
@@ -77,6 +78,7 @@
7778

7879
rgmii1: phy@1 {
7980
reg = <0x1>;
81+
motorcomm,auto-sleep-disabled;
8082
};
8183
};
8284
};

0 commit comments

Comments
 (0)