Skip to content

Commit 564469d

Browse files
committed
Merge branch 'at91-4.14-trunk/net' into linux-4.14-at91
2 parents 4213f97 + 986475a commit 564469d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/net/ethernet/cadence/macb_main.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
39543961
static 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

Comments
 (0)