From patchwork Fri May 22 23:33:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loc Ho X-Patchwork-Id: 6469861 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 087AF9F1CC for ; Fri, 22 May 2015 23:37:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 39695204D2 for ; Fri, 22 May 2015 23:37:31 +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 661CD2044C for ; Fri, 22 May 2015 23:37:30 +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 1YvwT8-0001ec-8w; Fri, 22 May 2015 23:35:10 +0000 Received: from exprod5og114.obsmtp.com ([64.18.0.28] helo=mail-ig0-f176.google.com) by bombadil.infradead.org with smtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YvwS6-00016K-HI for linux-arm-kernel@lists.infradead.org; Fri, 22 May 2015 23:34:07 +0000 Received: from mail-ig0-f176.google.com ([209.85.213.176]) (using TLSv1) by exprod5ob114.postini.com ([64.18.4.12]) with SMTP ID DSNKVV+83QyznF/HZwl7RseEmHE4gBvaFgel@postini.com; Fri, 22 May 2015 16:34:06 PDT Received: by igbpi8 with SMTP id pi8so2998697igb.0 for ; Fri, 22 May 2015 16:33:49 -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=VS5vkraD+RY2P4eDwfAOWm38wiR1tlxc/zPm0iHdxKY=; b=WLVBgN1H8useTztqG81D8FVQJFYq+7Cj+wH0bcG7QZVaDSrrTudz6rgQZxKp/x9NKC 7cK66A+S4ji1VZe1ftgeRlaXZi8/KFnjH9qIoKqr3ptgo2MySLuVRXAtoT31tG+Aw6uA 2Jd5RapDzo97rQpzMzigyGsxUjGYfmlntN5it7icppUkiHRQT5xXe34bNXqkxaoI2dki LcNuzGB3/nIG06HhAa7sa96PI/x6bKTFiTwbDa3bgXnk8GjjMyE+qGNkBNAx7z6e0BBq WNxR3U5L68/sjetyDJu7FN1AIMQ1uVvEAxAEQR3R3yLgoiKlmZkJU9mYxF5S9bRUnMnA nlAw== X-Gm-Message-State: ALoCoQnIeg/XK2qqH48ZhWWASJHCH/zxDEDJQ9zNxhAw/MJNhBxm6g3s/JMafcynidDGSBqwCKeLgv9DClnVSvs9ExfCU0KM0j4AO+ris3DN+wz0gJkYaH5B8B4PyyLvoiqZdIy7HBXcUYxk2r5eIszDe0Ey3RJbjoy9hX8E4uNtKRW+s+li1lY= X-Received: by 10.43.68.133 with SMTP id xy5mr11914285icb.72.1432337629221; Fri, 22 May 2015 16:33:49 -0700 (PDT) X-Received: by 10.43.68.133 with SMTP id xy5mr11914267icb.72.1432337629128; Fri, 22 May 2015 16:33:49 -0700 (PDT) Received: from localhost ([198.137.200.11]) by mx.google.com with ESMTPSA id f126sm2915069ioe.21.2015.05.22.16.33.47 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 22 May 2015 16:33:48 -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 v11 5/5] arm64: Add APM X-Gene SoC EDAC DTS entries Date: Fri, 22 May 2015 17:33:00 -0600 Message-Id: <1432337580-3750-6-git-send-email-lho@apm.com> X-Mailer: git-send-email 1.5.5 In-Reply-To: <1432337580-3750-5-git-send-email-lho@apm.com> References: <1432337580-3750-1-git-send-email-lho@apm.com> <1432337580-3750-2-git-send-email-lho@apm.com> <1432337580-3750-3-git-send-email-lho@apm.com> <1432337580-3750-4-git-send-email-lho@apm.com> <1432337580-3750-5-git-send-email-lho@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150522_163406_636005_8D3C3FA5 X-CRM114-Status: UNSURE ( 7.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) Cc: devicetree@vger.kernel.org, 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 EDAC DTS entries. Signed-off-by: Loc Ho Acked-by: Arnd Bergmann --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 83 ++++++++++++++++++++++++++++++++ 1 files changed, 83 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..577799f 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -374,6 +374,89 @@ }; }; + csw: csw@7e200000 { + compatible = "apm,xgene-csw", "syscon"; + reg = <0x0 0x7e200000 0x0 0x1000>; + }; + + mcba: mcba@7e700000 { + compatible = "apm,xgene-mcb", "syscon"; + reg = <0x0 0x7e700000 0x0 0x1000>; + }; + + mcbb: mcbb@7e720000 { + compatible = "apm,xgene-mcb", "syscon"; + reg = <0x0 0x7e720000 0x0 0x1000>; + }; + + efuse: efuse@1054a000 { + compatible = "apm,xgene-efuse", "syscon"; + reg = <0x0 0x1054a000 0x0 0x20>; + }; + + edac@78800000 { + compatible = "apm,xgene-edac"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + regmap-csw = <&csw>; + regmap-mcba = <&mcba>; + regmap-mcbb = <&mcbb>; + regmap-efuse = <&efuse>; + reg = <0x0 0x78800000 0x0 0x100>; + interrupts = <0x0 0x20 0x4>, + <0x0 0x21 0x4>, + <0x0 0x27 0x4>; + + edacmc@7e800000 { + compatible = "apm,xgene-edac-mc"; + reg = <0x0 0x7e800000 0x0 0x1000>; + memory-controller = <0>; + }; + + edacmc@7e840000 { + compatible = "apm,xgene-edac-mc"; + reg = <0x0 0x7e840000 0x0 0x1000>; + memory-controller = <1>; + }; + + edacmc@7e880000 { + compatible = "apm,xgene-edac-mc"; + reg = <0x0 0x7e880000 0x0 0x1000>; + memory-controller = <2>; + }; + + edacmc@7e8c0000 { + compatible = "apm,xgene-edac-mc"; + reg = <0x0 0x7e8c0000 0x0 0x1000>; + memory-controller = <3>; + }; + + edacpmd@7c000000 { + compatible = "apm,xgene-edac-pmd"; + reg = <0x0 0x7c000000 0x0 0x200000>; + pmd-controller = <0>; + }; + + edacpmd@7c200000 { + compatible = "apm,xgene-edac-pmd"; + reg = <0x0 0x7c200000 0x0 0x200000>; + pmd-controller = <1>; + }; + + edacpmd@7c400000 { + compatible = "apm,xgene-edac-pmd"; + reg = <0x0 0x7c400000 0x0 0x200000>; + pmd-controller = <2>; + }; + + edacpmd@7c600000 { + compatible = "apm,xgene-edac-pmd"; + reg = <0x0 0x7c600000 0x0 0x200000>; + pmd-controller = <3>; + }; + }; + pcie0: pcie@1f2b0000 { status = "disabled"; device_type = "pci";