Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. |
Chintan Pandya | f6ddea2 | 2012-09-14 19:26:03 +0530 | [diff] [blame] | 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 Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 13 | /include/ "msm-iommu-v1.dtsi" |
Chintan Pandya | f6ddea2 | 2012-09-14 19:26:03 +0530 | [diff] [blame] | 14 | |
| 15 | &jpeg_iommu { |
| 16 | status = "ok"; |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 17 | |
| 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 Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 30 | 0x2008>; |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 31 | |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 32 | qcom,iommu-bfb-data = <0x0F |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 33 | 0x4 |
| 34 | 0x4 |
| 35 | 0x0 |
| 36 | 0x0 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 37 | 0x4 |
| 38 | 0x14 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 39 | 0x0 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 40 | 0x800 |
| 41 | 0x800 |
| 42 | 0x3a04 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 43 | 0x0 |
| 44 | 0x0>; |
Chintan Pandya | f6ddea2 | 2012-09-14 19:26:03 +0530 | [diff] [blame] | 45 | }; |
| 46 | |
| 47 | &mdp_iommu { |
| 48 | status = "ok"; |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 49 | |
| 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 Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 65 | 0x2014>; |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 66 | |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 67 | qcom,iommu-bfb-data = <0x3FFFF |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 68 | 0x4 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 69 | 0x4 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 70 | 0x0 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 71 | 0x1000 |
| 72 | 0x0e00 |
| 73 | 0x8207 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 74 | 0x0 |
| 75 | 0x0 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 76 | 0x8 |
| 77 | 0x24 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 78 | 0x0 |
| 79 | 0x0 |
| 80 | 0x0 |
| 81 | 0x0 |
| 82 | 0x0>; |
Chintan Pandya | f6ddea2 | 2012-09-14 19:26:03 +0530 | [diff] [blame] | 83 | }; |
| 84 | |
| 85 | &venus_iommu { |
| 86 | status = "ok"; |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 87 | |
| 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 Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 111 | 0x13205 |
| 112 | 0x4000 |
| 113 | 0x14020 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 114 | 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 Pandya | f6ddea2 | 2012-09-14 19:26:03 +0530 | [diff] [blame] | 152 | }; |
| 153 | |
| 154 | &kgsl_iommu { |
| 155 | status = "ok"; |
Chintan Pandya | f6ddea2 | 2012-09-14 19:26:03 +0530 | [diff] [blame] | 156 | |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 157 | 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 Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 181 | 0x262c |
| 182 | 0x2630 |
| 183 | 0x2634 |
| 184 | 0x2638>; |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 185 | |
| 186 | qcom,iommu-bfb-data = <0x3 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 187 | 0x4 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 188 | 0x10 |
| 189 | 0x0 |
| 190 | 0x0 |
| 191 | 0x0 |
| 192 | 0x20 |
| 193 | 0x0 |
| 194 | 0x0 |
| 195 | 0x1 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 196 | 0x81 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 197 | 0x0 |
| 198 | 0x0 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 199 | 0x1f |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 200 | 0x4 |
| 201 | 0x8 |
| 202 | 0x14 |
| 203 | 0x0 |
| 204 | 0x0 |
| 205 | 0xc |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 206 | 0x3c |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 207 | 0x0 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 208 | 0x4 |
Chintan Pandya | 023195d | 2013-05-23 15:18:07 +0530 | [diff] [blame] | 209 | 0x10 |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 210 | 0x0 |
| 211 | 0x15 |
| 212 | 0x3020100 |
| 213 | 0x04>; |
Chintan Pandya | f6ddea2 | 2012-09-14 19:26:03 +0530 | [diff] [blame] | 214 | }; |
Srinivas Ramana | a381761 | 2013-07-09 12:29:12 +0530 | [diff] [blame] | 215 | |
| 216 | &vpu_iommu { |
| 217 | status = "ok"; |
Srinivas Ramana | ed3218f | 2013-07-15 12:43:04 +0530 | [diff] [blame] | 218 | |
Susheel Khiani | 2b7c0e2 | 2013-07-24 11:10:29 +0530 | [diff] [blame^] | 219 | 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 Ramana | ed3218f | 2013-07-15 12:43:04 +0530 | [diff] [blame] | 269 | 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 Ramana | a381761 | 2013-07-09 12:29:12 +0530 | [diff] [blame] | 281 | }; |