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