diff mbox

[v5,4/4] arm64: Add APM X-Gene SoC EDAC DTS entries

Message ID 1408778588-3215-5-git-send-email-lho@apm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Loc Ho Aug. 23, 2014, 7:23 a.m. UTC
This patch adds APM X-Gene SoC EDAC DTS entries.

Signed-off-by: Feng Kan <fkan@apm.com>
Signed-off-by: Loc Ho <lho@apm.com>
---
 arch/arm64/boot/dts/apm-storm.dtsi |   98 ++++++++++++++++++++++++++++++++++++
 1 files changed, 98 insertions(+), 0 deletions(-)

Comments

Loc Ho Aug. 23, 2014, 7:27 a.m. UTC | #1
Hi Rob/Mark/Ian,

Can one of you help review the DT node?

-Loc

On Sat, Aug 23, 2014 at 12:23 AM, Loc Ho <lho@apm.com> wrote:
> This patch adds APM X-Gene SoC EDAC DTS entries.
>
> Signed-off-by: Feng Kan <fkan@apm.com>
> Signed-off-by: Loc Ho <lho@apm.com>
> ---
>  arch/arm64/boot/dts/apm-storm.dtsi |   98 ++++++++++++++++++++++++++++++++++++
>  1 files changed, 98 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi
> index c0aceef..2b74d15 100644
> --- a/arch/arm64/boot/dts/apm-storm.dtsi
> +++ b/arch/arm64/boot/dts/apm-storm.dtsi
> @@ -315,6 +315,104 @@
>                         interrupts = <0x0 0x4f 0x4>;
>                 };
>
> +               edacmc0: edacmc0@7e800000 {
> +                       compatible = "apm,xgene-edac-mc";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7e200000 0x0 0x1000>,
> +                             <0x0 0x7e700000 0x0 0x1000>,
> +                             <0x0 0x7e720000 0x0 0x1000>,
> +                             <0x0 0x7e800000 0x0 0x1000>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacmc1: edacmc1@7e840000 {
> +                       compatible = "apm,xgene-edac-mc";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7e200000 0x0 0x1000>,
> +                             <0x0 0x7e700000 0x0 0x1000>,
> +                             <0x0 0x7e720000 0x0 0x1000>,
> +                             <0x0 0x7e840000 0x0 0x1000>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacmc2: edacmc2@7e880000 {
> +                       compatible = "apm,xgene-edac-mc";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7e200000 0x0 0x1000>,
> +                             <0x0 0x7e700000 0x0 0x1000>,
> +                             <0x0 0x7e720000 0x0 0x1000>,
> +                             <0x0 0x7e880000 0x0 0x1000>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacmc3: edacmc3@7e8c0000 {
> +                       compatible = "apm,xgene-edac-mc";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7e200000 0x0 0x1000>,
> +                             <0x0 0x7e700000 0x0 0x1000>,
> +                             <0x0 0x7e720000 0x0 0x1000>,
> +                             <0x0 0x7e8c0000 0x0 0x1000>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacpmd0: edacpmd0@7c000000 {
> +                       compatible = "apm,xgene-edac-pmd";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7c000000 0x0 0x200000>,
> +                             <0x0 0x1054a000 0x0 0x10>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacpmd1: edacpmd1@7c200000 {
> +                       compatible = "apm,xgene-edac-pmd";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7c200000 0x0 0x200000>,
> +                             <0x0 0x1054a000 0x0 0x10>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacpmd2: edacpmd2@7c400000 {
> +                       compatible = "apm,xgene-edac-pmd";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7c400000 0x0 0x200000>,
> +                             <0x0 0x1054a000 0x0 0x10>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacpmd3: edacpmd3@7c600000 {
> +                       compatible = "apm,xgene-edac-pmd";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7c600000 0x0 0x200000>,
> +                             <0x0 0x1054a000 0x0 0x10>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacl3: edacl3@7e600000 {
> +                       compatible = "apm,xgene-edac-l3";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7e600000 0x0 0x1000>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>;
> +               };
> +
> +               edacsoc: edacsoc@7e930000 {
> +                       compatible = "apm,xgene-edac-soc";
> +                       reg = <0x0 0x78800000 0x0 0x1000>,
> +                             <0x0 0x7e930000 0x0 0x1000>,
> +                             <0x0 0x7e000000 0x0 0x1000>;
> +                       interrupts = <0x0 0x20 0x4>,
> +                                    <0x0 0x21 0x4>,
> +                                    <0x0 0x27 0x4>;
> +               };
> +
>                 phy1: phy@1f21a000 {
>                         compatible = "apm,xgene-phy";
>                         reg = <0x0 0x1f21a000 0x0 0x100>;
> --
> 1.5.5
>
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi
index c0aceef..2b74d15 100644
--- a/arch/arm64/boot/dts/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm-storm.dtsi
@@ -315,6 +315,104 @@ 
 			interrupts = <0x0 0x4f 0x4>;
 		};
 
+		edacmc0: edacmc0@7e800000 {
+			compatible = "apm,xgene-edac-mc";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7e200000 0x0 0x1000>,
+			      <0x0 0x7e700000 0x0 0x1000>,
+			      <0x0 0x7e720000 0x0 0x1000>,
+			      <0x0 0x7e800000 0x0 0x1000>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacmc1: edacmc1@7e840000 {
+			compatible = "apm,xgene-edac-mc";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7e200000 0x0 0x1000>,
+			      <0x0 0x7e700000 0x0 0x1000>,
+			      <0x0 0x7e720000 0x0 0x1000>,
+			      <0x0 0x7e840000 0x0 0x1000>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacmc2: edacmc2@7e880000 {
+			compatible = "apm,xgene-edac-mc";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7e200000 0x0 0x1000>,
+			      <0x0 0x7e700000 0x0 0x1000>,
+			      <0x0 0x7e720000 0x0 0x1000>,
+			      <0x0 0x7e880000 0x0 0x1000>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacmc3: edacmc3@7e8c0000 {
+			compatible = "apm,xgene-edac-mc";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7e200000 0x0 0x1000>,
+			      <0x0 0x7e700000 0x0 0x1000>,
+			      <0x0 0x7e720000 0x0 0x1000>,
+			      <0x0 0x7e8c0000 0x0 0x1000>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacpmd0: edacpmd0@7c000000 {
+			compatible = "apm,xgene-edac-pmd";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7c000000 0x0 0x200000>,
+			      <0x0 0x1054a000 0x0 0x10>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacpmd1: edacpmd1@7c200000 {
+			compatible = "apm,xgene-edac-pmd";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7c200000 0x0 0x200000>,
+			      <0x0 0x1054a000 0x0 0x10>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacpmd2: edacpmd2@7c400000 {
+			compatible = "apm,xgene-edac-pmd";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7c400000 0x0 0x200000>,
+			      <0x0 0x1054a000 0x0 0x10>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacpmd3: edacpmd3@7c600000 {
+			compatible = "apm,xgene-edac-pmd";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7c600000 0x0 0x200000>,
+			      <0x0 0x1054a000 0x0 0x10>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacl3: edacl3@7e600000 {
+			compatible = "apm,xgene-edac-l3";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7e600000 0x0 0x1000>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>;
+		};
+
+		edacsoc: edacsoc@7e930000 {
+			compatible = "apm,xgene-edac-soc";
+			reg = <0x0 0x78800000 0x0 0x1000>,
+			      <0x0 0x7e930000 0x0 0x1000>,
+			      <0x0 0x7e000000 0x0 0x1000>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>,
+				     <0x0 0x27 0x4>;
+		};
+
 		phy1: phy@1f21a000 {
 			compatible = "apm,xgene-phy";
 			reg = <0x0 0x1f21a000 0x0 0x100>;