@@ -3951,6 +3951,13 @@ static const struct macb_config at91sam9260_config = {
39513951 .init = macb_init ,
39523952};
39533953
3954+ static const struct macb_config sama5d3macb_config = {
3955+ .caps = MACB_CAPS_SG_DISABLED
3956+ | MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII ,
3957+ .clk_init = macb_clk_init ,
3958+ .init = macb_init ,
3959+ };
3960+
39543961static const struct macb_config pc302gem_config = {
39553962 .caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE ,
39563963 .dma_burst_length = 16 ,
@@ -4019,6 +4026,7 @@ static const struct of_device_id macb_dt_ids[] = {
40194026 { .compatible = "cdns,gem" , .data = & pc302gem_config },
40204027 { .compatible = "atmel,sama5d2-gem" , .data = & sama5d2_config },
40214028 { .compatible = "atmel,sama5d3-gem" , .data = & sama5d3_config },
4029+ { .compatible = "atmel,sama5d3-macb" , .data = & sama5d3macb_config },
40224030 { .compatible = "atmel,sama5d4-gem" , .data = & sama5d4_config },
40234031 { .compatible = "cdns,at91rm9200-emac" , .data = & emac_config },
40244032 { .compatible = "cdns,emac" , .data = & emac_config },
0 commit comments