blob: feef9d53f13c50cd4c42aef0cae02faf30710753 [file] [log] [blame]
Aparna Dasbbee0842013-02-28 21:35:15 -08001/* Copyright (c) 2013, 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
Stepan Moskovchenko7d8cdcaa2013-04-25 17:10:55 -070013&soc {
Aparna Dasbbee0842013-02-28 21:35:15 -080014 tmc_etr: tmc@fc322000 {
15 compatible = "arm,coresight-tmc";
16 reg = <0xfc322000 0x1000>,
17 <0xfc37c000 0x3000>;
Aparna Das08f3a542013-03-08 10:12:08 -080018 reg-names = "tmc-base", "bam-base";
Pushkar Joshi55530792013-05-13 22:53:52 -070019 interrupts = <0 166 0>;
20 interrupt-names = "byte-cntr-irq";
Aparna Dasbbee0842013-02-28 21:35:15 -080021
Aparna Das04fb7352013-08-07 16:47:01 -070022 qcom,memory-size = <0x100000>;
Aparna Dasbbee0842013-02-28 21:35:15 -080023
24 coresight-id = <0>;
25 coresight-name = "coresight-tmc-etr";
26 coresight-nr-inports = <1>;
Aparna Dasbf92db22013-03-07 13:21:51 -080027 coresight-ctis = <&cti0 &cti8>;
Aparna Dasbbee0842013-02-28 21:35:15 -080028 };
29
30 tpiu: tpiu@fc318000 {
31 compatible = "arm,coresight-tpiu";
32 reg = <0xfc318000 0x1000>;
33 reg-names = "tpiu-base";
34
35 coresight-id = <1>;
36 coresight-name = "coresight-tpiu";
37 coresight-nr-inports = <1>;
Pratik Patel0e9aa9f2013-04-09 19:12:04 -070038
39 vdd-supply = <&pm8226_l18>;
40
41 qcom,vdd-voltage-level = <2950000 2950000>;
42 qcom,vdd-current-level = <9000 800000>;
Aparna Das514f1a72013-07-13 11:48:20 -070043
44 vdd-io-supply = <&pm8226_l21>;
45
46 qcom,vdd-io-voltage-level = <2950000 2950000>;
47 qcom,vdd-io-current-level = <6 22000>;
Aparna Dasbbee0842013-02-28 21:35:15 -080048 };
49
50 replicator: replicator@fc31c000 {
51 compatible = "qcom,coresight-replicator";
52 reg = <0xfc31c000 0x1000>;
53 reg-names = "replicator-base";
54
55 coresight-id = <2>;
56 coresight-name = "coresight-replicator";
57 coresight-nr-inports = <1>;
58 coresight-outports = <0 1>;
59 coresight-child-list = <&tmc_etr &tpiu>;
60 coresight-child-ports = <0 0>;
61 };
62
63 tmc_etf: tmc@fc307000 {
64 compatible = "arm,coresight-tmc";
65 reg = <0xfc307000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -080066 reg-names = "tmc-base";
Aparna Dasbbee0842013-02-28 21:35:15 -080067
68 coresight-id = <3>;
69 coresight-name = "coresight-tmc-etf";
70 coresight-nr-inports = <1>;
71 coresight-outports = <0>;
72 coresight-child-list = <&replicator>;
73 coresight-child-ports = <0>;
74 coresight-default-sink;
Aparna Dasbf92db22013-03-07 13:21:51 -080075 coresight-ctis = <&cti0 &cti8>;
Aparna Dasbbee0842013-02-28 21:35:15 -080076 };
77
78 funnel_merg: funnel@fc31b000 {
79 compatible = "arm,coresight-funnel";
80 reg = <0xfc31b000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -080081 reg-names = "funnel-base";
Aparna Dasbbee0842013-02-28 21:35:15 -080082
83 coresight-id = <4>;
84 coresight-name = "coresight-funnel-merg";
85 coresight-nr-inports = <2>;
86 coresight-outports = <0>;
87 coresight-child-list = <&tmc_etf>;
88 coresight-child-ports = <0>;
89 };
90
91 funnel_in0: funnel@fc319000 {
92 compatible = "arm,coresight-funnel";
93 reg = <0xfc319000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -080094 reg-names = "funnel-base";
Aparna Dasbbee0842013-02-28 21:35:15 -080095
96 coresight-id = <5>;
97 coresight-name = "coresight-funnel-in0";
98 coresight-nr-inports = <8>;
99 coresight-outports = <0>;
100 coresight-child-list = <&funnel_merg>;
101 coresight-child-ports = <0>;
102 };
103
104 funnel_in1: funnel@fc31a000 {
105 compatible = "arm,coresight-funnel";
106 reg = <0xfc31a000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800107 reg-names = "funnel-base";
Aparna Dasbbee0842013-02-28 21:35:15 -0800108
109 coresight-id = <6>;
110 coresight-name = "coresight-funnel-in1";
111 coresight-nr-inports = <8>;
112 coresight-outports = <0>;
113 coresight-child-list = <&funnel_merg>;
114 coresight-child-ports = <1>;
115 };
116
117 funnel_a7ss: funnel@fc345000 {
118 compatible = "arm,coresight-funnel";
119 reg = <0xfc345000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800120 reg-names = "funnel-base";
Aparna Dasbbee0842013-02-28 21:35:15 -0800121
122 coresight-id = <7>;
123 coresight-name = "coresight-funnel-a7ss";
124 coresight-nr-inports = <4>;
125 coresight-outports = <0>;
126 coresight-child-list = <&funnel_in1>;
127 coresight-child-ports = <5>;
128 };
129
130 funnel_mmss: funnel@fc364000 {
131 compatible = "arm,coresight-funnel";
132 reg = <0xfc364000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800133 reg-names = "funnel-base";
Aparna Dasbbee0842013-02-28 21:35:15 -0800134
135
136 coresight-id = <8>;
137 coresight-name = "coresight-funnel-mmss";
138 coresight-nr-inports = <8>;
139 coresight-outports = <0>;
140 coresight-child-list = <&funnel_in1>;
141 coresight-child-ports = <1>;
142 };
143
144 stm: stm@fc321000 {
145 compatible = "arm,coresight-stm";
146 reg = <0xfc321000 0x1000>,
147 <0xfa280000 0x180000>;
148 reg-names = "stm-base", "stm-data-base";
149
150 coresight-id = <9>;
151 coresight-name = "coresight-stm";
152 coresight-nr-inports = <0>;
153 coresight-outports = <0>;
154 coresight-child-list = <&funnel_in1>;
155 coresight-child-ports = <7>;
156 };
157
Pushkar Joshi9148a3d2013-03-05 18:39:57 -0800158 etm0: etm@fc33c000 {
159 compatible = "arm,coresight-etm";
160 reg = <0xfc33c000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800161 reg-names = "etm-base";
Pushkar Joshi9148a3d2013-03-05 18:39:57 -0800162
163 coresight-id = <10>;
164 coresight-name = "coresight-etm0";
165 coresight-nr-inports = <0>;
166 coresight-outports = <0>;
167 coresight-child-list = <&funnel_a7ss>;
168 coresight-child-ports = <0>;
169
170 qcom,round-robin;
171 };
172
173 etm1: etm@fc33d000 {
174 compatible = "arm,coresight-etm";
175 reg = <0xfc33d000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800176 reg-names = "etm-base";
Pushkar Joshi9148a3d2013-03-05 18:39:57 -0800177
178 coresight-id = <11>;
179 coresight-name = "coresight-etm1";
180 coresight-nr-inports = <0>;
181 coresight-outports = <0>;
182 coresight-child-list = <&funnel_a7ss>;
183 coresight-child-ports = <1>;
184
185 qcom,round-robin;
186 };
187
188 etm2: etm@fc33e000 {
189 compatible = "arm,coresight-etm";
190 reg = <0xfc33e000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800191 reg-names = "etm-base";
Pushkar Joshi9148a3d2013-03-05 18:39:57 -0800192
193 coresight-id = <12>;
194 coresight-name = "coresight-etm2";
195 coresight-nr-inports = <0>;
196 coresight-outports = <0>;
197 coresight-child-list = <&funnel_a7ss>;
198 coresight-child-ports = <2>;
199
200 qcom,round-robin;
201 };
202
203 etm3: etm@fc33f000 {
204 compatible = "arm,coresight-etm";
205 reg = <0xfc33f000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800206 reg-names = "etm-base";
Pushkar Joshi9148a3d2013-03-05 18:39:57 -0800207
208 coresight-id = <13>;
209 coresight-name = "coresight-etm3";
210 coresight-nr-inports = <0>;
211 coresight-outports = <0>;
212 coresight-child-list = <&funnel_a7ss>;
213 coresight-child-ports = <3>;
214
215 qcom,round-robin;
216 };
217
Aparna Das00d20c22013-07-06 10:37:07 -0700218 audio_etm0 {
219 compatible = "qcom,coresight-audio-etm";
220
221 coresight-id = <14>;
222 coresight-name = "coresight-audio-etm0";
223 coresight-nr-inports = <0>;
224 coresight-outports = <0>;
225 coresight-child-list = <&funnel_in0>;
226 coresight-child-ports = <2>;
227 };
228
229 modem_etm0 {
230 compatible = "qcom,coresight-modem-etm";
231
232 coresight-id = <15>;
233 coresight-name = "coresight-modem-etm0";
234 coresight-nr-inports = <0>;
235 coresight-outports = <0>;
236 coresight-child-list = <&funnel_in0>;
237 coresight-child-ports = <1>;
238 };
239
240 wcn_etm0 {
241 compatible = "qcom,coresight-wcn-etm";
242
243 coresight-id = <16>;
244 coresight-name = "coresight-wcn-etm0";
245 coresight-nr-inports = <0>;
246 coresight-outports = <0>;
247 coresight-child-list = <&funnel_in1>;
248 coresight-child-ports = <2>;
249 };
250
251 rpm_etm0 {
252 compatible = "qcom,coresight-rpm-etm";
253
254 coresight-id = <17>;
255 coresight-name = "coresight-rpm-etm0";
256 coresight-nr-inports = <0>;
257 coresight-outports = <0>;
258 coresight-child-list = <&funnel_in0>;
259 coresight-child-ports = <0>;
260 };
261
Aparna Dasbbee0842013-02-28 21:35:15 -0800262 csr: csr@fc302000 {
263 compatible = "qcom,coresight-csr";
264 reg = <0xfc302000 0x1000>;
265 reg-names = "csr-base";
266
Aparna Das00d20c22013-07-06 10:37:07 -0700267 coresight-id = <18>;
Aparna Dasbbee0842013-02-28 21:35:15 -0800268 coresight-name = "coresight-csr";
269 coresight-nr-inports = <0>;
270
Pushkar Joshic7f44e82013-03-27 10:17:48 -0700271 qcom,blk-size = <1>;
Aparna Dasbbee0842013-02-28 21:35:15 -0800272 };
Aparna Dasbf92db22013-03-07 13:21:51 -0800273
274 cti0: cti@fc308000 {
275 compatible = "arm,coresight-cti";
276 reg = <0xfc308000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800277 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800278
Aparna Das00d20c22013-07-06 10:37:07 -0700279 coresight-id = <19>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800280 coresight-name = "coresight-cti0";
281 coresight-nr-inports = <0>;
282 };
283
284 cti1: cti@fc309000 {
285 compatible = "arm,coresight-cti";
286 reg = <0xfc309000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800287 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800288
Aparna Das00d20c22013-07-06 10:37:07 -0700289 coresight-id = <20>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800290 coresight-name = "coresight-cti1";
291 coresight-nr-inports = <0>;
292 };
293
294 cti2: cti@fc30a000 {
295 compatible = "arm,coresight-cti";
296 reg = <0xfc30a000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800297 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800298
Aparna Das00d20c22013-07-06 10:37:07 -0700299 coresight-id = <21>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800300 coresight-name = "coresight-cti2";
301 coresight-nr-inports = <0>;
302 };
303
304 cti3: cti@fc30b000 {
305 compatible = "arm,coresight-cti";
306 reg = <0xfc30b000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800307 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800308
Aparna Das00d20c22013-07-06 10:37:07 -0700309 coresight-id = <22>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800310 coresight-name = "coresight-cti3";
311 coresight-nr-inports = <0>;
312 };
313
314 cti4: cti@fc30c000 {
315 compatible = "arm,coresight-cti";
316 reg = <0xfc30c000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800317 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800318
Aparna Das00d20c22013-07-06 10:37:07 -0700319 coresight-id = <23>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800320 coresight-name = "coresight-cti4";
321 coresight-nr-inports = <0>;
322 };
323
324 cti5: cti@fc30d000 {
325 compatible = "arm,coresight-cti";
326 reg = <0xfc30d000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800327 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800328
Aparna Das00d20c22013-07-06 10:37:07 -0700329 coresight-id = <24>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800330 coresight-name = "coresight-cti5";
331 coresight-nr-inports = <0>;
332 };
333
334 cti6: cti@fc30e000 {
335 compatible = "arm,coresight-cti";
336 reg = <0xfc30e000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800337 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800338
Aparna Das00d20c22013-07-06 10:37:07 -0700339 coresight-id = <25>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800340 coresight-name = "coresight-cti6";
341 coresight-nr-inports = <0>;
342 };
343
344 cti7: cti@fc30f000 {
345 compatible = "arm,coresight-cti";
346 reg = <0xfc30f000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800347 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800348
Aparna Das00d20c22013-07-06 10:37:07 -0700349 coresight-id = <26>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800350 coresight-name = "coresight-cti7";
351 coresight-nr-inports = <0>;
352 };
353
354 cti8: cti@fc310000 {
355 compatible = "arm,coresight-cti";
356 reg = <0xfc310000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800357 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800358
Aparna Das00d20c22013-07-06 10:37:07 -0700359 coresight-id = <27>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800360 coresight-name = "coresight-cti8";
361 coresight-nr-inports = <0>;
362 };
363
364 cti_l2: cti@fc340000 {
365 compatible = "arm,coresight-cti";
366 reg = <0xfc340000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800367 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800368
Aparna Das00d20c22013-07-06 10:37:07 -0700369 coresight-id = <28>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800370 coresight-name = "coresight-cti-l2";
371 coresight-nr-inports = <0>;
372 };
373
374 cti_cpu0: cti@fc341000 {
375 compatible = "arm,coresight-cti";
376 reg = <0xfc341000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800377 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800378
Aparna Das00d20c22013-07-06 10:37:07 -0700379 coresight-id = <29>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800380 coresight-name = "coresight-cti-cpu0";
381 coresight-nr-inports = <0>;
382 };
383
384 cti_cpu1: cti@fc342000 {
385 compatible = "arm,coresight-cti";
386 reg = <0xfc342000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800387 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800388
Aparna Das00d20c22013-07-06 10:37:07 -0700389 coresight-id = <30>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800390 coresight-name = "coresight-cti-cpu1";
391 coresight-nr-inports = <0>;
392 };
393
394 cti_cpu2: cti@fc343000 {
395 compatible = "arm,coresight-cti";
396 reg = <0xfc343000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800397 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800398
Aparna Das00d20c22013-07-06 10:37:07 -0700399 coresight-id = <31>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800400 coresight-name = "coresight-cti-cpu2";
401 coresight-nr-inports = <0>;
402 };
403
404 cti_cpu3: cti@fc344000 {
405 compatible = "arm,coresight-cti";
406 reg = <0xfc344000 0x1000>;
Aparna Das08f3a542013-03-08 10:12:08 -0800407 reg-names = "cti-base";
Aparna Dasbf92db22013-03-07 13:21:51 -0800408
Aparna Das00d20c22013-07-06 10:37:07 -0700409 coresight-id = <32>;
Aparna Dasbf92db22013-03-07 13:21:51 -0800410 coresight-name = "coresight-cti-cpu3";
411 coresight-nr-inports = <0>;
412 };
Aparna Das556b9a02013-04-02 16:26:40 -0700413
Pratik Patelb8bb7d82013-08-29 17:44:17 -0700414 cti_video_cpu0: cti@fc348000 {
415 compatible = "arm,coresight-cti";
416 reg = <0xfc348000 0x1000>;
417 reg-names = "cti-base";
418
419 coresight-id = <33>;
420 coresight-name = "coresight-cti-video-cpu0";
421 coresight-nr-inports = <0>;
422 };
423
424 cti_wcn_cpu0: cti@fc34d000 {
425 compatible = "arm,coresight-cti";
426 reg = <0xfc34d000 0x1000>;
427 reg-names = "cti-base";
428
429 coresight-id = <34>;
430 coresight-name = "coresight-cti-wcn-cpu0";
431 coresight-nr-inports = <0>;
432 };
433
434 cti_modem_cpu0: cti@fc350000 {
435 compatible = "arm,coresight-cti";
436 reg = <0xfc350000 0x1000>;
437 reg-names = "cti-base";
438
439 coresight-id = <35>;
440 coresight-name = "coresight-cti-modem-cpu0";
441 coresight-nr-inports = <0>;
442 };
443
444 cti_audio_cpu0: cti@fc354000 {
445 compatible = "arm,coresight-cti";
446 reg = <0xfc354000 0x1000>;
447 reg-names = "cti-base";
448
449 coresight-id = <36>;
450 coresight-name = "coresight-cti-audio-cpu0";
451 coresight-nr-inports = <0>;
452 };
453
454 cti_rpm_cpu0: cti@fc358000 {
455 compatible = "arm,coresight-cti";
456 reg = <0xfc358000 0x1000>;
457 reg-names = "cti-base";
458
459 coresight-id = <37>;
460 coresight-name = "coresight-cti-rpm-cpu0";
461 coresight-nr-inports = <0>;
462 };
463
Aparna Das556b9a02013-04-02 16:26:40 -0700464 hwevent: hwevent@fd828018 {
465 compatible = "qcom,coresight-hwevent";
466 reg = <0xfd828018 0x80>,
467 <0xf9011080 0x80>,
Aparna Das8553d632013-06-18 16:27:56 -0700468 <0xfd4ab160 0x80>,
469 <0xfc401600 0x80>;
470 reg-names = "mmss-mux", "apcs-mux", "ppss-mux", "gcc-mux";
Aparna Das556b9a02013-04-02 16:26:40 -0700471
Pratik Patelb8bb7d82013-08-29 17:44:17 -0700472 coresight-id = <38>;
Aparna Das556b9a02013-04-02 16:26:40 -0700473 coresight-name = "coresight-hwevent";
474 coresight-nr-inports = <0>;
475
476 qcom,hwevent-clks = "core_mmss_clk";
477 };
Pratik Patel7608afa2013-06-13 23:52:05 -0700478
479 fuse: fuse@fc4be024 {
480 compatible = "arm,coresight-fuse";
481 reg = <0xfc4be024 0x8>;
482 reg-names = "fuse-base";
483
Pratik Patelb8bb7d82013-08-29 17:44:17 -0700484 coresight-id = <39>;
Pratik Patel7608afa2013-06-13 23:52:05 -0700485 coresight-name = "coresight-fuse";
486 coresight-nr-inports = <0>;
487 };
Aparna Dasbbee0842013-02-28 21:35:15 -0800488};