diff options
author | Boon Khai Ng <boon.khai.ng@intel.com> | 2025-01-17 14:14:02 +0800 |
---|---|---|
committer | Tien Fong Chee <tien.fong.chee@intel.com> | 2025-01-24 09:56:22 +0800 |
commit | 1130ad4ee4ae2cb986b470b2019a4ffc6b921e9a (patch) | |
tree | db5db2751bc05ba31c475a1e9ae670eb33f73490 /drivers/fpga/intel_sdm_mb.c | |
parent | d22da11742ca34bc4059f2ccc5b6cdd27a6a688e (diff) |
net: dwc_eth_xgmac_socfpga: Add support for distinct mac-mode and phy mode.
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.
Signed-off-by: Boon Khai Ng <boon.khai.ng@intel.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>
Diffstat (limited to 'drivers/fpga/intel_sdm_mb.c')
0 files changed, 0 insertions, 0 deletions