From patchwork Thu Mar 31 23:37:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tai Nguyen X-Patchwork-Id: 8719231 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 465399F36E for ; Thu, 31 Mar 2016 23:41:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 788D420272 for ; Thu, 31 Mar 2016 23:41:50 +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 A7268202E9 for ; Thu, 31 Mar 2016 23:41:49 +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 1almCI-0002yJ-9R; Thu, 31 Mar 2016 23:40:18 +0000 Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1almBf-0002Cq-TT for linux-arm-kernel@lists.infradead.org; Thu, 31 Mar 2016 23:39:41 +0000 Received: by mail-pf0-x230.google.com with SMTP id 4so80203566pfd.0 for ; Thu, 31 Mar 2016 16:39:19 -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=MS09D362UP0cqxNjC8gxAzHzfX2X8vDyWs6udeXDgzM=; b=QG2NzBsI1XyLtrx+o8AHJfrdPxgFp6+mSpOZpnmHASpGiOZTs3ca85OP+I1ut7AS+p bmGHYOAlRDbNqntOEJ4GtYpKA/baoKi3rpN6G9jYTZGT8jsP0jvpNrpJg3yUP/Csw9Ne gHy3NdF1gDan65pBtn5VkibVBjCui2Qe74Zk0= 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=MS09D362UP0cqxNjC8gxAzHzfX2X8vDyWs6udeXDgzM=; b=WIRsQZr8H728aBmBe9gKFl8kqCX+z81/NjFXse1iGkJcJbvjm+hEwo+QJ036mhiqQ/ O5rpy1TCRrixpFoxY0HykQBG3G8HY9VPLgYkAeO3KurLUl2mreDZq8EkWMRHeCJEf5LB 2QvNxKZvy5nghsLl6L8ftz9bY/VpDjSSCtRns2CDJRWeLN91dZBCIfF2qBfsO48Ek1+7 wu4xbIZnlYU2SpAaCYHnvyGn8Nq7aT7AIDPe8x4eMwZkZtdtC+2Bv2zMCdOTrHfl7Rto OXfppCCvhzY3C1E8h9vhwpKOzSu5groOZumUbVrq26mb9QOtnBZOOBVXRvpDnPW+5nbO aByQ== X-Gm-Message-State: AD7BkJJux62hwCVV5h75UgsED+NnuGse9KF8jumSGztHYtFQ9ipzAMm/WomJwxJOyX9qk0t/ X-Received: by 10.98.1.69 with SMTP id 66mr10597617pfb.10.1459467558994; Thu, 31 Mar 2016 16:39:18 -0700 (PDT) Received: from ttnguyen-Ubuntu.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id p85sm15870256pfj.16.2016.03.31.16.39.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Mar 2016 16:39:18 -0700 (PDT) From: Tai Nguyen To: will.deacon@arm.com, mark.rutland@arm.com, catalin.marinas@arm.com Subject: [PATCH 4/4] arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries Date: Thu, 31 Mar 2016 16:37:52 -0700 Message-Id: <1459467472-31561-5-git-send-email-ttnguyen@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459467472-31561-1-git-send-email-ttnguyen@apm.com> References: <1459467472-31561-1-git-send-email-ttnguyen@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160331_163940_195500_B8B2DD24 X-CRM114-Status: UNSURE ( 9.12 ) X-CRM114-Notice: Please train this message. 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 arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries 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 6c5ed11..dc3d20b7 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -517,6 +517,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";