public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/3] board: sophgo: milkv_duo: Add ethernet support for Milk-V Duo board
@ 2024-03-10  5:56 Kongyang Liu
  2024-03-10  5:56 ` [PATCH 1/3] board: milkv_duo: Add init code for Milk-V Duo ethernet Kongyang Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Kongyang Liu @ 2024-03-10  5:56 UTC (permalink / raw)
  To: u-boot
  Cc: Baruch Siach, Joe Hershberger, Jonas Karlman, Kever Yang, Leo,
	Nils Le Roux, Ramon Fried, Rick Chen, Sean Anderson, Simon Glass,
	Tom Rini

This series add init code for cv1800b ethernet phy and enable ethernet
support for Sophgo Milk-V Duo board.

In cv1800b, due to the PHY register phy_id being initialized to 0, it is
necessary to initialize the PHY before the ethernet driver initialization.
Therefore, the initialization code is placed in the board_init function.

Duo to modification of dts and defconfig, This series depends on the series:
https://lore.kernel.org/all/20240309175330.79267-1-seashell11234455@gmail.com/


Kongyang Liu (3):
  board: milkv_duo: Add init code for Milk-V Duo ethernet
  riscv: dts: sophgo: Add ethernet node
  configs: milkv_duo: Add ethernet configs

 arch/riscv/dts/cv18xx.dtsi        |  6 +++
 board/sophgo/milkv_duo/Makefile   |  3 +-
 board/sophgo/milkv_duo/board.c    |  4 ++
 board/sophgo/milkv_duo/ethernet.c | 79 +++++++++++++++++++++++++++++++
 board/sophgo/milkv_duo/ethernet.h | 11 +++++
 configs/milkv_duo_defconfig       |  4 ++
 drivers/net/designware.c          |  1 +
 7 files changed, 107 insertions(+), 1 deletion(-)
 create mode 100644 board/sophgo/milkv_duo/ethernet.c
 create mode 100644 board/sophgo/milkv_duo/ethernet.h

-- 
2.41.0


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

end of thread, other threads:[~2024-03-15  2:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-10  5:56 [PATCH 0/3] board: sophgo: milkv_duo: Add ethernet support for Milk-V Duo board Kongyang Liu
2024-03-10  5:56 ` [PATCH 1/3] board: milkv_duo: Add init code for Milk-V Duo ethernet Kongyang Liu
2024-03-12  9:50   ` Leo Liang
2024-03-10  5:56 ` [PATCH 2/3] riscv: dts: sophgo: Add ethernet node Kongyang Liu
2024-03-12  9:59   ` Leo Liang
2024-03-12 13:20     ` Conor Dooley
2024-03-15  2:18       ` Kongyang Liu
2024-03-15  2:06     ` Kongyang Liu
2024-03-10  5:56 ` [PATCH 3/3] configs: milkv_duo: Add ethernet configs Kongyang Liu
2024-03-12 10:00   ` Leo Liang

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