Pushkar Joshi | ecbf7e0 | 2012-12-06 10:45:34 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 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 Moskovchenko | 7d8cdcaa | 2013-04-25 17:10:55 -0700 | [diff] [blame] | 13 | &soc { |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 14 | tmc_etr: tmc@fc322000 { |
| 15 | compatible = "arm,coresight-tmc"; |
| 16 | reg = <0xfc322000 0x1000>, |
| 17 | <0xfc37c000 0x3000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 18 | reg-names = "tmc-base", "bam-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 19 | |
| 20 | qcom,memory-reservation-type = "EBI1"; |
Pushkar Joshi | 558ec8f | 2013-02-25 15:39:10 -0800 | [diff] [blame] | 21 | qcom,memory-reservation-size = <0x20000>; /* 128K EBI1 buffer */ |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 22 | |
| 23 | coresight-id = <0>; |
| 24 | coresight-name = "coresight-tmc-etr"; |
| 25 | coresight-nr-inports = <1>; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 26 | coresight-ctis = <&cti0 &cti8>; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | tpiu: tpiu@fc318000 { |
| 30 | compatible = "arm,coresight-tpiu"; |
| 31 | reg = <0xfc318000 0x1000>; |
Pratik Patel | 4ec2cd1 | 2013-02-07 16:56:44 -0800 | [diff] [blame] | 32 | reg-names = "tpiu-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 33 | |
| 34 | coresight-id = <1>; |
| 35 | coresight-name = "coresight-tpiu"; |
| 36 | coresight-nr-inports = <1>; |
Pratik Patel | ca29642 | 2013-04-09 19:12:04 -0700 | [diff] [blame] | 37 | |
| 38 | vdd-supply = <&ext_2p95v>; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 39 | }; |
| 40 | |
| 41 | replicator: replicator@fc31c000 { |
| 42 | compatible = "qcom,coresight-replicator"; |
| 43 | reg = <0xfc31c000 0x1000>; |
Pratik Patel | 4ec2cd1 | 2013-02-07 16:56:44 -0800 | [diff] [blame] | 44 | reg-names = "replicator-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 45 | |
| 46 | coresight-id = <2>; |
| 47 | coresight-name = "coresight-replicator"; |
| 48 | coresight-nr-inports = <1>; |
| 49 | coresight-outports = <0 1>; |
| 50 | coresight-child-list = <&tmc_etr &tpiu>; |
| 51 | coresight-child-ports = <0 0>; |
| 52 | }; |
| 53 | |
| 54 | tmc_etf: tmc@fc307000 { |
| 55 | compatible = "arm,coresight-tmc"; |
| 56 | reg = <0xfc307000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 57 | reg-names = "tmc-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 58 | |
| 59 | coresight-id = <3>; |
| 60 | coresight-name = "coresight-tmc-etf"; |
| 61 | coresight-nr-inports = <1>; |
| 62 | coresight-outports = <0>; |
| 63 | coresight-child-list = <&replicator>; |
| 64 | coresight-child-ports = <0>; |
| 65 | coresight-default-sink; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 66 | coresight-ctis = <&cti0 &cti8>; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 67 | }; |
| 68 | |
| 69 | funnel_merg: funnel@fc31b000 { |
| 70 | compatible = "arm,coresight-funnel"; |
| 71 | reg = <0xfc31b000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 72 | reg-names = "funnel-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 73 | |
| 74 | coresight-id = <4>; |
| 75 | coresight-name = "coresight-funnel-merg"; |
| 76 | coresight-nr-inports = <2>; |
| 77 | coresight-outports = <0>; |
| 78 | coresight-child-list = <&tmc_etf>; |
| 79 | coresight-child-ports = <0>; |
| 80 | }; |
| 81 | |
| 82 | funnel_in0: funnel@fc319000 { |
| 83 | compatible = "arm,coresight-funnel"; |
| 84 | reg = <0xfc319000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 85 | reg-names = "funnel-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 86 | |
| 87 | coresight-id = <5>; |
| 88 | coresight-name = "coresight-funnel-in0"; |
| 89 | coresight-nr-inports = <8>; |
| 90 | coresight-outports = <0>; |
| 91 | coresight-child-list = <&funnel_merg>; |
| 92 | coresight-child-ports = <0>; |
| 93 | }; |
| 94 | |
| 95 | funnel_in1: funnel@fc31a000 { |
| 96 | compatible = "arm,coresight-funnel"; |
| 97 | reg = <0xfc31a000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 98 | reg-names = "funnel-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 99 | |
| 100 | coresight-id = <6>; |
| 101 | coresight-name = "coresight-funnel-in1"; |
| 102 | coresight-nr-inports = <8>; |
| 103 | coresight-outports = <0>; |
| 104 | coresight-child-list = <&funnel_merg>; |
| 105 | coresight-child-ports = <1>; |
| 106 | }; |
| 107 | |
| 108 | stm: stm@fc321000 { |
| 109 | compatible = "arm,coresight-stm"; |
| 110 | reg = <0xfc321000 0x1000>, |
| 111 | <0xfa280000 0x180000>; |
Pratik Patel | 4ec2cd1 | 2013-02-07 16:56:44 -0800 | [diff] [blame] | 112 | reg-names = "stm-base", "stm-data-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 113 | |
| 114 | coresight-id = <7>; |
| 115 | coresight-name = "coresight-stm"; |
| 116 | coresight-nr-inports = <0>; |
| 117 | coresight-outports = <0>; |
| 118 | coresight-child-list = <&funnel_in1>; |
| 119 | coresight-child-ports = <7>; |
| 120 | }; |
| 121 | |
Pushkar Joshi | ecbf7e0 | 2012-12-06 10:45:34 -0800 | [diff] [blame] | 122 | etm: etm@fc332000 { |
| 123 | compatible = "arm,coresight-etm"; |
| 124 | reg = <0xfc332000 0x1000>; |
Pratik Patel | 4ec2cd1 | 2013-02-07 16:56:44 -0800 | [diff] [blame] | 125 | reg-names = "etm-base"; |
Pushkar Joshi | ecbf7e0 | 2012-12-06 10:45:34 -0800 | [diff] [blame] | 126 | |
| 127 | coresight-id = <8>; |
| 128 | coresight-name = "coresight-etm"; |
| 129 | coresight-nr-inports = <0>; |
| 130 | coresight-outports = <0>; |
| 131 | coresight-child-list = <&funnel_in0>; |
| 132 | coresight-child-ports = <4>; |
Pratik Patel | e8a1443 | 2013-01-22 18:44:17 -0800 | [diff] [blame] | 133 | |
| 134 | qcom,round-robin; |
Pushkar Joshi | ecbf7e0 | 2012-12-06 10:45:34 -0800 | [diff] [blame] | 135 | }; |
| 136 | |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 137 | csr: csr@fc302000 { |
| 138 | compatible = "qcom,coresight-csr"; |
| 139 | reg = <0xfc302000 0x1000>; |
Pratik Patel | 4ec2cd1 | 2013-02-07 16:56:44 -0800 | [diff] [blame] | 140 | reg-names = "csr-base"; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 141 | |
Pushkar Joshi | ecbf7e0 | 2012-12-06 10:45:34 -0800 | [diff] [blame] | 142 | coresight-id = <9>; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 143 | coresight-name = "coresight-csr"; |
| 144 | coresight-nr-inports = <0>; |
Pratik Patel | 99bac0f | 2013-01-14 22:24:25 -0800 | [diff] [blame] | 145 | |
| 146 | qcom,blk-size = <1>; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 147 | }; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 148 | |
| 149 | cti0: cti@fc308000 { |
| 150 | compatible = "arm,coresight-cti"; |
| 151 | reg = <0xfc308000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 152 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 153 | |
| 154 | coresight-id = <10>; |
| 155 | coresight-name = "coresight-cti0"; |
| 156 | coresight-nr-inports = <0>; |
| 157 | }; |
| 158 | |
| 159 | cti1: cti@fc309000 { |
| 160 | compatible = "arm,coresight-cti"; |
| 161 | reg = <0xfc309000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 162 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 163 | |
| 164 | coresight-id = <11>; |
| 165 | coresight-name = "coresight-cti1"; |
| 166 | coresight-nr-inports = <0>; |
| 167 | }; |
| 168 | |
| 169 | cti2: cti@fc30a000 { |
| 170 | compatible = "arm,coresight-cti"; |
| 171 | reg = <0xfc30a000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 172 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 173 | |
| 174 | coresight-id = <12>; |
| 175 | coresight-name = "coresight-cti2"; |
| 176 | coresight-nr-inports = <0>; |
| 177 | }; |
| 178 | |
| 179 | cti3: cti@fc30b000 { |
| 180 | compatible = "arm,coresight-cti"; |
| 181 | reg = <0xfc30b000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 182 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 183 | |
| 184 | coresight-id = <13>; |
| 185 | coresight-name = "coresight-cti3"; |
| 186 | coresight-nr-inports = <0>; |
| 187 | }; |
| 188 | |
| 189 | cti4: cti@fc30c000 { |
| 190 | compatible = "arm,coresight-cti"; |
| 191 | reg = <0xfc30c000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 192 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 193 | |
| 194 | coresight-id = <14>; |
| 195 | coresight-name = "coresight-cti4"; |
| 196 | coresight-nr-inports = <0>; |
| 197 | }; |
| 198 | |
| 199 | cti5: cti@fc30d000 { |
| 200 | compatible = "arm,coresight-cti"; |
| 201 | reg = <0xfc30d000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 202 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 203 | |
| 204 | coresight-id = <15>; |
| 205 | coresight-name = "coresight-cti5"; |
| 206 | coresight-nr-inports = <0>; |
| 207 | }; |
| 208 | |
| 209 | cti6: cti@fc30e000 { |
| 210 | compatible = "arm,coresight-cti"; |
| 211 | reg = <0xfc30e000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 212 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 213 | |
| 214 | coresight-id = <16>; |
| 215 | coresight-name = "coresight-cti6"; |
| 216 | coresight-nr-inports = <0>; |
| 217 | }; |
| 218 | |
| 219 | cti7: cti@fc30f000 { |
| 220 | compatible = "arm,coresight-cti"; |
| 221 | reg = <0xfc30f000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 222 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 223 | |
| 224 | coresight-id = <17>; |
| 225 | coresight-name = "coresight-cti7"; |
| 226 | coresight-nr-inports = <0>; |
| 227 | }; |
| 228 | |
| 229 | cti8: cti@fc310000 { |
| 230 | compatible = "arm,coresight-cti"; |
| 231 | reg = <0xfc310000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 232 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 233 | |
| 234 | coresight-id = <18>; |
| 235 | coresight-name = "coresight-cti8"; |
| 236 | coresight-nr-inports = <0>; |
| 237 | }; |
| 238 | |
| 239 | cti_cpu: cti@fc333000 { |
| 240 | compatible = "arm,coresight-cti"; |
| 241 | reg = <0xfc333000 0x1000>; |
Aparna Das | 572b474 | 2013-03-08 10:09:20 -0800 | [diff] [blame] | 242 | reg-names = "cti-base"; |
Pratik Patel | 52ea7f7 | 2013-02-08 11:56:19 -0800 | [diff] [blame] | 243 | |
| 244 | coresight-id = <19>; |
| 245 | coresight-name = "coresight-cti-cpu"; |
| 246 | coresight-nr-inports = <0>; |
| 247 | }; |
Aparna Das | c856b93 | 2013-04-02 16:21:59 -0700 | [diff] [blame] | 248 | |
| 249 | hwevent: hwevent@f9011038 { |
| 250 | compatible = "qcom,coresight-hwevent"; |
| 251 | reg = <0xf9011038 0x8>, |
| 252 | <0xfd4ab160 0x80>; |
| 253 | reg-names = "apcs-mux", "ppss-mux"; |
| 254 | |
| 255 | coresight-id = <20>; |
| 256 | coresight-name = "coresight-hwevent"; |
| 257 | coresight-nr-inports = <0>; |
| 258 | }; |
Pushkar Joshi | faf92a7 | 2012-10-29 17:45:27 -0700 | [diff] [blame] | 259 | }; |