blob: 8b3320fa2c0498b8496111ae9bd477fa7719f3da [file] [log] [blame]
Olav Haugan54166782013-01-28 16:59:51 -08001/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
Chintan Pandyaf6ddea22012-09-14 19:26:03 +05302 *
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
Olav Haugan54166782013-01-28 16:59:51 -080013/include/ "msm-iommu-v1.dtsi"
Chintan Pandyaf6ddea22012-09-14 19:26:03 +053014
15&jpeg_iommu {
16 status = "ok";
Chintan Pandya023195d2013-05-23 15:18:07 +053017
18 qcom,iommu-bfb-regs = <0x204c
19 0x2514
20 0x2540
21 0x256c
22 0x2314
23 0x2394
24 0x2414
25 0x2494
26 0x20ac
27 0x215c
28 0x220c
29 0x22bc
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053030 0x2008>;
Chintan Pandya023195d2013-05-23 15:18:07 +053031
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053032 qcom,iommu-bfb-data = <0x0F
Chintan Pandya023195d2013-05-23 15:18:07 +053033 0x4
34 0x4
35 0x0
36 0x0
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053037 0x4
38 0x14
Chintan Pandya023195d2013-05-23 15:18:07 +053039 0x0
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053040 0x800
41 0x800
42 0x3a04
Chintan Pandya023195d2013-05-23 15:18:07 +053043 0x0
44 0x0>;
Chintan Pandyaf6ddea22012-09-14 19:26:03 +053045};
46
47&mdp_iommu {
48 status = "ok";
Chintan Pandya023195d2013-05-23 15:18:07 +053049
50 qcom,iommu-bfb-regs = <0x204c
51 0x2514
52 0x2540
53 0x256c
54 0x20ac
55 0x215c
56 0x220c
57 0x22bc
58 0x2314
59 0x2394
60 0x2414
61 0x2494
62 0x2008
63 0x200c
64 0x2010
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053065 0x2014>;
Chintan Pandya023195d2013-05-23 15:18:07 +053066
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053067 qcom,iommu-bfb-data = <0x3FFFF
Chintan Pandya023195d2013-05-23 15:18:07 +053068 0x4
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053069 0x4
Chintan Pandya023195d2013-05-23 15:18:07 +053070 0x0
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053071 0x1000
72 0x0e00
73 0x8207
Chintan Pandya023195d2013-05-23 15:18:07 +053074 0x0
75 0x0
Susheel Khiani2b7c0e22013-07-24 11:10:29 +053076 0x8
77 0x24
Chintan Pandya023195d2013-05-23 15:18:07 +053078 0x0
79 0x0
80 0x0
81 0x0
82 0x0>;
Chintan Pandyaf6ddea22012-09-14 19:26:03 +053083};
84
85&venus_iommu {
86 status = "ok";
Chintan Pandya023195d2013-05-23 15:18:07 +053087
88 qcom,iommu-bfb-regs = <0x204c
89 0x2514
90 0x2540
91 0x256c
92 0x20ac
93 0x215c
94 0x220c
95 0x22bc
96 0x2314
97 0x2394
98 0x2414
99 0x2494
100 0x2008
101 0x200c
102 0x2010
103 0x2014
104 0x2018
105 0x201c>;
106
107 qcom,iommu-bfb-data = <0x7FFFFFF
108 0x4
109 0x8
110 0x0
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530111 0x13205
112 0x4000
113 0x14020
Chintan Pandya023195d2013-05-23 15:18:07 +0530114 0x0
115 0x0
116 0x94
117 0x114
118 0x0
119 0x0
120 0x0
121 0x0
122 0x0
123 0x0
124 0x0>;
125
126 venus_ns: qcom,iommu-ctx@fdc8c000 {
127 qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>;
128 };
129
130 venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 {
131 qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>;
132 label = "venus_sec_bitstream";
133 };
134
135 venus_sec_pixel: qcom,iommu-ctx@fdc8f000 {
136 compatible = "qcom,msm-smmu-v1-ctx";
137 reg = <0xfdc8f000 0x1000>;
138 interrupts = <0 42 0>;
139 qcom,iommu-ctx-sids = <0x85>;
140 label = "venus_sec_pixel";
141 qcom,secure-context;
142 };
143
144 venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 {
145 compatible = "qcom,msm-smmu-v1-ctx";
146 reg = <0xfdc90000 0x1000>;
147 interrupts = <0 42 0>;
148 qcom,iommu-ctx-sids = <0x87 0xA0>;
149 label = "venus_sec_non_pixel";
150 qcom,secure-context;
151 };
Chintan Pandyaf6ddea22012-09-14 19:26:03 +0530152};
153
154&kgsl_iommu {
155 status = "ok";
Chintan Pandyaf6ddea22012-09-14 19:26:03 +0530156
Chintan Pandya023195d2013-05-23 15:18:07 +0530157 qcom,iommu-bfb-regs = <0x204c
158 0x2514
159 0x2540
160 0x256c
161 0x20ac
162 0x215c
163 0x220c
164 0x22bc
165 0x2314
166 0x2394
167 0x2414
168 0x2494
169 0x2008
170 0x2600
171 0x2604
172 0x2608
173 0x260c
174 0x2610
175 0x2614
176 0x2618
177 0x261c
178 0x2620
179 0x2624
180 0x2628
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530181 0x262c
182 0x2630
183 0x2634
184 0x2638>;
Chintan Pandya023195d2013-05-23 15:18:07 +0530185
186 qcom,iommu-bfb-data = <0x3
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530187 0x4
Chintan Pandya023195d2013-05-23 15:18:07 +0530188 0x10
189 0x0
190 0x0
191 0x0
192 0x20
193 0x0
194 0x0
195 0x1
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530196 0x81
Chintan Pandya023195d2013-05-23 15:18:07 +0530197 0x0
198 0x0
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530199 0x1f
Chintan Pandya023195d2013-05-23 15:18:07 +0530200 0x4
201 0x8
202 0x14
203 0x0
204 0x0
205 0xc
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530206 0x3c
Chintan Pandya023195d2013-05-23 15:18:07 +0530207 0x0
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530208 0x4
Chintan Pandya023195d2013-05-23 15:18:07 +0530209 0x10
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530210 0x0
211 0x15
212 0x3020100
213 0x04>;
Chintan Pandyaf6ddea22012-09-14 19:26:03 +0530214};
Srinivas Ramanaa3817612013-07-09 12:29:12 +0530215
216&vpu_iommu {
217 status = "ok";
Srinivas Ramanaed3218f2013-07-15 12:43:04 +0530218
Susheel Khiani2b7c0e22013-07-24 11:10:29 +0530219 qcom,iommu-bfb-regs = <0x204c
220 0x2050
221 0x2514
222 0x2540
223 0x256c
224 0x2314
225 0x2394
226 0x2414
227 0x2494
228 0x20ac
229 0x215c
230 0x220c
231 0x22bc
232 0x2008
233 0x200c
234 0x2010
235 0x2014
236 0x2018
237 0x201c
238 0x2020
239 0x2024
240 0x2028
241 0x202c
242 0x2030>;
243
244 qcom,iommu-bfb-data = <0xffffffff
245 0xfffff
246 0x4
247 0x8
248 0x0
249 0x0
250 0x34
251 0x104
252 0x0
253 0x6800
254 0x6800
255 0x18034
256 0x0
257 0x0
258 0x0
259 0x0
260 0x0
261 0x0
262 0x0
263 0x0
264 0x0
265 0x0
266 0x0
267 0x0>;
268
Srinivas Ramanaed3218f2013-07-15 12:43:04 +0530269 interrupts = <0 300 0>;
270 vpu_cb_0: qcom,iommu-ctx@fdeec000 {
271 interrupts = <0 302 0>;
272 };
273
274 vpu_cb_1: qcom,iommu-ctx@fdeed000 {
275 interrupts = <0 302 0>;
276 };
277
278 vpu_cb_2: qcom,iommu-ctx@fdeee000 {
279 interrupts = <0 302 0>;
280 };
Srinivas Ramanaa3817612013-07-09 12:29:12 +0530281};