aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/designware.c
diff options
context:
space:
mode:
authorKongyang Liu2024-04-20 15:00:27 +0800
committerLeo Yu-Chi Liang2024-05-01 22:46:39 +0800
commitf874dec10a68741e8d6ba5c250b7763c1d526eaa (patch)
treeaffd2977c0d8872e2345d808e5f965dd354ba582 /drivers/net/designware.c
parentb49861ab85909ce27ddc7b25f45b33b545048567 (diff)
board: milkv_duo: Add init code for Milk-V Duo ethernet
Initialize register in cv1800b ethernet phy to make it compatible with generic phy driver Signed-off-by: Kongyang Liu <seashell11234455@gmail.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'drivers/net/designware.c')
-rw-r--r--drivers/net/designware.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index 4c1642b29a8..682045cea2c 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -871,6 +871,7 @@ static const struct udevice_id designware_eth_ids[] = {
{ .compatible = "amlogic,meson6-dwmac" },
{ .compatible = "st,stm32-dwmac" },
{ .compatible = "snps,arc-dwmac-3.70a" },
+ { .compatible = "sophgo,cv1800b-dwmac" },
{ }
};