blob: 88919353600b870c20db5ba85f96adab66438a33 [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>;
Olav Haugan174d53d2013-05-14 17:02:48 -070032 qcom,msm-bus,num-paths = <1>;
33 qcom,msm-bus,vectors-KBps =
34 <11 512 0 0>,
35 <11 512 0 1000>;
Olav Haugan045bd572013-10-01 09:31:12 -070036 qcom,msm-enable-remote-spinlock;
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>;
Olav Haugan174d53d2013-05-14 17:02:48 -070090 qcom,msm-bus,num-paths = <1>;
91 qcom,msm-bus,vectors-KBps =
92 <88 512 0 0>,
93 <88 512 0 1000>;
94
Olav Haugan54166782013-01-28 16:59:51 -080095 status = "disabled";
96
97 qcom,iommu-ctx@fd010000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070098 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080099 reg = <0xfd010000 0x1000>;
100 interrupts = <0 254 0>;
101 qcom,iommu-ctx-mids = <0>;
102 label = "copss_0";
103 };
104
105 qcom,iommu-ctx@fd011000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700106 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800107 reg = <0xfd011000 0x1000>;
108 interrupts = <0 254 0>;
109 qcom,iommu-ctx-mids = <1>;
110 label = "copss_1";
111 };
112
113 qcom,iommu-ctx@fd012000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700114 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800115 reg = <0xfd012000 0x1000>;
116 interrupts = <0 254 0>;
117 qcom,iommu-ctx-mids = <2>;
118 label = "copss_2";
119 };
120
121 qcom,iommu-ctx@fd013000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700122 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800123 reg = <0xfd013000 0x1000>;
124 interrupts = <0 254 0>;
125 qcom,iommu-ctx-mids = <3>;
126 label = "copss_3";
127 };
128
129 qcom,iommu-ctx@fd014000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700130 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800131 reg = <0xfd014000 0x1000>;
132 interrupts = <0 254 0>;
133 qcom,iommu-ctx-mids = <4>;
134 label = "copss_4";
135 };
136
137 qcom,iommu-ctx@fd015000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700138 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800139 reg = <0xfd015000 0x1000>;
140 interrupts = <0 254 0>;
141 qcom,iommu-ctx-mids = <5>;
142 label = "copss_5";
143 };
144
145 qcom,iommu-ctx@fd016000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700146 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800147 reg = <0xfd016000 0x1000>;
148 interrupts = <0 254 0>;
149 qcom,iommu-ctx-mids = <6>;
150 label = "copss_6";
151 };
152
153 qcom,iommu-ctx@fd017000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700154 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800155 reg = <0xfd017000 0x1000>;
156 interrupts = <0 254 0>;
157 qcom,iommu-ctx-mids = <7>;
158 label = "copss_7";
159 };
160 };
161
162 mdpe_iommu: qcom,iommu@fd860000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800163 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800164 #address-cells = <1>;
165 #size-cells = <1>;
166 ranges;
167 reg = <0xfd860000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800168 interrupts = <0 245 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800169 qcom,glb-offset = <0xF000>;
170 label = "mdpe_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800171 qcom,iommu-pmu-ngroups = <1>;
172 qcom,iommu-pmu-ncounters = <4>;
173 qcom,iommu-pmu-event-classes = <0x08
174 0x09
175 0x10
176 0x12
177 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700178 qcom,msm-bus,name = "mdpe_ebi";
179 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700180 qcom,msm-bus,num-paths = <1>;
181 qcom,msm-bus,vectors-KBps =
182 <92 512 0 0>,
183 <92 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800184 status = "disabled";
185
186 qcom,iommu-ctx@fd860000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700187 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800188 reg = <0xfd860000 0x1000>;
189 interrupts = <0 247 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800190 qcom,iommu-ctx-mids = <0 1 3>;
Olav Haugan54166782013-01-28 16:59:51 -0800191 label = "mdpe_0";
192 };
193
194 qcom,iommu-ctx@fd861000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700195 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800196 reg = <0xfd861000 0x1000>;
197 interrupts = <0 247 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800198 qcom,iommu-ctx-mids = <2>;
Olav Haugan54166782013-01-28 16:59:51 -0800199 label = "mdpe_1";
200 };
201 };
202
203 mdps_iommu: qcom,iommu@fd870000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800204 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800205 #address-cells = <1>;
206 #size-cells = <1>;
207 ranges;
208 reg = <0xfd870000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800209 interrupts = <0 73 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800210 qcom,glb-offset = <0xF000>;
211 label = "mdps_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800212 qcom,iommu-pmu-ngroups = <1>;
213 qcom,iommu-pmu-ncounters = <4>;
214 qcom,iommu-pmu-event-classes = <0x08
215 0x09
216 0x10
217 0x12
218 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700219 qcom,msm-bus,name = "mdps_ebi";
220 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700221 qcom,msm-bus,num-paths = <1>;
222 qcom,msm-bus,vectors-KBps =
223 <22 512 0 0>,
224 <22 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800225 status = "disabled";
226
227 qcom,iommu-ctx@fd870000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700228 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800229 reg = <0xfd870000 0x1000>;
Olav Hauganf4b15bb2013-02-28 18:01:07 -0800230 interrupts = <0 47 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800231 qcom,iommu-ctx-mids = <0>;
Olav Haugan54166782013-01-28 16:59:51 -0800232 label = "mdps_0";
233 };
234
235 qcom,iommu-ctx@fd871000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700236 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800237 reg = <0xfd871000 0x1000>;
Olav Hauganf4b15bb2013-02-28 18:01:07 -0800238 interrupts = <0 47 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800239 qcom,iommu-ctx-mids = <1>;
Olav Haugan54166782013-01-28 16:59:51 -0800240 label = "mdps_1";
241 };
242 };
243
244 gfx_iommu: qcom,iommu@fd880000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800245 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800246 #address-cells = <1>;
247 #size-cells = <1>;
248 ranges;
249 reg = <0xfd880000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800250 interrupts = <0 38 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800251 qcom,glb-offset = <0xF000>;
Olav Hauganc94476b2013-04-30 14:10:26 -0700252 qcom,needs-alt-core-clk;
Olav Haugan54166782013-01-28 16:59:51 -0800253 label = "gfx_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800254 qcom,iommu-pmu-ngroups = <1>;
255 qcom,iommu-pmu-ncounters = <4>;
256 qcom,iommu-pmu-event-classes = <0x08
257 0x09
258 0x10
259 0x12
260 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700261 qcom,msm-bus,name = "gfx_ebi";
262 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700263 qcom,msm-bus,num-paths = <1>;
264 qcom,msm-bus,vectors-KBps =
265 <26 512 0 0>,
266 <26 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800267 status = "disabled";
268
269 qcom,iommu-ctx@fd880000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700270 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800271 reg = <0xfd880000 0x1000>;
272 interrupts = <0 241 0>;
273 qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13
274 14 15>;
275 label = "gfx3d_user";
276 };
277
278 qcom,iommu-ctx@fd881000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700279 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800280 reg = <0xfd881000 0x1000>;
281 interrupts = <0 241 0>;
282 qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25
283 26 27 28 29 30 31>;
284 label = "gfx3d_priv";
285 };
286
287 qcom,iommu-ctx@fd882000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700288 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800289 reg = <0xfd882000 0x1000>;
290 interrupts = <0 241 0>;
291 qcom,iommu-ctx-mids = <>;
292 label = "gfx3d_spare";
293 };
294 };
295
296 vfe_iommu: qcom,iommu@fd890000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800297 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800298 #address-cells = <1>;
299 #size-cells = <1>;
300 ranges;
301 reg = <0xfd890000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800302 interrupts = <0 62 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800303 qcom,glb-offset = <0xF000>;
304 label = "vfe_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800305 qcom,iommu-pmu-ngroups = <1>;
306 qcom,iommu-pmu-ncounters = <4>;
307 qcom,iommu-pmu-event-classes = <0x08
308 0x09
309 0x10
310 0x12
311 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700312 qcom,msm-bus,name = "vfe_ebi";
313 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700314 qcom,msm-bus,num-paths = <1>;
315 qcom,msm-bus,vectors-KBps =
316 <29 512 0 0>,
317 <29 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800318 status = "disabled";
319
320 qcom,iommu-ctx@fd890000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700321 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800322 reg = <0xfd890000 0x1000>;
323 interrupts = <0 65 0>;
Olav Haugan8ebf4cf2013-04-24 17:31:02 -0700324 qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>;
Olav Haugan54166782013-01-28 16:59:51 -0800325 label = "vfe0";
326 };
Olav Haugan54166782013-01-28 16:59:51 -0800327 };
328};