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: 9511307 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6000A6075C for ; Wed, 11 Jan 2017 20:45:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4EEED285E1 for ; Wed, 11 Jan 2017 20:45:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 423E828655; Wed, 11 Jan 2017 20:45:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 04BC2285E1 for ; Wed, 11 Jan 2017 20:45:05 +0000 (UTC) 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 1cRPlY-0002jo-QE; Wed, 11 Jan 2017 20:45:04 +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-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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>; + }; + }; + };