From patchwork Mon Jun 27 21:54:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tai Nguyen X-Patchwork-Id: 9201479 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 D872C60757 for ; Mon, 27 Jun 2016 21:59:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5736285C2 for ; Mon, 27 Jun 2016 21:59:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B775B285CA; Mon, 27 Jun 2016 21:59:38 +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 43FE8285C2 for ; Mon, 27 Jun 2016 21:59:37 +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 1bHeXg-0002vY-H7; Mon, 27 Jun 2016 21:58:08 +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 1bHeXA-0002m2-PJ for linux-arm-kernel@lists.infradead.org; Mon, 27 Jun 2016 21:57:38 +0000 Received: by mail-pa0-x22e.google.com with SMTP id bz2so62656829pad.1 for ; Mon, 27 Jun 2016 14:57:16 -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=N4uvykTy7exT08k/kP8rSwW8SFMuWOYSEx97wbPxZAgmUPrU2I5Rc3N0M4cZRl3tw8 EJxgzqg963FiDsffTGzKtQxkgIiv755+TP5UnUTO7cqs2M0JnNNv0hmDoGg9TZyG8RRc dGETPKpXiO7nq0btRxyQ2xFClCu7rTgr0WiO0= 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=L17rOIN7DquVWjBABQ2Ka8oEzbbZ5U6tq7cw3gi9wCq1cDDN1DTbQ7lgvxoeX57ve6 hJkTpygAGbrnfFm80ojidbPg0kKjAE5euxSpCX4eoViRdTh25evLTcXNwQzZAQrzZYo4 xZIh+yphA5IYxXzwHQi9QX7BRJY1pcQFIgyoF9DiZKNqmARAhpGk/TauKWN02FMF3+Oq LZBiVDBxamQnJIbS8XnaejJdZyo6ZYM4tq8/1YFfcBxSMqLfJ41NOy2BgqBTflyc3o6h Om5fp2tsEdyxlbrgTczLQDqEXIpyvGvlamfj2/jOH0BOfcubLucc/nnPlTT+yqaD3b4u JZ9A== X-Gm-Message-State: ALyK8tKEzRbts4tTdsVjLKaKVNI4we45xssBElZDMgnDnsBbT6NIwZJV6IwWWCqT1XFy/nRu X-Received: by 10.66.26.36 with SMTP id i4mr37417210pag.3.1467064636046; Mon, 27 Jun 2016 14:57:16 -0700 (PDT) Received: from ttnguyen-Ubuntu.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id c2sm1804112paw.45.2016.06.27.14.57.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jun 2016 14:57:15 -0700 (PDT) From: Tai Nguyen To: mark.rutland@arm.com, will.deacon@arm.com, catalin.marinas@arm.com Subject: [PATCH v5 4/4] arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries Date: Mon, 27 Jun 2016 14:54:18 -0700 Message-Id: <1467064458-22143-5-git-send-email-ttnguyen@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1467064458-22143-1-git-send-email-ttnguyen@apm.com> References: <1467064458-22143-1-git-send-email-ttnguyen@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160627_145736_981946_75B4CE57 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";