public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi
@ 2026-01-20 10:00 Chukun Pan
  2026-01-20 10:00 ` [PATCH 1/1] " Chukun Pan
  2026-01-21  6:55 ` [PATCH 0/1] " Yixun Lan
  0 siblings, 2 replies; 4+ messages in thread
From: Chukun Pan @ 2026-01-20 10:00 UTC (permalink / raw)
  To: Yixun Lan
  Cc: Rob Herring, Paul Walmsley, Alexandre Ghiti, Albert Ou,
	Palmer Dabbelt, Conor Dooley, Krzysztof Kozlowski, linux-riscv,
	linux-kernel, devicetree, spacemit, Chukun Pan

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


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-21  6:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 10:00 [PATCH 0/1] riscv: dts: spacemit: Disable ETH PHY sleep mode for OrangePi Chukun Pan
2026-01-20 10:00 ` [PATCH 1/1] " Chukun Pan
2026-01-21  0:50   ` Yixun Lan
2026-01-21  6:55 ` [PATCH 0/1] " Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox