EDAC, mpc85xx: Add T2080 l2-cache support
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Wed, 1 Feb 2017 23:16:24 +0000 (12:16 +1300)
committerBorislav Petkov <bp@suse.de>
Fri, 3 Feb 2017 09:36:35 +0000 (10:36 +0100)
The L2 cache controller on the T2080 SoC has similar capabilities to the
others already supported by the mpc85xx_edac driver. Add it to the list
of compatible devices.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: devicetree@vger.kernel.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/20170201231624.28843-1-chris.packham@alliedtelesis.co.nz
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
drivers/edac/mpc85xx_edac.c

index c744569a20e10d794bd47d1641d98fc5a83fd85a..a97296c64eb2227027b4d4ee6d3c4f2e033d075e 100644 (file)
                compatible = "fsl,t2080-l2-cache-controller";
                reg = <0xc20000 0x40000>;
                next-level-cache = <&cpc>;
+               interrupts = <16 2 1 9>;
        };
 };
index 8f66cbed70b75b97bdf0492f1f0b0599911649a1..67f7bc3fe5b3b623b108fddc8cb57ec6ba304ade 100644 (file)
@@ -629,6 +629,7 @@ static const struct of_device_id mpc85xx_l2_err_of_match[] = {
        { .compatible = "fsl,p1020-l2-cache-controller", },
        { .compatible = "fsl,p1021-l2-cache-controller", },
        { .compatible = "fsl,p2020-l2-cache-controller", },
+       { .compatible = "fsl,t2080-l2-cache-controller", },
        {},
 };
 MODULE_DEVICE_TABLE(of, mpc85xx_l2_err_of_match);