From patchwork Mon Jul 11 19:05:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tai Nguyen X-Patchwork-Id: 9223981 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 1B62260890 for ; Mon, 11 Jul 2016 19:10:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0585E2756B for ; Mon, 11 Jul 2016 19:10:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE7B127E3E; Mon, 11 Jul 2016 19:10:33 +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 A88A627C14 for ; Mon, 11 Jul 2016 19:10:33 +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 1bMga4-0004nd-7N; Mon, 11 Jul 2016 19:09:24 +0000 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bMgZg-0004cz-UR for linux-arm-kernel@lists.infradead.org; Mon, 11 Jul 2016 19:09:01 +0000 Received: by mail-pf0-x235.google.com with SMTP id i123so38555846pfg.0 for ; Mon, 11 Jul 2016 12:08:40 -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=KxVhplbdwX5lH0cxLZ+AbIaMQkKHFtxlaJU7cpfNhcc=; b=jI5HUXtATxFXQWyGHDDkhEjmIN/tyWdpGZSlVgv9v6qMwo5LQAntQKnZCUYYW6MvpG xX7WipXUYhMtpYYXrQcVwJzadbIywvvwj9nrZYMIXyCoCHfZMKtUIYq4b9f36nlxGsPg IE/jm8d0+8roY2c6MmhC1Uhnd+9qjHFS0rLW8= 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=KxVhplbdwX5lH0cxLZ+AbIaMQkKHFtxlaJU7cpfNhcc=; b=N7uNOK2B0jmMMNyGbz/ApojLMrZPAKVzFttC5imGWjLPd/XpwzyIg/V89C5MkCKglV JnUzdCwR2fAWfNEICeA9+lWbnBs47FPCZ1XhTkeVWHyfUiBF8X2IfuQVN04qZklm5xD4 U8y9SFVINbzwNtrwCQeMvWdVyHtYbomdDpQnlobDSrJVz2wekP3Fcu6/+oX9WaZFXdIL 7towZe1qbAN+EhLo60QunCTcv8jvop0csErF/iTfo0iWsPfYIW0nASvNPEypqkJzWXAH YDew3M+nmvNrJ6qZ9NaYASmI92Nq3FL6xZDOapkKCXBDaot48A2GlUsShNTXg3KXlk1q TJ7g== X-Gm-Message-State: ALyK8tKtAfXsUfzu6fkB++CuOS+SpbBSz0ZJmVxUsIGNtiyFAwcSrX3hYjKuSwEKGpDdbX6G X-Received: by 10.98.98.193 with SMTP id w184mr37809347pfb.162.1468264120070; Mon, 11 Jul 2016 12:08:40 -0700 (PDT) Received: from ttnguyen-Ubuntu.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id ff9sm1920520pac.5.2016.07.11.12.08.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jul 2016 12:08:39 -0700 (PDT) From: Tai Nguyen To: mark.rutland@arm.com, will.deacon@arm.com, catalin.marinas@arm.com, joe@perches.com, paul.gortmaker@windriver.com Subject: [PATCH v8 4/4] arm64: dts: apm: Add APM X-Gene SoC PMU DTS entries Date: Mon, 11 Jul 2016 12:05:44 -0700 Message-Id: <1468263944-10634-5-git-send-email-ttnguyen@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1468263944-10634-1-git-send-email-ttnguyen@apm.com> References: <1468263944-10634-1-git-send-email-ttnguyen@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160711_120901_098500_1904BA58 X-CRM114-Status: UNSURE ( 8.51 ) 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 5147d76..1d57820 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -572,6 +572,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";