net: cadence: macb: Enable RMII for SAMA7 gem
This macro enables the RMII mode bit in the USRIO register when RMII mode is requested. Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com> Link: https://patch.msgid.link/6698836e4ee7df5f6bee181f0d2e38d4b8e4cec2.1752510727.git.Ryan.Wanner@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
dce32ece3b
commit
eb4f50ddfd
@@ -5103,6 +5103,7 @@ static const struct macb_config mpfs_config = {
|
||||
|
||||
static const struct macb_config sama7g5_gem_config = {
|
||||
.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_CLK_HW_CHG |
|
||||
MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII |
|
||||
MACB_CAPS_MIIONRGMII | MACB_CAPS_GEM_HAS_PTP,
|
||||
.dma_burst_length = 16,
|
||||
.clk_init = macb_clk_init,
|
||||
|
||||
Reference in New Issue
Block a user