blob: ff3e0a59d56f0a6124994c868ca1388ad45f3c91 [file] [log] [blame]
Mitchel Humpherys85d08692012-10-23 12:56:35 -07001/* 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
Olav Haugan54166782013-01-28 16:59:51 -080013/include/ "msm-iommu-v1.dtsi"
Mitchel Humpherys85d08692012-10-23 12:56:35 -070014
15&jpeg_iommu {
16 status = "ok";
Olav Haugan0b1e4822013-05-21 09:37:50 -070017 vdd-supply = <&gdsc_jpeg>;
Mitchel Humpherysa8e4e902013-02-20 16:09:12 -080018 qcom,iommu-enable-halt;
Mitchel Humpherysc7148452013-02-20 16:22:12 -080019
Mitchel Humpherys98d6d0e2013-03-06 14:38:15 -080020 qcom,iommu-bfb-regs = <0x204c
21 0x2050
22 0x2514
23 0x2540
24 0x256c
25 0x2314
26 0x2394
27 0x2414
28 0x20ac
29 0x215c
30 0x220c
31 0x2008
32 0x200c
33 0x2010
34 0x2014>;
Mitchel Humpherysc7148452013-02-20 16:22:12 -080035
36 qcom,iommu-bfb-data = <0x0000ffff
37 0x00000000
38 0x4
39 0x4
40 0x0
41 0x0
42 0x10
43 0x50
44 0x0
45 0x10
46 0x20
47 0x0
48 0x0
49 0x0
50 0x0>;
Mitchel Humpherys85d08692012-10-23 12:56:35 -070051};
52
53&mdp_iommu {
54 status = "ok";
Olav Haugan0b1e4822013-05-21 09:37:50 -070055 vdd-supply = <&gdsc_mdss>;
Mitchel Humpherysa8e4e902013-02-20 16:09:12 -080056 qcom,iommu-enable-halt;
Mitchel Humpherysc7148452013-02-20 16:22:12 -080057
Mitchel Humpherys98d6d0e2013-03-06 14:38:15 -080058 qcom,iommu-bfb-regs = <0x204c
59 0x2050
60 0x2514
61 0x2540
62 0x256c
63 0x20ac
64 0x215c
65 0x220c
66 0x2314
67 0x2394
68 0x2414
69 0x2008
70 0x200c
71 0x2010
72 0x2014
73 0x2018
74 0x201c
75 0x2020>;
Mitchel Humpherysc7148452013-02-20 16:22:12 -080076
77 qcom,iommu-bfb-data = <0xffffffff
78 0x00000000
79 0x00000004
80 0x00000010
81 0x00000000
82 0x00000000
83 0x00000013
84 0x00000017
85 0x0
86 0x13
87 0x23
88 0x0
89 0x0
90 0x0
91 0x0
92 0x0
93 0x0
94 0x0>;
Mitchel Humpherys85d08692012-10-23 12:56:35 -070095};
96
97&venus_iommu {
98 status = "ok";
Olav Haugan0b1e4822013-05-21 09:37:50 -070099 vdd-supply = <&gdsc_venus>;
Mitchel Humpherysa8e4e902013-02-20 16:09:12 -0800100 qcom,iommu-enable-halt;
Mitchel Humpherysc7148452013-02-20 16:22:12 -0800101
Mitchel Humpherys98d6d0e2013-03-06 14:38:15 -0800102 qcom,iommu-bfb-regs = <0x204c
103 0x2050
104 0x2514
105 0x2540
106 0x256c
107 0x20ac
108 0x215c
109 0x220c
110 0x2314
111 0x2394
112 0x2414
113 0x2008
114 0x200c
115 0x2010
116 0x2014
117 0x2018
118 0x201c
119 0x2020
120 0x2024
121 0x2028
122 0x202c
123 0x2030
124 0x2034
125 0x2038>;
Mitchel Humpherysc7148452013-02-20 16:22:12 -0800126
127 qcom,iommu-bfb-data = <0xffffffff
128 0xffffffff
129 0x00000004
130 0x00000008
131 0x00000000
132 0x00000000
133 0x00000094
134 0x000000b4
135 0x0
136 0x94
137 0x114
138 0x0
139 0x0
140 0x0
141 0x0
142 0x0
143 0x0
144 0x0
145 0x0
146 0x0
147 0x0
148 0x0
149 0x0
150 0x0>;
Mitchel Humpherys85d08692012-10-23 12:56:35 -0700151};
152
Mitchel Humpherys9f523672013-02-20 16:37:54 -0800153&venus_ns {
154 qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>;
155};
156
157&venus_cp {
158 qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>;
159};
160
Mitchel Humpherys85d08692012-10-23 12:56:35 -0700161&kgsl_iommu {
162 status = "ok";
Olav Haugan0b1e4822013-05-21 09:37:50 -0700163 vdd-supply = <&gdsc_oxili_cx>;
164 qcom,alt-vdd-supply = <&gdsc_oxili_gx>;
Mitchel Humpherysa8e4e902013-02-20 16:09:12 -0800165 qcom,iommu-enable-halt;
Olav Hauganef8fc872013-04-06 10:23:32 -0700166 qcom,needs-alt-core-clk;
Mitchel Humpherysc7148452013-02-20 16:22:12 -0800167
Mitchel Humpherys98d6d0e2013-03-06 14:38:15 -0800168 qcom,iommu-bfb-regs = <0x204c
169 0x2050
170 0x2514
171 0x2540
172 0x256c
173 0x20ac
174 0x215c
175 0x220c
176 0x2314
177 0x2394
178 0x2414
179 0x2008>;
Mitchel Humpherysc7148452013-02-20 16:22:12 -0800180
181 qcom,iommu-bfb-data = <0x00000003
182 0x0
183 0x00000004
184 0x00000010
185 0x00000000
186 0x00000000
187 0x00000001
188 0x00000011
189 0x0
190 0x1
191 0x41
192 0x0>;
Mitchel Humpherys85d08692012-10-23 12:56:35 -0700193};
194
195&vfe_iommu {
196 status = "ok";
Olav Haugan0b1e4822013-05-21 09:37:50 -0700197 vdd-supply = <&gdsc_vfe>;
Mitchel Humpherysa8e4e902013-02-20 16:09:12 -0800198 qcom,iommu-enable-halt;
Mitchel Humpherysc7148452013-02-20 16:22:12 -0800199
Mitchel Humpherys98d6d0e2013-03-06 14:38:15 -0800200 qcom,iommu-bfb-regs = <0x204c
201 0x2050
202 0x2514
203 0x2540
204 0x256c
205 0x2314
206 0x2394
207 0x2414
208 0x20ac
209 0x215c
210 0x220c
211 0x2008
212 0x200c
213 0x2010
214 0x2014
215 0x2018
216 0x201c
217 0x2020>;
Mitchel Humpherysc7148452013-02-20 16:22:12 -0800218
219 qcom,iommu-bfb-data = <0xffffffff
220 0x00000000
221 0x4
222 0x8
223 0x0
224 0x0
225 0x1b
226 0x5b
227 0x0
228 0x1b
229 0x2b
230 0x0
231 0x0
232 0x0
233 0x0
234 0x0
235 0x0
236 0x0>;
Mitchel Humpherys85d08692012-10-23 12:56:35 -0700237};