From patchwork Thu Jul 7 00:07:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tai Nguyen X-Patchwork-Id: 9217451 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 69B0560752 for ; Thu, 7 Jul 2016 00:12:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A75628572 for ; Thu, 7 Jul 2016 00:12:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F1C828574; Thu, 7 Jul 2016 00:12:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id BD19628572 for ; Thu, 7 Jul 2016 00:12:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bKwuT-0003LY-JK; Thu, 07 Jul 2016 00:11:17 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bKwu6-0003AW-Ft for linux-arm-kernel@lists.infradead.org; Thu, 07 Jul 2016 00:10:55 +0000 Received: by mail-pa0-x22e.google.com with SMTP id uj8so837922pab.3 for ; Wed, 06 Jul 2016 17:10:34 -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=tDhAsIaaEdjk43T6uhSynHAahLu3tPZGoQNvEgML55Q=; b=HcuwjQY09Sajcxe03dPSM1mgPJy5a4ZPvOsITjrN0alDQzTb+6NSG8t4fvN5vO/xVg eyPajU3UWnlGmET6ipxuobsHUT529EBI2bYboA+p3WPY1O1OUe/Xj2rUlm10V9t5Cs/1 rFjQdtNJ3aP+O2wA9daVhJWDmubj5T5PajeLo= 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=tDhAsIaaEdjk43T6uhSynHAahLu3tPZGoQNvEgML55Q=; b=H5YgV5JrS6exQyAdac5sx7xwqOaMvAVk7SSBEc7Ly2I7Y1ilz3QXPs6bekLhAejpKG 6mjM2Gee9oZCz7O7/y0aLHGQ+xpLeCHfOYeRQRCBHIjJX/ianfhKXZ5JxUIOKch5SNsm mo++uBqShwKNXZihglPEOuzQoKZwBLhvKtYZ2OPp/8Dzyq1q4BfBaYNIbhVSalMzWo9n Sjf+dHHkTTvVXCA5cI5/8MhgFq1GqD2INjAF+H9f7Ph941i6f8Sgfxmq5nEmy/MIz4P5 PcJKjDVry2xgSF9imwSO44+QSD/X9vO8uOJDR/Bf2goHH6LILxE0+/qKNpKGiVD5bifq bEgg== X-Gm-Message-State: ALyK8tKRZfyhWbW3vbyGgGOk/JJVpIcOH+EDTeotzXJvN+X8hX8U7GNvhk83z3xI1Uo4Ey3n X-Received: by 10.66.52.11 with SMTP id p11mr47430714pao.155.1467850233952; Wed, 06 Jul 2016 17:10:33 -0700 (PDT) Received: from ttnguyen-Ubuntu.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id y66sm25107pfg.94.2016.07.06.17.10.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Jul 2016 17:10:33 -0700 (PDT) From: Tai Nguyen To: mark.rutland@arm.com, will.deacon@arm.com, catalin.marinas@arm.com Subject: [PATCH v7 4/4] arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries Date: Wed, 6 Jul 2016 17:07:25 -0700 Message-Id: <1467850045-10584-5-git-send-email-ttnguyen@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467850045-10584-1-git-send-email-ttnguyen@apm.com> References: <1467850045-10584-1-git-send-email-ttnguyen@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160706_171054_696333_5D99CB1B X-CRM114-Status: UNSURE ( 8.93 ) X-CRM114-Notice: Please train this message. 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-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Tai Nguyen --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 58 ++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index fe30f76..62806e0 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -566,6 +566,64 @@ }; }; + 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>; + }; + + pmuiob@7e940000 { + compatible = "apm,xgene-pmu-iob"; + reg = <0x0 0x7e940000 0x0 0x1000>; + }; + + pmucmcb@7e710000 { + compatible = "apm,xgene-pmu-mcb"; + reg = <0x0 0x7e710000 0x0 0x1000>; + enable-bit-index = <0>; + }; + + pmucmcb@7e730000 { + compatible = "apm,xgene-pmu-mcb"; + reg = <0x0 0x7e730000 0x0 0x1000>; + enable-bit-index = <1>; + }; + + pmucmc@7e810000 { + compatible = "apm,xgene-pmu-mc"; + reg = <0x0 0x7e810000 0x0 0x1000>; + enable-bit-index = <0>; + }; + + pmucmc@7e850000 { + compatible = "apm,xgene-pmu-mc"; + reg = <0x0 0x7e850000 0x0 0x1000>; + enable-bit-index = <1>; + }; + + pmucmc@7e890000 { + compatible = "apm,xgene-pmu-mc"; + reg = <0x0 0x7e890000 0x0 0x1000>; + enable-bit-index = <2>; + }; + + pmucmc@7e8d0000 { + compatible = "apm,xgene-pmu-mc"; + reg = <0x0 0x7e8d0000 0x0 0x1000>; + enable-bit-index = <3>; + }; + }; + pcie0: pcie@1f2b0000 { status = "disabled"; device_type = "pci";