1// SPDX-License-Identifier: GPL-2.0
2/ {
3	funnel@20130000 { /* cssys1 */
4		compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
5		reg = <0 0x20130000 0 0x1000>;
6
7		clocks = <&soc_smc50mhz>;
8		clock-names = "apb_pclk";
9		power-domains = <&scpi_devpd 0>;
10		out-ports {
11			port {
12				csys1_funnel_out_port: endpoint {
13					remote-endpoint = <&etf1_in_port>;
14				};
15			};
16		};
17		in-ports {
18			port {
19				csys1_funnel_in_port0: endpoint {
20				};
21			};
22
23		};
24	};
25
26	etf@20140000 { /* etf1 */
27		compatible = "arm,coresight-tmc", "arm,primecell";
28		reg = <0 0x20140000 0 0x1000>;
29
30		clocks = <&soc_smc50mhz>;
31		clock-names = "apb_pclk";
32		power-domains = <&scpi_devpd 0>;
33		in-ports {
34			port {
35				etf1_in_port: endpoint {
36					remote-endpoint = <&csys1_funnel_out_port>;
37				};
38			};
39		};
40		out-ports {
41			port {
42				etf1_out_port: endpoint {
43					remote-endpoint = <&csys2_funnel_in_port1>;
44				};
45			};
46		};
47	};
48
49	funnel@20150000 { /* cssys2 */
50		compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
51		reg = <0 0x20150000 0 0x1000>;
52
53		clocks = <&soc_smc50mhz>;
54		clock-names = "apb_pclk";
55		power-domains = <&scpi_devpd 0>;
56		out-ports {
57			port {
58				csys2_funnel_out_port: endpoint {
59					remote-endpoint = <&replicator_in_port0>;
60				};
61			};
62		};
63
64		in-ports {
65			#address-cells = <1>;
66			#size-cells = <0>;
67			port@0 {
68				reg = <0>;
69				csys2_funnel_in_port0: endpoint {
70					slave-mode;
71					remote-endpoint = <&etf0_out_port>;
72				};
73			};
74
75			port@1 {
76				reg = <1>;
77				csys2_funnel_in_port1: endpoint {
78					slave-mode;
79					remote-endpoint = <&etf1_out_port>;
80				};
81			};
82
83		};
84	};
85};
86