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"; |
Olav Haugan | 0b1e482 | 2013-05-21 09:37:50 -0700 | [diff] [blame] | 17 | vdd-supply = <&gdsc_jpeg>; |
Mitchel Humpherys | a8e4e90 | 2013-02-20 16:09:12 -0800 | [diff] [blame] | 18 | qcom,iommu-enable-halt; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 19 | |
Mitchel Humpherys | 98d6d0e | 2013-03-06 14:38:15 -0800 | [diff] [blame] | 20 | 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 Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 35 | |
| 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 Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 51 | }; |
| 52 | |
| 53 | &mdp_iommu { |
| 54 | status = "ok"; |
Olav Haugan | 0b1e482 | 2013-05-21 09:37:50 -0700 | [diff] [blame] | 55 | vdd-supply = <&gdsc_mdss>; |
Mitchel Humpherys | a8e4e90 | 2013-02-20 16:09:12 -0800 | [diff] [blame] | 56 | qcom,iommu-enable-halt; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 57 | |
Mitchel Humpherys | 98d6d0e | 2013-03-06 14:38:15 -0800 | [diff] [blame] | 58 | 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 Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 76 | |
| 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 Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 95 | }; |
| 96 | |
| 97 | &venus_iommu { |
| 98 | status = "ok"; |
Olav Haugan | 0b1e482 | 2013-05-21 09:37:50 -0700 | [diff] [blame] | 99 | vdd-supply = <&gdsc_venus>; |
Mitchel Humpherys | a8e4e90 | 2013-02-20 16:09:12 -0800 | [diff] [blame] | 100 | qcom,iommu-enable-halt; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 101 | |
Mitchel Humpherys | 98d6d0e | 2013-03-06 14:38:15 -0800 | [diff] [blame] | 102 | 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 Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 126 | |
| 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 Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 151 | }; |
| 152 | |
Mitchel Humpherys | 9f52367 | 2013-02-20 16:37:54 -0800 | [diff] [blame] | 153 | &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 Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 161 | &kgsl_iommu { |
| 162 | status = "ok"; |
Olav Haugan | 0b1e482 | 2013-05-21 09:37:50 -0700 | [diff] [blame] | 163 | vdd-supply = <&gdsc_oxili_cx>; |
| 164 | qcom,alt-vdd-supply = <&gdsc_oxili_gx>; |
Mitchel Humpherys | a8e4e90 | 2013-02-20 16:09:12 -0800 | [diff] [blame] | 165 | qcom,iommu-enable-halt; |
Olav Haugan | ef8fc87 | 2013-04-06 10:23:32 -0700 | [diff] [blame] | 166 | qcom,needs-alt-core-clk; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 167 | |
Mitchel Humpherys | 98d6d0e | 2013-03-06 14:38:15 -0800 | [diff] [blame] | 168 | 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 Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 180 | |
| 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 Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 193 | }; |
| 194 | |
| 195 | &vfe_iommu { |
| 196 | status = "ok"; |
Olav Haugan | 0b1e482 | 2013-05-21 09:37:50 -0700 | [diff] [blame] | 197 | vdd-supply = <&gdsc_vfe>; |
Mitchel Humpherys | a8e4e90 | 2013-02-20 16:09:12 -0800 | [diff] [blame] | 198 | qcom,iommu-enable-halt; |
Mitchel Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 199 | |
Mitchel Humpherys | 98d6d0e | 2013-03-06 14:38:15 -0800 | [diff] [blame] | 200 | 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 Humpherys | c714845 | 2013-02-20 16:22:12 -0800 | [diff] [blame] | 218 | |
| 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 Humpherys | 85d0869 | 2012-10-23 12:56:35 -0700 | [diff] [blame] | 237 | }; |