lkml.org 
[lkml]   [2021]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 48/58] ARM: dts: spear3xx: Fix gmac node
    Date
    From: Herve Codina <herve.codina@bootlin.com>

    [ Upstream commit 6636fec29cdf6665bd219564609e8651f6ddc142 ]

    On SPEAr3xx, ethernet driver is not compatible with the SPEAr600
    one.
    Indeed, SPEAr3xx uses an earlier version of this IP (v3.40) and
    needs some driver tuning compare to SPEAr600.

    The v3.40 IP support was added to stmmac driver and this patch
    fixes this issue and use the correct compatible string for
    SPEAr3xx

    Signed-off-by: Herve Codina <herve.codina@bootlin.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/spear3xx.dtsi | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/arm/boot/dts/spear3xx.dtsi b/arch/arm/boot/dts/spear3xx.dtsi
    index f266b7b03482..cc88ebe7a60c 100644
    --- a/arch/arm/boot/dts/spear3xx.dtsi
    +++ b/arch/arm/boot/dts/spear3xx.dtsi
    @@ -47,7 +47,7 @@
    };

    gmac: eth@e0800000 {
    - compatible = "st,spear600-gmac";
    + compatible = "snps,dwmac-3.40a";
    reg = <0xe0800000 0x8000>;
    interrupts = <23 22>;
    interrupt-names = "macirq", "eth_wake_irq";
    --
    2.33.0


    \
     
     \ /
      Last update: 2021-10-25 21:38    [W:4.213 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site