1 // SPDX-License-Identifier: GPL-2.0
4 * dtsi for Hisilicon Hi3660 Coresight
6 * Copyright (C) 2016-2018 Hisilicon Ltd.
8 * Author: Wanglai Shi <shiwanglai@hisilicon.com>
13 /* A53 cluster internals */
15 compatible = "arm,coresight-etm4x", "arm,primecell";
16 reg = <0 0xecc40000 0 0x1000>;
17 clocks = <&crg_ctrl HI3660_PCLK>;
18 clock-names = "apb_pclk";
25 <&cluster0_funnel_in0>;
32 compatible = "arm,coresight-etm4x", "arm,primecell";
33 reg = <0 0xecd40000 0 0x1000>;
34 clocks = <&crg_ctrl HI3660_PCLK>;
35 clock-names = "apb_pclk";
42 <&cluster0_funnel_in1>;
49 compatible = "arm,coresight-etm4x", "arm,primecell";
50 reg = <0 0xece40000 0 0x1000>;
51 clocks = <&crg_ctrl HI3660_PCLK>;
52 clock-names = "apb_pclk";
59 <&cluster0_funnel_in2>;
66 compatible = "arm,coresight-etm4x", "arm,primecell";
67 reg = <0 0xecf40000 0 0x1000>;
68 clocks = <&crg_ctrl HI3660_PCLK>;
69 clock-names = "apb_pclk";
76 <&cluster0_funnel_in3>;
83 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
84 reg = <0 0xec801000 0 0x1000>;
85 clocks = <&crg_ctrl HI3660_PCLK>;
86 clock-names = "apb_pclk";
90 cluster0_funnel_out: endpoint {
103 cluster0_funnel_in0: endpoint {
104 remote-endpoint = <&etm0_out>;
110 cluster0_funnel_in1: endpoint {
111 remote-endpoint = <&etm1_out>;
117 cluster0_funnel_in2: endpoint {
118 remote-endpoint = <&etm2_out>;
124 cluster0_funnel_in3: endpoint {
125 remote-endpoint = <&etm3_out>;
132 compatible = "arm,coresight-tmc", "arm,primecell";
133 reg = <0 0xec802000 0 0x1000>;
134 clocks = <&crg_ctrl HI3660_PCLK>;
135 clock-names = "apb_pclk";
139 cluster0_etf_in: endpoint {
141 <&cluster0_funnel_out>;
148 cluster0_etf_out: endpoint {
156 /* A73 cluster internals */
158 compatible = "arm,coresight-etm4x", "arm,primecell";
159 reg = <0 0xed440000 0 0x1000>;
160 clocks = <&crg_ctrl HI3660_PCLK>;
161 clock-names = "apb_pclk";
168 <&cluster1_funnel_in0>;
175 compatible = "arm,coresight-etm4x", "arm,primecell";
176 reg = <0 0xed540000 0 0x1000>;
177 clocks = <&crg_ctrl HI3660_PCLK>;
178 clock-names = "apb_pclk";
185 <&cluster1_funnel_in1>;
192 compatible = "arm,coresight-etm4x", "arm,primecell";
193 reg = <0 0xed640000 0 0x1000>;
194 clocks = <&crg_ctrl HI3660_PCLK>;
195 clock-names = "apb_pclk";
202 <&cluster1_funnel_in2>;
209 compatible = "arm,coresight-etm4x", "arm,primecell";
210 reg = <0 0xed740000 0 0x1000>;
211 clocks = <&crg_ctrl HI3660_PCLK>;
212 clock-names = "apb_pclk";
219 <&cluster1_funnel_in3>;
226 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
227 reg = <0 0xed001000 0 0x1000>;
228 clocks = <&crg_ctrl HI3660_PCLK>;
229 clock-names = "apb_pclk";
232 cluster1_funnel_out: endpoint {
240 #address-cells = <1>;
245 cluster1_funnel_in0: endpoint {
246 remote-endpoint = <&etm4_out>;
252 cluster1_funnel_in1: endpoint {
253 remote-endpoint = <&etm5_out>;
259 cluster1_funnel_in2: endpoint {
260 remote-endpoint = <&etm6_out>;
266 cluster1_funnel_in3: endpoint {
267 remote-endpoint = <&etm7_out>;
274 compatible = "arm,coresight-tmc", "arm,primecell";
275 reg = <0 0xed002000 0 0x1000>;
276 clocks = <&crg_ctrl HI3660_PCLK>;
277 clock-names = "apb_pclk";
281 cluster1_etf_in: endpoint {
283 <&cluster1_funnel_out>;
290 cluster1_etf_out: endpoint {
298 /* An invisible combo funnel between clusters and top funnel */
300 compatible = "arm,coresight-static-funnel";
301 clocks = <&crg_ctrl HI3660_PCLK>;
302 clock-names = "apb_pclk";
306 combo_funnel_out: endpoint {
314 #address-cells = <1>;
319 combo_funnel_in0: endpoint {
327 combo_funnel_in1: endpoint {
337 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
338 reg = <0 0xec031000 0 0x1000>;
339 clocks = <&crg_ctrl HI3660_PCLK>;
340 clock-names = "apb_pclk";
344 top_funnel_out: endpoint {
352 #address-cells = <1>;
357 top_funnel_in: endpoint {
366 compatible = "arm,coresight-tmc", "arm,primecell";
367 reg = <0 0xec036000 0 0x1000>;
368 clocks = <&crg_ctrl HI3660_PCLK>;
369 clock-names = "apb_pclk";
373 top_etf_in: endpoint {
382 top_etf_out: endpoint {
391 compatible = "arm,coresight-static-replicator";
392 clocks = <&crg_ctrl HI3660_PCLK>;
393 clock-names = "apb_pclk";
397 replicator_in: endpoint {
405 #address-cells = <1>;
410 replicator0_out0: endpoint {
411 remote-endpoint = <&etr_in>;
417 replicator0_out1: endpoint {
418 remote-endpoint = <&tpiu_in>;
425 compatible = "arm,coresight-tmc", "arm,primecell";
426 reg = <0 0xec033000 0 0x1000>;
427 clocks = <&crg_ctrl HI3660_PCLK>;
428 clock-names = "apb_pclk";
441 compatible = "arm,coresight-tpiu", "arm,primecell";
442 reg = <0 0xec032000 0 0x1000>;
443 clocks = <&crg_ctrl HI3660_PCLK>;
444 clock-names = "apb_pclk";