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