Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2017, 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 "skeleton64.dtsi" |
| 14 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 15 | #include <dt-bindings/clock/qcom,gcc-sdm845.h> |
| 16 | #include <dt-bindings/clock/qcom,camcc-sdm845.h> |
| 17 | #include <dt-bindings/clock/qcom,dispcc-sdm845.h> |
| 18 | #include <dt-bindings/clock/qcom,gpucc-sdm845.h> |
| 19 | #include <dt-bindings/clock/qcom,videocc-sdm845.h> |
| 20 | #include <dt-bindings/clock/qcom,cpucc-sdm845.h> |
| 21 | #include <dt-bindings/clock/qcom,rpmh.h> |
Maulik Shah | c77d1d2 | 2017-06-15 14:04:50 +0530 | [diff] [blame] | 22 | #include <dt-bindings/soc/qcom,tcs-mbox.h> |
Tirupathi Reddy | 0cfe208 | 2017-06-08 14:24:13 +0530 | [diff] [blame] | 23 | #include <dt-bindings/regulator/qcom,rpmh-regulator.h> |
Odelu Kukatla | 6f3ffa1 | 2017-08-10 12:31:06 +0530 | [diff] [blame] | 24 | #include <dt-bindings/clock/qcom,aop-qmp.h> |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 25 | |
| 26 | / { |
| 27 | model = "Qualcomm Technologies, Inc. SDM670"; |
| 28 | compatible = "qcom,sdm670"; |
| 29 | qcom,msm-id = <336 0x0>; |
Maulik Shah | 30ebbde | 2017-06-15 10:02:54 +0530 | [diff] [blame] | 30 | interrupt-parent = <&pdc>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 31 | |
Sayali Lokhande | 099af9c | 2017-06-08 10:18:29 +0530 | [diff] [blame] | 32 | aliases { |
| 33 | ufshc1 = &ufshc_mem; /* Embedded UFS slot */ |
Vijay Viswanath | eac7272 | 2017-06-05 11:01:38 +0530 | [diff] [blame] | 34 | sdhc1 = &sdhc_1; /* SDC1 eMMC slot */ |
Vijay Viswanath | ee4340d | 2017-08-28 09:50:18 +0530 | [diff] [blame] | 35 | sdhc2 = &sdhc_2; /* SDC2 SD Card slot */ |
Mukesh Kumar Savaliya | 7b27254 | 2017-07-10 19:35:29 +0530 | [diff] [blame] | 36 | serial0 = &qupv3_se12_2uart; |
| 37 | spi0 = &qupv3_se8_spi; |
| 38 | i2c0 = &qupv3_se10_i2c; |
| 39 | i2c1 = &qupv3_se3_i2c; |
| 40 | hsuart0 = &qupv3_se6_4uart; |
| 41 | }; |
| 42 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 43 | cpus { |
| 44 | #address-cells = <2>; |
| 45 | #size-cells = <0>; |
| 46 | |
| 47 | CPU0: cpu@0 { |
| 48 | device_type = "cpu"; |
| 49 | compatible = "arm,armv8"; |
| 50 | reg = <0x0 0x0>; |
| 51 | enable-method = "psci"; |
| 52 | efficiency = <1024>; |
| 53 | cache-size = <0x8000>; |
| 54 | cpu-release-addr = <0x0 0x90000000>; |
| 55 | next-level-cache = <&L2_0>; |
| 56 | L2_0: l2-cache { |
| 57 | compatible = "arm,arch-cache"; |
| 58 | cache-size = <0x20000>; |
| 59 | cache-level = <2>; |
| 60 | next-level-cache = <&L3_0>; |
| 61 | L3_0: l3-cache { |
| 62 | compatible = "arm,arch-cache"; |
| 63 | cache-size = <0x100000>; |
| 64 | cache-level = <3>; |
| 65 | }; |
| 66 | }; |
| 67 | L1_I_0: l1-icache { |
| 68 | compatible = "arm,arch-cache"; |
| 69 | qcom,dump-size = <0x9000>; |
| 70 | }; |
| 71 | L1_D_0: l1-dcache { |
| 72 | compatible = "arm,arch-cache"; |
| 73 | qcom,dump-size = <0x9000>; |
| 74 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 75 | L1_TLB_0: l1-tlb { |
| 76 | qcom,dump-size = <0x3000>; |
| 77 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 78 | }; |
| 79 | |
| 80 | CPU1: cpu@100 { |
| 81 | device_type = "cpu"; |
| 82 | compatible = "arm,armv8"; |
| 83 | reg = <0x0 0x100>; |
| 84 | enable-method = "psci"; |
| 85 | efficiency = <1024>; |
| 86 | cache-size = <0x8000>; |
| 87 | cpu-release-addr = <0x0 0x90000000>; |
| 88 | next-level-cache = <&L2_100>; |
| 89 | L2_100: l2-cache { |
| 90 | compatible = "arm,arch-cache"; |
| 91 | cache-size = <0x20000>; |
| 92 | cache-level = <2>; |
| 93 | next-level-cache = <&L3_0>; |
| 94 | }; |
| 95 | L1_I_100: l1-icache { |
| 96 | compatible = "arm,arch-cache"; |
| 97 | qcom,dump-size = <0x9000>; |
| 98 | }; |
| 99 | L1_D_100: l1-dcache { |
| 100 | compatible = "arm,arch-cache"; |
| 101 | qcom,dump-size = <0x9000>; |
| 102 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 103 | L1_TLB_100: l1-tlb { |
| 104 | qcom,dump-size = <0x3000>; |
| 105 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 106 | }; |
| 107 | |
| 108 | CPU2: cpu@200 { |
| 109 | device_type = "cpu"; |
| 110 | compatible = "arm,armv8"; |
| 111 | reg = <0x0 0x200>; |
| 112 | enable-method = "psci"; |
| 113 | efficiency = <1024>; |
| 114 | cache-size = <0x8000>; |
| 115 | cpu-release-addr = <0x0 0x90000000>; |
| 116 | next-level-cache = <&L2_200>; |
| 117 | L2_200: l2-cache { |
| 118 | compatible = "arm,arch-cache"; |
| 119 | cache-size = <0x20000>; |
| 120 | cache-level = <2>; |
| 121 | next-level-cache = <&L3_0>; |
| 122 | }; |
| 123 | L1_I_200: l1-icache { |
| 124 | compatible = "arm,arch-cache"; |
| 125 | qcom,dump-size = <0x9000>; |
| 126 | }; |
| 127 | L1_D_200: l1-dcache { |
| 128 | compatible = "arm,arch-cache"; |
| 129 | qcom,dump-size = <0x9000>; |
| 130 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 131 | L1_TLB_200: l1-tlb { |
| 132 | qcom,dump-size = <0x3000>; |
| 133 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 134 | }; |
| 135 | |
| 136 | CPU3: cpu@300 { |
| 137 | device_type = "cpu"; |
| 138 | compatible = "arm,armv8"; |
| 139 | reg = <0x0 0x300>; |
| 140 | enable-method = "psci"; |
| 141 | efficiency = <1024>; |
| 142 | cache-size = <0x8000>; |
| 143 | cpu-release-addr = <0x0 0x90000000>; |
| 144 | next-level-cache = <&L2_300>; |
| 145 | L2_300: l2-cache { |
| 146 | compatible = "arm,arch-cache"; |
| 147 | cache-size = <0x20000>; |
| 148 | cache-level = <2>; |
| 149 | next-level-cache = <&L3_0>; |
| 150 | }; |
| 151 | L1_I_300: l1-icache { |
| 152 | compatible = "arm,arch-cache"; |
| 153 | qcom,dump-size = <0x9000>; |
| 154 | }; |
| 155 | L1_D_300: l1-dcache { |
| 156 | compatible = "arm,arch-cache"; |
| 157 | qcom,dump-size = <0x9000>; |
| 158 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 159 | L1_TLB_300: l1-tlb { |
| 160 | qcom,dump-size = <0x3000>; |
| 161 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 162 | }; |
| 163 | |
| 164 | CPU4: cpu@400 { |
| 165 | device_type = "cpu"; |
| 166 | compatible = "arm,armv8"; |
| 167 | reg = <0x0 0x400>; |
| 168 | enable-method = "psci"; |
| 169 | efficiency = <1024>; |
| 170 | cache-size = <0x8000>; |
| 171 | cpu-release-addr = <0x0 0x90000000>; |
| 172 | next-level-cache = <&L2_400>; |
| 173 | L2_400: l2-cache { |
| 174 | compatible = "arm,arch-cache"; |
| 175 | cache-size = <0x20000>; |
| 176 | cache-level = <2>; |
| 177 | next-level-cache = <&L3_0>; |
| 178 | }; |
| 179 | L1_I_400: l1-icache { |
| 180 | compatible = "arm,arch-cache"; |
| 181 | qcom,dump-size = <0x9000>; |
| 182 | }; |
| 183 | L1_D_400: l1-dcache { |
| 184 | compatible = "arm,arch-cache"; |
| 185 | qcom,dump-size = <0x9000>; |
| 186 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 187 | L1_TLB_400: l1-tlb { |
| 188 | qcom,dump-size = <0x3000>; |
| 189 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 190 | }; |
| 191 | |
| 192 | CPU5: cpu@500 { |
| 193 | device_type = "cpu"; |
| 194 | compatible = "arm,armv8"; |
| 195 | reg = <0x0 0x500>; |
| 196 | enable-method = "psci"; |
| 197 | efficiency = <1024>; |
| 198 | cache-size = <0x8000>; |
| 199 | cpu-release-addr = <0x0 0x90000000>; |
| 200 | next-level-cache = <&L2_500>; |
| 201 | L2_500: l2-cache { |
| 202 | compatible = "arm,arch-cache"; |
| 203 | cache-size = <0x20000>; |
| 204 | cache-level = <2>; |
| 205 | next-level-cache = <&L3_0>; |
| 206 | }; |
| 207 | L1_I_500: l1-icache { |
| 208 | compatible = "arm,arch-cache"; |
| 209 | qcom,dump-size = <0x9000>; |
| 210 | }; |
| 211 | L1_D_500: l1-dcache { |
| 212 | compatible = "arm,arch-cache"; |
| 213 | qcom,dump-size = <0x9000>; |
| 214 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 215 | L1_TLB_500: l1-tlb { |
| 216 | qcom,dump-size = <0x3000>; |
| 217 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 218 | }; |
| 219 | |
| 220 | CPU6: cpu@600 { |
| 221 | device_type = "cpu"; |
| 222 | compatible = "arm,armv8"; |
| 223 | reg = <0x0 0x600>; |
| 224 | enable-method = "psci"; |
| 225 | efficiency = <1740>; |
| 226 | cache-size = <0x10000>; |
| 227 | cpu-release-addr = <0x0 0x90000000>; |
| 228 | next-level-cache = <&L2_600>; |
| 229 | L2_600: l2-cache { |
| 230 | compatible = "arm,arch-cache"; |
| 231 | cache-size = <0x40000>; |
| 232 | cache-level = <2>; |
| 233 | next-level-cache = <&L3_0>; |
| 234 | }; |
| 235 | L1_I_600: l1-icache { |
| 236 | compatible = "arm,arch-cache"; |
| 237 | qcom,dump-size = <0x12000>; |
| 238 | }; |
| 239 | L1_D_600: l1-dcache { |
| 240 | compatible = "arm,arch-cache"; |
| 241 | qcom,dump-size = <0x12000>; |
| 242 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 243 | L1_TLB_600: l1-tlb { |
| 244 | qcom,dump-size = <0x3c000>; |
| 245 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 246 | }; |
| 247 | |
| 248 | CPU7: cpu@700 { |
| 249 | device_type = "cpu"; |
| 250 | compatible = "arm,armv8"; |
| 251 | reg = <0x0 0x700>; |
| 252 | enable-method = "psci"; |
| 253 | efficiency = <1740>; |
| 254 | cache-size = <0x10000>; |
| 255 | cpu-release-addr = <0x0 0x90000000>; |
| 256 | next-level-cache = <&L2_700>; |
| 257 | L2_700: l2-cache { |
| 258 | compatible = "arm,arch-cache"; |
| 259 | cache-size = <0x40000>; |
| 260 | cache-level = <2>; |
| 261 | next-level-cache = <&L3_0>; |
| 262 | }; |
| 263 | L1_I_700: l1-icache { |
| 264 | compatible = "arm,arch-cache"; |
| 265 | qcom,dump-size = <0x12000>; |
| 266 | }; |
| 267 | L1_D_700: l1-dcache { |
| 268 | compatible = "arm,arch-cache"; |
| 269 | qcom,dump-size = <0x12000>; |
| 270 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 271 | L1_TLB_700: l1-tlb { |
| 272 | qcom,dump-size = <0x3c000>; |
| 273 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 274 | }; |
| 275 | |
| 276 | cpu-map { |
| 277 | cluster0 { |
| 278 | core0 { |
| 279 | cpu = <&CPU0>; |
| 280 | }; |
| 281 | |
| 282 | core1 { |
| 283 | cpu = <&CPU1>; |
| 284 | }; |
| 285 | |
| 286 | core2 { |
| 287 | cpu = <&CPU2>; |
| 288 | }; |
| 289 | |
| 290 | core3 { |
| 291 | cpu = <&CPU3>; |
| 292 | }; |
| 293 | |
| 294 | core4 { |
| 295 | cpu = <&CPU4>; |
| 296 | }; |
| 297 | |
| 298 | core5 { |
| 299 | cpu = <&CPU5>; |
| 300 | }; |
| 301 | }; |
| 302 | cluster1 { |
| 303 | core0 { |
| 304 | cpu = <&CPU6>; |
| 305 | }; |
| 306 | |
| 307 | core1 { |
| 308 | cpu = <&CPU7>; |
| 309 | }; |
| 310 | }; |
| 311 | }; |
| 312 | }; |
| 313 | |
| 314 | psci { |
| 315 | compatible = "arm,psci-1.0"; |
| 316 | method = "smc"; |
| 317 | }; |
| 318 | |
| 319 | soc: soc { }; |
| 320 | |
Imran Khan | b1066fa | 2017-08-01 17:20:22 +0530 | [diff] [blame] | 321 | vendor: vendor { |
| 322 | #address-cells = <1>; |
| 323 | #size-cells = <1>; |
| 324 | ranges = <0 0 0 0xffffffff>; |
| 325 | compatible = "simple-bus"; |
| 326 | }; |
| 327 | |
Imran Khan | 5381c93 | 2017-08-02 11:27:07 +0530 | [diff] [blame] | 328 | firmware: firmware { |
| 329 | android { |
| 330 | compatible = "android,firmware"; |
| 331 | |
| 332 | fstab { |
| 333 | compatible = "android,fstab"; |
| 334 | vendor { |
| 335 | compatible = "android,vendor"; |
| 336 | dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor"; |
| 337 | type = "ext4"; |
| 338 | mnt_flags = "ro,barrier=1,discard"; |
| 339 | fsmgr_flags = "wait,slotselect"; |
| 340 | }; |
| 341 | }; |
| 342 | }; |
| 343 | }; |
| 344 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 345 | reserved-memory { |
| 346 | #address-cells = <2>; |
| 347 | #size-cells = <2>; |
| 348 | ranges; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 349 | |
| 350 | removed_regions: removed_regions@85700000 { |
| 351 | compatible = "removed-dma-pool"; |
| 352 | no-map; |
| 353 | reg = <0 0x85700000 0 0x3800000>; |
| 354 | }; |
| 355 | |
| 356 | pil_camera_mem: camera_region@8ab00000 { |
| 357 | compatible = "removed-dma-pool"; |
| 358 | no-map; |
| 359 | reg = <0 0x8ab00000 0 0x500000>; |
| 360 | }; |
| 361 | |
| 362 | pil_modem_mem: modem_region@8b000000 { |
| 363 | compatible = "removed-dma-pool"; |
| 364 | no-map; |
| 365 | reg = <0 0x8b000000 0 0x7e00000>; |
| 366 | }; |
| 367 | |
| 368 | pil_video_mem: pil_video_region@92e00000 { |
| 369 | compatible = "removed-dma-pool"; |
| 370 | no-map; |
| 371 | reg = <0 0x92e00000 0 0x500000>; |
| 372 | }; |
| 373 | |
| 374 | pil_cdsp_mem: cdsp_regions@93300000 { |
| 375 | compatible = "removed-dma-pool"; |
| 376 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 377 | reg = <0 0x93300000 0 0x800000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 378 | }; |
| 379 | |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 380 | pil_mba_mem: pil_mba_region@0x93b00000 { |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 381 | compatible = "removed-dma-pool"; |
| 382 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 383 | reg = <0 0x93b00000 0 0x200000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 384 | }; |
| 385 | |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 386 | pil_adsp_mem: pil_adsp_region@93d00000 { |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 387 | compatible = "removed-dma-pool"; |
| 388 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 389 | reg = <0 0x93d00000 0 0x1e00000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 390 | }; |
| 391 | |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 392 | pil_ipa_fw_mem: pil_ipa_fw_region@95b00000 { |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 393 | compatible = "removed-dma-pool"; |
| 394 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 395 | reg = <0 0x95b00000 0 0x10000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 396 | }; |
| 397 | |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 398 | pil_ipa_gsi_mem: pil_ipa_gsi_region@95b10000 { |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 399 | compatible = "removed-dma-pool"; |
| 400 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 401 | reg = <0 0x95b10000 0 0x5000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 402 | }; |
| 403 | |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 404 | pil_gpu_mem: pil_gpu_region@95b15000 { |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 405 | compatible = "removed-dma-pool"; |
| 406 | no-map; |
Vijayanand Jitta | 29d1a78 | 2017-07-03 15:17:09 +0530 | [diff] [blame] | 407 | reg = <0 0x95b15000 0 0x1000>; |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 408 | }; |
| 409 | |
| 410 | adsp_mem: adsp_region { |
| 411 | compatible = "shared-dma-pool"; |
| 412 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 413 | reusable; |
| 414 | alignment = <0 0x400000>; |
| 415 | size = <0 0xc00000>; |
| 416 | }; |
| 417 | |
| 418 | qseecom_mem: qseecom_region { |
| 419 | compatible = "shared-dma-pool"; |
| 420 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 421 | reusable; |
| 422 | alignment = <0 0x400000>; |
| 423 | size = <0 0x1400000>; |
| 424 | }; |
| 425 | |
| 426 | sp_mem: sp_region { /* SPSS-HLOS ION shared mem */ |
| 427 | compatible = "shared-dma-pool"; |
| 428 | alloc-ranges = <0 0x00000000 0 0xffffffff>; /* 32-bit */ |
| 429 | reusable; |
| 430 | alignment = <0 0x400000>; |
| 431 | size = <0 0x800000>; |
| 432 | }; |
| 433 | |
| 434 | secure_display_memory: secure_display_region { |
| 435 | compatible = "shared-dma-pool"; |
| 436 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 437 | reusable; |
| 438 | alignment = <0 0x400000>; |
| 439 | size = <0 0x5c00000>; |
| 440 | }; |
| 441 | |
| 442 | /* global autoconfigured region for contiguous allocations */ |
| 443 | linux,cma { |
| 444 | compatible = "shared-dma-pool"; |
| 445 | alloc-ranges = <0 0x00000000 0 0xffffffff>; |
| 446 | reusable; |
| 447 | alignment = <0 0x400000>; |
| 448 | size = <0 0x2000000>; |
| 449 | linux,cma-default; |
| 450 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 451 | }; |
| 452 | }; |
| 453 | |
Vijayanand Jitta | a1ee786 | 2017-06-07 12:06:39 +0530 | [diff] [blame] | 454 | #include "sdm670-ion.dtsi" |
| 455 | |
Dhoat Harpal | 92d63dea | 2017-06-06 21:20:26 +0530 | [diff] [blame] | 456 | #include "sdm670-smp2p.dtsi" |
| 457 | |
Mukesh Kumar Savaliya | 065ca48 | 2017-06-06 14:44:45 +0530 | [diff] [blame] | 458 | #include "sdm670-qupv3.dtsi" |
| 459 | |
Saranya Chidura | f49fee1 | 2017-06-19 10:52:37 +0530 | [diff] [blame] | 460 | #include "sdm670-coresight.dtsi" |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 461 | &soc { |
| 462 | #address-cells = <1>; |
| 463 | #size-cells = <1>; |
| 464 | ranges = <0 0 0 0xffffffff>; |
| 465 | compatible = "simple-bus"; |
| 466 | |
| 467 | intc: interrupt-controller@17a00000 { |
| 468 | compatible = "arm,gic-v3"; |
| 469 | #interrupt-cells = <3>; |
| 470 | interrupt-controller; |
| 471 | #redistributor-regions = <1>; |
| 472 | redistributor-stride = <0x0 0x20000>; |
| 473 | reg = <0x17a00000 0x10000>, /* GICD */ |
| 474 | <0x17a60000 0x100000>; /* GICR * 8 */ |
| 475 | interrupts = <1 9 4>; |
Maulik Shah | 30ebbde | 2017-06-15 10:02:54 +0530 | [diff] [blame] | 476 | interrupt-parent = <&intc>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 477 | }; |
| 478 | |
| 479 | timer { |
| 480 | compatible = "arm,armv8-timer"; |
| 481 | interrupts = <1 1 0xf08>, |
| 482 | <1 2 0xf08>, |
| 483 | <1 3 0xf08>, |
| 484 | <1 0 0xf08>; |
| 485 | clock-frequency = <19200000>; |
| 486 | }; |
| 487 | |
Lakshmi Sunkara | bbd6989 | 2017-06-09 13:17:10 +0530 | [diff] [blame] | 488 | qcom,sps { |
| 489 | compatible = "qcom,msm_sps_4k"; |
| 490 | qcom,pipe-attr-ee; |
| 491 | }; |
| 492 | |
Rama Krishna Phani A | a3c0e78 | 2017-07-17 20:09:15 +0530 | [diff] [blame] | 493 | thermal_zones: thermal-zones { |
| 494 | aoss0-usr { |
| 495 | polling-delay-passive = <0>; |
| 496 | polling-delay = <0>; |
| 497 | thermal-governor = "user_space"; |
| 498 | thermal-sensors = <&tsens0 0>; |
| 499 | trips { |
| 500 | active-config0 { |
| 501 | temperature = <125000>; |
| 502 | hysteresis = <1000>; |
| 503 | type = "passive"; |
| 504 | }; |
| 505 | }; |
| 506 | }; |
| 507 | |
| 508 | cpu0-silver-usr { |
| 509 | polling-delay-passive = <0>; |
| 510 | polling-delay = <0>; |
| 511 | thermal-governor = "user_space"; |
| 512 | thermal-sensors = <&tsens0 1>; |
| 513 | trips { |
| 514 | active-config0 { |
| 515 | temperature = <125000>; |
| 516 | hysteresis = <1000>; |
| 517 | type = "passive"; |
| 518 | }; |
| 519 | }; |
| 520 | }; |
| 521 | |
| 522 | cpu1-silver-usr { |
| 523 | polling-delay-passive = <0>; |
| 524 | polling-delay = <0>; |
| 525 | thermal-governor = "user_space"; |
| 526 | thermal-sensors = <&tsens0 2>; |
| 527 | trips { |
| 528 | active-config0 { |
| 529 | temperature = <125000>; |
| 530 | hysteresis = <1000>; |
| 531 | type = "passive"; |
| 532 | }; |
| 533 | }; |
| 534 | }; |
| 535 | |
| 536 | cpu2-silver-usr { |
| 537 | polling-delay-passive = <0>; |
| 538 | polling-delay = <0>; |
| 539 | thermal-governor = "user_space"; |
| 540 | thermal-sensors = <&tsens0 3>; |
| 541 | trips { |
| 542 | active-config0 { |
| 543 | temperature = <125000>; |
| 544 | hysteresis = <1000>; |
| 545 | type = "passive"; |
| 546 | }; |
| 547 | }; |
| 548 | }; |
| 549 | |
| 550 | cpu3-silver-usr { |
| 551 | polling-delay-passive = <0>; |
| 552 | polling-delay = <0>; |
| 553 | thermal-sensors = <&tsens0 4>; |
| 554 | thermal-governor = "user_space"; |
| 555 | trips { |
| 556 | active-config0 { |
| 557 | temperature = <125000>; |
| 558 | hysteresis = <1000>; |
| 559 | type = "passive"; |
| 560 | }; |
| 561 | }; |
| 562 | }; |
| 563 | |
| 564 | cpu4-silver-usr { |
| 565 | polling-delay-passive = <0>; |
| 566 | polling-delay = <0>; |
| 567 | thermal-sensors = <&tsens0 5>; |
| 568 | thermal-governor = "user_space"; |
| 569 | trips { |
| 570 | active-config0 { |
| 571 | temperature = <125000>; |
| 572 | hysteresis = <1000>; |
| 573 | type = "passive"; |
| 574 | }; |
| 575 | }; |
| 576 | }; |
| 577 | |
| 578 | cpu5-silver-usr { |
| 579 | polling-delay-passive = <0>; |
| 580 | polling-delay = <0>; |
| 581 | thermal-sensors = <&tsens0 6>; |
| 582 | thermal-governor = "user_space"; |
| 583 | trips { |
| 584 | active-config0 { |
| 585 | temperature = <125000>; |
| 586 | hysteresis = <1000>; |
| 587 | type = "passive"; |
| 588 | }; |
| 589 | }; |
| 590 | }; |
| 591 | |
| 592 | kryo-l3-0-usr { |
| 593 | polling-delay-passive = <0>; |
| 594 | polling-delay = <0>; |
| 595 | thermal-sensors = <&tsens0 7>; |
| 596 | thermal-governor = "user_space"; |
| 597 | trips { |
| 598 | active-config0 { |
| 599 | temperature = <125000>; |
| 600 | hysteresis = <1000>; |
| 601 | type = "passive"; |
| 602 | }; |
| 603 | }; |
| 604 | }; |
| 605 | |
| 606 | kryo-l3-1-usr { |
| 607 | polling-delay-passive = <0>; |
| 608 | polling-delay = <0>; |
| 609 | thermal-sensors = <&tsens0 8>; |
| 610 | thermal-governor = "user_space"; |
| 611 | trips { |
| 612 | active-config0 { |
| 613 | temperature = <125000>; |
| 614 | hysteresis = <1000>; |
| 615 | type = "passive"; |
| 616 | }; |
| 617 | }; |
| 618 | }; |
| 619 | |
| 620 | cpu0-gold-usr { |
| 621 | polling-delay-passive = <0>; |
| 622 | polling-delay = <0>; |
| 623 | thermal-sensors = <&tsens0 9>; |
| 624 | thermal-governor = "user_space"; |
| 625 | trips { |
| 626 | active-config0 { |
| 627 | temperature = <125000>; |
| 628 | hysteresis = <1000>; |
| 629 | type = "passive"; |
| 630 | }; |
| 631 | }; |
| 632 | }; |
| 633 | |
| 634 | cpu1-gold-usr { |
| 635 | polling-delay-passive = <0>; |
| 636 | polling-delay = <0>; |
| 637 | thermal-sensors = <&tsens0 10>; |
| 638 | thermal-governor = "user_space"; |
| 639 | trips { |
| 640 | active-config0 { |
| 641 | temperature = <125000>; |
| 642 | hysteresis = <1000>; |
| 643 | type = "passive"; |
| 644 | }; |
| 645 | }; |
| 646 | }; |
| 647 | |
| 648 | gpu0-usr { |
| 649 | polling-delay-passive = <0>; |
| 650 | polling-delay = <0>; |
| 651 | thermal-sensors = <&tsens0 11>; |
| 652 | thermal-governor = "user_space"; |
| 653 | trips { |
| 654 | active-config0 { |
| 655 | temperature = <125000>; |
| 656 | hysteresis = <1000>; |
| 657 | type = "passive"; |
| 658 | }; |
| 659 | }; |
| 660 | }; |
| 661 | |
| 662 | gpu1-usr { |
| 663 | polling-delay-passive = <0>; |
| 664 | polling-delay = <0>; |
| 665 | thermal-governor = "user_space"; |
| 666 | thermal-sensors = <&tsens0 12>; |
| 667 | trips { |
| 668 | active-config0 { |
| 669 | temperature = <125000>; |
| 670 | hysteresis = <1000>; |
| 671 | type = "passive"; |
| 672 | }; |
| 673 | }; |
| 674 | }; |
| 675 | |
| 676 | aoss1-usr { |
| 677 | polling-delay-passive = <0>; |
| 678 | polling-delay = <0>; |
| 679 | thermal-sensors = <&tsens1 0>; |
| 680 | thermal-governor = "user_space"; |
| 681 | trips { |
| 682 | active-config0 { |
| 683 | temperature = <125000>; |
| 684 | hysteresis = <1000>; |
| 685 | type = "passive"; |
| 686 | }; |
| 687 | }; |
| 688 | }; |
| 689 | |
| 690 | mdm-dsp-usr { |
| 691 | polling-delay-passive = <0>; |
| 692 | polling-delay = <0>; |
| 693 | thermal-sensors = <&tsens1 1>; |
| 694 | thermal-governor = "user_space"; |
| 695 | trips { |
| 696 | active-config0 { |
| 697 | temperature = <125000>; |
| 698 | hysteresis = <1000>; |
| 699 | type = "passive"; |
| 700 | }; |
| 701 | }; |
| 702 | }; |
| 703 | |
| 704 | ddr-usr { |
| 705 | polling-delay-passive = <0>; |
| 706 | polling-delay = <0>; |
| 707 | thermal-sensors = <&tsens1 2>; |
| 708 | thermal-governor = "user_space"; |
| 709 | trips { |
| 710 | active-config0 { |
| 711 | temperature = <125000>; |
| 712 | hysteresis = <1000>; |
| 713 | type = "passive"; |
| 714 | }; |
| 715 | }; |
| 716 | }; |
| 717 | |
| 718 | wlan-usr { |
| 719 | polling-delay-passive = <0>; |
| 720 | polling-delay = <0>; |
| 721 | thermal-sensors = <&tsens1 3>; |
| 722 | thermal-governor = "user_space"; |
| 723 | trips { |
| 724 | active-config0 { |
| 725 | temperature = <125000>; |
| 726 | hysteresis = <1000>; |
| 727 | type = "passive"; |
| 728 | }; |
| 729 | }; |
| 730 | }; |
| 731 | |
| 732 | compute-hvx-usr { |
| 733 | polling-delay-passive = <0>; |
| 734 | polling-delay = <0>; |
| 735 | thermal-sensors = <&tsens1 4>; |
| 736 | thermal-governor = "user_space"; |
| 737 | trips { |
| 738 | active-config0 { |
| 739 | temperature = <125000>; |
| 740 | hysteresis = <1000>; |
| 741 | type = "passive"; |
| 742 | }; |
| 743 | }; |
| 744 | }; |
| 745 | |
| 746 | camera-usr { |
| 747 | polling-delay-passive = <0>; |
| 748 | polling-delay = <0>; |
| 749 | thermal-sensors = <&tsens1 5>; |
| 750 | thermal-governor = "user_space"; |
| 751 | trips { |
| 752 | active-config0 { |
| 753 | temperature = <125000>; |
| 754 | hysteresis = <1000>; |
| 755 | type = "passive"; |
| 756 | }; |
| 757 | }; |
| 758 | }; |
| 759 | |
| 760 | mmss-usr { |
| 761 | polling-delay-passive = <0>; |
| 762 | polling-delay = <0>; |
| 763 | thermal-sensors = <&tsens1 6>; |
| 764 | thermal-governor = "user_space"; |
| 765 | trips { |
| 766 | active-config0 { |
| 767 | temperature = <125000>; |
| 768 | hysteresis = <1000>; |
| 769 | type = "passive"; |
| 770 | }; |
| 771 | }; |
| 772 | }; |
| 773 | |
| 774 | mdm-core-usr { |
| 775 | polling-delay-passive = <0>; |
| 776 | polling-delay = <0>; |
| 777 | thermal-sensors = <&tsens1 7>; |
| 778 | thermal-governor = "user_space"; |
| 779 | trips { |
| 780 | active-config0 { |
| 781 | temperature = <125000>; |
| 782 | hysteresis = <1000>; |
| 783 | type = "passive"; |
| 784 | }; |
| 785 | }; |
| 786 | }; |
| 787 | }; |
| 788 | |
| 789 | tsens0: tsens@c222000 { |
| 790 | compatible = "qcom,tsens24xx"; |
| 791 | reg = <0xc222000 0x4>, |
| 792 | <0xc263000 0x1ff>; |
| 793 | reg-names = "tsens_srot_physical", |
| 794 | "tsens_tm_physical"; |
| 795 | interrupts = <0 506 0>, <0 508 0>; |
| 796 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 797 | #thermal-sensor-cells = <1>; |
| 798 | }; |
| 799 | |
| 800 | tsens1: tsens@c223000 { |
| 801 | compatible = "qcom,tsens24xx"; |
| 802 | reg = <0xc223000 0x4>, |
| 803 | <0xc265000 0x1ff>; |
| 804 | reg-names = "tsens_srot_physical", |
| 805 | "tsens_tm_physical"; |
| 806 | interrupts = <0 507 0>, <0 509 0>; |
| 807 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 808 | #thermal-sensor-cells = <1>; |
| 809 | }; |
| 810 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 811 | timer@0x17c90000{ |
| 812 | #address-cells = <1>; |
| 813 | #size-cells = <1>; |
| 814 | ranges; |
| 815 | compatible = "arm,armv7-timer-mem"; |
| 816 | reg = <0x17c90000 0x1000>; |
| 817 | clock-frequency = <19200000>; |
| 818 | |
| 819 | frame@0x17ca0000 { |
| 820 | frame-number = <0>; |
| 821 | interrupts = <0 7 0x4>, |
| 822 | <0 6 0x4>; |
| 823 | reg = <0x17ca0000 0x1000>, |
| 824 | <0x17cb0000 0x1000>; |
| 825 | }; |
| 826 | |
| 827 | frame@17cc0000 { |
| 828 | frame-number = <1>; |
| 829 | interrupts = <0 8 0x4>; |
| 830 | reg = <0x17cc0000 0x1000>; |
| 831 | status = "disabled"; |
| 832 | }; |
| 833 | |
| 834 | frame@17cd0000 { |
| 835 | frame-number = <2>; |
| 836 | interrupts = <0 9 0x4>; |
| 837 | reg = <0x17cd0000 0x1000>; |
| 838 | status = "disabled"; |
| 839 | }; |
| 840 | |
| 841 | frame@17ce0000 { |
| 842 | frame-number = <3>; |
| 843 | interrupts = <0 10 0x4>; |
| 844 | reg = <0x17ce0000 0x1000>; |
| 845 | status = "disabled"; |
| 846 | }; |
| 847 | |
| 848 | frame@17cf0000 { |
| 849 | frame-number = <4>; |
| 850 | interrupts = <0 11 0x4>; |
| 851 | reg = <0x17cf0000 0x1000>; |
| 852 | status = "disabled"; |
| 853 | }; |
| 854 | |
| 855 | frame@17d00000 { |
| 856 | frame-number = <5>; |
| 857 | interrupts = <0 12 0x4>; |
| 858 | reg = <0x17d00000 0x1000>; |
| 859 | status = "disabled"; |
| 860 | }; |
| 861 | |
| 862 | frame@17d10000 { |
| 863 | frame-number = <6>; |
| 864 | interrupts = <0 13 0x4>; |
| 865 | reg = <0x17d10000 0x1000>; |
| 866 | status = "disabled"; |
| 867 | }; |
| 868 | }; |
| 869 | |
| 870 | restart@10ac000 { |
| 871 | compatible = "qcom,pshold"; |
| 872 | reg = <0xC264000 0x4>, |
| 873 | <0x1fd3000 0x4>; |
| 874 | reg-names = "pshold-base", "tcsr-boot-misc-detect"; |
| 875 | }; |
| 876 | |
Maulik Shah | 6bf7d5d | 2017-07-27 09:48:42 +0530 | [diff] [blame] | 877 | aop-msg-client { |
| 878 | compatible = "qcom,debugfs-qmp-client"; |
| 879 | mboxes = <&qmp_aop 0>; |
| 880 | mbox-names = "aop"; |
| 881 | }; |
| 882 | |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 883 | clock_rpmh: qcom,rpmhclk { |
| 884 | compatible = "qcom,dummycc"; |
| 885 | clock-output-names = "rpmh_clocks"; |
| 886 | #clock-cells = <1>; |
| 887 | }; |
| 888 | |
| 889 | clock_gcc: qcom,gcc@100000 { |
| 890 | compatible = "qcom,dummycc"; |
| 891 | clock-output-names = "gcc_clocks"; |
| 892 | #clock-cells = <1>; |
| 893 | #reset-cells = <1>; |
| 894 | }; |
| 895 | |
| 896 | clock_videocc: qcom,videocc@ab00000 { |
| 897 | compatible = "qcom,dummycc"; |
| 898 | clock-output-names = "videocc_clocks"; |
| 899 | #clock-cells = <1>; |
| 900 | #reset-cells = <1>; |
| 901 | }; |
| 902 | |
| 903 | clock_camcc: qcom,camcc@ad00000 { |
| 904 | compatible = "qcom,dummycc"; |
| 905 | clock-output-names = "camcc_clocks"; |
| 906 | #clock-cells = <1>; |
| 907 | #reset-cells = <1>; |
| 908 | }; |
| 909 | |
| 910 | clock_dispcc: qcom,dispcc@af00000 { |
| 911 | compatible = "qcom,dummycc"; |
| 912 | clock-output-names = "dispcc_clocks"; |
| 913 | #clock-cells = <1>; |
| 914 | #reset-cells = <1>; |
| 915 | }; |
| 916 | |
| 917 | clock_gpucc: qcom,gpucc@5090000 { |
| 918 | compatible = "qcom,dummycc"; |
| 919 | clock-output-names = "gpucc_clocks"; |
| 920 | #clock-cells = <1>; |
| 921 | #reset-cells = <1>; |
| 922 | }; |
| 923 | |
| 924 | clock_gfx: qcom,gfxcc@5090000 { |
| 925 | compatible = "qcom,dummycc"; |
| 926 | clock-output-names = "gfxcc_clocks"; |
| 927 | #clock-cells = <1>; |
| 928 | #reset-cells = <1>; |
| 929 | }; |
| 930 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 931 | clock_cpucc: qcom,cpucc { |
| 932 | compatible = "qcom,dummycc"; |
| 933 | clock-output-names = "cpucc_clocks"; |
| 934 | #clock-cells = <1>; |
| 935 | #reset-cells = <1>; |
| 936 | }; |
| 937 | |
Odelu Kukatla | 6f3ffa1 | 2017-08-10 12:31:06 +0530 | [diff] [blame] | 938 | clock_aop: qcom,aopclk { |
| 939 | compatible = "qcom,aop-qmp-clk-v2"; |
| 940 | #clock-cells = <1>; |
| 941 | mboxes = <&qmp_aop 0>; |
| 942 | mbox-names = "qdss_clk"; |
| 943 | }; |
| 944 | |
Shrey Vijay | 6b6b3a5 | 2017-06-21 15:06:03 +0530 | [diff] [blame] | 945 | slim_aud: slim@62dc0000 { |
| 946 | cell-index = <1>; |
| 947 | compatible = "qcom,slim-ngd"; |
| 948 | reg = <0x62dc0000 0x2c000>, |
| 949 | <0x62d84000 0x2a000>; |
| 950 | reg-names = "slimbus_physical", "slimbus_bam_physical"; |
| 951 | interrupts = <0 163 0>, <0 164 0>; |
| 952 | interrupt-names = "slimbus_irq", "slimbus_bam_irq"; |
| 953 | qcom,apps-ch-pipes = <0x780000>; |
| 954 | qcom,ea-pc = <0x290>; |
| 955 | status = "disabled"; |
| 956 | }; |
| 957 | |
| 958 | slim_qca: slim@62e40000 { |
| 959 | cell-index = <3>; |
| 960 | compatible = "qcom,slim-ngd"; |
| 961 | reg = <0x62e40000 0x2c000>, |
| 962 | <0x62e04000 0x20000>; |
| 963 | reg-names = "slimbus_physical", "slimbus_bam_physical"; |
| 964 | interrupts = <0 291 0>, <0 292 0>; |
| 965 | interrupt-names = "slimbus_irq", "slimbus_bam_irq"; |
| 966 | status = "disabled"; |
| 967 | }; |
| 968 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 969 | wdog: qcom,wdt@17980000{ |
| 970 | compatible = "qcom,msm-watchdog"; |
| 971 | reg = <0x17980000 0x1000>; |
| 972 | reg-names = "wdt-base"; |
| 973 | interrupts = <0 3 0>, <0 4 0>; |
| 974 | qcom,bark-time = <11000>; |
| 975 | qcom,pet-time = <10000>; |
| 976 | qcom,ipi-ping; |
| 977 | qcom,wakeup-enable; |
| 978 | }; |
| 979 | |
| 980 | qcom,msm-rtb { |
| 981 | compatible = "qcom,msm-rtb"; |
| 982 | qcom,rtb-size = <0x100000>; |
| 983 | }; |
| 984 | |
| 985 | qcom,msm-imem@146bf000 { |
| 986 | compatible = "qcom,msm-imem"; |
| 987 | reg = <0x146bf000 0x1000>; |
| 988 | ranges = <0x0 0x146bf000 0x1000>; |
| 989 | #address-cells = <1>; |
| 990 | #size-cells = <1>; |
| 991 | |
| 992 | mem_dump_table@10 { |
| 993 | compatible = "qcom,msm-imem-mem_dump_table"; |
| 994 | reg = <0x10 8>; |
| 995 | }; |
| 996 | |
| 997 | restart_reason@65c { |
| 998 | compatible = "qcom,msm-imem-restart_reason"; |
| 999 | reg = <0x65c 4>; |
| 1000 | }; |
| 1001 | |
| 1002 | pil@94c { |
| 1003 | compatible = "qcom,msm-imem-pil"; |
| 1004 | reg = <0x94c 200>; |
| 1005 | }; |
| 1006 | |
| 1007 | kaslr_offset@6d0 { |
| 1008 | compatible = "qcom,msm-imem-kaslr_offset"; |
| 1009 | reg = <0x6d0 12>; |
| 1010 | }; |
| 1011 | }; |
| 1012 | |
Rama Krishna Phani A | 2acd96a | 2017-07-03 17:12:46 +0530 | [diff] [blame] | 1013 | gpi_dma0: qcom,gpi-dma@0x800000 { |
| 1014 | #dma-cells = <6>; |
| 1015 | compatible = "qcom,gpi-dma"; |
| 1016 | reg = <0x800000 0x60000>; |
| 1017 | reg-names = "gpi-top"; |
| 1018 | interrupts = <0 244 0>, <0 245 0>, <0 246 0>, <0 247 0>, |
| 1019 | <0 248 0>, <0 249 0>, <0 250 0>, <0 251 0>, |
| 1020 | <0 252 0>, <0 253 0>, <0 254 0>, <0 255 0>, |
| 1021 | <0 256 0>; |
| 1022 | qcom,max-num-gpii = <13>; |
| 1023 | qcom,gpii-mask = <0xfa>; |
| 1024 | qcom,ev-factor = <2>; |
| 1025 | iommus = <&apps_smmu 0x0016 0x0>; |
| 1026 | status = "ok"; |
| 1027 | }; |
| 1028 | |
| 1029 | gpi_dma1: qcom,gpi-dma@0xa00000 { |
| 1030 | #dma-cells = <6>; |
| 1031 | compatible = "qcom,gpi-dma"; |
| 1032 | reg = <0xa00000 0x60000>; |
| 1033 | reg-names = "gpi-top"; |
| 1034 | interrupts = <0 279 0>, <0 280 0>, <0 281 0>, <0 282 0>, |
| 1035 | <0 283 0>, <0 284 0>, <0 293 0>, <0 294 0>, |
| 1036 | <0 295 0>, <0 296 0>, <0 297 0>, <0 298 0>, |
| 1037 | <0 299 0>; |
| 1038 | qcom,max-num-gpii = <13>; |
| 1039 | qcom,gpii-mask = <0xfa>; |
| 1040 | qcom,ev-factor = <2>; |
| 1041 | iommus = <&apps_smmu 0x06d6 0x0>; |
| 1042 | status = "ok"; |
| 1043 | }; |
| 1044 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1045 | cpuss_dump { |
| 1046 | compatible = "qcom,cpuss-dump"; |
| 1047 | qcom,l1_i_cache0 { |
| 1048 | qcom,dump-node = <&L1_I_0>; |
| 1049 | qcom,dump-id = <0x60>; |
| 1050 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1051 | qcom,l1_i_cache100 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1052 | qcom,dump-node = <&L1_I_100>; |
| 1053 | qcom,dump-id = <0x61>; |
| 1054 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1055 | qcom,l1_i_cache200 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1056 | qcom,dump-node = <&L1_I_200>; |
| 1057 | qcom,dump-id = <0x62>; |
| 1058 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1059 | qcom,l1_i_cache300 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1060 | qcom,dump-node = <&L1_I_300>; |
| 1061 | qcom,dump-id = <0x63>; |
| 1062 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1063 | qcom,l1_i_cache400 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1064 | qcom,dump-node = <&L1_I_400>; |
| 1065 | qcom,dump-id = <0x64>; |
| 1066 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1067 | qcom,l1_i_cache500 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1068 | qcom,dump-node = <&L1_I_500>; |
| 1069 | qcom,dump-id = <0x65>; |
| 1070 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1071 | qcom,l1_i_cache600 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1072 | qcom,dump-node = <&L1_I_600>; |
| 1073 | qcom,dump-id = <0x66>; |
| 1074 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1075 | qcom,l1_i_cache700 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1076 | qcom,dump-node = <&L1_I_700>; |
| 1077 | qcom,dump-id = <0x67>; |
| 1078 | }; |
| 1079 | qcom,l1_d_cache0 { |
| 1080 | qcom,dump-node = <&L1_D_0>; |
| 1081 | qcom,dump-id = <0x80>; |
| 1082 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1083 | qcom,l1_d_cache100 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1084 | qcom,dump-node = <&L1_D_100>; |
| 1085 | qcom,dump-id = <0x81>; |
| 1086 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1087 | qcom,l1_d_cache200 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1088 | qcom,dump-node = <&L1_D_200>; |
| 1089 | qcom,dump-id = <0x82>; |
| 1090 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1091 | qcom,l1_d_cache300 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1092 | qcom,dump-node = <&L1_D_300>; |
| 1093 | qcom,dump-id = <0x83>; |
| 1094 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1095 | qcom,l1_d_cache400 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1096 | qcom,dump-node = <&L1_D_400>; |
| 1097 | qcom,dump-id = <0x84>; |
| 1098 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1099 | qcom,l1_d_cache500 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1100 | qcom,dump-node = <&L1_D_500>; |
| 1101 | qcom,dump-id = <0x85>; |
| 1102 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1103 | qcom,l1_d_cache600 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1104 | qcom,dump-node = <&L1_D_600>; |
| 1105 | qcom,dump-id = <0x86>; |
| 1106 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1107 | qcom,l1_d_cache700 { |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1108 | qcom,dump-node = <&L1_D_700>; |
| 1109 | qcom,dump-id = <0x87>; |
| 1110 | }; |
Lingutla Chandrasekhar | ee4f187 | 2017-06-07 13:50:53 +0530 | [diff] [blame] | 1111 | qcom,llcc1_d_cache { |
| 1112 | qcom,dump-node = <&LLCC_1>; |
| 1113 | qcom,dump-id = <0x140>; |
| 1114 | }; |
| 1115 | qcom,llcc2_d_cache { |
| 1116 | qcom,dump-node = <&LLCC_2>; |
| 1117 | qcom,dump-id = <0x141>; |
| 1118 | }; |
Lingutla Chandrasekhar | 2279228 | 2017-09-01 16:38:20 +0530 | [diff] [blame] | 1119 | qcom,l1_tlb_dump0 { |
| 1120 | qcom,dump-node = <&L1_TLB_0>; |
| 1121 | qcom,dump-id = <0x20>; |
| 1122 | }; |
| 1123 | qcom,l1_tlb_dump100 { |
| 1124 | qcom,dump-node = <&L1_TLB_100>; |
| 1125 | qcom,dump-id = <0x21>; |
| 1126 | }; |
| 1127 | qcom,l1_tlb_dump200 { |
| 1128 | qcom,dump-node = <&L1_TLB_200>; |
| 1129 | qcom,dump-id = <0x22>; |
| 1130 | }; |
| 1131 | qcom,l1_tlb_dump300 { |
| 1132 | qcom,dump-node = <&L1_TLB_300>; |
| 1133 | qcom,dump-id = <0x23>; |
| 1134 | }; |
| 1135 | qcom,l1_tlb_dump400 { |
| 1136 | qcom,dump-node = <&L1_TLB_400>; |
| 1137 | qcom,dump-id = <0x24>; |
| 1138 | }; |
| 1139 | qcom,l1_tlb_dump500 { |
| 1140 | qcom,dump-node = <&L1_TLB_500>; |
| 1141 | qcom,dump-id = <0x25>; |
| 1142 | }; |
| 1143 | qcom,l1_tlb_dump600 { |
| 1144 | qcom,dump-node = <&L1_TLB_600>; |
| 1145 | qcom,dump-id = <0x26>; |
| 1146 | }; |
| 1147 | qcom,l1_tlb_dump700 { |
| 1148 | qcom,dump-node = <&L1_TLB_700>; |
| 1149 | qcom,dump-id = <0x27>; |
| 1150 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1151 | }; |
| 1152 | |
| 1153 | kryo3xx-erp { |
| 1154 | compatible = "arm,arm64-kryo3xx-cpu-erp"; |
| 1155 | interrupts = <1 6 4>, |
| 1156 | <1 7 4>, |
| 1157 | <0 34 4>, |
| 1158 | <0 35 4>; |
| 1159 | |
| 1160 | interrupt-names = "l1-l2-faultirq", |
| 1161 | "l1-l2-errirq", |
| 1162 | "l3-scu-errirq", |
| 1163 | "l3-scu-faultirq"; |
| 1164 | }; |
| 1165 | |
Dhoat Harpal | a24cb2c | 2017-06-06 20:39:54 +0530 | [diff] [blame] | 1166 | qcom,ipc-spinlock@1f40000 { |
| 1167 | compatible = "qcom,ipc-spinlock-sfpb"; |
| 1168 | reg = <0x1f40000 0x8000>; |
| 1169 | qcom,num-locks = <8>; |
| 1170 | }; |
| 1171 | |
Dhoat Harpal | dd9bfaf | 2017-06-06 20:43:16 +0530 | [diff] [blame] | 1172 | qcom,smem@86000000 { |
| 1173 | compatible = "qcom,smem"; |
| 1174 | reg = <0x86000000 0x200000>, |
| 1175 | <0x17911008 0x4>, |
| 1176 | <0x778000 0x7000>, |
| 1177 | <0x1fd4000 0x8>; |
| 1178 | reg-names = "smem", "irq-reg-base", "aux-mem1", |
| 1179 | "smem_targ_info_reg"; |
| 1180 | qcom,mpu-enabled; |
| 1181 | }; |
| 1182 | |
Dhoat Harpal | ebc9e56 | 2017-07-30 20:53:03 +0530 | [diff] [blame] | 1183 | qmp_aop: qcom,qmp-aop@c300000 { |
Dhoat Harpal | 5f909ef | 2017-06-09 21:18:00 +0530 | [diff] [blame] | 1184 | compatible = "qcom,qmp-mbox"; |
| 1185 | label = "aop"; |
| 1186 | reg = <0xc300000 0x100000>, |
| 1187 | <0x1799000c 0x4>; |
| 1188 | reg-names = "msgram", "irq-reg-base"; |
| 1189 | qcom,irq-mask = <0x1>; |
| 1190 | interrupts = <0 389 1>; |
Dhoat Harpal | ebc9e56 | 2017-07-30 20:53:03 +0530 | [diff] [blame] | 1191 | priority = <0>; |
Dhoat Harpal | 5f909ef | 2017-06-09 21:18:00 +0530 | [diff] [blame] | 1192 | mbox-desc-offset = <0x0>; |
| 1193 | #mbox-cells = <1>; |
| 1194 | }; |
| 1195 | |
Dhoat Harpal | 466ffcc | 2017-06-06 20:54:51 +0530 | [diff] [blame] | 1196 | qcom,glink-smem-native-xprt-modem@86000000 { |
| 1197 | compatible = "qcom,glink-smem-native-xprt"; |
| 1198 | reg = <0x86000000 0x200000>, |
| 1199 | <0x1799000c 0x4>; |
| 1200 | reg-names = "smem", "irq-reg-base"; |
| 1201 | qcom,irq-mask = <0x1000>; |
| 1202 | interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>; |
| 1203 | label = "mpss"; |
| 1204 | }; |
| 1205 | |
| 1206 | qcom,glink-smem-native-xprt-adsp@86000000 { |
| 1207 | compatible = "qcom,glink-smem-native-xprt"; |
| 1208 | reg = <0x86000000 0x200000>, |
| 1209 | <0x1799000c 0x4>; |
| 1210 | reg-names = "smem", "irq-reg-base"; |
Dhoat Harpal | 3adebbe | 2017-07-06 15:59:13 +0530 | [diff] [blame] | 1211 | qcom,irq-mask = <0x1000000>; |
| 1212 | interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>; |
Dhoat Harpal | 466ffcc | 2017-06-06 20:54:51 +0530 | [diff] [blame] | 1213 | label = "lpass"; |
| 1214 | qcom,qos-config = <&glink_qos_adsp>; |
| 1215 | qcom,ramp-time = <0xaf>; |
| 1216 | }; |
| 1217 | |
| 1218 | glink_qos_adsp: qcom,glink-qos-config-adsp { |
| 1219 | compatible = "qcom,glink-qos-config"; |
| 1220 | qcom,flow-info = <0x3c 0x0>, |
| 1221 | <0x3c 0x0>, |
| 1222 | <0x3c 0x0>, |
| 1223 | <0x3c 0x0>; |
| 1224 | qcom,mtu-size = <0x800>; |
| 1225 | qcom,tput-stats-cycle = <0xa>; |
| 1226 | }; |
| 1227 | |
| 1228 | glink_spi_xprt_wdsp: qcom,glink-spi-xprt-wdsp { |
| 1229 | compatible = "qcom,glink-spi-xprt"; |
| 1230 | label = "wdsp"; |
| 1231 | qcom,remote-fifo-config = <&glink_fifo_wdsp>; |
| 1232 | qcom,qos-config = <&glink_qos_wdsp>; |
| 1233 | qcom,ramp-time = <0x10>, |
| 1234 | <0x20>, |
| 1235 | <0x30>, |
| 1236 | <0x40>; |
| 1237 | }; |
| 1238 | |
| 1239 | glink_fifo_wdsp: qcom,glink-fifo-config-wdsp { |
| 1240 | compatible = "qcom,glink-fifo-config"; |
| 1241 | qcom,out-read-idx-reg = <0x12000>; |
| 1242 | qcom,out-write-idx-reg = <0x12004>; |
| 1243 | qcom,in-read-idx-reg = <0x1200C>; |
| 1244 | qcom,in-write-idx-reg = <0x12010>; |
| 1245 | }; |
| 1246 | |
| 1247 | glink_qos_wdsp: qcom,glink-qos-config-wdsp { |
| 1248 | compatible = "qcom,glink-qos-config"; |
| 1249 | qcom,flow-info = <0x80 0x0>, |
| 1250 | <0x70 0x1>, |
| 1251 | <0x60 0x2>, |
| 1252 | <0x50 0x3>; |
| 1253 | qcom,mtu-size = <0x800>; |
| 1254 | qcom,tput-stats-cycle = <0xa>; |
| 1255 | }; |
| 1256 | |
| 1257 | qcom,glink-smem-native-xprt-cdsp@86000000 { |
| 1258 | compatible = "qcom,glink-smem-native-xprt"; |
| 1259 | reg = <0x86000000 0x200000>, |
| 1260 | <0x1799000c 0x4>; |
| 1261 | reg-names = "smem", "irq-reg-base"; |
| 1262 | qcom,irq-mask = <0x10>; |
| 1263 | interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>; |
| 1264 | label = "cdsp"; |
| 1265 | }; |
| 1266 | |
Dhoat Harpal | 9cb73cc | 2017-06-06 20:58:14 +0530 | [diff] [blame] | 1267 | glink_mpss: qcom,glink-ssr-modem { |
| 1268 | compatible = "qcom,glink_ssr"; |
| 1269 | label = "modem"; |
| 1270 | qcom,edge = "mpss"; |
| 1271 | qcom,notify-edges = <&glink_lpass>, <&glink_cdsp>; |
| 1272 | qcom,xprt = "smem"; |
| 1273 | }; |
| 1274 | |
| 1275 | glink_lpass: qcom,glink-ssr-adsp { |
| 1276 | compatible = "qcom,glink_ssr"; |
| 1277 | label = "adsp"; |
| 1278 | qcom,edge = "lpass"; |
| 1279 | qcom,notify-edges = <&glink_mpss>, <&glink_cdsp>; |
| 1280 | qcom,xprt = "smem"; |
| 1281 | }; |
| 1282 | |
| 1283 | glink_cdsp: qcom,glink-ssr-cdsp { |
| 1284 | compatible = "qcom,glink_ssr"; |
| 1285 | label = "cdsp"; |
| 1286 | qcom,edge = "cdsp"; |
| 1287 | qcom,notify-edges = <&glink_mpss>, <&glink_lpass>; |
| 1288 | qcom,xprt = "smem"; |
| 1289 | }; |
| 1290 | |
Dhoat Harpal | 22dafa9 | 2017-06-06 21:03:34 +0530 | [diff] [blame] | 1291 | qcom,ipc_router { |
| 1292 | compatible = "qcom,ipc_router"; |
| 1293 | qcom,node-id = <1>; |
| 1294 | }; |
| 1295 | |
| 1296 | qcom,ipc_router_modem_xprt { |
| 1297 | compatible = "qcom,ipc_router_glink_xprt"; |
| 1298 | qcom,ch-name = "IPCRTR"; |
| 1299 | qcom,xprt-remote = "mpss"; |
| 1300 | qcom,glink-xprt = "smem"; |
| 1301 | qcom,xprt-linkid = <1>; |
| 1302 | qcom,xprt-version = <1>; |
| 1303 | qcom,fragmented-data; |
| 1304 | }; |
| 1305 | |
| 1306 | qcom,ipc_router_q6_xprt { |
| 1307 | compatible = "qcom,ipc_router_glink_xprt"; |
| 1308 | qcom,ch-name = "IPCRTR"; |
| 1309 | qcom,xprt-remote = "lpass"; |
| 1310 | qcom,glink-xprt = "smem"; |
| 1311 | qcom,xprt-linkid = <1>; |
| 1312 | qcom,xprt-version = <1>; |
| 1313 | qcom,fragmented-data; |
| 1314 | }; |
| 1315 | |
| 1316 | qcom,ipc_router_cdsp_xprt { |
| 1317 | compatible = "qcom,ipc_router_glink_xprt"; |
| 1318 | qcom,ch-name = "IPCRTR"; |
| 1319 | qcom,xprt-remote = "cdsp"; |
| 1320 | qcom,glink-xprt = "smem"; |
| 1321 | qcom,xprt-linkid = <1>; |
| 1322 | qcom,xprt-version = <1>; |
| 1323 | qcom,fragmented-data; |
| 1324 | }; |
| 1325 | |
Dhoat Harpal | 11d3448 | 2017-06-06 21:00:14 +0530 | [diff] [blame] | 1326 | qcom,glink_pkt { |
| 1327 | compatible = "qcom,glinkpkt"; |
| 1328 | |
| 1329 | qcom,glinkpkt-at-mdm0 { |
| 1330 | qcom,glinkpkt-transport = "smem"; |
| 1331 | qcom,glinkpkt-edge = "mpss"; |
| 1332 | qcom,glinkpkt-ch-name = "DS"; |
| 1333 | qcom,glinkpkt-dev-name = "at_mdm0"; |
| 1334 | }; |
| 1335 | |
| 1336 | qcom,glinkpkt-loopback_cntl { |
| 1337 | qcom,glinkpkt-transport = "lloop"; |
| 1338 | qcom,glinkpkt-edge = "local"; |
| 1339 | qcom,glinkpkt-ch-name = "LOCAL_LOOPBACK_CLNT"; |
| 1340 | qcom,glinkpkt-dev-name = "glink_pkt_loopback_ctrl"; |
| 1341 | }; |
| 1342 | |
| 1343 | qcom,glinkpkt-loopback_data { |
| 1344 | qcom,glinkpkt-transport = "lloop"; |
| 1345 | qcom,glinkpkt-edge = "local"; |
| 1346 | qcom,glinkpkt-ch-name = "glink_pkt_lloop_CLNT"; |
| 1347 | qcom,glinkpkt-dev-name = "glink_pkt_loopback"; |
| 1348 | }; |
| 1349 | |
| 1350 | qcom,glinkpkt-apr-apps2 { |
| 1351 | qcom,glinkpkt-transport = "smem"; |
| 1352 | qcom,glinkpkt-edge = "adsp"; |
| 1353 | qcom,glinkpkt-ch-name = "apr_apps2"; |
| 1354 | qcom,glinkpkt-dev-name = "apr_apps2"; |
| 1355 | }; |
| 1356 | |
| 1357 | qcom,glinkpkt-data40-cntl { |
| 1358 | qcom,glinkpkt-transport = "smem"; |
| 1359 | qcom,glinkpkt-edge = "mpss"; |
| 1360 | qcom,glinkpkt-ch-name = "DATA40_CNTL"; |
| 1361 | qcom,glinkpkt-dev-name = "smdcntl8"; |
| 1362 | }; |
| 1363 | |
| 1364 | qcom,glinkpkt-data1 { |
| 1365 | qcom,glinkpkt-transport = "smem"; |
| 1366 | qcom,glinkpkt-edge = "mpss"; |
| 1367 | qcom,glinkpkt-ch-name = "DATA1"; |
| 1368 | qcom,glinkpkt-dev-name = "smd7"; |
| 1369 | }; |
| 1370 | |
| 1371 | qcom,glinkpkt-data4 { |
| 1372 | qcom,glinkpkt-transport = "smem"; |
| 1373 | qcom,glinkpkt-edge = "mpss"; |
| 1374 | qcom,glinkpkt-ch-name = "DATA4"; |
| 1375 | qcom,glinkpkt-dev-name = "smd8"; |
| 1376 | }; |
| 1377 | |
| 1378 | qcom,glinkpkt-data11 { |
| 1379 | qcom,glinkpkt-transport = "smem"; |
| 1380 | qcom,glinkpkt-edge = "mpss"; |
| 1381 | qcom,glinkpkt-ch-name = "DATA11"; |
| 1382 | qcom,glinkpkt-dev-name = "smd11"; |
| 1383 | }; |
| 1384 | }; |
| 1385 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1386 | qcom,chd_sliver { |
| 1387 | compatible = "qcom,core-hang-detect"; |
| 1388 | label = "silver"; |
| 1389 | qcom,threshold-arr = <0x17e00058 0x17e10058 0x17e20058 |
| 1390 | 0x17e30058 0x17e40058 0x17e50058>; |
| 1391 | qcom,config-arr = <0x17e00060 0x17e10060 0x17e20060 |
| 1392 | 0x17e30060 0x17e40060 0x17e50060>; |
| 1393 | }; |
| 1394 | |
| 1395 | qcom,chd_gold { |
| 1396 | compatible = "qcom,core-hang-detect"; |
| 1397 | label = "gold"; |
| 1398 | qcom,threshold-arr = <0x17e60058 0x17e70058>; |
| 1399 | qcom,config-arr = <0x17e60060 0x17e70060>; |
| 1400 | }; |
| 1401 | |
| 1402 | qcom,ghd { |
| 1403 | compatible = "qcom,gladiator-hang-detect-v2"; |
| 1404 | qcom,threshold-arr = <0x1799041c 0x17990420>; |
| 1405 | qcom,config-reg = <0x17990434>; |
| 1406 | }; |
| 1407 | |
| 1408 | qcom,msm-gladiator-v3@17900000 { |
| 1409 | compatible = "qcom,msm-gladiator-v3"; |
| 1410 | reg = <0x17900000 0xd080>; |
| 1411 | reg-names = "gladiator_base"; |
| 1412 | interrupts = <0 17 0>; |
| 1413 | }; |
| 1414 | |
Lingutla Chandrasekhar | ee4f187 | 2017-06-07 13:50:53 +0530 | [diff] [blame] | 1415 | qcom,llcc@1100000 { |
| 1416 | compatible = "qcom,llcc-core", "syscon", "simple-mfd"; |
| 1417 | reg = <0x1100000 0x250000>; |
| 1418 | reg-names = "llcc_base"; |
| 1419 | qcom,llcc-banks-off = <0x0 0x80000 >; |
| 1420 | qcom,llcc-broadcast-off = <0x200000>; |
| 1421 | |
| 1422 | llcc: qcom,sdm670-llcc { |
| 1423 | compatible = "qcom,sdm670-llcc"; |
| 1424 | #cache-cells = <1>; |
| 1425 | max-slices = <32>; |
| 1426 | qcom,dump-size = <0x80000>; |
| 1427 | }; |
| 1428 | |
| 1429 | qcom,llcc-erp { |
| 1430 | compatible = "qcom,llcc-erp"; |
| 1431 | interrupt-names = "ecc_irq"; |
| 1432 | interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; |
| 1433 | }; |
| 1434 | |
| 1435 | qcom,llcc-amon { |
| 1436 | compatible = "qcom,llcc-amon"; |
| 1437 | }; |
| 1438 | |
| 1439 | LLCC_1: llcc_1_dcache { |
| 1440 | qcom,dump-size = <0xd8000>; |
| 1441 | }; |
| 1442 | |
| 1443 | LLCC_2: llcc_2_dcache { |
| 1444 | qcom,dump-size = <0xd8000>; |
| 1445 | }; |
| 1446 | }; |
| 1447 | |
Maulik Shah | 210773d | 2017-06-15 09:49:12 +0530 | [diff] [blame] | 1448 | cmd_db: qcom,cmd-db@c3f000c { |
| 1449 | compatible = "qcom,cmd-db"; |
| 1450 | reg = <0xc3f000c 0x8>; |
| 1451 | }; |
| 1452 | |
Maulik Shah | c77d1d2 | 2017-06-15 14:04:50 +0530 | [diff] [blame] | 1453 | apps_rsc: mailbox@179e0000 { |
| 1454 | compatible = "qcom,tcs-drv"; |
| 1455 | label = "apps_rsc"; |
| 1456 | reg = <0x179e0000 0x100>, <0x179e0d00 0x3000>; |
| 1457 | interrupts = <0 5 0>; |
| 1458 | #mbox-cells = <1>; |
| 1459 | qcom,drv-id = <2>; |
| 1460 | qcom,tcs-config = <ACTIVE_TCS 2>, |
| 1461 | <SLEEP_TCS 3>, |
| 1462 | <WAKE_TCS 3>, |
| 1463 | <CONTROL_TCS 1>; |
| 1464 | }; |
| 1465 | |
Maulik Shah | da3941f | 2017-06-15 09:41:38 +0530 | [diff] [blame] | 1466 | disp_rsc: mailbox@af20000 { |
| 1467 | compatible = "qcom,tcs-drv"; |
| 1468 | label = "display_rsc"; |
| 1469 | reg = <0xaf20000 0x100>, <0xaf21c00 0x3000>; |
| 1470 | interrupts = <0 129 0>; |
| 1471 | #mbox-cells = <1>; |
| 1472 | qcom,drv-id = <0>; |
| 1473 | qcom,tcs-config = <SLEEP_TCS 1>, |
| 1474 | <WAKE_TCS 1>, |
| 1475 | <ACTIVE_TCS 0>, |
| 1476 | <CONTROL_TCS 1>; |
| 1477 | }; |
| 1478 | |
Maulik Shah | 0dd203f | 2017-06-15 09:44:59 +0530 | [diff] [blame] | 1479 | system_pm { |
| 1480 | compatible = "qcom,system-pm"; |
| 1481 | mboxes = <&apps_rsc 0>; |
| 1482 | }; |
| 1483 | |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1484 | dcc: dcc_v2@10a2000 { |
| 1485 | compatible = "qcom,dcc_v2"; |
| 1486 | reg = <0x10a2000 0x1000>, |
| 1487 | <0x10ae000 0x2000>; |
| 1488 | reg-names = "dcc-base", "dcc-ram-base"; |
Saranya Chidura | c0a161c | 2017-08-28 13:06:10 +0530 | [diff] [blame] | 1489 | |
| 1490 | dcc-ram-offset = <0x6000>; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 1491 | }; |
| 1492 | |
Tirupathi Reddy | 9ae4c89 | 2017-06-09 12:30:31 +0530 | [diff] [blame] | 1493 | spmi_bus: qcom,spmi@c440000 { |
| 1494 | compatible = "qcom,spmi-pmic-arb"; |
| 1495 | reg = <0xc440000 0x1100>, |
| 1496 | <0xc600000 0x2000000>, |
| 1497 | <0xe600000 0x100000>, |
| 1498 | <0xe700000 0xa0000>, |
| 1499 | <0xc40a000 0x26000>; |
| 1500 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 1501 | interrupt-names = "periph_irq"; |
| 1502 | interrupts = <GIC_SPI 481 IRQ_TYPE_NONE>; |
| 1503 | qcom,ee = <0>; |
| 1504 | qcom,channel = <0>; |
| 1505 | #address-cells = <2>; |
| 1506 | #size-cells = <0>; |
| 1507 | interrupt-controller; |
| 1508 | #interrupt-cells = <4>; |
| 1509 | cell-index = <0>; |
| 1510 | }; |
Sayali Lokhande | 099af9c | 2017-06-08 10:18:29 +0530 | [diff] [blame] | 1511 | |
| 1512 | ufsphy_mem: ufsphy_mem@1d87000 { |
| 1513 | reg = <0x1d87000 0xe00>; /* PHY regs */ |
| 1514 | reg-names = "phy_mem"; |
| 1515 | #phy-cells = <0>; |
| 1516 | |
| 1517 | lanes-per-direction = <1>; |
| 1518 | |
| 1519 | clock-names = "ref_clk_src", |
| 1520 | "ref_clk", |
| 1521 | "ref_aux_clk"; |
| 1522 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
| 1523 | <&clock_gcc GCC_UFS_MEM_CLKREF_CLK>, |
| 1524 | <&clock_gcc GCC_UFS_PHY_PHY_AUX_HW_CTL_CLK>; |
| 1525 | |
| 1526 | status = "disabled"; |
| 1527 | }; |
| 1528 | |
| 1529 | ufshc_mem: ufshc@1d84000 { |
| 1530 | compatible = "qcom,ufshc"; |
| 1531 | reg = <0x1d84000 0x3000>; |
| 1532 | interrupts = <0 265 0>; |
| 1533 | phys = <&ufsphy_mem>; |
| 1534 | phy-names = "ufsphy"; |
| 1535 | |
| 1536 | lanes-per-direction = <1>; |
| 1537 | dev-ref-clk-freq = <0>; /* 19.2 MHz */ |
| 1538 | |
| 1539 | clock-names = |
| 1540 | "core_clk", |
| 1541 | "bus_aggr_clk", |
| 1542 | "iface_clk", |
| 1543 | "core_clk_unipro", |
| 1544 | "core_clk_ice", |
| 1545 | "ref_clk", |
| 1546 | "tx_lane0_sync_clk", |
| 1547 | "rx_lane0_sync_clk"; |
| 1548 | clocks = |
| 1549 | <&clock_gcc GCC_UFS_PHY_AXI_HW_CTL_CLK>, |
| 1550 | <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_HW_CTL_CLK>, |
| 1551 | <&clock_gcc GCC_UFS_PHY_AHB_CLK>, |
| 1552 | <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_HW_CTL_CLK>, |
| 1553 | <&clock_gcc GCC_UFS_PHY_ICE_CORE_HW_CTL_CLK>, |
| 1554 | <&clock_rpmh RPMH_CXO_CLK>, |
| 1555 | <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, |
| 1556 | <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>; |
| 1557 | freq-table-hz = |
| 1558 | <50000000 200000000>, |
| 1559 | <0 0>, |
| 1560 | <0 0>, |
| 1561 | <37500000 150000000>, |
| 1562 | <75000000 300000000>, |
| 1563 | <0 0>, |
| 1564 | <0 0>, |
| 1565 | <0 0>; |
| 1566 | |
| 1567 | resets = <&clock_gcc GCC_UFS_PHY_BCR>; |
| 1568 | reset-names = "core_reset"; |
| 1569 | |
| 1570 | status = "disabled"; |
| 1571 | }; |
Gaurav Kohli | b28d556 | 2017-06-12 11:26:27 +0530 | [diff] [blame] | 1572 | |
| 1573 | qcom,lpass@62400000 { |
| 1574 | compatible = "qcom,pil-tz-generic"; |
| 1575 | reg = <0x62400000 0x00100>; |
| 1576 | interrupts = <0 162 1>; |
| 1577 | |
| 1578 | vdd_cx-supply = <&pm660l_l9_level>; |
| 1579 | qcom,proxy-reg-names = "vdd_cx"; |
| 1580 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
| 1581 | |
| 1582 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1583 | clock-names = "xo"; |
| 1584 | qcom,proxy-clock-names = "xo"; |
| 1585 | |
| 1586 | qcom,pas-id = <1>; |
| 1587 | qcom,proxy-timeout-ms = <10000>; |
| 1588 | qcom,smem-id = <423>; |
| 1589 | qcom,sysmon-id = <1>; |
| 1590 | qcom,ssctl-instance-id = <0x14>; |
| 1591 | qcom,firmware-name = "adsp"; |
| 1592 | memory-region = <&pil_adsp_mem>; |
| 1593 | |
| 1594 | /* GPIO inputs from lpass */ |
| 1595 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_2_in 0 0>; |
| 1596 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_2_in 2 0>; |
| 1597 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_2_in 1 0>; |
| 1598 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_2_in 3 0>; |
| 1599 | |
| 1600 | /* GPIO output to lpass */ |
| 1601 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_2_out 0 0>; |
| 1602 | status = "ok"; |
| 1603 | }; |
Mohammed Javid | 736c25c | 2017-06-19 13:23:18 +0530 | [diff] [blame] | 1604 | |
| 1605 | qcom,rmnet-ipa { |
| 1606 | compatible = "qcom,rmnet-ipa3"; |
| 1607 | qcom,rmnet-ipa-ssr; |
| 1608 | qcom,ipa-loaduC; |
| 1609 | qcom,ipa-advertise-sg-support; |
| 1610 | qcom,ipa-napi-enable; |
| 1611 | }; |
| 1612 | |
| 1613 | ipa_hw: qcom,ipa@01e00000 { |
| 1614 | compatible = "qcom,ipa"; |
| 1615 | reg = <0x1e00000 0x34000>, |
| 1616 | <0x1e04000 0x2c000>; |
| 1617 | reg-names = "ipa-base", "gsi-base"; |
| 1618 | interrupts = |
| 1619 | <0 311 0>, |
| 1620 | <0 432 0>; |
| 1621 | interrupt-names = "ipa-irq", "gsi-irq"; |
| 1622 | qcom,ipa-hw-ver = <13>; /* IPA core version = IPAv3.5.1 */ |
| 1623 | qcom,ipa-hw-mode = <1>; |
| 1624 | qcom,ee = <0>; |
| 1625 | qcom,use-ipa-tethering-bridge; |
| 1626 | qcom,modem-cfg-emb-pipe-flt; |
| 1627 | qcom,ipa-wdi2; |
| 1628 | qcom,use-64-bit-dma-mask; |
| 1629 | qcom,arm-smmu; |
| 1630 | qcom,smmu-s1-bypass; |
| 1631 | qcom,bandwidth-vote-for-ipa; |
| 1632 | qcom,msm-bus,name = "ipa"; |
| 1633 | qcom,msm-bus,num-cases = <4>; |
| 1634 | qcom,msm-bus,num-paths = <4>; |
| 1635 | qcom,msm-bus,vectors-KBps = |
| 1636 | /* No vote */ |
| 1637 | <90 512 0 0>, |
| 1638 | <90 585 0 0>, |
| 1639 | <1 676 0 0>, |
| 1640 | <143 777 0 0>, |
| 1641 | /* SVS */ |
| 1642 | <90 512 80000 640000>, |
| 1643 | <90 585 80000 640000>, |
| 1644 | <1 676 80000 80000>, |
| 1645 | <143 777 0 150000>, |
| 1646 | /* NOMINAL */ |
| 1647 | <90 512 206000 960000>, |
| 1648 | <90 585 206000 960000>, |
| 1649 | <1 676 206000 160000>, |
| 1650 | <143 777 0 300000>, |
| 1651 | /* TURBO */ |
| 1652 | <90 512 206000 3600000>, |
| 1653 | <90 585 206000 3600000>, |
| 1654 | <1 676 206000 300000>, |
| 1655 | <143 777 0 355333>; |
| 1656 | qcom,bus-vector-names = "MIN", "SVS", "NOMINAL", "TURBO"; |
| 1657 | |
| 1658 | /* IPA RAM mmap */ |
| 1659 | qcom,ipa-ram-mmap = < |
| 1660 | 0x280 /* ofst_start; */ |
| 1661 | 0x0 /* nat_ofst; */ |
| 1662 | 0x0 /* nat_size; */ |
| 1663 | 0x288 /* v4_flt_hash_ofst; */ |
| 1664 | 0x78 /* v4_flt_hash_size; */ |
| 1665 | 0x4000 /* v4_flt_hash_size_ddr; */ |
| 1666 | 0x308 /* v4_flt_nhash_ofst; */ |
| 1667 | 0x78 /* v4_flt_nhash_size; */ |
| 1668 | 0x4000 /* v4_flt_nhash_size_ddr; */ |
| 1669 | 0x388 /* v6_flt_hash_ofst; */ |
| 1670 | 0x78 /* v6_flt_hash_size; */ |
| 1671 | 0x4000 /* v6_flt_hash_size_ddr; */ |
| 1672 | 0x408 /* v6_flt_nhash_ofst; */ |
| 1673 | 0x78 /* v6_flt_nhash_size; */ |
| 1674 | 0x4000 /* v6_flt_nhash_size_ddr; */ |
| 1675 | 0xf /* v4_rt_num_index; */ |
| 1676 | 0x0 /* v4_modem_rt_index_lo; */ |
| 1677 | 0x7 /* v4_modem_rt_index_hi; */ |
| 1678 | 0x8 /* v4_apps_rt_index_lo; */ |
| 1679 | 0xe /* v4_apps_rt_index_hi; */ |
| 1680 | 0x488 /* v4_rt_hash_ofst; */ |
| 1681 | 0x78 /* v4_rt_hash_size; */ |
| 1682 | 0x4000 /* v4_rt_hash_size_ddr; */ |
| 1683 | 0x508 /* v4_rt_nhash_ofst; */ |
| 1684 | 0x78 /* v4_rt_nhash_size; */ |
| 1685 | 0x4000 /* v4_rt_nhash_size_ddr; */ |
| 1686 | 0xf /* v6_rt_num_index; */ |
| 1687 | 0x0 /* v6_modem_rt_index_lo; */ |
| 1688 | 0x7 /* v6_modem_rt_index_hi; */ |
| 1689 | 0x8 /* v6_apps_rt_index_lo; */ |
| 1690 | 0xe /* v6_apps_rt_index_hi; */ |
| 1691 | 0x588 /* v6_rt_hash_ofst; */ |
| 1692 | 0x78 /* v6_rt_hash_size; */ |
| 1693 | 0x4000 /* v6_rt_hash_size_ddr; */ |
| 1694 | 0x608 /* v6_rt_nhash_ofst; */ |
| 1695 | 0x78 /* v6_rt_nhash_size; */ |
| 1696 | 0x4000 /* v6_rt_nhash_size_ddr; */ |
| 1697 | 0x688 /* modem_hdr_ofst; */ |
| 1698 | 0x140 /* modem_hdr_size; */ |
| 1699 | 0x7c8 /* apps_hdr_ofst; */ |
| 1700 | 0x0 /* apps_hdr_size; */ |
| 1701 | 0x800 /* apps_hdr_size_ddr; */ |
| 1702 | 0x7d0 /* modem_hdr_proc_ctx_ofst; */ |
| 1703 | 0x200 /* modem_hdr_proc_ctx_size; */ |
| 1704 | 0x9d0 /* apps_hdr_proc_ctx_ofst; */ |
| 1705 | 0x200 /* apps_hdr_proc_ctx_size; */ |
| 1706 | 0x0 /* apps_hdr_proc_ctx_size_ddr; */ |
| 1707 | 0x0 /* modem_comp_decomp_ofst; diff */ |
| 1708 | 0x0 /* modem_comp_decomp_size; diff */ |
| 1709 | 0xbd8 /* modem_ofst; */ |
| 1710 | 0x1024 /* modem_size; */ |
| 1711 | 0x2000 /* apps_v4_flt_hash_ofst; */ |
| 1712 | 0x0 /* apps_v4_flt_hash_size; */ |
| 1713 | 0x2000 /* apps_v4_flt_nhash_ofst; */ |
| 1714 | 0x0 /* apps_v4_flt_nhash_size; */ |
| 1715 | 0x2000 /* apps_v6_flt_hash_ofst; */ |
| 1716 | 0x0 /* apps_v6_flt_hash_size; */ |
| 1717 | 0x2000 /* apps_v6_flt_nhash_ofst; */ |
| 1718 | 0x0 /* apps_v6_flt_nhash_size; */ |
| 1719 | 0x80 /* uc_info_ofst; */ |
| 1720 | 0x200 /* uc_info_size; */ |
| 1721 | 0x2000 /* end_ofst; */ |
| 1722 | 0x2000 /* apps_v4_rt_hash_ofst; */ |
| 1723 | 0x0 /* apps_v4_rt_hash_size; */ |
| 1724 | 0x2000 /* apps_v4_rt_nhash_ofst; */ |
| 1725 | 0x0 /* apps_v4_rt_nhash_size; */ |
| 1726 | 0x2000 /* apps_v6_rt_hash_ofst; */ |
| 1727 | 0x0 /* apps_v6_rt_hash_size; */ |
| 1728 | 0x2000 /* apps_v6_rt_nhash_ofst; */ |
| 1729 | 0x0 /* apps_v6_rt_nhash_size; */ |
| 1730 | 0x1c00 /* uc_event_ring_ofst; */ |
| 1731 | 0x400 /* uc_event_ring_size; */ |
| 1732 | >; |
| 1733 | |
| 1734 | /* smp2p gpio information */ |
| 1735 | qcom,smp2pgpio_map_ipa_1_out { |
| 1736 | compatible = "qcom,smp2pgpio-map-ipa-1-out"; |
| 1737 | gpios = <&smp2pgpio_ipa_1_out 0 0>; |
| 1738 | }; |
| 1739 | |
| 1740 | qcom,smp2pgpio_map_ipa_1_in { |
| 1741 | compatible = "qcom,smp2pgpio-map-ipa-1-in"; |
| 1742 | gpios = <&smp2pgpio_ipa_1_in 0 0>; |
| 1743 | }; |
| 1744 | |
| 1745 | ipa_smmu_ap: ipa_smmu_ap { |
| 1746 | compatible = "qcom,ipa-smmu-ap-cb"; |
| 1747 | iommus = <&apps_smmu 0x720 0x0>; |
| 1748 | qcom,iova-mapping = <0x20000000 0x40000000>; |
| 1749 | }; |
| 1750 | |
| 1751 | ipa_smmu_wlan: ipa_smmu_wlan { |
| 1752 | compatible = "qcom,ipa-smmu-wlan-cb"; |
| 1753 | iommus = <&apps_smmu 0x721 0x0>; |
| 1754 | }; |
| 1755 | |
| 1756 | ipa_smmu_uc: ipa_smmu_uc { |
| 1757 | compatible = "qcom,ipa-smmu-uc-cb"; |
| 1758 | iommus = <&apps_smmu 0x722 0x0>; |
| 1759 | qcom,iova-mapping = <0x40000000 0x20000000>; |
| 1760 | }; |
| 1761 | }; |
| 1762 | |
| 1763 | qcom,ipa_fws { |
| 1764 | compatible = "qcom,pil-tz-generic"; |
| 1765 | qcom,pas-id = <0xf>; |
| 1766 | qcom,firmware-name = "ipa_fws"; |
| 1767 | }; |
Gaurav Kohli | 04a55af | 2017-07-19 17:25:30 +0530 | [diff] [blame] | 1768 | |
| 1769 | pil_modem: qcom,mss@4080000 { |
| 1770 | compatible = "qcom,pil-q6v55-mss"; |
| 1771 | reg = <0x4080000 0x100>, |
| 1772 | <0x1f63000 0x008>, |
| 1773 | <0x1f65000 0x008>, |
| 1774 | <0x1f64000 0x008>, |
| 1775 | <0x4180000 0x020>, |
| 1776 | <0xc2b0000 0x004>, |
| 1777 | <0xb2e0100 0x004>, |
| 1778 | <0x4180044 0x004>; |
| 1779 | reg-names = "qdsp6_base", "halt_q6", "halt_modem", |
| 1780 | "halt_nc", "rmb_base", "restart_reg", |
| 1781 | "pdc_sync", "alt_reset"; |
| 1782 | |
| 1783 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
| 1784 | <&clock_gcc GCC_MSS_CFG_AHB_CLK>, |
| 1785 | <&clock_gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>, |
| 1786 | <&clock_gcc GCC_BOOT_ROM_AHB_CLK>, |
| 1787 | <&clock_gcc GCC_MSS_GPLL0_DIV_CLK_SRC>, |
| 1788 | <&clock_gcc GCC_MSS_SNOC_AXI_CLK>, |
| 1789 | <&clock_gcc GCC_MSS_MFAB_AXIS_CLK>, |
| 1790 | <&clock_gcc GCC_PRNG_AHB_CLK>; |
| 1791 | clock-names = "xo", "iface_clk", "bus_clk", |
| 1792 | "mem_clk", "gpll0_mss_clk", "snoc_axi_clk", |
| 1793 | "mnoc_axi_clk", "prng_clk"; |
| 1794 | qcom,proxy-clock-names = "xo", "prng_clk"; |
| 1795 | qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk", |
| 1796 | "gpll0_mss_clk", "snoc_axi_clk", |
| 1797 | "mnoc_axi_clk"; |
| 1798 | |
| 1799 | interrupts = <0 266 1>; |
| 1800 | vdd_cx-supply = <&pm660l_s3_level>; |
| 1801 | vdd_cx-voltage = <RPMH_REGULATOR_LEVEL_TURBO>; |
| 1802 | vdd_mx-supply = <&pm660l_s1_level>; |
| 1803 | vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO>; |
| 1804 | qcom,firmware-name = "modem"; |
| 1805 | qcom,pil-self-auth; |
| 1806 | qcom,sysmon-id = <0>; |
| 1807 | qcom,ssctl-instance-id = <0x12>; |
| 1808 | qcom,override-acc; |
| 1809 | qcom,qdsp6v65-1-0; |
| 1810 | status = "ok"; |
| 1811 | memory-region = <&pil_modem_mem>; |
| 1812 | qcom,mem-protect-id = <0xF>; |
| 1813 | |
| 1814 | /* GPIO inputs from mss */ |
| 1815 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_1_in 0 0>; |
| 1816 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_1_in 1 0>; |
| 1817 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_1_in 2 0>; |
| 1818 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_1_in 3 0>; |
| 1819 | qcom,gpio-shutdown-ack = <&smp2pgpio_ssr_smp2p_1_in 7 0>; |
| 1820 | |
| 1821 | /* GPIO output to mss */ |
| 1822 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_1_out 0 0>; |
| 1823 | qcom,mba-mem@0 { |
| 1824 | compatible = "qcom,pil-mba-mem"; |
| 1825 | memory-region = <&pil_mba_mem>; |
| 1826 | }; |
| 1827 | }; |
Gaurav Kohli | 985a99d | 2017-07-25 18:46:45 +0530 | [diff] [blame] | 1828 | |
| 1829 | qcom,venus@aae0000 { |
| 1830 | compatible = "qcom,pil-tz-generic"; |
| 1831 | reg = <0xaae0000 0x4000>; |
| 1832 | |
| 1833 | vdd-supply = <&venus_gdsc>; |
| 1834 | qcom,proxy-reg-names = "vdd"; |
| 1835 | |
| 1836 | clocks = <&clock_videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, |
| 1837 | <&clock_videocc VIDEO_CC_VENUS_AHB_CLK>, |
| 1838 | <&clock_videocc VIDEO_CC_VENUS_CTL_AXI_CLK>; |
| 1839 | clock-names = "core_clk", "iface_clk", "bus_clk"; |
| 1840 | qcom,proxy-clock-names = "core_clk", "iface_clk", "bus_clk"; |
| 1841 | |
| 1842 | qcom,pas-id = <9>; |
| 1843 | qcom,msm-bus,name = "pil-venus"; |
| 1844 | qcom,msm-bus,num-cases = <2>; |
| 1845 | qcom,msm-bus,num-paths = <1>; |
| 1846 | qcom,msm-bus,vectors-KBps = |
| 1847 | <63 512 0 0>, |
| 1848 | <63 512 0 304000>; |
| 1849 | qcom,proxy-timeout-ms = <100>; |
| 1850 | qcom,firmware-name = "venus"; |
| 1851 | memory-region = <&pil_video_mem>; |
| 1852 | status = "ok"; |
| 1853 | }; |
Gaurav Kohli | 106f488 | 2017-06-29 12:29:12 +0530 | [diff] [blame] | 1854 | |
| 1855 | qcom,turing@8300000 { |
| 1856 | compatible = "qcom,pil-tz-generic"; |
| 1857 | reg = <0x8300000 0x100000>; |
| 1858 | interrupts = <0 578 1>; |
| 1859 | |
| 1860 | vdd_cx-supply = <&pm660l_s3_level>; |
| 1861 | qcom,proxy-reg-names = "vdd_cx"; |
| 1862 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
| 1863 | |
| 1864 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1865 | clock-names = "xo"; |
| 1866 | qcom,proxy-clock-names = "xo"; |
| 1867 | |
| 1868 | qcom,pas-id = <18>; |
| 1869 | qcom,proxy-timeout-ms = <10000>; |
| 1870 | qcom,smem-id = <601>; |
| 1871 | qcom,sysmon-id = <7>; |
| 1872 | qcom,ssctl-instance-id = <0x17>; |
| 1873 | qcom,firmware-name = "cdsp"; |
| 1874 | memory-region = <&pil_cdsp_mem>; |
| 1875 | |
| 1876 | /* GPIO inputs from turing */ |
| 1877 | qcom,gpio-err-fatal = <&smp2pgpio_ssr_smp2p_5_in 0 0>; |
| 1878 | qcom,gpio-proxy-unvote = <&smp2pgpio_ssr_smp2p_5_in 2 0>; |
| 1879 | qcom,gpio-err-ready = <&smp2pgpio_ssr_smp2p_5_in 1 0>; |
| 1880 | qcom,gpio-stop-ack = <&smp2pgpio_ssr_smp2p_5_in 3 0>; |
| 1881 | |
| 1882 | /* GPIO output to turing*/ |
| 1883 | qcom,gpio-force-stop = <&smp2pgpio_ssr_smp2p_5_out 0 0>; |
| 1884 | status = "ok"; |
| 1885 | }; |
Vijay Viswanath | eac7272 | 2017-06-05 11:01:38 +0530 | [diff] [blame] | 1886 | |
| 1887 | sdhc_1: sdhci@7c4000 { |
| 1888 | compatible = "qcom,sdhci-msm-v5"; |
| 1889 | reg = <0x7C4000 0x1000>, <0x7C5000 0x1000>; |
| 1890 | reg-names = "hc_mem", "cmdq_mem"; |
| 1891 | |
| 1892 | interrupts = <0 641 0>, <0 644 0>; |
| 1893 | interrupt-names = "hc_irq", "pwr_irq"; |
| 1894 | |
| 1895 | qcom,bus-width = <8>; |
| 1896 | qcom,large-address-bus; |
| 1897 | |
| 1898 | clocks = <&clock_gcc GCC_SDCC1_AHB_CLK>, |
| 1899 | <&clock_gcc GCC_SDCC1_APPS_CLK>; |
| 1900 | clock-names = "iface_clk", "core_clk"; |
| 1901 | |
| 1902 | qcom,nonremovable; |
| 1903 | |
| 1904 | qcom,scaling-lower-bus-speed-mode = "DDR52"; |
| 1905 | status = "disabled"; |
| 1906 | }; |
Tharun Kumar Merugu | 03380d8 | 2017-08-08 13:04:36 +0530 | [diff] [blame] | 1907 | |
Vijay Viswanath | ee4340d | 2017-08-28 09:50:18 +0530 | [diff] [blame] | 1908 | sdhc_2: sdhci@8804000 { |
| 1909 | compatible = "qcom,sdhci-msm-v5"; |
| 1910 | reg = <0x8804000 0x1000>; |
| 1911 | reg-names = "hc_mem"; |
| 1912 | |
| 1913 | interrupts = <0 204 0>, <0 222 0>; |
| 1914 | interrupt-names = "hc_irq", "pwr_irq"; |
| 1915 | |
| 1916 | qcom,bus-width = <4>; |
| 1917 | qcom,large-address-bus; |
| 1918 | |
| 1919 | clocks = <&clock_gcc GCC_SDCC2_AHB_CLK>, |
| 1920 | <&clock_gcc GCC_SDCC2_APPS_CLK>; |
| 1921 | clock-names = "iface_clk", "core_clk"; |
| 1922 | |
| 1923 | status = "disabled"; |
| 1924 | }; |
| 1925 | |
Tharun Kumar Merugu | 03380d8 | 2017-08-08 13:04:36 +0530 | [diff] [blame] | 1926 | qcom,msm-cdsp-loader { |
| 1927 | compatible = "qcom,cdsp-loader"; |
| 1928 | qcom,proc-img-to-load = "cdsp"; |
| 1929 | }; |
| 1930 | |
| 1931 | qcom,msm-adsprpc-mem { |
| 1932 | compatible = "qcom,msm-adsprpc-mem-region"; |
| 1933 | memory-region = <&adsp_mem>; |
| 1934 | }; |
| 1935 | |
| 1936 | qcom,msm_fastrpc { |
| 1937 | compatible = "qcom,msm-fastrpc-compute"; |
| 1938 | |
| 1939 | qcom,msm_fastrpc_compute_cb1 { |
| 1940 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1941 | label = "cdsprpc-smd"; |
| 1942 | iommus = <&apps_smmu 0x1421 0x30>; |
| 1943 | dma-coherent; |
| 1944 | }; |
| 1945 | qcom,msm_fastrpc_compute_cb2 { |
| 1946 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1947 | label = "cdsprpc-smd"; |
| 1948 | iommus = <&apps_smmu 0x1422 0x30>; |
| 1949 | dma-coherent; |
| 1950 | }; |
| 1951 | qcom,msm_fastrpc_compute_cb3 { |
| 1952 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1953 | label = "cdsprpc-smd"; |
| 1954 | iommus = <&apps_smmu 0x1423 0x30>; |
| 1955 | dma-coherent; |
| 1956 | }; |
| 1957 | qcom,msm_fastrpc_compute_cb4 { |
| 1958 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1959 | label = "cdsprpc-smd"; |
| 1960 | iommus = <&apps_smmu 0x1424 0x30>; |
| 1961 | dma-coherent; |
| 1962 | }; |
| 1963 | qcom,msm_fastrpc_compute_cb5 { |
| 1964 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1965 | label = "cdsprpc-smd"; |
| 1966 | iommus = <&apps_smmu 0x1425 0x30>; |
| 1967 | dma-coherent; |
| 1968 | }; |
| 1969 | qcom,msm_fastrpc_compute_cb6 { |
| 1970 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1971 | label = "cdsprpc-smd"; |
| 1972 | iommus = <&apps_smmu 0x1426 0x30>; |
| 1973 | dma-coherent; |
| 1974 | }; |
| 1975 | qcom,msm_fastrpc_compute_cb7 { |
| 1976 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1977 | label = "cdsprpc-smd"; |
| 1978 | qcom,secure-context-bank; |
| 1979 | iommus = <&apps_smmu 0x1429 0x30>; |
| 1980 | dma-coherent; |
| 1981 | }; |
| 1982 | qcom,msm_fastrpc_compute_cb8 { |
| 1983 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1984 | label = "cdsprpc-smd"; |
| 1985 | qcom,secure-context-bank; |
| 1986 | iommus = <&apps_smmu 0x142A 0x30>; |
| 1987 | dma-coherent; |
| 1988 | }; |
| 1989 | qcom,msm_fastrpc_compute_cb9 { |
| 1990 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1991 | label = "adsprpc-smd"; |
| 1992 | iommus = <&apps_smmu 0x1803 0x0>; |
| 1993 | dma-coherent; |
| 1994 | }; |
| 1995 | qcom,msm_fastrpc_compute_cb10 { |
| 1996 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1997 | label = "adsprpc-smd"; |
| 1998 | iommus = <&apps_smmu 0x1804 0x0>; |
| 1999 | dma-coherent; |
| 2000 | }; |
| 2001 | qcom,msm_fastrpc_compute_cb11 { |
| 2002 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 2003 | label = "adsprpc-smd"; |
| 2004 | iommus = <&apps_smmu 0x1805 0x0>; |
| 2005 | dma-coherent; |
| 2006 | }; |
| 2007 | }; |
Imran Khan | 04f0831 | 2017-03-30 15:07:43 +0530 | [diff] [blame] | 2008 | }; |
| 2009 | |
| 2010 | #include "sdm670-pinctrl.dtsi" |
Vijayanand Jitta | d48c408 | 2017-06-07 15:07:51 +0530 | [diff] [blame] | 2011 | #include "msm-arm-smmu-sdm670.dtsi" |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 2012 | #include "msm-gdsc-sdm845.dtsi" |
Maulik Shah | d313ea8 | 2017-06-14 13:10:52 +0530 | [diff] [blame] | 2013 | #include "sdm670-pm.dtsi" |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 2014 | |
| 2015 | &usb30_prim_gdsc { |
| 2016 | status = "ok"; |
| 2017 | }; |
| 2018 | |
| 2019 | &ufs_phy_gdsc { |
| 2020 | status = "ok"; |
| 2021 | }; |
| 2022 | |
| 2023 | &hlos1_vote_aggre_noc_mmu_audio_tbu_gdsc { |
| 2024 | status = "ok"; |
| 2025 | }; |
| 2026 | |
| 2027 | &hlos1_vote_aggre_noc_mmu_tbu1_gdsc { |
| 2028 | status = "ok"; |
| 2029 | }; |
| 2030 | |
| 2031 | &hlos1_vote_aggre_noc_mmu_tbu2_gdsc { |
| 2032 | status = "ok"; |
| 2033 | }; |
| 2034 | |
Odelu Kukatla | 1186d2e | 2017-08-04 17:28:46 +0530 | [diff] [blame] | 2035 | &hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc { |
| 2036 | status = "ok"; |
| 2037 | }; |
| 2038 | |
| 2039 | &hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc { |
| 2040 | status = "ok"; |
| 2041 | }; |
| 2042 | |
| 2043 | &hlos1_vote_mmnoc_mmu_tbu_sf_gdsc { |
| 2044 | status = "ok"; |
| 2045 | }; |
| 2046 | |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 2047 | &bps_gdsc { |
| 2048 | status = "ok"; |
| 2049 | }; |
| 2050 | |
| 2051 | &ife_0_gdsc { |
| 2052 | status = "ok"; |
| 2053 | }; |
| 2054 | |
| 2055 | &ife_1_gdsc { |
| 2056 | status = "ok"; |
| 2057 | }; |
| 2058 | |
| 2059 | &ipe_0_gdsc { |
| 2060 | status = "ok"; |
| 2061 | }; |
| 2062 | |
| 2063 | &ipe_1_gdsc { |
| 2064 | status = "ok"; |
| 2065 | }; |
| 2066 | |
| 2067 | &titan_top_gdsc { |
| 2068 | status = "ok"; |
| 2069 | }; |
| 2070 | |
| 2071 | &mdss_core_gdsc { |
| 2072 | status = "ok"; |
| 2073 | }; |
| 2074 | |
| 2075 | &gpu_cx_gdsc { |
| 2076 | status = "ok"; |
| 2077 | }; |
| 2078 | |
| 2079 | &gpu_gx_gdsc { |
| 2080 | clock-names = "core_root_clk"; |
| 2081 | clocks = <&clock_gfx GPU_CC_GX_GFX3D_CLK_SRC>; |
| 2082 | qcom,force-enable-root-clk; |
Odelu Kukatla | 1186d2e | 2017-08-04 17:28:46 +0530 | [diff] [blame] | 2083 | parent-supply = <&pm660l_s2_level>; |
Odelu Kukatla | 1fe3a22 | 2017-06-01 16:24:59 +0530 | [diff] [blame] | 2084 | status = "ok"; |
| 2085 | }; |
| 2086 | |
| 2087 | &vcodec0_gdsc { |
| 2088 | qcom,support-hw-trigger; |
| 2089 | status = "ok"; |
| 2090 | }; |
| 2091 | |
| 2092 | &vcodec1_gdsc { |
| 2093 | qcom,support-hw-trigger; |
| 2094 | status = "ok"; |
| 2095 | }; |
| 2096 | |
| 2097 | &venus_gdsc { |
| 2098 | status = "ok"; |
| 2099 | }; |
Tirupathi Reddy | 0cfe208 | 2017-06-08 14:24:13 +0530 | [diff] [blame] | 2100 | |
Tirupathi Reddy | 242bd80 | 2017-06-09 11:31:05 +0530 | [diff] [blame] | 2101 | #include "pm660.dtsi" |
| 2102 | #include "pm660l.dtsi" |
Tirupathi Reddy | 0cfe208 | 2017-06-08 14:24:13 +0530 | [diff] [blame] | 2103 | #include "sdm670-regulator.dtsi" |
Rohit Kumar | 1405128 | 2017-07-12 11:18:48 +0530 | [diff] [blame] | 2104 | #include "sdm670-audio.dtsi" |
Pratham Pratap | 9e420a3 | 2017-09-05 11:26:57 +0530 | [diff] [blame] | 2105 | #include "sdm670-usb.dtsi" |
Rajesh Kemisetti | ba56c48 | 2017-08-31 18:12:35 +0530 | [diff] [blame] | 2106 | #include "sdm670-gpu.dtsi" |