From patchwork Mon Mar 25 13:53:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 2331481 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 36E403FC54 for ; Mon, 25 Mar 2013 13:59:57 +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 1UK7tW-0004cf-4c; Mon, 25 Mar 2013 13:57:03 +0000 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UK7qL-0003B3-Rk for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2013 13:53:47 +0000 Received: by mail-we0-f175.google.com with SMTP id t11so3030497wey.6 for ; Mon, 25 Mar 2013 06:53:43 -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:x-gm-message-state; bh=uTT6Pv+7c1Q8E3fEJnIQn0vp2vClEAVVun5/r9PGj8M=; b=akC08VZDYrZKffT8az2V8fD+r2k0xRGgmbAhyJ/OJjXAbTzfccChu0QLR21KYHtpgm wzu5oWRQlVYKxcORees+dQksifMYF7goTT51srHDM30md5KL/tqP765Y9jw3zoZ+HvoX jwF0FcTnVxG/G1xLgt9LQCcOSwW67bStJljh8dmJzIssnaW6YqVyhNBQNp/dwBZEhDe6 f9bmxB2Gyx8oXMlofQBRpYZFE5JkqepVMMKl57XODr9X+/BDsg7GLdFecjhtEatOIFCM dnWDkLij7yIHBzOKZpNMtCqgbeYWqCGDe60C0Dq5NKFSgmDp0vc0lH3N1oIddnSAfrvv evGQ== X-Received: by 10.194.109.35 with SMTP id hp3mr18285773wjb.15.1364219623197; Mon, 25 Mar 2013 06:53:43 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPS id dm9sm28115429wib.3.2013.03.25.06.53.42 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 25 Mar 2013 06:53:42 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org, monstr@monstr.eu, Josh Cartwright , Steffen Trumtrar Subject: [PATCH 07/10] arm: zynq: Add support for pmu Date: Mon, 25 Mar 2013 14:53:13 +0100 Message-Id: <1364219596-4954-7-git-send-email-michal.simek@xilinx.com> X-Mailer: git-send-email 1.7.9.7 In-Reply-To: <1364219596-4954-1-git-send-email-michal.simek@xilinx.com> References: <1364219596-4954-1-git-send-email-michal.simek@xilinx.com> X-Gm-Message-State: ALoCoQl3LN6Ht59bVCpPCNthIMIx4l5PZxJWmom4Kkj5Msa55vTR7ig6ZXVv0zb60kAtlaS0H2tM X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130325_095346_129778_52131B31 X-CRM114-Status: UNSURE ( 9.13 ) 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 4943568..2144f07 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>;