Commit 321d17c1 authored by Chris Packham's avatar Chris Packham Committed by Borislav Petkov

EDAC, mpc85xx: Add T2080 l2-cache support

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: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: default avatarJohannes Thumshirn <jth@kernel.org>
Acked-by: default avatarMichael 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.nzSigned-off-by: default avatarBorislav Petkov <bp@suse.de>
parent 1bd9900b
...@@ -678,5 +678,6 @@ L2_1: l2-cache-controller@c20000 { ...@@ -678,5 +678,6 @@ L2_1: l2-cache-controller@c20000 {
compatible = "fsl,t2080-l2-cache-controller"; compatible = "fsl,t2080-l2-cache-controller";
reg = <0xc20000 0x40000>; reg = <0xc20000 0x40000>;
next-level-cache = <&cpc>; next-level-cache = <&cpc>;
interrupts = <16 2 1 9>;
}; };
}; };
...@@ -629,6 +629,7 @@ static const struct of_device_id mpc85xx_l2_err_of_match[] = { ...@@ -629,6 +629,7 @@ static const struct of_device_id mpc85xx_l2_err_of_match[] = {
{ .compatible = "fsl,p1020-l2-cache-controller", }, { .compatible = "fsl,p1020-l2-cache-controller", },
{ .compatible = "fsl,p1021-l2-cache-controller", }, { .compatible = "fsl,p1021-l2-cache-controller", },
{ .compatible = "fsl,p2020-l2-cache-controller", }, { .compatible = "fsl,p2020-l2-cache-controller", },
{ .compatible = "fsl,t2080-l2-cache-controller", },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, mpc85xx_l2_err_of_match); MODULE_DEVICE_TABLE(of, mpc85xx_l2_err_of_match);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment