blob: 65075e53693df10e15ac2192b9221dea87fb1d7b [file] [log] [blame]
Olav Haugan54166782013-01-28 16:59:51 -08001/* Copyright (c) 2012-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 {
Olav Haugan54166782013-01-28 16:59:51 -080014 lpass_iommu: qcom,iommu@fd000000 {
Olav Haugan0e22c482013-01-28 17:39:36 -080015 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -080016 #address-cells = <1>;
17 #size-cells = <1>;
18 ranges;
19 reg = <0xfd000000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -080020 interrupts = <0 248 0>;
Olav Haugan54166782013-01-28 16:59:51 -080021 qcom,glb-offset = <0xF000>;
22 label = "lpass_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -080023 qcom,iommu-pmu-ngroups = <1>;
24 qcom,iommu-pmu-ncounters = <4>;
25 qcom,iommu-pmu-event-classes = <0x08
26 0x09
27 0x10
28 0x12
29 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -070030 qcom,msm-bus,name = "lpass_ebi";
31 qcom,msm-bus,num-cases = <2>;
32 qcom,msm-bus,active-only;
33 qcom,msm-bus,num-paths = <1>;
34 qcom,msm-bus,vectors-KBps =
35 <11 512 0 0>,
36 <11 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -080037 status = "disabled";
38
39 lpass_q6_fw: qcom,iommu-ctx@fd000000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070040 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080041 reg = <0xfd000000 0x1000>;
42 interrupts = <0 250 0>;
43 qcom,iommu-ctx-mids = <0 15>;
44 label = "q6_fw";
45 };
46
47 lpass_audio_shared: qcom,iommu-ctx@fd001000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070048 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080049 reg = <0xfd001000 0x1000>;
50 interrupts = <0 250 0>;
51 qcom,iommu-ctx-mids = <1>;
52 label = "audio_shared";
53 };
54
55 lpass_video_shared: qcom,iommu-ctx@fd002000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070056 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080057 reg = <0xfd002000 0x1000>;
58 interrupts = <0 250 0>;
59 qcom,iommu-ctx-mids = <2>;
60 label = "video_shared";
61 };
62
63 lpass_q6_spare: qcom,iommu-ctx@fd003000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070064 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080065 reg = <0xfd003000 0x1000>;
66 interrupts = <0 250 0>;
67 qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>;
68 label = "q6_spare";
69 };
70 };
71
72 copss_iommu: qcom,iommu@fd010000 {
Olav Haugan0e22c482013-01-28 17:39:36 -080073 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -080074 #address-cells = <1>;
75 #size-cells = <1>;
76 ranges;
77 reg = <0xfd010000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -080078 interrupts = <0 252 0>;
Olav Haugan54166782013-01-28 16:59:51 -080079 qcom,glb-offset = <0xF000>;
80 label = "copss_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -080081 qcom,iommu-pmu-ngroups = <1>;
82 qcom,iommu-pmu-ncounters = <4>;
83 qcom,iommu-pmu-event-classes = <0x08
84 0x09
85 0x10
86 0x12
87 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -070088 qcom,msm-bus,name = "copss_ebi";
89 qcom,msm-bus,num-cases = <2>;
90 qcom,msm-bus,active-only;
91 qcom,msm-bus,num-paths = <1>;
92 qcom,msm-bus,vectors-KBps =
93 <88 512 0 0>,
94 <88 512 0 1000>;
95
Olav Haugan54166782013-01-28 16:59:51 -080096 status = "disabled";
97
98 qcom,iommu-ctx@fd010000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070099 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800100 reg = <0xfd010000 0x1000>;
101 interrupts = <0 254 0>;
102 qcom,iommu-ctx-mids = <0>;
103 label = "copss_0";
104 };
105
106 qcom,iommu-ctx@fd011000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700107 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800108 reg = <0xfd011000 0x1000>;
109 interrupts = <0 254 0>;
110 qcom,iommu-ctx-mids = <1>;
111 label = "copss_1";
112 };
113
114 qcom,iommu-ctx@fd012000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700115 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800116 reg = <0xfd012000 0x1000>;
117 interrupts = <0 254 0>;
118 qcom,iommu-ctx-mids = <2>;
119 label = "copss_2";
120 };
121
122 qcom,iommu-ctx@fd013000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700123 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800124 reg = <0xfd013000 0x1000>;
125 interrupts = <0 254 0>;
126 qcom,iommu-ctx-mids = <3>;
127 label = "copss_3";
128 };
129
130 qcom,iommu-ctx@fd014000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700131 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800132 reg = <0xfd014000 0x1000>;
133 interrupts = <0 254 0>;
134 qcom,iommu-ctx-mids = <4>;
135 label = "copss_4";
136 };
137
138 qcom,iommu-ctx@fd015000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700139 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800140 reg = <0xfd015000 0x1000>;
141 interrupts = <0 254 0>;
142 qcom,iommu-ctx-mids = <5>;
143 label = "copss_5";
144 };
145
146 qcom,iommu-ctx@fd016000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700147 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800148 reg = <0xfd016000 0x1000>;
149 interrupts = <0 254 0>;
150 qcom,iommu-ctx-mids = <6>;
151 label = "copss_6";
152 };
153
154 qcom,iommu-ctx@fd017000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700155 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800156 reg = <0xfd017000 0x1000>;
157 interrupts = <0 254 0>;
158 qcom,iommu-ctx-mids = <7>;
159 label = "copss_7";
160 };
161 };
162
163 mdpe_iommu: qcom,iommu@fd860000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800164 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800165 #address-cells = <1>;
166 #size-cells = <1>;
167 ranges;
168 reg = <0xfd860000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800169 interrupts = <0 245 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800170 qcom,glb-offset = <0xF000>;
171 label = "mdpe_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800172 qcom,iommu-pmu-ngroups = <1>;
173 qcom,iommu-pmu-ncounters = <4>;
174 qcom,iommu-pmu-event-classes = <0x08
175 0x09
176 0x10
177 0x12
178 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700179 qcom,msm-bus,name = "mdpe_ebi";
180 qcom,msm-bus,num-cases = <2>;
181 qcom,msm-bus,active-only;
182 qcom,msm-bus,num-paths = <1>;
183 qcom,msm-bus,vectors-KBps =
184 <92 512 0 0>,
185 <92 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800186 status = "disabled";
187
188 qcom,iommu-ctx@fd860000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700189 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800190 reg = <0xfd860000 0x1000>;
191 interrupts = <0 247 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800192 qcom,iommu-ctx-mids = <0 1 3>;
Olav Haugan54166782013-01-28 16:59:51 -0800193 label = "mdpe_0";
194 };
195
196 qcom,iommu-ctx@fd861000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700197 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800198 reg = <0xfd861000 0x1000>;
199 interrupts = <0 247 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800200 qcom,iommu-ctx-mids = <2>;
Olav Haugan54166782013-01-28 16:59:51 -0800201 label = "mdpe_1";
202 };
203 };
204
205 mdps_iommu: qcom,iommu@fd870000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800206 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800207 #address-cells = <1>;
208 #size-cells = <1>;
209 ranges;
210 reg = <0xfd870000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800211 interrupts = <0 73 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800212 qcom,glb-offset = <0xF000>;
213 label = "mdps_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800214 qcom,iommu-pmu-ngroups = <1>;
215 qcom,iommu-pmu-ncounters = <4>;
216 qcom,iommu-pmu-event-classes = <0x08
217 0x09
218 0x10
219 0x12
220 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700221 qcom,msm-bus,name = "mdps_ebi";
222 qcom,msm-bus,num-cases = <2>;
223 qcom,msm-bus,active-only;
224 qcom,msm-bus,num-paths = <1>;
225 qcom,msm-bus,vectors-KBps =
226 <22 512 0 0>,
227 <22 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800228 status = "disabled";
229
230 qcom,iommu-ctx@fd870000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700231 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800232 reg = <0xfd870000 0x1000>;
Olav Hauganf4b15bb2013-02-28 18:01:07 -0800233 interrupts = <0 47 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800234 qcom,iommu-ctx-mids = <0>;
Olav Haugan54166782013-01-28 16:59:51 -0800235 label = "mdps_0";
236 };
237
238 qcom,iommu-ctx@fd871000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700239 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800240 reg = <0xfd871000 0x1000>;
Olav Hauganf4b15bb2013-02-28 18:01:07 -0800241 interrupts = <0 47 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800242 qcom,iommu-ctx-mids = <1>;
Olav Haugan54166782013-01-28 16:59:51 -0800243 label = "mdps_1";
244 };
245 };
246
247 gfx_iommu: qcom,iommu@fd880000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800248 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800249 #address-cells = <1>;
250 #size-cells = <1>;
251 ranges;
252 reg = <0xfd880000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800253 interrupts = <0 38 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800254 qcom,glb-offset = <0xF000>;
Olav Hauganc94476b2013-04-30 14:10:26 -0700255 qcom,needs-alt-core-clk;
Olav Haugan54166782013-01-28 16:59:51 -0800256 label = "gfx_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800257 qcom,iommu-pmu-ngroups = <1>;
258 qcom,iommu-pmu-ncounters = <4>;
259 qcom,iommu-pmu-event-classes = <0x08
260 0x09
261 0x10
262 0x12
263 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700264 qcom,msm-bus,name = "gfx_ebi";
265 qcom,msm-bus,num-cases = <2>;
266 qcom,msm-bus,active-only;
267 qcom,msm-bus,num-paths = <1>;
268 qcom,msm-bus,vectors-KBps =
269 <26 512 0 0>,
270 <26 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800271 status = "disabled";
272
273 qcom,iommu-ctx@fd880000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700274 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800275 reg = <0xfd880000 0x1000>;
276 interrupts = <0 241 0>;
277 qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13
278 14 15>;
279 label = "gfx3d_user";
280 };
281
282 qcom,iommu-ctx@fd881000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700283 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800284 reg = <0xfd881000 0x1000>;
285 interrupts = <0 241 0>;
286 qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25
287 26 27 28 29 30 31>;
288 label = "gfx3d_priv";
289 };
290
291 qcom,iommu-ctx@fd882000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700292 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800293 reg = <0xfd882000 0x1000>;
294 interrupts = <0 241 0>;
295 qcom,iommu-ctx-mids = <>;
296 label = "gfx3d_spare";
297 };
298 };
299
300 vfe_iommu: qcom,iommu@fd890000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800301 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800302 #address-cells = <1>;
303 #size-cells = <1>;
304 ranges;
305 reg = <0xfd890000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800306 interrupts = <0 62 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800307 qcom,glb-offset = <0xF000>;
308 label = "vfe_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800309 qcom,iommu-pmu-ngroups = <1>;
310 qcom,iommu-pmu-ncounters = <4>;
311 qcom,iommu-pmu-event-classes = <0x08
312 0x09
313 0x10
314 0x12
315 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700316 qcom,msm-bus,name = "vfe_ebi";
317 qcom,msm-bus,num-cases = <2>;
318 qcom,msm-bus,active-only;
319 qcom,msm-bus,num-paths = <1>;
320 qcom,msm-bus,vectors-KBps =
321 <29 512 0 0>,
322 <29 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800323 status = "disabled";
324
325 qcom,iommu-ctx@fd890000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700326 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800327 reg = <0xfd890000 0x1000>;
328 interrupts = <0 65 0>;
329 qcom,iommu-ctx-mids = <0>;
330 label = "vfe0";
331 };
332
333 qcom,iommu-ctx@fd891000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700334 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800335 reg = <0xfd891000 0x1000>;
336 interrupts = <0 65 0>;
337 qcom,iommu-ctx-mids = <1>;
338 label = "vfe1";
339 };
340 };
341};