[PATCH V3] net: designware: socfpga: Add RGMII-ID support

Rufus Segar rhs at riseup.net
Wed Dec 4 12:21:27 CET 2024


This patch adds support for the "rgmii-id", "rgmii-rxid", and
"rgmii-txid" modes for the dwmac_socfpga driver.

Signed-off-by: Rufus Segar <rhs at riseup.net>
---
Changes for V2: Added signed-off-by line
Changes for V3: Changes subject prefix to "net: designware: socfpga:"

 drivers/net/dwmac_socfpga.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/dwmac_socfpga.c b/drivers/net/dwmac_socfpga.c
index bba3fc4d34..dcaf4132c5 100644
--- a/drivers/net/dwmac_socfpga.c
+++ b/drivers/net/dwmac_socfpga.c
@@ -106,6 +106,9 @@ static int dwmac_socfpga_probe(struct udevice *dev)
 		modereg = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_RMII;
 		break;
 	case PHY_INTERFACE_MODE_RGMII:
+	case PHY_INTERFACE_MODE_RGMII_ID:
+	case PHY_INTERFACE_MODE_RGMII_RXID:
+	case PHY_INTERFACE_MODE_RGMII_TXID:
 		modereg = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_RGMII;
 		break;
 	default:
-- 
2.47.0



More information about the U-Boot mailing list