From patchwork Wed Apr 13 01:22:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tai Nguyen X-Patchwork-Id: 8817891 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 95D63C0553 for ; Wed, 13 Apr 2016 01:26:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AA8932021A for ; Wed, 13 Apr 2016 01:26:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D8ED82013D for ; Wed, 13 Apr 2016 01:26:29 +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 1aq9YJ-00071M-Lt; Wed, 13 Apr 2016 01:25:07 +0000 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aq9Xg-0006RI-Pq for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2016 01:24:30 +0000 Received: by mail-pf0-x22c.google.com with SMTP id e128so24027860pfe.3 for ; Tue, 12 Apr 2016 18:24:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fURLLKzjIxPBsiflIJMWgkAdU8HvAlZritvcElG/ZxA=; b=XQ7aI+hydiCIS2ClLPffiCSOBt4evDyLFhyceT77Tpfg9nKVuUxxiRrK6vAGrVAWrd WYuhmkGixkpDAWFSi3fFda+uf+X4doF/YKRSTRkqIGZdz2/Xv8AompAYbxQgXpkO9c85 pCxEdD1iulCjWRhD29dyMPGTwzN2wsUeWjQEs= 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=fURLLKzjIxPBsiflIJMWgkAdU8HvAlZritvcElG/ZxA=; b=P+qkaxvVIohVDvp62Eftf+sfzMVPPeWrAvAk7hZ3qDT20WbN2UqJkplYSKBD9ftNZV HaT2HQVEdGUO3QvkUrQQBqCrBesmEAKICG5W9zSgkGrJBUGm7R1g3aan+8eTLB+tMdK4 YKcIMUm+9+tmbP+3SmvqxW/5kpclkxSOq1BuAoxGvm82+ZSDM6AA3xR1TLmkkaYdoLab LsO0JRnFVmkjAiyslEBZwqZCFPQepJx+C2mQOsAbK31o+NP3ROOdFpgQgquZLOzwt9aZ CBD4wb66VLHAkUDJGgZzsr8baJTQk8MKNNfyJCgbb9xl32WOCb5UbHnPTfxccFdulaq1 nSrw== X-Gm-Message-State: AOPr4FUDT+V15mcHxg0diN5We8HGei9OYWM24B5+fWGx0xXj4eskAayDV6xBOCur1KpEyt6Z X-Received: by 10.98.76.216 with SMTP id e85mr8998519pfj.121.1460510648067; Tue, 12 Apr 2016 18:24:08 -0700 (PDT) Received: from ttnguyen-Ubuntu.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id 8sm46391015pfk.69.2016.04.12.18.24.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 18:24:07 -0700 (PDT) From: Tai Nguyen To: mark.rutland@arm.com, will.deacon@arm.com, catalin.marinas@arm.com Subject: [PATCH v2 4/4] arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries Date: Tue, 12 Apr 2016 18:22:27 -0700 Message-Id: <1460510547-17611-5-git-send-email-ttnguyen@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460510547-17611-1-git-send-email-ttnguyen@apm.com> References: <1460510547-17611-1-git-send-email-ttnguyen@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160412_182429_077568_0CC3BCAA X-CRM114-Status: GOOD ( 10.06 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, patches@apm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tai Nguyen 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=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Signed-off-by: Tai Nguyen --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index fe30f76..975948d 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -566,6 +566,66 @@ }; }; + pmu: pmu@78810000 { + compatible = "apm,xgene-pmu-v2"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + regmap-csw = <&csw>; + regmap-mcba = <&mcba>; + regmap-mcbb = <&mcbb>; + reg = <0x0 0x78810000 0x0 0x1000>; + interrupts = <0x0 0x22 0x4>; + + pmul3c@7e610000 { + compatible = "apm,xgene-pmu-l3c"; + reg = <0x0 0x7e610000 0x0 0x1000>; + index = <0>; + }; + + pmuiob@7e940000 { + compatible = "apm,xgene-pmu-iob"; + reg = <0x0 0x7e940000 0x0 0x1000>; + index = <0>; + }; + + pmucmcb@7e710000 { + compatible = "apm,xgene-pmu-mcb"; + reg = <0x0 0x7e710000 0x0 0x1000>; + index = <0>; + }; + + pmucmcb@7e730000 { + compatible = "apm,xgene-pmu-mcb"; + reg = <0x0 0x7e730000 0x0 0x1000>; + index = <1>; + }; + + pmucmc@7e810000 { + compatible = "apm,xgene-pmu-mc"; + reg = <0x0 0x7e810000 0x0 0x1000>; + index = <0>; + }; + + pmucmc@7e850000 { + compatible = "apm,xgene-pmu-mc"; + reg = <0x0 0x7e850000 0x0 0x1000>; + index = <1>; + }; + + pmucmc@7e890000 { + compatible = "apm,xgene-pmu-mc"; + reg = <0x0 0x7e890000 0x0 0x1000>; + index = <2>; + }; + + pmucmc@7e8d0000 { + compatible = "apm,xgene-pmu-mc"; + reg = <0x0 0x7e8d0000 0x0 0x1000>; + index = <3>; + }; + }; + pcie0: pcie@1f2b0000 { status = "disabled"; device_type = "pci";