From patchwork Tue Mar 26 17:43:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 2342441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id A5B1ADF264 for ; Tue, 26 Mar 2013 17:49:03 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UKXwk-0000lY-25; Tue, 26 Mar 2013 17:46:06 +0000 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UKXun-000086-Le for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2013 17:44:10 +0000 Received: by mail-wi0-f176.google.com with SMTP id hm14so1302251wib.9 for ; Tue, 26 Mar 2013 10:44:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:x-gm-message-state; bh=6NSpPXc1LxNtm+DfpDDp6y6J8yU0b7lVPolgFCSwcxM=; b=PqZb5Vk8S7YskOwJmCVwPJ6KbfVXTYPzOpndlWT0n/eAl4evuu61/6nXRVbIur5MsZ 6kLPZQfkwFlnDnYG+WX98rGbNjDE9LP94BtLJJeNpUO7rgUxbj2bSRslL8r+AandMA2s PT6yO3vg4ArlxGyFrnX+pEQCBMGWAGV2iPgUJ9tPGZ31DNgVXteZurPYwbqNfcTXRsv7 Kp+ONAGOI6kF9u+kwbIbiBuUbhUaec0uCIkdfdjVMckKCGfaecp34MTNR9xgUVN1ORKr /IOegBszwAOEec4CKxpxtkVdDPtufxJfw7JTX2m09Ixf6dkDwFd4bfZ9AXTif5kCj8Fn aHPA== X-Received: by 10.194.220.70 with SMTP id pu6mr26391507wjc.27.1364319843611; Tue, 26 Mar 2013 10:44:03 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPS id er1sm4267212wib.5.2013.03.26.10.44.02 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 26 Mar 2013 10:44:02 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org, monstr@monstr.eu, Josh Cartwright , Steffen Trumtrar , Rob Herring Subject: [PATCH v2 07/10] arm: zynq: Add support for pmu Date: Tue, 26 Mar 2013 18:43:39 +0100 Message-Id: <15c64fc9174ed6b39ae847fad3d78601d50e6049.1364319776.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.7.9.7 In-Reply-To: <1364319822-5504-1-git-send-email-michal.simek@xilinx.com> References: <1364319822-5504-1-git-send-email-michal.simek@xilinx.com> In-Reply-To: References: X-Gm-Message-State: ALoCoQlMYidralqqGTZJy0jL0AmWp3ZObUIY8UGKghzV24pCR0bnxbBY+fUeBbcNXp+zYowarm4I X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130326_134405_885019_53616A42 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Zynq is standard PMU with 2 interrupt per core. There is also access via register which is not used right now. Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-7000.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi index 51243db..748fc34 100644 --- a/arch/arm/boot/dts/zynq-7000.dtsi +++ b/arch/arm/boot/dts/zynq-7000.dtsi @@ -15,6 +15,13 @@ / { compatible = "xlnx,zynq-7000"; + pmu { + compatible = "arm,cortex-a9-pmu"; + interrupts = <0 5 4>, <0 6 4>; + interrupt-parent = <&intc>; + reg = < 0xf8891000 0x1000 0xf8893000 0x1000 >; + }; + amba { compatible = "simple-bus"; #address-cells = <1>;