[PATCH 0/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi

Chukun Pan posted 1 patch 2 weeks, 4 days ago
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(+)
[PATCH 0/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
Posted by Chukun Pan 2 weeks, 4 days ago
On OrangePi R2S and RV2 boards, when the interface link down,
reading statistics will print several timeout logs:

root@OpenWrt:~# ethtool -S eth1
[   71.725539] k1_emac cac81000.ethernet eth1: Read stat timeout
NIC statistics:
     rx_drp_fifo_full_pkts: 0
     rx_truncate_fifo_full_pkts: 0

Both OrangePi R2S and RV2 use the YT8531C PHY. The same issue occurs
when enabling ALDPS mode (Link Down Power Saving Mode) on other boards
that use the RTL8211F PHY, such as the BananaPi BPI-F3 board [1].

So disable PHY sleep mode for OrangePi R2S and RV2 to avoid this problem.

[1] https://lore.kernel.org/all/f63d455c-7593-4382-86ef-9c31a1ebd283@iscas.ac.cn/

Chukun Pan (1):
  riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi

 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(+)

-- 
2.25.1
Re: [PATCH 0/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
Posted by Yixun Lan 2 weeks, 4 days ago
On Tue, 20 Jan 2026 18:00:00 +0800, Chukun Pan wrote:
> On OrangePi R2S and RV2 boards, when the interface link down,
> reading statistics will print several timeout logs:
> 
> root@OpenWrt:~# ethtool -S eth1
> [   71.725539] k1_emac cac81000.ethernet eth1: Read stat timeout
> NIC statistics:
>      rx_drp_fifo_full_pkts: 0
>      rx_truncate_fifo_full_pkts: 0
> 
> [...]

Applied, thanks!

[1/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
      https://github.com/spacemit-com/linux/commit/5164e95565d3fd508ca8a95351323f5716dfb695

Best regards,
-- 
Yixun Lan <dlan@kernel.org>