blob: 0f7ac447cdb4819da277d4ca1024149bbf23819c [file] [log] [blame]
Satyajit Desai84bde122016-09-13 14:36:11 -07001/* Copyright (c) 2016, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13&soc {
14
15 replicator_qdss: replicator@6046000 {
16 compatible = "arm,coresight-replicator";
17
18 coresight-name = "coresight-replicator";
19
20 ports{
21 #address-cells = <1>;
22 #size-cells = <0>;
23
24 port@0 {
25 reg = <0>;
26 replicator_out_tmc_etr: endpoint {
27 remote-endpoint=
28 <&tmc_etr_in_replicator>;
29 };
30 };
31
32 port@1 {
33 reg = <0>;
34 replicator_in_tmc_etf: endpoint {
35 slave-mode;
36 remote-endpoint=
37 <&tmc_etf_out_replicator>;
38 };
39 };
40 };
41 };
42
43 tmc_etr:tmc@6048000 {
44 compatible = "arm,primecell";
45 arm,primecell-periphid = <0x0003b961>;
46
47 reg = <0x6048000 0x1000>,
48 <0x6064000 0x15000>;
49 reg-names = "tmc-base", "bam-base";
50
51 arm,buffer-size = <0x400000>;
52
53 coresight-name = "coresight-tmc-etr";
54
55 clocks = <&clock_gcc RPMH_QDSS_CLK>,
56 <&clock_gcc RPMH_QDSS_A_CLK>;
57 clock-names = "apb_pclk", "core_a_clk";
58
59 port {
60 tmc_etr_in_replicator: endpoint {
61 slave-mode;
62 remote-endpoint = <&replicator_out_tmc_etr>;
63 };
64 };
65 };
66
67 tmc_etf:tmc@6047000 {
68 compatible = "arm,primecell";
69 arm,primecell-periphid = <0x0003b961>;
70
71 reg = <0x6047000 0x1000>;
72 reg-names = "tmc-base";
73
74 coresight-name = "coresight-tmc-etf";
75
76 arm,default-sink;
77
78 clocks = <&clock_gcc RPMH_QDSS_CLK>,
79 <&clock_gcc RPMH_QDSS_A_CLK>;
80 clock-names = "apb_pclk", "core_a_clk";
81
82 ports {
83 #address-cells = <1>;
84 #size-cells = <0>;
85
86 port@0 {
87 reg = <0>;
88 tmc_etf_out_replicator: endpoint {
89 remote-endpoint =
90 <&replicator_in_tmc_etf>;
91 };
92 };
93
94 port@1 {
95 reg = <1>;
96 tmc_etf_in_funnel_merg: endpoint {
97 slave-mode;
98 remote-endpoint =
99 <&funnel_merg_out_tmc_etf>;
100 };
101 };
102 };
103
104 };
105
106 stm: stm@6002000 {
107 compatible = "arm,primecell";
108 arm,primecell-periphid = <0x0003b962>;
109
110 reg = <0x6002000 0x1000>,
111 <0x16280000 0x180000>;
112 reg-names = "stm-base", "stm-stimulus-base";
113
114 coresight-name = "coresight-stm";
115
116 clocks = <&clock_gcc RPMH_QDSS_CLK>,
117 <&clock_gcc RPMH_QDSS_A_CLK>;
118 clock-names = "apb_pclk", "core_a_clk";
119
120 port {
121 stm_out_funnel_in0: endpoint {
122 remote-endpoint = <&funnel_in0_in_stm>;
123 };
124 };
125
126 };
127
128 funnel_in0: funnel@0x6041000 {
129 compatible = "arm,primecell";
130 arm,primecell-periphid = <0x0003b908>;
131
132 reg = <0x6041000 0x1000>;
133 reg-names = "funnel-base";
134
135 coresight-name = "coresight-funnel-in0";
136
137 clocks = <&clock_gcc RPMH_QDSS_CLK>,
138 <&clock_gcc RPMH_QDSS_A_CLK>;
139 clock-names = "apb_pclk", "core_a_clk";
140
141 ports {
142 #address-cells = <1>;
143 #size-cells = <0>;
144
145 port@0 {
146 reg = <0>;
147 funnel_in0_out_funnel_merg: endpoint {
148 remote-endpoint =
149 <&funnel_merg_in_funnel_in0>;
150 };
151 };
152
153 port@1 {
154 reg = <7>;
155 funnel_in0_in_stm: endpoint {
156 slave-mode;
157 remote-endpoint = <&stm_out_funnel_in0>;
158 };
159 };
160 };
161 };
162
163 funnel_merg:funnel@6045000 {
164 compatible = "arm,primecell";
165 arm,primecell-periphid = <0x0003b908>;
166
167 reg = <0x6045000 0x1000>;
168 reg-names = "funnel-base";
169
170 coresight-name = "coresight-funnel-merg";
171
172 clocks = <&clock_gcc RPMH_QDSS_CLK>,
173 <&clock_gcc RPMH_QDSS_A_CLK>;
174 clock-names = "apb_pclk", "core_a_clk";
175
176 ports {
177 #address-cells = <1>;
178 #size-cells = <0>;
179
180 port@0 {
181 reg = <0>;
182 funnel_merg_out_tmc_etf: endpoint {
183 remote-endpoint =
184 <&tmc_etf_in_funnel_merg>;
185 };
186 };
187
188 port@1 {
189 reg = <0>;
190 funnel_merg_in_funnel_in0: endpoint {
191 slave-mode;
192 remote-endpoint =
193 <&funnel_in0_out_funnel_merg>;
194 };
195 };
196 };
197 };
198};