diff options
author | Christophe Roullier <christophe.roullier@st.com> | 2018-05-25 09:46:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-28 23:08:29 -0400 |
commit | 026e57585ff1598499bba119fe57306b83011f95 (patch) | |
tree | 243b75b970984ff06aa56d97adda6ce93344104f /drivers | |
parent | 1f3feacbfd48a3fa740e3561c9b7cbc8cf694d1f (diff) | |
download | linux-stable-026e57585ff1598499bba119fe57306b83011f95.tar.gz linux-stable-026e57585ff1598499bba119fe57306b83011f95.tar.bz2 linux-stable-026e57585ff1598499bba119fe57306b83011f95.zip |
net: stmmac: add dwmac-4.20a compatible
Manage dwmac-4.20a version from synopsys
Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index ebd3e5ffa73c..6d141f3931eb 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -472,7 +472,8 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac) } if (of_device_is_compatible(np, "snps,dwmac-4.00") || - of_device_is_compatible(np, "snps,dwmac-4.10a")) { + of_device_is_compatible(np, "snps,dwmac-4.10a") || + of_device_is_compatible(np, "snps,dwmac-4.20a")) { plat->has_gmac4 = 1; plat->has_gmac = 0; plat->pmt = 1; |