Commit 9bae0dd0 authored by Durai Manickam KR's avatar Durai Manickam KR Committed by Jakub Kicinski

net: macb: Add PTP support to EMAC for sama7g5

Add PTP capability to the Ethernet MAC.
Signed-off-by: default avatarDurai Manickam KR <durai.manickamkr@microchip.com>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Reviewed-by: default avatarMichal Swiatkowski <michal.swiatkowski@linux.intel.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent abc783a7
...@@ -4853,7 +4853,8 @@ static const struct macb_config sama7g5_gem_config = { ...@@ -4853,7 +4853,8 @@ static const struct macb_config sama7g5_gem_config = {
static const struct macb_config sama7g5_emac_config = { static const struct macb_config sama7g5_emac_config = {
.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII | .caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII |
MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII, MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_MIIONRGMII |
MACB_CAPS_GEM_HAS_PTP,
.dma_burst_length = 16, .dma_burst_length = 16,
.clk_init = macb_clk_init, .clk_init = macb_clk_init,
.init = macb_init, .init = macb_init,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment