Skip to content

Commit c66a549

Browse files
ryan-wannerNipaLocal
authored andcommitted
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> Signed-off-by: NipaLocal <nipa@local>
1 parent f69e9ca commit c66a549

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/cadence/macb_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5103,6 +5103,7 @@ static const struct macb_config mpfs_config = {
51035103

51045104
static const struct macb_config sama7g5_gem_config = {
51055105
.caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_CLK_HW_CHG |
5106+
MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII |
51065107
MACB_CAPS_MIIONRGMII | MACB_CAPS_GEM_HAS_PTP,
51075108
.dma_burst_length = 16,
51085109
.clk_init = macb_clk_init,

0 commit comments

Comments
 (0)