net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP
authorAlexandre TORGUE <alexandre.torgue@gmail.com>
Mon, 29 Aug 2016 16:23:40 +0000 (18:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 21:03:40 +0000 (14:03 -0700)
Adds support of Synopsys 3.50a MAC IP in stmmac driver.

Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Tested-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

index 756bb548e81a717c70f0b994d4054b33063742aa..0a0d6a86f3979d260e2cda42282503e0d50e59ec 100644 (file)
@@ -265,6 +265,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac)
         * once needed on other platforms.
         */
        if (of_device_is_compatible(np, "st,spear600-gmac") ||
+               of_device_is_compatible(np, "snps,dwmac-3.50a") ||
                of_device_is_compatible(np, "snps,dwmac-3.70a") ||
                of_device_is_compatible(np, "snps,dwmac")) {
                /* Note that the max-frame-size parameter as defined in the