blob: 8ab998509f3a40571dd1688f0977b8f4bde95bf6 [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 Haugan54166782013-01-28 16:59:51 -080036 status = "disabled";
37
38 lpass_q6_fw: qcom,iommu-ctx@fd000000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070039 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080040 reg = <0xfd000000 0x1000>;
41 interrupts = <0 250 0>;
42 qcom,iommu-ctx-mids = <0 15>;
43 label = "q6_fw";
44 };
45
46 lpass_audio_shared: qcom,iommu-ctx@fd001000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070047 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080048 reg = <0xfd001000 0x1000>;
49 interrupts = <0 250 0>;
50 qcom,iommu-ctx-mids = <1>;
51 label = "audio_shared";
52 };
53
54 lpass_video_shared: qcom,iommu-ctx@fd002000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070055 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080056 reg = <0xfd002000 0x1000>;
57 interrupts = <0 250 0>;
58 qcom,iommu-ctx-mids = <2>;
59 label = "video_shared";
60 };
61
62 lpass_q6_spare: qcom,iommu-ctx@fd003000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070063 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080064 reg = <0xfd003000 0x1000>;
65 interrupts = <0 250 0>;
66 qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>;
67 label = "q6_spare";
68 };
69 };
70
71 copss_iommu: qcom,iommu@fd010000 {
Olav Haugan0e22c482013-01-28 17:39:36 -080072 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -080073 #address-cells = <1>;
74 #size-cells = <1>;
75 ranges;
76 reg = <0xfd010000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -080077 interrupts = <0 252 0>;
Olav Haugan54166782013-01-28 16:59:51 -080078 qcom,glb-offset = <0xF000>;
79 label = "copss_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -080080 qcom,iommu-pmu-ngroups = <1>;
81 qcom,iommu-pmu-ncounters = <4>;
82 qcom,iommu-pmu-event-classes = <0x08
83 0x09
84 0x10
85 0x12
86 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -070087 qcom,msm-bus,name = "copss_ebi";
88 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -070089 qcom,msm-bus,num-paths = <1>;
90 qcom,msm-bus,vectors-KBps =
91 <88 512 0 0>,
92 <88 512 0 1000>;
93
Olav Haugan54166782013-01-28 16:59:51 -080094 status = "disabled";
95
96 qcom,iommu-ctx@fd010000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070097 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080098 reg = <0xfd010000 0x1000>;
99 interrupts = <0 254 0>;
100 qcom,iommu-ctx-mids = <0>;
101 label = "copss_0";
102 };
103
104 qcom,iommu-ctx@fd011000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700105 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800106 reg = <0xfd011000 0x1000>;
107 interrupts = <0 254 0>;
108 qcom,iommu-ctx-mids = <1>;
109 label = "copss_1";
110 };
111
112 qcom,iommu-ctx@fd012000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700113 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800114 reg = <0xfd012000 0x1000>;
115 interrupts = <0 254 0>;
116 qcom,iommu-ctx-mids = <2>;
117 label = "copss_2";
118 };
119
120 qcom,iommu-ctx@fd013000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700121 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800122 reg = <0xfd013000 0x1000>;
123 interrupts = <0 254 0>;
124 qcom,iommu-ctx-mids = <3>;
125 label = "copss_3";
126 };
127
128 qcom,iommu-ctx@fd014000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700129 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800130 reg = <0xfd014000 0x1000>;
131 interrupts = <0 254 0>;
132 qcom,iommu-ctx-mids = <4>;
133 label = "copss_4";
134 };
135
136 qcom,iommu-ctx@fd015000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700137 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800138 reg = <0xfd015000 0x1000>;
139 interrupts = <0 254 0>;
140 qcom,iommu-ctx-mids = <5>;
141 label = "copss_5";
142 };
143
144 qcom,iommu-ctx@fd016000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700145 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800146 reg = <0xfd016000 0x1000>;
147 interrupts = <0 254 0>;
148 qcom,iommu-ctx-mids = <6>;
149 label = "copss_6";
150 };
151
152 qcom,iommu-ctx@fd017000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700153 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800154 reg = <0xfd017000 0x1000>;
155 interrupts = <0 254 0>;
156 qcom,iommu-ctx-mids = <7>;
157 label = "copss_7";
158 };
159 };
160
161 mdpe_iommu: qcom,iommu@fd860000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800162 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800163 #address-cells = <1>;
164 #size-cells = <1>;
165 ranges;
166 reg = <0xfd860000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800167 interrupts = <0 245 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800168 qcom,glb-offset = <0xF000>;
169 label = "mdpe_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800170 qcom,iommu-pmu-ngroups = <1>;
171 qcom,iommu-pmu-ncounters = <4>;
172 qcom,iommu-pmu-event-classes = <0x08
173 0x09
174 0x10
175 0x12
176 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700177 qcom,msm-bus,name = "mdpe_ebi";
178 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700179 qcom,msm-bus,num-paths = <1>;
180 qcom,msm-bus,vectors-KBps =
181 <92 512 0 0>,
182 <92 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800183 status = "disabled";
184
185 qcom,iommu-ctx@fd860000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700186 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800187 reg = <0xfd860000 0x1000>;
188 interrupts = <0 247 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800189 qcom,iommu-ctx-mids = <0 1 3>;
Olav Haugan54166782013-01-28 16:59:51 -0800190 label = "mdpe_0";
191 };
192
193 qcom,iommu-ctx@fd861000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700194 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800195 reg = <0xfd861000 0x1000>;
196 interrupts = <0 247 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800197 qcom,iommu-ctx-mids = <2>;
Olav Haugan54166782013-01-28 16:59:51 -0800198 label = "mdpe_1";
199 };
200 };
201
202 mdps_iommu: qcom,iommu@fd870000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800203 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800204 #address-cells = <1>;
205 #size-cells = <1>;
206 ranges;
207 reg = <0xfd870000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800208 interrupts = <0 73 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800209 qcom,glb-offset = <0xF000>;
210 label = "mdps_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800211 qcom,iommu-pmu-ngroups = <1>;
212 qcom,iommu-pmu-ncounters = <4>;
213 qcom,iommu-pmu-event-classes = <0x08
214 0x09
215 0x10
216 0x12
217 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700218 qcom,msm-bus,name = "mdps_ebi";
219 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700220 qcom,msm-bus,num-paths = <1>;
221 qcom,msm-bus,vectors-KBps =
222 <22 512 0 0>,
223 <22 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800224 status = "disabled";
225
226 qcom,iommu-ctx@fd870000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700227 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800228 reg = <0xfd870000 0x1000>;
Olav Hauganf4b15bb2013-02-28 18:01:07 -0800229 interrupts = <0 47 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800230 qcom,iommu-ctx-mids = <0>;
Olav Haugan54166782013-01-28 16:59:51 -0800231 label = "mdps_0";
232 };
233
234 qcom,iommu-ctx@fd871000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700235 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800236 reg = <0xfd871000 0x1000>;
Olav Hauganf4b15bb2013-02-28 18:01:07 -0800237 interrupts = <0 47 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800238 qcom,iommu-ctx-mids = <1>;
Olav Haugan54166782013-01-28 16:59:51 -0800239 label = "mdps_1";
240 };
241 };
242
243 gfx_iommu: qcom,iommu@fd880000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800244 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800245 #address-cells = <1>;
246 #size-cells = <1>;
247 ranges;
248 reg = <0xfd880000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800249 interrupts = <0 38 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800250 qcom,glb-offset = <0xF000>;
Olav Hauganc94476b2013-04-30 14:10:26 -0700251 qcom,needs-alt-core-clk;
Olav Haugan54166782013-01-28 16:59:51 -0800252 label = "gfx_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800253 qcom,iommu-pmu-ngroups = <1>;
254 qcom,iommu-pmu-ncounters = <4>;
255 qcom,iommu-pmu-event-classes = <0x08
256 0x09
257 0x10
258 0x12
259 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700260 qcom,msm-bus,name = "gfx_ebi";
261 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700262 qcom,msm-bus,num-paths = <1>;
263 qcom,msm-bus,vectors-KBps =
264 <26 512 0 0>,
265 <26 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800266 status = "disabled";
267
268 qcom,iommu-ctx@fd880000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700269 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800270 reg = <0xfd880000 0x1000>;
271 interrupts = <0 241 0>;
272 qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13
273 14 15>;
274 label = "gfx3d_user";
275 };
276
277 qcom,iommu-ctx@fd881000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700278 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800279 reg = <0xfd881000 0x1000>;
280 interrupts = <0 241 0>;
281 qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25
282 26 27 28 29 30 31>;
283 label = "gfx3d_priv";
284 };
285
286 qcom,iommu-ctx@fd882000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700287 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800288 reg = <0xfd882000 0x1000>;
289 interrupts = <0 241 0>;
290 qcom,iommu-ctx-mids = <>;
291 label = "gfx3d_spare";
292 };
293 };
294
295 vfe_iommu: qcom,iommu@fd890000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800296 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800297 #address-cells = <1>;
298 #size-cells = <1>;
299 ranges;
300 reg = <0xfd890000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800301 interrupts = <0 62 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800302 qcom,glb-offset = <0xF000>;
303 label = "vfe_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800304 qcom,iommu-pmu-ngroups = <1>;
305 qcom,iommu-pmu-ncounters = <4>;
306 qcom,iommu-pmu-event-classes = <0x08
307 0x09
308 0x10
309 0x12
310 0x80>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700311 qcom,msm-bus,name = "vfe_ebi";
312 qcom,msm-bus,num-cases = <2>;
Olav Haugan174d53d2013-05-14 17:02:48 -0700313 qcom,msm-bus,num-paths = <1>;
314 qcom,msm-bus,vectors-KBps =
315 <29 512 0 0>,
316 <29 512 0 1000>;
Olav Haugan54166782013-01-28 16:59:51 -0800317 status = "disabled";
318
319 qcom,iommu-ctx@fd890000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700320 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800321 reg = <0xfd890000 0x1000>;
322 interrupts = <0 65 0>;
Olav Haugan8ebf4cf2013-04-24 17:31:02 -0700323 qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9>;
Olav Haugan54166782013-01-28 16:59:51 -0800324 label = "vfe0";
325 };
Olav Haugan54166782013-01-28 16:59:51 -0800326 };
327};