From patchwork Wed Jan 11 20:44:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Leach X-Patchwork-Id: 90995 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1311128qgi; Wed, 11 Jan 2017 12:45:09 -0800 (PST) X-Received: by 10.129.166.145 with SMTP id d139mr8451703ywh.83.1484167509287; Wed, 11 Jan 2017 12:45:09 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id a65si2038195ywf.96.2017.01.11.12.45.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 12:45:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cRPlb-0002jo-6L; Wed, 11 Jan 2017 20:45:07 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cRPlI-0001dj-Gi for linux-arm-kernel@lists.infradead.org; Wed, 11 Jan 2017 20:44:50 +0000 Received: by mail-wm0-x22a.google.com with SMTP id c85so168885864wmi.1 for ; Wed, 11 Jan 2017 12:44:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hOETkVZ/YxuxkaaYyGKe5v2SjW/BKqciNz5RZ2AK/vg=; b=bFUjCbBI342mPJkitIYx8bM4CxA2f2kQkaKG0MvQx/wVdzxl67kJAbonRlbs1ihhTl c/Dc+P1NMh2F5x3LNTrV0XsuRJfCcwbEEqhk5ca74AlxdxLHJdv999tOFSB6Jn8dVk34 ro8BjaUetzM47UMcqLJcpjnXQg0QUgdal42wg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hOETkVZ/YxuxkaaYyGKe5v2SjW/BKqciNz5RZ2AK/vg=; b=Y0e+rNi3PuKxdMUwG3T8qiHeihPeWyxkt5gCdmlbrPoSxi5K601dXnatV+Jqb0yiCi dY7T1lUW/uSEggVIWedJWL5nW1ReY4D5eRUIGJCUpwZGKSEnfT3Y2zSpQOduH0OQUSvc ZdIoVZSJI7LeM4lcBDZPqvQ9hMwxrq1sFHEbez+3Go0uFfCIl+IXH/rgK9yoMye5wf9B 6O86m5xz4z9ZOJhfMSCOWPQvwIhllQGS/ZkEde4tRe4SsJ0iNj6pGKBudJHJp7bykU38 wVADfglqOHxOWRqKXJ5IfadnqZvpN3VxxsdL6Tv/dpybUqSH5yPmto4D6Fj6iQOUxml8 VnJA== X-Gm-Message-State: AIkVDXIlfAiOjd7si9Hdobh6naauEKHJj7z9/dNFFIvCl5lA1VI/6gtvzz2wOLDw7mmOdt9p X-Received: by 10.223.136.152 with SMTP id f24mr449283wrf.187.1484167466616; Wed, 11 Jan 2017 12:44:26 -0800 (PST) Received: from linaro.org (cpc80201-blbn11-2-0-cust167.10-1.cable.virginm.net. [86.6.126.168]) by smtp.gmail.com with ESMTPSA id f10sm989886wjc.5.2017.01.11.12.44.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jan 2017 12:44:26 -0800 (PST) From: Mike Leach To: liviu.dudau@arm.com, sudeep.holla@arm.com, lorenzo.pieralisi@arm.com Subject: [PATCH v2 2/2] arm64: dts: juno: Adds missing CoreSight STM component. Date: Wed, 11 Jan 2017 20:44:09 +0000 Message-Id: <1484167449-14432-3-git-send-email-mike.leach@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1484167449-14432-1-git-send-email-mike.leach@linaro.org> References: <1484167449-14432-1-git-send-email-mike.leach@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170111_124448_711830_05DCF8FE X-CRM114-Status: UNSURE ( 9.14 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:22a listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: coresight@lists.linaro.org, Mike Leach , linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Add missing CoreSight STM component definition to Juno CoreSight infrastructure juno-cs-rX.dtsi files. Component connected to different funnels depending on Juno platform variant. Signed-off-by: Mike Leach --- arch/arm64/boot/dts/arm/juno-cs-r0.dtsi | 16 ++++++++++++++++ arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm64/boot/dts/arm/juno-cs-r0.dtsi b/arch/arm64/boot/dts/arm/juno-cs-r0.dtsi index 24419ed..4e01b0e 100644 --- a/arch/arm64/boot/dts/arm/juno-cs-r0.dtsi +++ b/arch/arm64/boot/dts/arm/juno-cs-r0.dtsi @@ -148,3 +148,19 @@ }; }; }; + + stm@20100000 { + compatible = "arm,coresight-stm", "arm,primecell"; + reg = <0 0x20100000 0 0x1000>, + <0 0x28000000 0 0x180000>; + reg-names = "stm-base", "stm-stimulus-base"; + + clocks = <&soc_smc50mhz>; + clock-names = "apb_pclk"; + power-domains = <&scpi_devpd 0>; + port { + stm_out_port: endpoint { + remote-endpoint = <&main_funnel_in_port2>; + }; + }; + }; diff --git a/arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi b/arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi index caaf58e..6fe8b62 100644 --- a/arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi +++ b/arch/arm64/boot/dts/arm/juno-cs-r1r2.dtsi @@ -248,3 +248,19 @@ }; }; }; + + stm@20100000 { + compatible = "arm,coresight-stm", "arm,primecell"; + reg = <0 0x20100000 0 0x1000>, + <0 0x28000000 0 0x180000>; + reg-names = "stm-base", "stm-stimulus-base"; + + clocks = <&soc_smc50mhz>; + clock-names = "apb_pclk"; + power-domains = <&scpi_devpd 0>; + port { + stm_out_port: endpoint { + remote-endpoint = <&csys1_funnel_in_port0>; + }; + }; + };