linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	 Sascha Hauer <s.hauer@pengutronix.de>,
	 Pengutronix Kernel Team <kernel@pengutronix.de>,
	 Fabio Estevam <festevam@gmail.com>, Frank Li <Frank.Li@nxp.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev,
	 linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,  Peng Fan <peng.fan@nxp.com>
Subject: [PATCH 06/13] arm64: dts: imx95: Add coresight nodes
Date: Fri, 15 Aug 2025 17:03:52 +0800	[thread overview]
Message-ID: <20250815-imx9-dts-v1-6-e609eb4e3105@nxp.com> (raw)
In-Reply-To: <20250815-imx9-dts-v1-0-e609eb4e3105@nxp.com>

Add etf, etm, etr, funnel nodes for coresight.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx95.dtsi | 104 +++++++++++++++++++++++++++++++
 1 file changed, 104 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi
index adc63448aa15b148ca0eb8499ff5bc217fe8208e..2fbdd9c7ca099ba6971e4f6914be680a5b96da36 100644
--- a/arch/arm64/boot/dts/freescale/imx95.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95.dtsi
@@ -492,6 +492,110 @@ soc {
 		#size-cells = <2>;
 		ranges;
 
+		etm0: etm@40840000 {
+			compatible = "arm,coresight-etm4x", "arm,primecell";
+			reg = <0x0 0x40840000 0x0 0x10000>;
+			arm,primecell-periphid = <0xbb95d>;
+			cpu = <&A55_0>;
+			clocks = <&scmi_clk IMX95_CLK_A55PERIPH>;
+			clock-names = "apb_pclk";
+			status = "disabled";
+
+			out-ports {
+				port {
+					etm0_out_port: endpoint {
+						remote-endpoint = <&ca_funnel_in_port0>;
+					};
+				};
+			};
+		};
+
+		funnel0: funnel {
+			/*
+			 * non-configurable funnel don't show up on the AMBA
+			 * bus.  As such no need to add "arm,primecell".
+			 */
+			compatible = "arm,coresight-static-funnel";
+			status = "disabled";
+
+			in-ports {
+				port {
+					ca_funnel_in_port0: endpoint {
+						remote-endpoint = <&etm0_out_port>;
+					};
+				};
+			};
+
+			out-ports {
+				port {
+					ca_funnel_out_port0: endpoint {
+						remote-endpoint = <&hugo_funnel_in_port0>;
+					};
+				};
+			};
+		};
+
+		funnel1: funnel_sys {
+			compatible = "arm,coresight-static-funnel";
+			status = "disabled";
+
+			in-ports {
+				port {
+					hugo_funnel_in_port0: endpoint {
+						remote-endpoint = <&ca_funnel_out_port0>;
+					};
+				};
+			};
+
+			out-ports {
+				port {
+					hugo_funnel_out_port0: endpoint {
+						remote-endpoint = <&etf_in_port>;
+					};
+				};
+			};
+		};
+
+		etf: etf@41030000 {
+			compatible = "arm,coresight-tmc", "arm,primecell";
+			reg = <0x0 0x41030000 0x0 0x1000>;
+			clocks = <&scmi_clk IMX95_CLK_A55PERIPH>;
+			clock-names = "apb_pclk";
+			status = "disabled";
+
+			in-ports {
+				port {
+					etf_in_port: endpoint {
+						remote-endpoint = <&hugo_funnel_out_port0>;
+					};
+				};
+			};
+
+			out-ports {
+				port {
+					etf_out_port: endpoint {
+						remote-endpoint = <&etr_in_port>;
+					};
+				};
+			};
+		};
+
+		etr: etr@41040000 {
+			compatible = "arm,coresight-tmc", "arm,primecell";
+			reg = <0x0 0x41040000 0x0 0x1000>;
+			clocks = <&scmi_clk IMX95_CLK_A55PERIPH>;
+			clock-names = "apb_pclk";
+			status = "disabled";
+
+			in-ports {
+				port {
+					etr_in_port: endpoint {
+						remote-endpoint = <&etf_out_port>;
+					};
+				};
+			};
+		};
+
 		aips2: bus@42000000 {
 			compatible = "fsl,aips-bus", "simple-bus";
 			reg = <0x0 0x42000000 0x0 0x800000>;

-- 
2.37.1


  parent reply	other threads:[~2025-08-15  9:04 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-15  9:03 [PATCH 00/13] arm64: dts: imx95: various updates Peng Fan
2025-08-15  9:03 ` [PATCH 01/13] arm64: dts: imx95: Correct the lpuart7 and lpuart8 srcid Peng Fan
2025-08-15 16:31   ` Frank Li
2025-08-15  9:03 ` [PATCH 02/13] arm64: dts: imx95: Add System Counter node Peng Fan
2025-08-15 16:32   ` Frank Li
2025-08-15  9:03 ` [PATCH 03/13] arm64: dts: imx95: Add LMM/CPU nodes Peng Fan
2025-08-15 16:33   ` Frank Li
2025-08-15  9:03 ` [PATCH 04/13] arm64: dts: imx95: Add more V2X MUs Peng Fan
2025-08-15 16:33   ` Frank Li
2025-08-15  9:03 ` [PATCH 05/13] arm64: dts: imx95: Add OCOTP node Peng Fan
2025-08-15 16:35   ` Frank Li
2025-08-15  9:03 ` Peng Fan [this message]
2025-08-15 16:37   ` [PATCH 06/13] arm64: dts: imx95: Add coresight nodes Frank Li
2025-08-15  9:03 ` [PATCH 07/13] arm64: dts: imx95-evk: Update alias Peng Fan
2025-08-15 16:38   ` Frank Li
2025-08-15  9:03 ` [PATCH 08/13] arm64: dts: imx95-19x19-evk: Add phy supply for netc Peng Fan
2025-08-15 16:39   ` Frank Li
2025-08-15  9:03 ` [PATCH 09/13] arm64: dts: imx95-19x19-evk: Add Tsettle delay in m2 regulator Peng Fan
2025-08-15 16:39   ` Frank Li
2025-08-15  9:03 ` [PATCH 10/13] arm64: dts: imx95-19x19-evk: Add pca9632 node Peng Fan
2025-08-15 16:41   ` Frank Li
2025-08-18  7:05   ` Maud Spierings
2025-08-15  9:03 ` [PATCH 11/13] arm64: dts: imx95-19x19-evk: Add pf09 and pf53 thermal zones Peng Fan
2025-08-15 16:44   ` Frank Li
2025-08-15  9:03 ` [PATCH 12/13] arm64: dts: imx95-19x19-evk: Add spidev0 Peng Fan
2025-08-15 16:46   ` Frank Li
2025-08-15  9:03 ` [PATCH 13/13] arm64: dts: imx95-15x15-evk: Change pinctrl settings for usdhc2 Peng Fan
2025-08-15 16:46   ` Frank Li
2025-08-15 21:19 ` [PATCH 00/13] arm64: dts: imx95: various updates Rob Herring (Arm)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250815-imx9-dts-v1-6-e609eb4e3105@nxp.com \
    --to=peng.fan@nxp.com \
    --cc=Frank.Li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).