From: Marek Vasut <marex@denx.de>
Date: Sat, 25 Jul 2015 16:38:44 +0000 (+0200)
Subject: net: designware: Add SoCFPGA GMAC DT compatible string
X-Git-Tag: v2025.01-rc5-pxa1908~12377
X-Git-Url: http://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=b9628595b40ec30e1b60ef437127a7b332ee4835;p=u-boot.git

net: designware: Add SoCFPGA GMAC DT compatible string

Add the OF compatible property to match the SoCFPGA GMAC.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
---

diff --git a/drivers/net/designware.c b/drivers/net/designware.c
index bcae842389..cadf3c8e5d 100644
--- a/drivers/net/designware.c
+++ b/drivers/net/designware.c
@@ -608,6 +608,7 @@ static int designware_eth_ofdata_to_platdata(struct udevice *dev)
 
 static const struct udevice_id designware_eth_ids[] = {
 	{ .compatible = "allwinner,sun7i-a20-gmac" },
+	{ .compatible = "altr,socfpga-stmmac" },
 	{ }
 };