public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: lho@apm.com (Loc Ho)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 5/5] arm64: Add APM X-Gene SoC EDAC DTS entries
Date: Thu, 14 May 2015 11:05:47 -0600	[thread overview]
Message-ID: <1431623147-4950-6-git-send-email-lho@apm.com> (raw)
In-Reply-To: <1431623147-4950-5-git-send-email-lho@apm.com>

This patch adds APM X-Gene SoC EDAC DTS entries.

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

diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index c8d3e0e..0a12589 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -374,6 +374,92 @@
 			};
 		};
 
+		csw: csw at 7e200000 {
+			compatible = "syscon";
+			reg = <0x0 0x7e200000 0x0 0x1000>;
+		};
+
+		mcba: mcba at 7e700000 {
+			compatible = "syscon";
+			reg = <0x0 0x7e700000 0x0 0x1000>;
+		};
+
+		mcbb: mcbb at 7e720000 {
+			compatible = "syscon";
+			reg = <0x0 0x7e720000 0x0 0x1000>;
+		};
+
+		efuse: efuse at 1054a000 {
+			compatible = "syscon";
+			reg = <0x0 0x1054a000 0x0 0x20>;
+		};
+
+		edac: edac at 78800000 {
+			compatible = "apm,xgene-edac";
+			#address-cells = <2>;
+			#size-cells = <2>;
+			reg = <0x0 0x78800000 0x0 0x100>;
+			interrupts = <0x0 0x20 0x4>,
+				     <0x0 0x21 0x4>,
+				     <0x0 0x27 0x4>;
+
+			edacmc0: edacmc0 at 7e800000 {
+				compatible = "apm,xgene-edac-mc";
+				regmap-csw = <&csw>;
+				regmap-mcba = <&mcba>;
+				regmap-mcbb = <&mcbb>;
+				reg = <0x0 0x7e800000 0x0 0x1000>;
+			};
+
+			edacmc1: edacmc1 at 7e840000 {
+				compatible = "apm,xgene-edac-mc";
+				regmap-csw = <&csw>;
+				regmap-mcba = <&mcba>;
+				regmap-mcbb = <&mcbb>;
+				reg = <0x0 0x7e840000 0x0 0x1000>;
+			};
+
+			edacmc2: edacmc2 at 7e880000 {
+				compatible = "apm,xgene-edac-mc";
+				regmap-csw = <&csw>;
+				regmap-mcba = <&mcba>;
+				regmap-mcbb = <&mcbb>;
+				reg = <0x0 0x7e880000 0x0 0x1000>;
+			};
+
+			edacmc3: edacmc3 at 7e8c0000 {
+				compatible = "apm,xgene-edac-mc";
+				regmap-csw = <&csw>;
+				regmap-mcba = <&mcba>;
+				regmap-mcbb = <&mcbb>;
+				reg = <0x0 0x7e8c0000 0x0 0x1000>;
+			};
+
+			edacpmd0: edacpmd0 at 7c000000 {
+				compatible = "apm,xgene-edac-pmd";
+				regmap-efuse = <&efuse>;
+				reg = <0x0 0x7c000000 0x0 0x200000>;
+			};
+
+			edacpmd1: edacpmd1 at 7c200000 {
+				compatible = "apm,xgene-edac-pmd";
+				regmap-efuse = <&efuse>;
+				reg = <0x0 0x7c200000 0x0 0x200000>;
+			};
+
+			edacpmd2: edacpmd2 at 7c400000 {
+				compatible = "apm,xgene-edac-pmd";
+				regmap-efuse = <&efuse>;
+				reg = <0x0 0x7c400000 0x0 0x200000>;
+			};
+
+			edacpmd3: edacpmd3 at 7c600000 {
+				compatible = "apm,xgene-edac-pmd";
+				regmap-efuse = <&efuse>;
+				reg = <0x0 0x7c600000 0x0 0x200000>;
+			};
+		};
+
 		pcie0: pcie at 1f2b0000 {
 			status = "disabled";
 			device_type = "pci";
-- 
1.7.1

  reply	other threads:[~2015-05-14 17:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 17:05 [PATCH v9 0/4] edac: Add APM X-Gene SoC EDAC driver Loc Ho
2015-05-14 17:05 ` [PATCH v9 1/5] arm64: Enable EDAC on ARM64 Loc Ho
2015-05-14 17:05   ` [PATCH v9 2/5] MAINTAINERS: Add entry for APM X-Gene SoC EDAC driver Loc Ho
2015-05-14 17:05     ` [PATCH v9 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding Loc Ho
2015-05-14 17:05       ` [PATCH v9 4/5] edac: Add APM X-Gene SoC EDAC driver Loc Ho
2015-05-14 17:05         ` Loc Ho [this message]
2015-05-15 10:49         ` Arnd Bergmann
2015-05-15 10:44       ` [PATCH v9 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding Arnd Bergmann
2015-05-16  0:17         ` Loc Ho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1431623147-4950-6-git-send-email-lho@apm.com \
    --to=lho@apm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox