From patchwork Wed May 6 04:02:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 6346441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7C330BEEE1 for ; Wed, 6 May 2015 04:07:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A7E2620266 for ; Wed, 6 May 2015 04:07:44 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D897420265 for ; Wed, 6 May 2015 04:07:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YpqaO-0003WV-Nq; Wed, 06 May 2015 04:05:28 +0000 Received: from exprod5og113.obsmtp.com ([64.18.0.26] helo=mail-ie0-f176.google.com) by bombadil.infradead.org with smtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YpqZa-0001va-Ep for linux-arm-kernel@lists.infradead.org; Wed, 06 May 2015 04:04:39 +0000 Received: from mail-ie0-f176.google.com ([209.85.223.176]) (using TLSv1) by exprod5ob113.postini.com ([64.18.4.12]) with SMTP ID DSNKVUmSwDXQYMxKbH3EbJzkRSporl4znlhc@postini.com; Tue, 05 May 2015 21:04:38 PDT Received: by ieczm2 with SMTP id zm2so5159545iec.2 for ; Tue, 05 May 2015 21:04:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=boHOXfUhkE7oKpgceOwuS12NHnEiXsNn72b2AmKU60Q=; b=aXVRznVvmHbXewwLyRFd/i0+8oQxxwT+CjQ/QSV3Vim/ShE+dOhW3btf5pj7wyI0jt RQ4J0YlZ1h8nMrNfcYb867mt1KyEdv3uAr+9twVUO+jS2W/xyparcGzuJQVepCVXnjjt sTYhOXhQF5yPZeR7aHjdQTqjXRoCtPO+WzrvFLvp+H4Ci3wksggIypYaMj5F5WeFB3Zi BQd3ng9Zlo67MWKCV1y6F1zWwY3giFuBLP+7IuhhZ3AlLbpPARKCI01SkJWHKHsY7IPz 8aRKNvdk01ltElaj3zecmemP0R0zR562Arb6AKEZD+HGnMlBMI7BJs0GfDoH+ShkR3SD 9nPQ== X-Gm-Message-State: ALoCoQmS6P1dDpK2/HfVsZ6hbABwNYBe5hYR46erDpvCarkPyJNtkD9BkesAlcUFx//pqnOVGeSuEJJYD2nfOiOtK4OVN+JSeYErNj/YnTRJLnEdiHxFu7Lvex+yEjYjSdIO/c1xa5qridH97P5gZ7u5OyL7SDCqZiCEnnRFc/PLdvhOSlkfZAU= X-Received: by 10.42.20.197 with SMTP id h5mr707878icb.22.1430885056369; Tue, 05 May 2015 21:04:16 -0700 (PDT) X-Received: by 10.42.20.197 with SMTP id h5mr707869icb.22.1430885056218; Tue, 05 May 2015 21:04:16 -0700 (PDT) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id i185sm385538ioi.24.2015.05.05.21.04.14 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 05 May 2015 21:04:15 -0700 (PDT) From: Loc Ho To: dougthompson@xmission.com, bp@alien8.de, mchehab@osg.samsung.com, robh+dt@kernel.org, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk Subject: [PATCH v8 5/5] arm64: Add APM X-Gene SoC memory controller EDAC DTS entries Date: Tue, 5 May 2015 22:02:27 -0600 Message-Id: <1430884947-16787-6-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1430884947-16787-5-git-send-email-lho@apm.com> References: <1430884947-16787-1-git-send-email-lho@apm.com> <1430884947-16787-2-git-send-email-lho@apm.com> <1430884947-16787-3-git-send-email-lho@apm.com> <1430884947-16787-4-git-send-email-lho@apm.com> <1430884947-16787-5-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150505_210438_584488_63D17591 X-CRM114-Status: UNSURE ( 8.13 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) Cc: devicetree@vger.kernel.org, Feng Kan , jcm@redhat.com, patches@apm.com, Loc Ho , linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds APM X-Gene SoC memory controller EDAC DTS entries. Signed-off-by: Feng Kan Signed-off-by: Loc Ho --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) -- 1.7.1 diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index c8d3e0e..e0270a6 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -374,6 +374,70 @@ }; }; + pcp: pcp@78800000 { + compatible = "syscon"; + reg = <0x0 0x78800000 0x0 0x100>; + }; + + csw: csw@7e200000 { + compatible = "syscon"; + reg = <0x0 0x7e200000 0x0 0x1000>; + }; + + mcba: mcba@7e700000 { + compatible = "syscon"; + reg = <0x0 0x7e700000 0x0 0x1000>; + }; + + mcbb: mcbb@7e720000 { + compatible = "syscon"; + reg = <0x0 0x7e720000 0x0 0x1000>; + }; + + edacmc0: edacmc0@7e800000 { + compatible = "apm,xgene-edac-mc"; + regmap-pcp = <&pcp>; + regmap-csw = <&csw>; + regmap-mcba = <&mcba>; + regmap-mcbb = <&mcbb>; + reg = <0x0 0x7e800000 0x0 0x1000>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>; + }; + + edacmc1: edacmc1@7e840000 { + compatible = "apm,xgene-edac-mc"; + regmap-pcp = <&pcp>; + regmap-csw = <&csw>; + regmap-mcba = <&mcba>; + regmap-mcbb = <&mcbb>; + reg = <0x0 0x7e840000 0x0 0x1000>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>; + }; + + edacmc2: edacmc2@7e880000 { + compatible = "apm,xgene-edac-mc"; + regmap-pcp = <&pcp>; + regmap-csw = <&csw>; + regmap-mcba = <&mcba>; + regmap-mcbb = <&mcbb>; + reg = <0x0 0x7e880000 0x0 0x1000>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>; + }; + + edacmc3: edacmc3@7e8c0000 { + compatible = "apm,xgene-edac-mc"; + regmap-pcp = <&pcp>; + regmap-csw = <&csw>; + regmap-mcba = <&mcba>; + regmap-mcbb = <&mcbb>; + reg = <0x0 0x7e8c0000 0x0 0x1000>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>; + }; + pcie0: pcie@1f2b0000 { status = "disabled"; device_type = "pci";