blob: 35829a7b438f746b3b9f19a4b3a3f2619806c877 [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 Haugan54166782013-01-28 16:59:51 -080030 status = "disabled";
31
32 lpass_q6_fw: qcom,iommu-ctx@fd000000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070033 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080034 reg = <0xfd000000 0x1000>;
35 interrupts = <0 250 0>;
36 qcom,iommu-ctx-mids = <0 15>;
37 label = "q6_fw";
38 };
39
40 lpass_audio_shared: qcom,iommu-ctx@fd001000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070041 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080042 reg = <0xfd001000 0x1000>;
43 interrupts = <0 250 0>;
44 qcom,iommu-ctx-mids = <1>;
45 label = "audio_shared";
46 };
47
48 lpass_video_shared: qcom,iommu-ctx@fd002000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070049 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080050 reg = <0xfd002000 0x1000>;
51 interrupts = <0 250 0>;
52 qcom,iommu-ctx-mids = <2>;
53 label = "video_shared";
54 };
55
56 lpass_q6_spare: qcom,iommu-ctx@fd003000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070057 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080058 reg = <0xfd003000 0x1000>;
59 interrupts = <0 250 0>;
60 qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>;
61 label = "q6_spare";
62 };
63 };
64
65 copss_iommu: qcom,iommu@fd010000 {
Olav Haugan0e22c482013-01-28 17:39:36 -080066 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -080067 #address-cells = <1>;
68 #size-cells = <1>;
69 ranges;
70 reg = <0xfd010000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -080071 interrupts = <0 252 0>;
Olav Haugan54166782013-01-28 16:59:51 -080072 qcom,glb-offset = <0xF000>;
73 label = "copss_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -080074 qcom,iommu-pmu-ngroups = <1>;
75 qcom,iommu-pmu-ncounters = <4>;
76 qcom,iommu-pmu-event-classes = <0x08
77 0x09
78 0x10
79 0x12
80 0x80>;
Olav Haugan54166782013-01-28 16:59:51 -080081 status = "disabled";
82
83 qcom,iommu-ctx@fd010000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070084 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080085 reg = <0xfd010000 0x1000>;
86 interrupts = <0 254 0>;
87 qcom,iommu-ctx-mids = <0>;
88 label = "copss_0";
89 };
90
91 qcom,iommu-ctx@fd011000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -070092 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -080093 reg = <0xfd011000 0x1000>;
94 interrupts = <0 254 0>;
95 qcom,iommu-ctx-mids = <1>;
96 label = "copss_1";
97 };
98
99 qcom,iommu-ctx@fd012000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700100 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800101 reg = <0xfd012000 0x1000>;
102 interrupts = <0 254 0>;
103 qcom,iommu-ctx-mids = <2>;
104 label = "copss_2";
105 };
106
107 qcom,iommu-ctx@fd013000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700108 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800109 reg = <0xfd013000 0x1000>;
110 interrupts = <0 254 0>;
111 qcom,iommu-ctx-mids = <3>;
112 label = "copss_3";
113 };
114
115 qcom,iommu-ctx@fd014000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700116 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800117 reg = <0xfd014000 0x1000>;
118 interrupts = <0 254 0>;
119 qcom,iommu-ctx-mids = <4>;
120 label = "copss_4";
121 };
122
123 qcom,iommu-ctx@fd015000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700124 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800125 reg = <0xfd015000 0x1000>;
126 interrupts = <0 254 0>;
127 qcom,iommu-ctx-mids = <5>;
128 label = "copss_5";
129 };
130
131 qcom,iommu-ctx@fd016000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700132 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800133 reg = <0xfd016000 0x1000>;
134 interrupts = <0 254 0>;
135 qcom,iommu-ctx-mids = <6>;
136 label = "copss_6";
137 };
138
139 qcom,iommu-ctx@fd017000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700140 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800141 reg = <0xfd017000 0x1000>;
142 interrupts = <0 254 0>;
143 qcom,iommu-ctx-mids = <7>;
144 label = "copss_7";
145 };
146 };
147
148 mdpe_iommu: qcom,iommu@fd860000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800149 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800150 #address-cells = <1>;
151 #size-cells = <1>;
152 ranges;
153 reg = <0xfd860000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800154 interrupts = <0 245 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800155 qcom,glb-offset = <0xF000>;
156 label = "mdpe_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800157 qcom,iommu-pmu-ngroups = <1>;
158 qcom,iommu-pmu-ncounters = <4>;
159 qcom,iommu-pmu-event-classes = <0x08
160 0x09
161 0x10
162 0x12
163 0x80>;
Olav Haugan54166782013-01-28 16:59:51 -0800164 status = "disabled";
165
166 qcom,iommu-ctx@fd860000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700167 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800168 reg = <0xfd860000 0x1000>;
169 interrupts = <0 247 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800170 qcom,iommu-ctx-mids = <0 1 3>;
Olav Haugan54166782013-01-28 16:59:51 -0800171 label = "mdpe_0";
172 };
173
174 qcom,iommu-ctx@fd861000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700175 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800176 reg = <0xfd861000 0x1000>;
177 interrupts = <0 247 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800178 qcom,iommu-ctx-mids = <2>;
Olav Haugan54166782013-01-28 16:59:51 -0800179 label = "mdpe_1";
180 };
181 };
182
183 mdps_iommu: qcom,iommu@fd870000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800184 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800185 #address-cells = <1>;
186 #size-cells = <1>;
187 ranges;
188 reg = <0xfd870000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800189 interrupts = <0 73 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800190 qcom,glb-offset = <0xF000>;
191 label = "mdps_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800192 qcom,iommu-pmu-ngroups = <1>;
193 qcom,iommu-pmu-ncounters = <4>;
194 qcom,iommu-pmu-event-classes = <0x08
195 0x09
196 0x10
197 0x12
198 0x80>;
Olav Haugan54166782013-01-28 16:59:51 -0800199 status = "disabled";
200
201 qcom,iommu-ctx@fd870000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700202 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800203 reg = <0xfd870000 0x1000>;
Olav Hauganf4b15bb2013-02-28 18:01:07 -0800204 interrupts = <0 47 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800205 qcom,iommu-ctx-mids = <0>;
Olav Haugan54166782013-01-28 16:59:51 -0800206 label = "mdps_0";
207 };
208
209 qcom,iommu-ctx@fd871000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700210 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800211 reg = <0xfd871000 0x1000>;
Olav Hauganf4b15bb2013-02-28 18:01:07 -0800212 interrupts = <0 47 0>;
Olav Haugan54cd77e2013-02-12 15:15:28 -0800213 qcom,iommu-ctx-mids = <1>;
Olav Haugan54166782013-01-28 16:59:51 -0800214 label = "mdps_1";
215 };
216 };
217
218 gfx_iommu: qcom,iommu@fd880000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800219 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800220 #address-cells = <1>;
221 #size-cells = <1>;
222 ranges;
223 reg = <0xfd880000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800224 interrupts = <0 38 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800225 qcom,glb-offset = <0xF000>;
Olav Hauganc94476b2013-04-30 14:10:26 -0700226 qcom,needs-alt-core-clk;
Olav Haugan54166782013-01-28 16:59:51 -0800227 label = "gfx_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800228 qcom,iommu-pmu-ngroups = <1>;
229 qcom,iommu-pmu-ncounters = <4>;
230 qcom,iommu-pmu-event-classes = <0x08
231 0x09
232 0x10
233 0x12
234 0x80>;
Olav Haugan54166782013-01-28 16:59:51 -0800235 status = "disabled";
236
237 qcom,iommu-ctx@fd880000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700238 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800239 reg = <0xfd880000 0x1000>;
240 interrupts = <0 241 0>;
241 qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13
242 14 15>;
243 label = "gfx3d_user";
244 };
245
246 qcom,iommu-ctx@fd881000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700247 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800248 reg = <0xfd881000 0x1000>;
249 interrupts = <0 241 0>;
250 qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25
251 26 27 28 29 30 31>;
252 label = "gfx3d_priv";
253 };
254
255 qcom,iommu-ctx@fd882000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700256 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800257 reg = <0xfd882000 0x1000>;
258 interrupts = <0 241 0>;
259 qcom,iommu-ctx-mids = <>;
260 label = "gfx3d_spare";
261 };
262 };
263
264 vfe_iommu: qcom,iommu@fd890000 {
Olav Haugan0e22c482013-01-28 17:39:36 -0800265 compatible = "qcom,msm-smmu-v0";
Olav Haugan54166782013-01-28 16:59:51 -0800266 #address-cells = <1>;
267 #size-cells = <1>;
268 ranges;
269 reg = <0xfd890000 0x10000>;
Olav Haugand982d9b2013-02-04 14:56:38 -0800270 interrupts = <0 62 0>;
Olav Haugan54166782013-01-28 16:59:51 -0800271 qcom,glb-offset = <0xF000>;
272 label = "vfe_iommu";
Olav Haugand982d9b2013-02-04 14:56:38 -0800273 qcom,iommu-pmu-ngroups = <1>;
274 qcom,iommu-pmu-ncounters = <4>;
275 qcom,iommu-pmu-event-classes = <0x08
276 0x09
277 0x10
278 0x12
279 0x80>;
Olav Haugan54166782013-01-28 16:59:51 -0800280 status = "disabled";
281
282 qcom,iommu-ctx@fd890000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700283 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800284 reg = <0xfd890000 0x1000>;
285 interrupts = <0 65 0>;
286 qcom,iommu-ctx-mids = <0>;
287 label = "vfe0";
288 };
289
290 qcom,iommu-ctx@fd891000 {
Olav Hauganbca3ded2013-05-10 11:19:34 -0700291 compatible = "qcom,msm-smmu-v0-ctx";
Olav Haugan54166782013-01-28 16:59:51 -0800292 reg = <0xfd891000 0x1000>;
293 interrupts = <0 65 0>;
294 qcom,iommu-ctx-mids = <1>;
295 label = "vfe1";
296 };
297 };
298};