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: 31189 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1D72820671 for ; Fri, 30 May 2014 13:44:07 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id oz11sf8620338veb.2 for ; Fri, 30 May 2014 06:44:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=ZYCLukyQFVk4lhk/qA/1rs5auK9vSflgcIYzKI92cyM=; b=UF5CayS4VUYFRiL/VXUikQ5lhSbZX+1N9ZoUs4prVcqMABPOCcPiplOrYoSha6snDy PDUaOqOlPN69KzSgdzofiX6f0/7bcIB16+rjOaxo1JuydMY7n4wbgbfocTW01BxUanF9 7jH2DCLoPZtFQXHzkE4ljZXd3C46yb52U4gVQ4/3pEuAYkzbNcu162D52+iz2FaIPrKy ytwZtfEC08hYN7lycbT27YuHnJh+tfygterxXL6DXZorlNgzpCTcSocGhtHKoRTHZRCH ZMjnw1W9h42hfms0jeUxjIlA3HnrQzUh5cMJNzYgEkFFrsVvi4Tdr3ghu1x61rNYvPA5 Bhng== X-Gm-Message-State: ALoCoQlNVrvhoJsNIVBz7GVEUGp7CPHMe5/8IH42HNDYZFuASuEkOVFFklPlli6TPOVFDZcuG84Z X-Received: by 10.58.161.175 with SMTP id xt15mr6337381veb.19.1401457446829; Fri, 30 May 2014 06:44:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.36.148 with SMTP id p20ls1047116qgp.80.gmail; Fri, 30 May 2014 06:44:06 -0700 (PDT) X-Received: by 10.58.207.74 with SMTP id lu10mr13516905vec.15.1401457446668; Fri, 30 May 2014 06:44:06 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id pi7si3078720veb.13.2014.05.30.06.44.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 06:44:06 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id pa12so2097905veb.26 for ; Fri, 30 May 2014 06:44:06 -0700 (PDT) X-Received: by 10.220.53.72 with SMTP id l8mr14062067vcg.16.1401457446600; Fri, 30 May 2014 06:44:06 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp113463vcb; Fri, 30 May 2014 06:44:06 -0700 (PDT) X-Received: by 10.66.236.98 with SMTP id ut2mr5387218pac.36.1401457445843; Fri, 30 May 2014 06:44:05 -0700 (PDT) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx.google.com with ESMTPS id ig4si5559919pbb.201.2014.05.30.06.44.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 06:44:05 -0700 (PDT) Received-SPF: pass (google.com: domain of mathieu.poirier@linaro.org designates 209.85.220.51 as permitted sender) client-ip=209.85.220.51; Received: by mail-pa0-f51.google.com with SMTP id kq14so1721865pab.24 for ; Fri, 30 May 2014 06:44:05 -0700 (PDT) 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 Cc: mathieu.poirier@linaro.org, arve@android.com, john.stultz@linaro.org, pratikp@codeaurora.org, varshney@ti.com, Al.Grant@arm.com, jonas.svennebring@avagotech.com, james.king@linaro.org, panchaxari.prasannamurthy@linaro.org, arnd@linaro.org, marcin.jabrzyk@gmail.com, r.sengupta@samsung.com, robbelibobban@gmail.com, patches@linaro.org, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, daniel.thompson@linaro.org 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 {