From patchwork Fri May 30 13:43:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 4270891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 957C7BEEA7 for ; Fri, 30 May 2014 13:48:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EA9142039D for ; Fri, 30 May 2014 13:48:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 13CFA20395 for ; Fri, 30 May 2014 13:48:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqN7s-0001d4-PT; Fri, 30 May 2014 13:45:40 +0000 Received: from mail-pb0-f42.google.com ([209.85.160.42]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqN6g-0008N9-OF for linux-arm-kernel@lists.infradead.org; Fri, 30 May 2014 13:44:27 +0000 Received: by mail-pb0-f42.google.com with SMTP id md12so1755317pbc.1 for ; Fri, 30 May 2014 06:44:05 -0700 (PDT) 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=ZYCLukyQFVk4lhk/qA/1rs5auK9vSflgcIYzKI92cyM=; b=QKbnQQjdy57fZg8oFGcVwEwptVdW0GQL/zbEKHPheYZNenl+yX0ZEwLNrFnrVQtMJr Bi3nTp9Kmp8rIYMlSzVkkIssek6o6And6LGlRp7xv1KFP/UWuPlCY5mZ1+tmL0R7da0g SGifXoES7PYtvtu2dtY/uIfn0PrQqn8+76Dy+xJqBcj/8am6kN9zg0ZrzX9G17jR9EPR 6mdvDxYykloLXOdIggHYbSr7saJ0/2GtyfEyG9GDZxfixiEYphC34FvQ/FhCooiHdAvw 2ykuZi8QK0fx7ZCxHdre9tOPYsfsU755PyvfF3s9diLhh/2/NLVvpwJ3ZDObndYizcQc niow== X-Gm-Message-State: ALoCoQmBAtl16MBJ4S1ejX92I931/eWwie1D5EGc60CESvRaUq+Gf8YloEq+7kj0Z9VdeBR+ksv0 X-Received: by 10.68.231.35 with SMTP id td3mr18198174pbc.137.1401457445502; Fri, 30 May 2014 06:44:05 -0700 (PDT) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id fe2sm6533558pbc.68.2014.05.30.06.44.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 30 May 2014 06:44:04 -0700 (PDT) From: mathieu.poirier@linaro.org To: linus.walleij@linaro.org, will.deacon@arm.com Subject: [RFC PATCH 10/11] coresight: adding support for beagleXM Date: Fri, 30 May 2014 07:43:10 -0600 Message-Id: <1401457391-12242-11-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1401457391-12242-1-git-send-email-mathieu.poirier@linaro.org> References: <1401457391-12242-1-git-send-email-mathieu.poirier@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140530_064426_879100_10B384B5 X-CRM114-Status: UNSURE ( 9.00 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: daniel.thompson@linaro.org, robbelibobban@gmail.com, Al.Grant@arm.com, mathieu.poirier@linaro.org, patches@linaro.org, marcin.jabrzyk@gmail.com, linux-kernel@vger.kernel.org, arnd@linaro.org, panchaxari.prasannamurthy@linaro.org, r.sengupta@samsung.com, arve@android.com, john.stultz@linaro.org, linux-arm-kernel@lists.infradead.org, james.king@linaro.org, linux@arm.linux.org.uk, pratikp@codeaurora.org, varshney@ti.com, jonas.svennebring@avagotech.com 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 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Mathieu Poirier Currently supporting ETM and ETB. Support for TPIU and SDTI are yet to be added. Signed-off-by: Mathieu Poirier --- arch/arm/boot/dts/omap3-beagle-xm.dts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts b/arch/arm/boot/dts/omap3-beagle-xm.dts index 447e714..b39bede 100644 --- a/arch/arm/boot/dts/omap3-beagle-xm.dts +++ b/arch/arm/boot/dts/omap3-beagle-xm.dts @@ -86,6 +86,36 @@ reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>; /* gpio_147 */ vcc-supply = <&hsusb2_power>; }; + + coresight { + compatible = "arm,coresight"; + #address-cells = <1>; + #size-cells = <1>; + clocks = <&emu_src_ck>; + ranges; + + etb: etb@540000000 { + compatible = "arm,coresight-etb"; + reg = <0x5401b000 0x1000>; + + coresight-id = <0>; + coresight-name = "coresight-etb"; + coresight-nr-inports = <1>; + coresight-default-sink; + }; + + etm@54010000 { + compatible = "arm,coresight-etm"; + reg = <0x54010000 0x1000>; + + coresight-id = <1>; + coresight-name = "coresight-etm"; + coresight-nr-inports = <0>; + coresight-outports = <0>; + coresight-child-list = <&etb>; + coresight-child-ports = <0>; + }; + }; }; &omap3_pmx_wkup {