Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [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 | |
| 13 | /include/ "msm-iommu-v1.dtsi" |
| 14 | |
| 15 | &venus_iommu { |
| 16 | status = "ok"; |
Olav Haugan | 8d41055 | 2013-01-22 09:40:23 -0800 | [diff] [blame] | 17 | qcom,iommu-enable-halt; |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 18 | |
Olav Haugan | 3b53b3a | 2013-01-22 09:23:10 -0800 | [diff] [blame] | 19 | qcom,iommu-bfb-regs = <0x204c |
| 20 | 0x2050 |
| 21 | 0x2514 |
| 22 | 0x2540 |
| 23 | 0x256c |
| 24 | 0x20ac |
| 25 | 0x215c |
| 26 | 0x220c |
| 27 | 0x2314 |
| 28 | 0x2394 |
| 29 | 0x2414 |
| 30 | 0x2008 |
| 31 | 0x200c |
| 32 | 0x2010 |
| 33 | 0x2014 |
| 34 | 0x2018 |
| 35 | 0x201c |
| 36 | 0x2020 |
| 37 | 0x2024 |
| 38 | 0x2028 |
| 39 | 0x202c |
| 40 | 0x2030 |
| 41 | 0x2034 |
| 42 | 0x2038>; |
| 43 | |
Olav Haugan | 824af42 | 2013-02-15 11:56:34 -0800 | [diff] [blame] | 44 | qcom,iommu-bfb-data = <0xFFFFFFFF |
| 45 | 0xFFFFFFFF |
Olav Haugan | 3b53b3a | 2013-01-22 09:23:10 -0800 | [diff] [blame] | 46 | 0x00000004 |
| 47 | 0x00000008 |
| 48 | 0x00000000 |
| 49 | 0x00013205 |
| 50 | 0x00004000 |
| 51 | 0x00014020 |
| 52 | 0x0 |
| 53 | 0x94 |
| 54 | 0x114 |
| 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 | 0x0>; |
| 68 | |
Olav Haugan | 7930a68 | 2013-01-29 13:28:06 -0800 | [diff] [blame] | 69 | venus_ns: qcom,iommu-ctx@fdc8c000 { |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 70 | qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>; |
| 71 | }; |
| 72 | |
Olav Haugan | 7930a68 | 2013-01-29 13:28:06 -0800 | [diff] [blame] | 73 | venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 { |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 74 | label = "venus_sec_bitstream"; |
| 75 | }; |
| 76 | |
Olav Haugan | 7930a68 | 2013-01-29 13:28:06 -0800 | [diff] [blame] | 77 | venus_sec_pixel: qcom,iommu-ctx@fdc8f000 { |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 78 | reg = <0xfdc8f000 0x1000>; |
| 79 | interrupts = <0 42 0>; |
| 80 | qcom,iommu-ctx-sids = <0x85>; |
| 81 | label = "venus_sec_pixel"; |
| 82 | qcom,secure-context; |
| 83 | }; |
| 84 | |
Olav Haugan | 7930a68 | 2013-01-29 13:28:06 -0800 | [diff] [blame] | 85 | venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 { |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 86 | reg = <0xfdc90000 0x1000>; |
| 87 | interrupts = <0 42 0>; |
| 88 | qcom,iommu-ctx-sids = <0x87 0xA0>; |
| 89 | label = "venus_sec_non_pixel"; |
| 90 | qcom,secure-context; |
| 91 | }; |
| 92 | }; |
| 93 | |
| 94 | &jpeg_iommu { |
| 95 | status = "ok"; |
Olav Haugan | 8d41055 | 2013-01-22 09:40:23 -0800 | [diff] [blame] | 96 | qcom,iommu-enable-halt; |
Olav Haugan | 3b53b3a | 2013-01-22 09:23:10 -0800 | [diff] [blame] | 97 | |
| 98 | qcom,iommu-bfb-regs = <0x204c |
| 99 | 0x2050 |
| 100 | 0x2514 |
| 101 | 0x2540 |
| 102 | 0x256c |
| 103 | 0x2314 |
| 104 | 0x2394 |
| 105 | 0x2414 |
| 106 | 0x20ac |
| 107 | 0x215c |
| 108 | 0x220c |
| 109 | 0x2008 |
| 110 | 0x200c |
| 111 | 0x2010 |
| 112 | 0x2014>; |
| 113 | |
| 114 | qcom,iommu-bfb-data = <0x3FFF |
| 115 | 0x00000000 |
| 116 | 0x4 |
| 117 | 0x4 |
| 118 | 0x0 |
| 119 | 0x0 |
| 120 | 0x10 |
| 121 | 0x50 |
Olav Haugan | 824af42 | 2013-02-15 11:56:34 -0800 | [diff] [blame] | 122 | 0x0 |
Olav Haugan | 3b53b3a | 2013-01-22 09:23:10 -0800 | [diff] [blame] | 123 | 0x00002804 |
| 124 | 0x00009614 |
| 125 | 0x0 |
| 126 | 0x0 |
| 127 | 0x0 |
| 128 | 0x0>; |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 129 | }; |
| 130 | |
| 131 | &mdp_iommu { |
| 132 | status = "ok"; |
Olav Haugan | 8d41055 | 2013-01-22 09:40:23 -0800 | [diff] [blame] | 133 | qcom,iommu-enable-halt; |
Olav Haugan | 3b53b3a | 2013-01-22 09:23:10 -0800 | [diff] [blame] | 134 | |
| 135 | qcom,iommu-bfb-regs = <0x204c |
| 136 | 0x2050 |
| 137 | 0x2514 |
| 138 | 0x2540 |
| 139 | 0x256c |
| 140 | 0x20ac |
| 141 | 0x215c |
| 142 | 0x220c |
| 143 | 0x2314 |
| 144 | 0x2394 |
| 145 | 0x2414 |
| 146 | 0x2008 |
| 147 | 0x200c |
| 148 | 0x2010 |
| 149 | 0x2014 |
| 150 | 0x2018 |
| 151 | 0x201c |
| 152 | 0x2020>; |
| 153 | |
| 154 | qcom,iommu-bfb-data = <0xFFFFF |
| 155 | 0x00000000 |
| 156 | 0x00000004 |
| 157 | 0x00000010 |
| 158 | 0x00000000 |
| 159 | 0x00006800 |
| 160 | 0x00006221 |
| 161 | 0x00016231 |
| 162 | 0x0 |
| 163 | 0x34 |
| 164 | 0x74 |
| 165 | 0x0 |
| 166 | 0x0 |
| 167 | 0x0 |
| 168 | 0x0 |
| 169 | 0x0 |
| 170 | 0x0 |
| 171 | 0x0>; |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 172 | }; |
| 173 | |
| 174 | &kgsl_iommu { |
| 175 | status = "ok"; |
Olav Haugan | 8d41055 | 2013-01-22 09:40:23 -0800 | [diff] [blame] | 176 | qcom,iommu-enable-halt; |
Olav Haugan | 3b53b3a | 2013-01-22 09:23:10 -0800 | [diff] [blame] | 177 | |
| 178 | qcom,iommu-bfb-regs = <0x204c |
| 179 | 0x2050 |
| 180 | 0x2514 |
| 181 | 0x2540 |
| 182 | 0x256c |
| 183 | 0x20ac |
| 184 | 0x215c |
| 185 | 0x220c |
| 186 | 0x2314 |
| 187 | 0x2394 |
| 188 | 0x2414 |
| 189 | 0x2008>; |
| 190 | |
| 191 | qcom,iommu-bfb-data = <0x00000003 |
| 192 | 0x0 |
| 193 | 0x00000004 |
| 194 | 0x00000010 |
| 195 | 0x00000000 |
| 196 | 0x00000000 |
| 197 | 0x00000000 |
| 198 | 0x00000020 |
| 199 | 0x0 |
| 200 | 0x1 |
| 201 | 0x81 |
| 202 | 0x0>; |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 203 | }; |
| 204 | |
| 205 | &vfe_iommu { |
| 206 | status = "ok"; |
Olav Haugan | 8d41055 | 2013-01-22 09:40:23 -0800 | [diff] [blame] | 207 | qcom,iommu-enable-halt; |
Olav Haugan | 3b53b3a | 2013-01-22 09:23:10 -0800 | [diff] [blame] | 208 | |
| 209 | qcom,iommu-bfb-regs = <0x204c |
| 210 | 0x2050 |
| 211 | 0x2514 |
| 212 | 0x2540 |
| 213 | 0x256c |
| 214 | 0x2314 |
| 215 | 0x2394 |
| 216 | 0x2414 |
| 217 | 0x20ac |
| 218 | 0x215c |
| 219 | 0x220c |
| 220 | 0x2008 |
| 221 | 0x200c |
| 222 | 0x2010 |
| 223 | 0x2014 |
| 224 | 0x2018 |
| 225 | 0x201c |
| 226 | 0x2020>; |
| 227 | |
| 228 | qcom,iommu-bfb-data = <0xffffffff |
| 229 | 0x00000000 |
| 230 | 0x4 |
| 231 | 0x8 |
| 232 | 0x0 |
| 233 | 0x0 |
| 234 | 0x20 |
| 235 | 0x78 |
Olav Haugan | 824af42 | 2013-02-15 11:56:34 -0800 | [diff] [blame] | 236 | 0x0 |
Olav Haugan | 3b53b3a | 2013-01-22 09:23:10 -0800 | [diff] [blame] | 237 | 0x00003c08 |
| 238 | 0x0000b41e |
| 239 | 0x0 |
| 240 | 0x0 |
| 241 | 0x0 |
| 242 | 0x0 |
| 243 | 0x0 |
| 244 | 0x0 |
| 245 | 0x0>; |
Olav Haugan | 8e32a99 | 2013-01-31 11:42:28 -0800 | [diff] [blame] | 246 | }; |