blob: 0960dfae36c715ea1a7d4bee53358e42567ce5da [file] [log] [blame]
Olav Haugan8e32a992013-01-31 11:42:28 -08001/* Copyright (c) 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
13/include/ "msm-iommu-v1.dtsi"
14
15&venus_iommu {
16 status = "ok";
17
Olav Haugan3b53b3a2013-01-22 09:23:10 -080018 qcom,iommu-bfb-regs = <0x204c
19 0x2050
20 0x2514
21 0x2540
22 0x256c
23 0x20ac
24 0x215c
25 0x220c
26 0x2314
27 0x2394
28 0x2414
29 0x2008
30 0x200c
31 0x2010
32 0x2014
33 0x2018
34 0x201c
35 0x2020
36 0x2024
37 0x2028
38 0x202c
39 0x2030
40 0x2034
41 0x2038>;
42
43 qcom,iommu-bfb-data = <0x1FFFFFF
44 0x0
45 0x00000004
46 0x00000008
47 0x00000000
48 0x00013205
49 0x00004000
50 0x00014020
51 0x0
52 0x94
53 0x114
54 0x0
55 0x0
56 0x0
57 0x0
58 0x0
59 0x0
60 0x0
61 0x0
62 0x0
63 0x0
64 0x0
65 0x0
66 0x0>;
67
Olav Haugan7930a682013-01-29 13:28:06 -080068 venus_ns: qcom,iommu-ctx@fdc8c000 {
Olav Haugan8e32a992013-01-31 11:42:28 -080069 qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>;
70 };
71
Olav Haugan7930a682013-01-29 13:28:06 -080072 venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 {
Olav Haugan8e32a992013-01-31 11:42:28 -080073 label = "venus_sec_bitstream";
74 };
75
Olav Haugan7930a682013-01-29 13:28:06 -080076 venus_sec_pixel: qcom,iommu-ctx@fdc8f000 {
Olav Haugan8e32a992013-01-31 11:42:28 -080077 reg = <0xfdc8f000 0x1000>;
78 interrupts = <0 42 0>;
79 qcom,iommu-ctx-sids = <0x85>;
80 label = "venus_sec_pixel";
81 qcom,secure-context;
82 };
83
Olav Haugan7930a682013-01-29 13:28:06 -080084 venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 {
Olav Haugan8e32a992013-01-31 11:42:28 -080085 reg = <0xfdc90000 0x1000>;
86 interrupts = <0 42 0>;
87 qcom,iommu-ctx-sids = <0x87 0xA0>;
88 label = "venus_sec_non_pixel";
89 qcom,secure-context;
90 };
91};
92
93&jpeg_iommu {
94 status = "ok";
Olav Haugan3b53b3a2013-01-22 09:23:10 -080095
96 qcom,iommu-bfb-regs = <0x204c
97 0x2050
98 0x2514
99 0x2540
100 0x256c
101 0x2314
102 0x2394
103 0x2414
104 0x20ac
105 0x215c
106 0x220c
107 0x2008
108 0x200c
109 0x2010
110 0x2014>;
111
112 qcom,iommu-bfb-data = <0x3FFF
113 0x00000000
114 0x4
115 0x4
116 0x0
117 0x0
118 0x10
119 0x50
120 0x00002000
121 0x00002804
122 0x00009614
123 0x0
124 0x0
125 0x0
126 0x0>;
Olav Haugan8e32a992013-01-31 11:42:28 -0800127};
128
129&mdp_iommu {
130 status = "ok";
Olav Haugan3b53b3a2013-01-22 09:23:10 -0800131
132 qcom,iommu-bfb-regs = <0x204c
133 0x2050
134 0x2514
135 0x2540
136 0x256c
137 0x20ac
138 0x215c
139 0x220c
140 0x2314
141 0x2394
142 0x2414
143 0x2008
144 0x200c
145 0x2010
146 0x2014
147 0x2018
148 0x201c
149 0x2020>;
150
151 qcom,iommu-bfb-data = <0xFFFFF
152 0x00000000
153 0x00000004
154 0x00000010
155 0x00000000
156 0x00006800
157 0x00006221
158 0x00016231
159 0x0
160 0x34
161 0x74
162 0x0
163 0x0
164 0x0
165 0x0
166 0x0
167 0x0
168 0x0>;
Olav Haugan8e32a992013-01-31 11:42:28 -0800169};
170
171&kgsl_iommu {
172 status = "ok";
Olav Haugan3b53b3a2013-01-22 09:23:10 -0800173
174 qcom,iommu-bfb-regs = <0x204c
175 0x2050
176 0x2514
177 0x2540
178 0x256c
179 0x20ac
180 0x215c
181 0x220c
182 0x2314
183 0x2394
184 0x2414
185 0x2008>;
186
187 qcom,iommu-bfb-data = <0x00000003
188 0x0
189 0x00000004
190 0x00000010
191 0x00000000
192 0x00000000
193 0x00000000
194 0x00000020
195 0x0
196 0x1
197 0x81
198 0x0>;
Olav Haugan8e32a992013-01-31 11:42:28 -0800199};
200
201&vfe_iommu {
202 status = "ok";
Olav Haugan3b53b3a2013-01-22 09:23:10 -0800203
204 qcom,iommu-bfb-regs = <0x204c
205 0x2050
206 0x2514
207 0x2540
208 0x256c
209 0x2314
210 0x2394
211 0x2414
212 0x20ac
213 0x215c
214 0x220c
215 0x2008
216 0x200c
217 0x2010
218 0x2014
219 0x2018
220 0x201c
221 0x2020>;
222
223 qcom,iommu-bfb-data = <0xffffffff
224 0x00000000
225 0x4
226 0x8
227 0x0
228 0x0
229 0x20
230 0x78
231 0x00004000
232 0x00003c08
233 0x0000b41e
234 0x0
235 0x0
236 0x0
237 0x0
238 0x0
239 0x0
240 0x0>;
Olav Haugan8e32a992013-01-31 11:42:28 -0800241};