blob: ca4f72139ded5ccacaf348477f7c6c0b33ff5226 [file] [log] [blame]
Aparna Dasd16555b2013-03-06 15:46:38 -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 Dasd16555b2013-03-06 15:46:38 -080014 tmc_etr: tmc@fc326000 {
15 compatible = "arm,coresight-tmc";
16 reg = <0xfc326000 0x1000>,
17 <0xfc37c000 0x3000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -080018 reg-names = "tmc-base", "bam-base";
Pushkar Joshid55fa062013-08-07 18:43:40 -070019 interrupts = <0 166 0>;
20 interrupt-names = "byte-cntr-irq";
Aparna Dasd16555b2013-03-06 15:46:38 -080021
Aparna Das85266402013-08-07 16:48:12 -070022 qcom,memory-size = <0x100000>;
Aparna Dasd16555b2013-03-06 15:46:38 -080023
24 coresight-id = <0>;
25 coresight-name = "coresight-tmc-etr";
26 coresight-nr-inports = <1>;
Aparna Das7da1bff2013-03-20 17:50:07 -070027 coresight-ctis = <&cti0 &cti8>;
Aparna Dasd16555b2013-03-06 15:46:38 -080028 };
29
30 tpiu: tpiu@fc320000 {
31 compatible = "arm,coresight-tpiu";
32 reg = <0xfc320000 0x1000>;
33 reg-names = "tpiu-base";
34
35 coresight-id = <1>;
36 coresight-name = "coresight-tpiu";
37 coresight-nr-inports = <1>;
Pratik Pateldd3a52a2013-04-09 19:12:04 -070038
39 vdd-supply = <&pm8110_l18>;
40
41 qcom,vdd-voltage-level = <2950000 2950000>;
42 qcom,vdd-current-level = <15000 400000>;
Aparna Das11dba6d2013-07-13 10:58:05 -070043
44 vdd-io-supply = <&pm8110_l21>;
45
46 qcom,vdd-io-voltage-level = <2950000 2950000>;
47 qcom,vdd-io-current-level = <200 50000>;
Aparna Dasd16555b2013-03-06 15:46:38 -080048 };
49
50 replicator: replicator@fc324000 {
51 compatible = "qcom,coresight-replicator";
52 reg = <0xfc324000 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@fc325000 {
64 compatible = "arm,coresight-tmc";
65 reg = <0xfc325000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -080066 reg-names = "tmc-base";
Aparna Dasd16555b2013-03-06 15:46:38 -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 Das7da1bff2013-03-20 17:50:07 -070075 coresight-ctis = <&cti0 &cti8>;
Aparna Dasd16555b2013-03-06 15:46:38 -080076 };
77
78 funnel_merg: funnel@fc323000 {
79 compatible = "arm,coresight-funnel";
80 reg = <0xfc323000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -080081 reg-names = "funnel-base";
Aparna Dasd16555b2013-03-06 15:46:38 -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@fc321000 {
92 compatible = "arm,coresight-funnel";
93 reg = <0xfc321000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -080094 reg-names = "funnel-base";
Aparna Dasd16555b2013-03-06 15:46:38 -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@fc322000 {
105 compatible = "arm,coresight-funnel";
106 reg = <0xfc322000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800107 reg-names = "funnel-base";
Aparna Dasd16555b2013-03-06 15:46:38 -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@fc355000 {
118 compatible = "arm,coresight-funnel";
119 reg = <0xfc355000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800120 reg-names = "funnel-base";
Aparna Dasd16555b2013-03-06 15:46:38 -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>;
Aparna Das3df604e2013-04-10 16:25:43 -0700127 coresight-child-ports = <6>;
Aparna Dasd16555b2013-03-06 15:46:38 -0800128 };
129
130 stm: stm@fc302000 {
131 compatible = "arm,coresight-stm";
132 reg = <0xfc302000 0x1000>,
133 <0xfa280000 0x180000>;
134 reg-names = "stm-base", "stm-data-base";
135
136 coresight-id = <8>;
137 coresight-name = "coresight-stm";
138 coresight-nr-inports = <0>;
139 coresight-outports = <0>;
Aparna Das3df604e2013-04-10 16:25:43 -0700140 coresight-child-list = <&funnel_in0>;
Aparna Dasd16555b2013-03-06 15:46:38 -0800141 coresight-child-ports = <7>;
142 };
143
Aparna Dasf0e9c012013-03-20 16:44:54 -0700144 etm0: etm@fc34c000 {
145 compatible = "arm,coresight-etm";
146 reg = <0xfc34c000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800147 reg-names = "etm-base";
Aparna Dasf0e9c012013-03-20 16:44:54 -0700148
149 coresight-id = <9>;
150 coresight-name = "coresight-etm0";
151 coresight-nr-inports = <0>;
152 coresight-outports = <0>;
153 coresight-child-list = <&funnel_a7ss>;
154 coresight-child-ports = <0>;
155
156 qcom,pc-save;
157 qcom,round-robin;
158 };
159
160 etm1: etm@fc34d000 {
161 compatible = "arm,coresight-etm";
162 reg = <0xfc34d000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800163 reg-names = "etm-base";
Aparna Dasf0e9c012013-03-20 16:44:54 -0700164
165 coresight-id = <10>;
166 coresight-name = "coresight-etm1";
167 coresight-nr-inports = <0>;
168 coresight-outports = <0>;
169 coresight-child-list = <&funnel_a7ss>;
170 coresight-child-ports = <1>;
171
172 qcom,pc-save;
173 qcom,round-robin;
174 };
175
176 etm2: etm@fc34e000 {
177 compatible = "arm,coresight-etm";
178 reg = <0xfc34e000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800179 reg-names = "etm-base";
Aparna Dasf0e9c012013-03-20 16:44:54 -0700180
181 coresight-id = <11>;
182 coresight-name = "coresight-etm2";
183 coresight-nr-inports = <0>;
184 coresight-outports = <0>;
185 coresight-child-list = <&funnel_a7ss>;
186 coresight-child-ports = <2>;
187
188 qcom,pc-save;
189 qcom,round-robin;
190 };
191
192 etm3: etm@fc34f000 {
193 compatible = "arm,coresight-etm";
194 reg = <0xfc34f000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800195 reg-names = "etm-base";
Aparna Dasf0e9c012013-03-20 16:44:54 -0700196
197 coresight-id = <12>;
198 coresight-name = "coresight-etm3";
199 coresight-nr-inports = <0>;
200 coresight-outports = <0>;
201 coresight-child-list = <&funnel_a7ss>;
202 coresight-child-ports = <3>;
203
204 qcom,pc-save;
205 qcom,round-robin;
206 };
207
Aparna Dasfd7508e2013-07-06 10:41:21 -0700208 audio_etm0 {
209 compatible = "qcom,coresight-audio-etm";
210
211 coresight-id = <13>;
212 coresight-name = "coresight-audio-etm0";
213 coresight-nr-inports = <0>;
214 coresight-outports = <0>;
215 coresight-child-list = <&funnel_in0>;
216 coresight-child-ports = <2>;
217 };
218
219 modem_etm0 {
220 compatible = "qcom,coresight-modem-etm";
221
222 coresight-id = <14>;
223 coresight-name = "coresight-modem-etm0";
224 coresight-nr-inports = <0>;
225 coresight-outports = <0>;
226 coresight-child-list = <&funnel_in0>;
227 coresight-child-ports = <1>;
228 };
229
230 wcn_etm0 {
231 compatible = "qcom,coresight-wcn-etm";
232
233 coresight-id = <15>;
234 coresight-name = "coresight-wcn-etm0";
235 coresight-nr-inports = <0>;
236 coresight-outports = <0>;
237 coresight-child-list = <&funnel_in1>;
238 coresight-child-ports = <0>;
239 };
240
241 rpm_etm0 {
242 compatible = "qcom,coresight-rpm-etm";
243
244 coresight-id = <16>;
245 coresight-name = "coresight-rpm-etm0";
246 coresight-nr-inports = <0>;
247 coresight-outports = <0>;
248 coresight-child-list = <&funnel_in0>;
249 coresight-child-ports = <0>;
250 };
251
Aparna Dasd16555b2013-03-06 15:46:38 -0800252 csr: csr@fc301000 {
253 compatible = "qcom,coresight-csr";
254 reg = <0xfc301000 0x1000>;
255 reg-names = "csr-base";
256
Aparna Dasfd7508e2013-07-06 10:41:21 -0700257 coresight-id = <17>;
Aparna Dasd16555b2013-03-06 15:46:38 -0800258 coresight-name = "coresight-csr";
259 coresight-nr-inports = <0>;
260
Pushkar Joshia3974182013-03-28 18:04:47 -0700261 qcom,blk-size = <1>;
Aparna Dasd16555b2013-03-06 15:46:38 -0800262 };
Aparna Das7da1bff2013-03-20 17:50:07 -0700263
264 cti0: cti@fc310000 {
265 compatible = "arm,coresight-cti";
266 reg = <0xfc310000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800267 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700268
Aparna Dasfd7508e2013-07-06 10:41:21 -0700269 coresight-id = <18>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700270 coresight-name = "coresight-cti0";
271 coresight-nr-inports = <0>;
272 };
273
274 cti1: cti@fc311000 {
275 compatible = "arm,coresight-cti";
276 reg = <0xfc311000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800277 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700278
Aparna Dasfd7508e2013-07-06 10:41:21 -0700279 coresight-id = <19>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700280 coresight-name = "coresight-cti1";
281 coresight-nr-inports = <0>;
282 };
283
284 cti2: cti@fc312000 {
285 compatible = "arm,coresight-cti";
286 reg = <0xfc312000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800287 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700288
Aparna Dasfd7508e2013-07-06 10:41:21 -0700289 coresight-id = <20>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700290 coresight-name = "coresight-cti2";
291 coresight-nr-inports = <0>;
292 };
293
294 cti3: cti@fc313000 {
295 compatible = "arm,coresight-cti";
296 reg = <0xfc313000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800297 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700298
Aparna Dasfd7508e2013-07-06 10:41:21 -0700299 coresight-id = <21>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700300 coresight-name = "coresight-cti3";
301 coresight-nr-inports = <0>;
302 };
303
304 cti4: cti@fc314000 {
305 compatible = "arm,coresight-cti";
306 reg = <0xfc314000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800307 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700308
Aparna Dasfd7508e2013-07-06 10:41:21 -0700309 coresight-id = <22>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700310 coresight-name = "coresight-cti4";
311 coresight-nr-inports = <0>;
312 };
313
314 cti5: cti@fc315000 {
315 compatible = "arm,coresight-cti";
316 reg = <0xfc315000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800317 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700318
Aparna Dasfd7508e2013-07-06 10:41:21 -0700319 coresight-id = <23>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700320 coresight-name = "coresight-cti5";
321 coresight-nr-inports = <0>;
322 };
323
324 cti6: cti@fc316000 {
325 compatible = "arm,coresight-cti";
326 reg = <0xfc316000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800327 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700328
Aparna Dasfd7508e2013-07-06 10:41:21 -0700329 coresight-id = <24>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700330 coresight-name = "coresight-cti6";
331 coresight-nr-inports = <0>;
332 };
333
334 cti7: cti@fc317000 {
335 compatible = "arm,coresight-cti";
336 reg = <0xfc317000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800337 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700338
Aparna Dasfd7508e2013-07-06 10:41:21 -0700339 coresight-id = <25>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700340 coresight-name = "coresight-cti7";
341 coresight-nr-inports = <0>;
342 };
343
344 cti8: cti@fc318000 {
345 compatible = "arm,coresight-cti";
346 reg = <0xfc318000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800347 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700348
Aparna Dasfd7508e2013-07-06 10:41:21 -0700349 coresight-id = <26>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700350 coresight-name = "coresight-cti8";
351 coresight-nr-inports = <0>;
352 };
353
354 cti_cpu0: cti@fc351000 {
355 compatible = "arm,coresight-cti";
356 reg = <0xfc351000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800357 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700358
Aparna Dasfd7508e2013-07-06 10:41:21 -0700359 coresight-id = <27>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700360 coresight-name = "coresight-cti-cpu0";
361 coresight-nr-inports = <0>;
362 };
363
364 cti_cpu1: cti@fc352000 {
365 compatible = "arm,coresight-cti";
366 reg = <0xfc352000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800367 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700368
Aparna Dasfd7508e2013-07-06 10:41:21 -0700369 coresight-id = <28>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700370 coresight-name = "coresight-cti-cpu1";
371 coresight-nr-inports = <0>;
372 };
373
374 cti_cpu2: cti@fc353000 {
375 compatible = "arm,coresight-cti";
376 reg = <0xfc353000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800377 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700378
Aparna Dasfd7508e2013-07-06 10:41:21 -0700379 coresight-id = <29>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700380 coresight-name = "coresight-cti-cpu2";
381 coresight-nr-inports = <0>;
382 };
383
384 cti_cpu3: cti@fc354000 {
385 compatible = "arm,coresight-cti";
386 reg = <0xfc354000 0x1000>;
Aparna Dascd5e25d62013-03-08 10:15:31 -0800387 reg-names = "cti-base";
Aparna Das7da1bff2013-03-20 17:50:07 -0700388
Aparna Dasfd7508e2013-07-06 10:41:21 -0700389 coresight-id = <30>;
Aparna Das7da1bff2013-03-20 17:50:07 -0700390 coresight-name = "coresight-cti-cpu3";
391 coresight-nr-inports = <0>;
392 };
Aparna Dasd84c48c2013-05-13 15:09:39 -0700393
Pratik Patelaf40ba12013-08-29 17:44:17 -0700394 cti_wcn_cpu0: cti@fc335000 {
395 compatible = "arm,coresight-cti";
396 reg = <0xfc335000 0x1000>;
397 reg-names = "cti-base";
398
399 coresight-id = <31>;
400 coresight-name = "coresight-cti-wcn-cpu0";
401 coresight-nr-inports = <0>;
402 };
403
404 cti_modem_cpu0: cti@fc338000 {
405 compatible = "arm,coresight-cti";
406 reg = <0xfc338000 0x1000>;
407 reg-names = "cti-base";
408
409 coresight-id = <32>;
410 coresight-name = "coresight-cti-modem-cpu0";
411 coresight-nr-inports = <0>;
412 };
413
414 cti_audio_cpu0: cti@fc33c000 {
415 compatible = "arm,coresight-cti";
416 reg = <0xfc33c000 0x1000>;
417 reg-names = "cti-base";
418
419 coresight-id = <33>;
420 coresight-name = "coresight-cti-audio-cpu0";
421 coresight-nr-inports = <0>;
422 };
423
424 cti_rpm_cpu0: cti@fc360000 {
425 compatible = "arm,coresight-cti";
426 reg = <0xfc360000 0x1000>;
427 reg-names = "cti-base";
428
429 coresight-id = <34>;
430 coresight-name = "coresight-cti-rpm-cpu0";
431 coresight-nr-inports = <0>;
432 };
433
Aparna Dasd84c48c2013-05-13 15:09:39 -0700434 hwevent: hwevent@fd820018 {
435 compatible = "qcom,coresight-hwevent";
436 reg = <0xfd820018 0x80>,
437 <0xf9011080 0x80>,
Aparna Dasef0ebe92013-06-18 16:28:24 -0700438 <0xfd4ab160 0x80>,
439 <0xfc401600 0x80>;
440 reg-names = "mmss-mux", "apcs-mux", "ppss-mux", "gcc-mux";
Aparna Dasd84c48c2013-05-13 15:09:39 -0700441
Pratik Patelaf40ba12013-08-29 17:44:17 -0700442 coresight-id = <35>;
Aparna Dasd84c48c2013-05-13 15:09:39 -0700443 coresight-name = "coresight-hwevent";
444 coresight-nr-inports = <0>;
445
446 qcom,hwevent-clks = "core_mmss_clk";
447 };
Pratik Patel93e81ac2013-06-13 23:52:05 -0700448
449 fuse: fuse@fc4be024 {
450 compatible = "arm,coresight-fuse";
451 reg = <0xfc4be024 0x8>;
452 reg-names = "fuse-base";
453
Pratik Patelaf40ba12013-08-29 17:44:17 -0700454 coresight-id = <36>;
Pratik Patel93e81ac2013-06-13 23:52:05 -0700455 coresight-name = "coresight-fuse";
456 coresight-nr-inports = <0>;
457 };
Aparna Dasd16555b2013-03-06 15:46:38 -0800458};