[config 2 support v1 0/1] Add support for distinct mac-mode and phy mode.

Boon Khai Ng boon.khai.ng at intel.com
Fri Jan 17 07:14:01 CET 2025


This patch adds support for configuring the ethernet MAC mode independently
from the PHY mode on our SoC FPGA board. Specifically, this is necessary
for a scenario where the ethernet controller MAC is connected to the
FPGA HVIO with a different GMII interface, and the FPGA output is routed
to the PHY using a RGMII interface.

To support this configuration, a mechanism is introduced to handle
separate MAC mode settings, ensuring that the MAC controller and PHY
can operate correctly with their respective interface modes.

If mac-mode is not defined, the MAC mode will default to the PHY mode,
ensuring compatibility and proper operation between the MAC and PHY.

Boon Khai Ng (1):
  net: dwc_eth_xgmac_socfpga: Add support for distinct mac-mode and phy
    mode.

 drivers/net/dwc_eth_xgmac_socfpga.c | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

-- 
2.26.2



More information about the U-Boot mailing list