net: designware: Fix for use with current Linux device tree for Meson GX
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 27 Jan 2017 20:25:59 +0000 (21:25 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 7 Feb 2017 16:54:34 +0000 (10:54 -0600)
commit655217d968807a17df40fee3795e95bee92e5559
treefce8e7dabe7be970c184ed6d4f6cfb625792e40b
parent64631700645a90d5734e221e27717cc2227125b0
net: designware: Fix for use with current Linux device tree for Meson GX

In Uboot for Meson GX the compatible string in meson-gxbb.dtsi so far is:
compatible = "amlogic,meson6-dwmac", "snps,dwmac";

On Linux in the same dt file it's
compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac";

To avoid breaking ethernet with the next DT synch from Linux to U-Boot
(planned as prerequisite for adding Meson GX MMC driver to U-Boot) add
"amlogic,meson-gx-dwmac" to the compatibility list in the designware
driver.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/designware.c