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