diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2019-10-07 19:10:50 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-07 13:23:49 -0400 |
commit | 2a7232371ab27e13f9d131a25111e951c3c729dd (patch) | |
tree | 156241808b68f8bfed09059cf32e95a1a9040c8b /arch/arc | |
parent | 879396a2405d394573307adf16763cbe769c35f2 (diff) | |
download | u-boot-2a7232371ab27e13f9d131a25111e951c3c729dd.tar.gz |
NET: DW: fix regression for ARC boards
The commit
642b80d256e ("net: designware: drop compatible altr, socfpga-stmmac")
breaks designware ethernet for all ARC boards. It removes
"altr, socfpga-stmmac" compatible from "drivers/net/designware.c"
without changing compatible in the boards which use it.
Fix that by adding "snps,arc-dwmac-3.70a" compatible string to
"drivers/net/designware.c" and using it in ARC boards device tree.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/dts/axs10x_mb.dtsi | 2 | ||||
-rw-r--r-- | arch/arc/dts/hsdk.dts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/dts/axs10x_mb.dtsi b/arch/arc/dts/axs10x_mb.dtsi index 6d97de9fd8..5b77642b8d 100644 --- a/arch/arc/dts/axs10x_mb.dtsi +++ b/arch/arc/dts/axs10x_mb.dtsi @@ -53,7 +53,7 @@ }; ethernet@18000 { - compatible = "altr,socfpga-stmmac"; + compatible = "snps,arc-dwmac-3.70a"; reg = < 0x18000 0x2000 >; phy-mode = "gmii"; snps,pbl = < 32 >; diff --git a/arch/arc/dts/hsdk.dts b/arch/arc/dts/hsdk.dts index 7028050447..34ef3a620a 100644 --- a/arch/arc/dts/hsdk.dts +++ b/arch/arc/dts/hsdk.dts @@ -71,7 +71,7 @@ ethernet@f0008000 { #interrupt-cells = <1>; - compatible = "altr,socfpga-stmmac"; + compatible = "snps,arc-dwmac-3.70a"; reg = <0xf0008000 0x2000>; phy-mode = "gmii"; }; |