Mitchel Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 1 | /* 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 Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 13 | /include/ "msm-iommu-v1.dtsi" |
Mitchel Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 14 | |
| 15 | &jpeg_iommu { |
| 16 | status = "ok"; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 17 | |
| 18 | qcom,iommu-bfb-regs = <0x604c |
| 19 | 0x6050 |
| 20 | 0x6514 |
| 21 | 0x6540 |
| 22 | 0x656c |
| 23 | 0x6314 |
| 24 | 0x6394 |
| 25 | 0x6414 |
| 26 | 0x60ac |
| 27 | 0x615c |
| 28 | 0x620c |
| 29 | 0x6008 |
| 30 | 0x600c |
| 31 | 0x6010 |
| 32 | 0x6014>; |
| 33 | |
| 34 | qcom,iommu-bfb-data = <0x0000ffff |
| 35 | 0x00000000 |
| 36 | 0x4 |
| 37 | 0x4 |
| 38 | 0x0 |
| 39 | 0x0 |
| 40 | 0x10 |
| 41 | 0x50 |
| 42 | 0x0 |
| 43 | 0x10 |
| 44 | 0x20 |
| 45 | 0x0 |
| 46 | 0x0 |
| 47 | 0x0 |
| 48 | 0x0>; |
Mitchel Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 49 | }; |
| 50 | |
| 51 | &mdp_iommu { |
| 52 | status = "ok"; |
| 53 | /* HACK: set to -1 during pre-si due to lack of TZ */ |
| 54 | qcom,iommu-secure-id = <0xFFFFFFFF>; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 55 | |
| 56 | qcom,iommu-bfb-regs = <0x604c |
| 57 | 0x6050 |
| 58 | 0x6514 |
| 59 | 0x6540 |
| 60 | 0x656c |
| 61 | 0x60ac |
| 62 | 0x615c |
| 63 | 0x620c |
| 64 | 0x6314 |
| 65 | 0x6394 |
| 66 | 0x6414 |
| 67 | 0x6008 |
| 68 | 0x600c |
| 69 | 0x6010 |
| 70 | 0x6014 |
| 71 | 0x6018 |
| 72 | 0x601c |
| 73 | 0x6020>; |
| 74 | |
| 75 | qcom,iommu-bfb-data = <0xffffffff |
| 76 | 0x00000000 |
| 77 | 0x00000004 |
| 78 | 0x00000010 |
| 79 | 0x00000000 |
| 80 | 0x00000000 |
| 81 | 0x00000013 |
| 82 | 0x00000017 |
| 83 | 0x0 |
| 84 | 0x13 |
| 85 | 0x23 |
| 86 | 0x0 |
| 87 | 0x0 |
| 88 | 0x0 |
| 89 | 0x0 |
| 90 | 0x0 |
| 91 | 0x0 |
| 92 | 0x0>; |
Mitchel Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 93 | }; |
| 94 | |
| 95 | &venus_iommu { |
| 96 | status = "ok"; |
| 97 | /* HACK: set to -1 during pre-si due to lack of TZ */ |
| 98 | qcom,iommu-secure-id = <0xFFFFFFFF>; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 99 | |
| 100 | qcom,iommu-bfb-regs = <0x604c |
| 101 | 0x6050 |
| 102 | 0x6514 |
| 103 | 0x6540 |
| 104 | 0x656c |
| 105 | 0x60ac |
| 106 | 0x615c |
| 107 | 0x620c |
| 108 | 0x6314 |
| 109 | 0x6394 |
| 110 | 0x6414 |
| 111 | 0x6008 |
| 112 | 0x600c |
| 113 | 0x6010 |
| 114 | 0x6014 |
| 115 | 0x6018 |
| 116 | 0x601c |
| 117 | 0x6020 |
| 118 | 0x6024 |
| 119 | 0x6028 |
| 120 | 0x602c |
| 121 | 0x6030 |
| 122 | 0x6034 |
| 123 | 0x6038>; |
| 124 | |
| 125 | qcom,iommu-bfb-data = <0xffffffff |
| 126 | 0xffffffff |
| 127 | 0x00000004 |
| 128 | 0x00000008 |
| 129 | 0x00000000 |
| 130 | 0x00000000 |
| 131 | 0x00000094 |
| 132 | 0x000000b4 |
| 133 | 0x0 |
| 134 | 0x94 |
| 135 | 0x114 |
| 136 | 0x0 |
| 137 | 0x0 |
| 138 | 0x0 |
| 139 | 0x0 |
| 140 | 0x0 |
| 141 | 0x0 |
| 142 | 0x0 |
| 143 | 0x0 |
| 144 | 0x0 |
| 145 | 0x0 |
| 146 | 0x0 |
| 147 | 0x0 |
| 148 | 0x0>; |
Mitchel Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 149 | }; |
| 150 | |
Mitchel Humpherys | 9f52367 | 2013-02-20 16:37:54 -0800 | [diff] [blame] | 151 | &venus_ns { |
| 152 | qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; |
| 153 | }; |
| 154 | |
| 155 | &venus_cp { |
| 156 | qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>; |
| 157 | }; |
| 158 | |
Mitchel Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 159 | &kgsl_iommu { |
| 160 | status = "ok"; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 161 | |
| 162 | qcom,iommu-bfb-regs = <0x604c |
| 163 | 0x6050 |
| 164 | 0x6514 |
| 165 | 0x6540 |
| 166 | 0x656c |
| 167 | 0x60ac |
| 168 | 0x615c |
| 169 | 0x620c |
| 170 | 0x6314 |
| 171 | 0x6394 |
| 172 | 0x6414 |
| 173 | 0x6008>; |
| 174 | |
| 175 | qcom,iommu-bfb-data = <0x00000003 |
| 176 | 0x0 |
| 177 | 0x00000004 |
| 178 | 0x00000010 |
| 179 | 0x00000000 |
| 180 | 0x00000000 |
| 181 | 0x00000001 |
| 182 | 0x00000011 |
| 183 | 0x0 |
| 184 | 0x1 |
| 185 | 0x41 |
| 186 | 0x0>; |
Mitchel Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 187 | }; |
| 188 | |
| 189 | &vfe_iommu { |
| 190 | status = "ok"; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 191 | |
| 192 | qcom,iommu-bfb-regs = <0x604c |
| 193 | 0x6050 |
| 194 | 0x6514 |
| 195 | 0x6540 |
| 196 | 0x656c |
| 197 | 0x6314 |
| 198 | 0x6394 |
| 199 | 0x6414 |
| 200 | 0x60ac |
| 201 | 0x615c |
| 202 | 0x620c |
| 203 | 0x6008 |
| 204 | 0x600c |
| 205 | 0x6010 |
| 206 | 0x6014 |
| 207 | 0x6018 |
| 208 | 0x601c |
| 209 | 0x6020>; |
| 210 | |
| 211 | qcom,iommu-bfb-data = <0xffffffff |
| 212 | 0x00000000 |
| 213 | 0x4 |
| 214 | 0x8 |
| 215 | 0x0 |
| 216 | 0x0 |
| 217 | 0x1b |
| 218 | 0x5b |
| 219 | 0x0 |
| 220 | 0x1b |
| 221 | 0x2b |
| 222 | 0x0 |
| 223 | 0x0 |
| 224 | 0x0 |
| 225 | 0x0 |
| 226 | 0x0 |
| 227 | 0x0 |
| 228 | 0x0>; |
Mitchel Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 229 | }; |