@@ -2905,6 +2905,13 @@ static const struct macb_config at91sam9260_config = {
29052905 .init = macb_init ,
29062906};
29072907
2908+ static const struct macb_config sama5d3macb_config = {
2909+ .caps = MACB_CAPS_SG_DISABLED
2910+ | MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII ,
2911+ .clk_init = macb_clk_init ,
2912+ .init = macb_init ,
2913+ };
2914+
29082915static const struct macb_config pc302gem_config = {
29092916 .caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE ,
29102917 .dma_burst_length = 16 ,
@@ -2969,6 +2976,7 @@ static const struct of_device_id macb_dt_ids[] = {
29692976 { .compatible = "cdns,gem" , .data = & pc302gem_config },
29702977 { .compatible = "atmel,sama5d2-gem" , .data = & sama5d2_config },
29712978 { .compatible = "atmel,sama5d3-gem" , .data = & sama5d3_config },
2979+ { .compatible = "atmel,sama5d3-macb" , .data = & sama5d3macb_config },
29722980 { .compatible = "atmel,sama5d4-gem" , .data = & sama5d4_config },
29732981 { .compatible = "cdns,at91rm9200-emac" , .data = & emac_config },
29742982 { .compatible = "cdns,emac" , .data = & emac_config },
0 commit comments