Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 1 | /* Copyright (c) 2012-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 | / { |
| 14 | lpass_iommu: qcom,iommu@fd000000 { |
Olav Haugan | 0e22c48 | 2013-01-28 17:39:36 -0800 | [diff] [blame] | 15 | compatible = "qcom,msm-smmu-v0"; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | ranges; |
| 19 | reg = <0xfd000000 0x10000>; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 20 | interrupts = <0 248 0>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 21 | qcom,glb-offset = <0xF000>; |
| 22 | label = "lpass_iommu"; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 23 | qcom,iommu-pmu-ngroups = <1>; |
| 24 | qcom,iommu-pmu-ncounters = <4>; |
| 25 | qcom,iommu-pmu-event-classes = <0x08 |
| 26 | 0x09 |
| 27 | 0x10 |
| 28 | 0x12 |
| 29 | 0x80>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 30 | status = "disabled"; |
| 31 | |
| 32 | lpass_q6_fw: qcom,iommu-ctx@fd000000 { |
| 33 | reg = <0xfd000000 0x1000>; |
| 34 | interrupts = <0 250 0>; |
| 35 | qcom,iommu-ctx-mids = <0 15>; |
| 36 | label = "q6_fw"; |
| 37 | }; |
| 38 | |
| 39 | lpass_audio_shared: qcom,iommu-ctx@fd001000 { |
| 40 | reg = <0xfd001000 0x1000>; |
| 41 | interrupts = <0 250 0>; |
| 42 | qcom,iommu-ctx-mids = <1>; |
| 43 | label = "audio_shared"; |
| 44 | }; |
| 45 | |
| 46 | lpass_video_shared: qcom,iommu-ctx@fd002000 { |
| 47 | reg = <0xfd002000 0x1000>; |
| 48 | interrupts = <0 250 0>; |
| 49 | qcom,iommu-ctx-mids = <2>; |
| 50 | label = "video_shared"; |
| 51 | }; |
| 52 | |
| 53 | lpass_q6_spare: qcom,iommu-ctx@fd003000 { |
| 54 | reg = <0xfd003000 0x1000>; |
| 55 | interrupts = <0 250 0>; |
| 56 | qcom,iommu-ctx-mids = <3 4 5 6 7 8 9 10 11 12 13 14>; |
| 57 | label = "q6_spare"; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | copss_iommu: qcom,iommu@fd010000 { |
Olav Haugan | 0e22c48 | 2013-01-28 17:39:36 -0800 | [diff] [blame] | 62 | compatible = "qcom,msm-smmu-v0"; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 63 | #address-cells = <1>; |
| 64 | #size-cells = <1>; |
| 65 | ranges; |
| 66 | reg = <0xfd010000 0x10000>; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 67 | interrupts = <0 252 0>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 68 | qcom,glb-offset = <0xF000>; |
| 69 | label = "copss_iommu"; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 70 | qcom,iommu-pmu-ngroups = <1>; |
| 71 | qcom,iommu-pmu-ncounters = <4>; |
| 72 | qcom,iommu-pmu-event-classes = <0x08 |
| 73 | 0x09 |
| 74 | 0x10 |
| 75 | 0x12 |
| 76 | 0x80>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 77 | status = "disabled"; |
| 78 | |
| 79 | qcom,iommu-ctx@fd010000 { |
| 80 | reg = <0xfd010000 0x1000>; |
| 81 | interrupts = <0 254 0>; |
| 82 | qcom,iommu-ctx-mids = <0>; |
| 83 | label = "copss_0"; |
| 84 | }; |
| 85 | |
| 86 | qcom,iommu-ctx@fd011000 { |
| 87 | reg = <0xfd011000 0x1000>; |
| 88 | interrupts = <0 254 0>; |
| 89 | qcom,iommu-ctx-mids = <1>; |
| 90 | label = "copss_1"; |
| 91 | }; |
| 92 | |
| 93 | qcom,iommu-ctx@fd012000 { |
| 94 | reg = <0xfd012000 0x1000>; |
| 95 | interrupts = <0 254 0>; |
| 96 | qcom,iommu-ctx-mids = <2>; |
| 97 | label = "copss_2"; |
| 98 | }; |
| 99 | |
| 100 | qcom,iommu-ctx@fd013000 { |
| 101 | reg = <0xfd013000 0x1000>; |
| 102 | interrupts = <0 254 0>; |
| 103 | qcom,iommu-ctx-mids = <3>; |
| 104 | label = "copss_3"; |
| 105 | }; |
| 106 | |
| 107 | qcom,iommu-ctx@fd014000 { |
| 108 | reg = <0xfd014000 0x1000>; |
| 109 | interrupts = <0 254 0>; |
| 110 | qcom,iommu-ctx-mids = <4>; |
| 111 | label = "copss_4"; |
| 112 | }; |
| 113 | |
| 114 | qcom,iommu-ctx@fd015000 { |
| 115 | reg = <0xfd015000 0x1000>; |
| 116 | interrupts = <0 254 0>; |
| 117 | qcom,iommu-ctx-mids = <5>; |
| 118 | label = "copss_5"; |
| 119 | }; |
| 120 | |
| 121 | qcom,iommu-ctx@fd016000 { |
| 122 | reg = <0xfd016000 0x1000>; |
| 123 | interrupts = <0 254 0>; |
| 124 | qcom,iommu-ctx-mids = <6>; |
| 125 | label = "copss_6"; |
| 126 | }; |
| 127 | |
| 128 | qcom,iommu-ctx@fd017000 { |
| 129 | reg = <0xfd017000 0x1000>; |
| 130 | interrupts = <0 254 0>; |
| 131 | qcom,iommu-ctx-mids = <7>; |
| 132 | label = "copss_7"; |
| 133 | }; |
| 134 | }; |
| 135 | |
| 136 | mdpe_iommu: qcom,iommu@fd860000 { |
Olav Haugan | 0e22c48 | 2013-01-28 17:39:36 -0800 | [diff] [blame] | 137 | compatible = "qcom,msm-smmu-v0"; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 138 | #address-cells = <1>; |
| 139 | #size-cells = <1>; |
| 140 | ranges; |
| 141 | reg = <0xfd860000 0x10000>; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 142 | interrupts = <0 245 0>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 143 | qcom,glb-offset = <0xF000>; |
| 144 | label = "mdpe_iommu"; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 145 | qcom,iommu-pmu-ngroups = <1>; |
| 146 | qcom,iommu-pmu-ncounters = <4>; |
| 147 | qcom,iommu-pmu-event-classes = <0x08 |
| 148 | 0x09 |
| 149 | 0x10 |
| 150 | 0x12 |
| 151 | 0x80>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 152 | status = "disabled"; |
| 153 | |
| 154 | qcom,iommu-ctx@fd860000 { |
| 155 | reg = <0xfd860000 0x1000>; |
| 156 | interrupts = <0 247 0>; |
Olav Haugan | 54cd77e | 2013-02-12 15:15:28 -0800 | [diff] [blame] | 157 | qcom,iommu-ctx-mids = <0 1 3>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 158 | label = "mdpe_0"; |
| 159 | }; |
| 160 | |
| 161 | qcom,iommu-ctx@fd861000 { |
| 162 | reg = <0xfd861000 0x1000>; |
| 163 | interrupts = <0 247 0>; |
Olav Haugan | 54cd77e | 2013-02-12 15:15:28 -0800 | [diff] [blame] | 164 | qcom,iommu-ctx-mids = <2>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 165 | label = "mdpe_1"; |
| 166 | }; |
| 167 | }; |
| 168 | |
| 169 | mdps_iommu: qcom,iommu@fd870000 { |
Olav Haugan | 0e22c48 | 2013-01-28 17:39:36 -0800 | [diff] [blame] | 170 | compatible = "qcom,msm-smmu-v0"; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 171 | #address-cells = <1>; |
| 172 | #size-cells = <1>; |
| 173 | ranges; |
| 174 | reg = <0xfd870000 0x10000>; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 175 | interrupts = <0 73 0>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 176 | qcom,glb-offset = <0xF000>; |
| 177 | label = "mdps_iommu"; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 178 | qcom,iommu-pmu-ngroups = <1>; |
| 179 | qcom,iommu-pmu-ncounters = <4>; |
| 180 | qcom,iommu-pmu-event-classes = <0x08 |
| 181 | 0x09 |
| 182 | 0x10 |
| 183 | 0x12 |
| 184 | 0x80>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 185 | status = "disabled"; |
| 186 | |
| 187 | qcom,iommu-ctx@fd870000 { |
| 188 | reg = <0xfd870000 0x1000>; |
| 189 | interrupts = <0 247 0>; |
Olav Haugan | 54cd77e | 2013-02-12 15:15:28 -0800 | [diff] [blame] | 190 | qcom,iommu-ctx-mids = <0>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 191 | label = "mdps_0"; |
| 192 | }; |
| 193 | |
| 194 | qcom,iommu-ctx@fd871000 { |
| 195 | reg = <0xfd871000 0x1000>; |
| 196 | interrupts = <0 247 0>; |
Olav Haugan | 54cd77e | 2013-02-12 15:15:28 -0800 | [diff] [blame] | 197 | qcom,iommu-ctx-mids = <1>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 198 | label = "mdps_1"; |
| 199 | }; |
| 200 | }; |
| 201 | |
| 202 | gfx_iommu: qcom,iommu@fd880000 { |
Olav Haugan | 0e22c48 | 2013-01-28 17:39:36 -0800 | [diff] [blame] | 203 | compatible = "qcom,msm-smmu-v0"; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 204 | #address-cells = <1>; |
| 205 | #size-cells = <1>; |
| 206 | ranges; |
| 207 | reg = <0xfd880000 0x10000>; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 208 | interrupts = <0 38 0>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 209 | qcom,glb-offset = <0xF000>; |
| 210 | label = "gfx_iommu"; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 211 | qcom,iommu-pmu-ngroups = <1>; |
| 212 | qcom,iommu-pmu-ncounters = <4>; |
| 213 | qcom,iommu-pmu-event-classes = <0x08 |
| 214 | 0x09 |
| 215 | 0x10 |
| 216 | 0x12 |
| 217 | 0x80>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 218 | status = "disabled"; |
| 219 | |
| 220 | qcom,iommu-ctx@fd880000 { |
| 221 | reg = <0xfd880000 0x1000>; |
| 222 | interrupts = <0 241 0>; |
| 223 | qcom,iommu-ctx-mids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 |
| 224 | 14 15>; |
| 225 | label = "gfx3d_user"; |
| 226 | }; |
| 227 | |
| 228 | qcom,iommu-ctx@fd881000 { |
| 229 | reg = <0xfd881000 0x1000>; |
| 230 | interrupts = <0 241 0>; |
| 231 | qcom,iommu-ctx-mids = <16 17 18 19 20 21 22 23 24 25 |
| 232 | 26 27 28 29 30 31>; |
| 233 | label = "gfx3d_priv"; |
| 234 | }; |
| 235 | |
| 236 | qcom,iommu-ctx@fd882000 { |
| 237 | reg = <0xfd882000 0x1000>; |
| 238 | interrupts = <0 241 0>; |
| 239 | qcom,iommu-ctx-mids = <>; |
| 240 | label = "gfx3d_spare"; |
| 241 | }; |
| 242 | }; |
| 243 | |
| 244 | vfe_iommu: qcom,iommu@fd890000 { |
Olav Haugan | 0e22c48 | 2013-01-28 17:39:36 -0800 | [diff] [blame] | 245 | compatible = "qcom,msm-smmu-v0"; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 246 | #address-cells = <1>; |
| 247 | #size-cells = <1>; |
| 248 | ranges; |
| 249 | reg = <0xfd890000 0x10000>; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 250 | interrupts = <0 62 0>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 251 | qcom,glb-offset = <0xF000>; |
| 252 | label = "vfe_iommu"; |
Olav Haugan | d982d9b | 2013-02-04 14:56:38 -0800 | [diff] [blame^] | 253 | qcom,iommu-pmu-ngroups = <1>; |
| 254 | qcom,iommu-pmu-ncounters = <4>; |
| 255 | qcom,iommu-pmu-event-classes = <0x08 |
| 256 | 0x09 |
| 257 | 0x10 |
| 258 | 0x12 |
| 259 | 0x80>; |
Olav Haugan | 5416678 | 2013-01-28 16:59:51 -0800 | [diff] [blame] | 260 | status = "disabled"; |
| 261 | |
| 262 | qcom,iommu-ctx@fd890000 { |
| 263 | reg = <0xfd890000 0x1000>; |
| 264 | interrupts = <0 65 0>; |
| 265 | qcom,iommu-ctx-mids = <0>; |
| 266 | label = "vfe0"; |
| 267 | }; |
| 268 | |
| 269 | qcom,iommu-ctx@fd891000 { |
| 270 | reg = <0xfd891000 0x1000>; |
| 271 | interrupts = <0 65 0>; |
| 272 | qcom,iommu-ctx-mids = <1>; |
| 273 | label = "vfe1"; |
| 274 | }; |
| 275 | }; |
| 276 | }; |