From patchwork Thu Mar 28 16:38:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 2358281 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 D0D89DF2A1 for ; Thu, 28 Mar 2013 16:52:22 +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 1ULG17-0006QN-RK; Thu, 28 Mar 2013 16:49:34 +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 1ULFqU-0008Bf-83 for linux-arm-kernel@lists.infradead.org; Thu, 28 Mar 2013 16:38:37 +0000 Received: by mail-we0-f175.google.com with SMTP id t11so6108235wey.20 for ; Thu, 28 Mar 2013 09:38:29 -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=WLQJ/wOOqthQEEgAMLHhCXHDnrb+BT5n9+grwyx0z4HauHGbEB0Xp2CKl2DZXbZ9Jh 1mxeICXOCFeZOC8+71mIb6KSF6zt97Mce7JgYK3NWbYFmvhhW5epv8vr86PjjGoy9XRh GVnfvhDAwYH3z+AeL8K6MHTsFqOGyvYUf0FkOUWADnixVK0Ox2AbM7vweDyBHMJYUAoP 90d6TMzWR2qnGvwcLQmsjljr+fuzqNakabPlW2fkS5Kexbfv4ZiKx3OFNOFM4w5ZAXfE ci40pL+Vn3u3r53oXdMSOFLGqK2x9ASvXS+IBgnNffpuq8VgeD7PJtAoAokQLzsa+Mmg VznQ== X-Received: by 10.180.73.229 with SMTP id o5mr17496358wiv.8.1364488708730; Thu, 28 Mar 2013 09:38:28 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPS id h10sm16882460wic.8.2013.03.28.09.38.27 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 28 Mar 2013 09:38:28 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org, monstr@monstr.eu, Josh Cartwright , Steffen Trumtrar , Rob Herring Subject: [PATCH v3 08/12] arm: zynq: Add support for pmu Date: Thu, 28 Mar 2013 17:38:08 +0100 Message-Id: X-Mailer: git-send-email 1.7.9.7 In-Reply-To: <1364488692-18709-1-git-send-email-michal.simek@xilinx.com> References: <1364488692-18709-1-git-send-email-michal.simek@xilinx.com> In-Reply-To: References: X-Gm-Message-State: ALoCoQnf5BybY2c1BrNTAsmqFrNlNxj47IpmG+TVMnpMfV9OS56UhAsSGZr7aJGyvuL8BHcn7XFZ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130328_123834_492992_36B0D7F8 X-CRM114-Status: UNSURE ( 9.33 ) 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>;