Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (c) 2018, The Linux Foundation. All rights reserved. |
| 4 | */ |
| 5 | |
| 6 | #include "skeleton64.dtsi" |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 7 | |
| 8 | #include <dt-bindings/clock/qcom,aop-qmp.h> |
| 9 | #include <dt-bindings/clock/qcom,camcc-kona.h> |
| 10 | #include <dt-bindings/clock/qcom,cpucc-kona.h> |
| 11 | #include <dt-bindings/clock/qcom,dispcc-kona.h> |
| 12 | #include <dt-bindings/clock/qcom,gcc-kona.h> |
| 13 | #include <dt-bindings/clock/qcom,gpucc-kona.h> |
| 14 | #include <dt-bindings/clock/qcom,npucc-kona.h> |
| 15 | #include <dt-bindings/clock/qcom,rpmh.h> |
| 16 | #include <dt-bindings/clock/qcom,videocc-kona.h> |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 17 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
David Dai | b1d6848 | 2018-10-01 19:40:35 -0700 | [diff] [blame] | 18 | #include <dt-bindings/msm/msm-bus-ids.h> |
Raghavendra Rao Ananta | 0295796 | 2018-08-06 15:28:34 -0700 | [diff] [blame] | 19 | #include <dt-bindings/soc/qcom,ipcc.h> |
Lina Iyer | ea91c72 | 2018-06-20 14:58:05 -0600 | [diff] [blame] | 20 | #include <dt-bindings/soc/qcom,rpmh-rsc.h> |
Rishabh Bhatnagar | 2b66dc1 | 2018-10-18 10:36:27 -0700 | [diff] [blame] | 21 | #include <dt-bindings/gpio/gpio.h> |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 22 | |
David Collins | 54e4530 | 2018-06-29 18:46:53 -0700 | [diff] [blame] | 23 | #include "kona-regulators.dtsi" |
| 24 | |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 25 | / { |
| 26 | model = "Qualcomm Technologies, Inc. kona"; |
| 27 | compatible = "qcom,kona"; |
| 28 | qcom,msm-id = <356 0x10000>; |
| 29 | interrupt-parent = <&intc>; |
| 30 | |
Can Guo | b04bed5 | 2018-07-10 19:27:32 -0700 | [diff] [blame] | 31 | aliases { |
| 32 | ufshc1 = &ufshc_mem; /* Embedded UFS slot */ |
Tony Truong | c972c64 | 2018-09-12 10:03:51 -0700 | [diff] [blame] | 33 | pci-domain2 = &pcie2; /* PCIe2 domain */ |
Can Guo | b04bed5 | 2018-07-10 19:27:32 -0700 | [diff] [blame] | 34 | }; |
| 35 | |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 36 | cpus { |
| 37 | #address-cells = <2>; |
| 38 | #size-cells = <0>; |
| 39 | |
| 40 | CPU0: cpu@0 { |
| 41 | device_type = "cpu"; |
| 42 | compatible = "qcom,kryo"; |
| 43 | reg = <0x0 0x0>; |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 44 | enable-method = "psci"; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 45 | cache-size = <0x8000>; |
| 46 | cpu-release-addr = <0x0 0x90000000>; |
| 47 | next-level-cache = <&L2_0>; |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 48 | qcom,freq-domain = <&cpufreq_hw 0 4>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 49 | L2_0: l2-cache { |
| 50 | compatible = "arm,arch-cache"; |
| 51 | cache-size = <0x20000>; |
| 52 | cache-level = <2>; |
| 53 | next-level-cache = <&L3_0>; |
| 54 | |
| 55 | L3_0: l3-cache { |
| 56 | compatible = "arm,arch-cache"; |
| 57 | cache-size = <0x400000>; |
| 58 | cache-level = <3>; |
| 59 | }; |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | CPU1: cpu@100 { |
| 64 | device_type = "cpu"; |
| 65 | compatible = "qcom,kryo"; |
| 66 | reg = <0x0 0x100>; |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 67 | enable-method = "psci"; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 68 | cache-size = <0x8000>; |
| 69 | cpu-release-addr = <0x0 0x90000000>; |
| 70 | next-level-cache = <&L2_1>; |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 71 | qcom,freq-domain = <&cpufreq_hw 0 4>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 72 | L2_1: l2-cache { |
| 73 | compatible = "arm,arch-cache"; |
| 74 | cache-size = <0x20000>; |
| 75 | cache-level = <2>; |
| 76 | next-level-cache = <&L3_0>; |
| 77 | }; |
| 78 | }; |
| 79 | |
| 80 | CPU2: cpu@200 { |
| 81 | device_type = "cpu"; |
| 82 | compatible = "qcom,kryo"; |
| 83 | reg = <0x0 0x200>; |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 84 | enable-method = "psci"; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 85 | cache-size = <0x8000>; |
| 86 | cpu-release-addr = <0x0 0x90000000>; |
| 87 | next-level-cache = <&L2_2>; |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 88 | qcom,freq-domain = <&cpufreq_hw 0 4>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 89 | L2_2: l2-cache { |
| 90 | compatible = "arm,arch-cache"; |
| 91 | cache-size = <0x20000>; |
| 92 | cache-level = <2>; |
| 93 | next-level-cache = <&L3_0>; |
| 94 | }; |
| 95 | }; |
| 96 | |
| 97 | CPU3: cpu@300 { |
| 98 | device_type = "cpu"; |
| 99 | compatible = "qcom,kryo"; |
| 100 | reg = <0x0 0x300>; |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 101 | enable-method = "psci"; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 102 | cache-size = <0x8000>; |
| 103 | cpu-release-addr = <0x0 0x90000000>; |
| 104 | next-level-cache = <&L2_3>; |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 105 | qcom,freq-domain = <&cpufreq_hw 0 4>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 106 | L2_3: l2-cache { |
| 107 | compatible = "arm,arch-cache"; |
| 108 | cache-size = <0x20000>; |
| 109 | cache-level = <2>; |
| 110 | next-level-cache = <&L3_0>; |
| 111 | }; |
| 112 | }; |
| 113 | |
| 114 | CPU4: cpu@400 { |
| 115 | device_type = "cpu"; |
| 116 | compatible = "qcom,kryo"; |
| 117 | reg = <0x0 0x400>; |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 118 | enable-method = "psci"; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 119 | cache-size = <0x10000>; |
| 120 | cpu-release-addr = <0x0 0x90000000>; |
| 121 | next-level-cache = <&L2_4>; |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 122 | qcom,freq-domain = <&cpufreq_hw 1 4>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 123 | L2_4: l2-cache { |
| 124 | compatible = "arm,arch-cache"; |
| 125 | cache-size = <0x20000>; |
| 126 | cache-level = <2>; |
| 127 | next-level-cache = <&L3_0>; |
| 128 | }; |
| 129 | }; |
| 130 | |
| 131 | CPU5: cpu@500 { |
| 132 | device_type = "cpu"; |
| 133 | compatible = "qcom,kryo"; |
| 134 | reg = <0x0 0x500>; |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 135 | enable-method = "psci"; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 136 | cache-size = <0x10000>; |
| 137 | cpu-release-addr = <0x0 0x90000000>; |
| 138 | next-level-cache = <&L2_5>; |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 139 | qcom,freq-domain = <&cpufreq_hw 1 4>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 140 | L2_5: l2-cache { |
| 141 | compatible = "arm,arch-cache"; |
| 142 | cache-size = <0x20000>; |
| 143 | cache-level = <2>; |
| 144 | next-level-cache = <&L3_0>; |
| 145 | }; |
| 146 | }; |
| 147 | |
| 148 | CPU6: cpu@600 { |
| 149 | device_type = "cpu"; |
| 150 | compatible = "qcom,kryo"; |
| 151 | reg = <0x0 0x600>; |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 152 | enable-method = "psci"; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 153 | cache-size = <0x10000>; |
| 154 | cpu-release-addr = <0x0 0x90000000>; |
| 155 | next-level-cache = <&L2_6>; |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 156 | qcom,freq-domain = <&cpufreq_hw 1 4>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 157 | L2_6: l2-cache { |
| 158 | compatible = "arm,arch-cache"; |
| 159 | cache-size = <0x20000>; |
| 160 | cache-level = <2>; |
| 161 | next-level-cache = <&L3_0>; |
| 162 | }; |
| 163 | }; |
| 164 | |
| 165 | CPU7: cpu@700 { |
| 166 | device_type = "cpu"; |
| 167 | compatible = "qcom,kryo"; |
| 168 | reg = <0x0 0x700>; |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 169 | enable-method = "psci"; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 170 | cache-size = <0x10000>; |
| 171 | cpu-release-addr = <0x0 0x90000000>; |
| 172 | next-level-cache = <&L2_7>; |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 173 | qcom,freq-domain = <&cpufreq_hw 2 4>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 174 | L2_7: l2-cache { |
| 175 | compatible = "arm,arch-cache"; |
| 176 | cache-size = <0x80000>; |
| 177 | cache-level = <2>; |
| 178 | next-level-cache = <&L3_0>; |
| 179 | }; |
| 180 | }; |
| 181 | |
| 182 | cpu-map { |
| 183 | cluster0 { |
| 184 | core0 { |
| 185 | cpu = <&CPU0>; |
| 186 | }; |
| 187 | |
| 188 | core1 { |
| 189 | cpu = <&CPU1>; |
| 190 | }; |
| 191 | |
| 192 | core2 { |
| 193 | cpu = <&CPU2>; |
| 194 | }; |
| 195 | |
| 196 | core3 { |
| 197 | cpu = <&CPU3>; |
| 198 | }; |
| 199 | }; |
| 200 | |
| 201 | cluster1 { |
| 202 | core0 { |
| 203 | cpu = <&CPU4>; |
| 204 | }; |
| 205 | |
| 206 | core1 { |
| 207 | cpu = <&CPU5>; |
| 208 | }; |
| 209 | |
| 210 | core2 { |
| 211 | cpu = <&CPU6>; |
| 212 | }; |
| 213 | |
| 214 | core3 { |
| 215 | cpu = <&CPU7>; |
| 216 | }; |
| 217 | }; |
| 218 | }; |
| 219 | }; |
| 220 | |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 221 | |
Channagoud Kadabi | cdd72a0 | 2018-09-21 14:46:21 -0700 | [diff] [blame] | 222 | cpu_pmu: cpu-pmu { |
| 223 | compatible = "arm,armv8-pmuv3"; |
| 224 | qcom,irq-is-percpu; |
| 225 | interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 226 | }; |
| 227 | |
David Dai | a4635e6 | 2018-10-11 13:39:44 -0700 | [diff] [blame] | 228 | soc: soc { |
| 229 | cpufreq_hw: qcom,cpufreq-hw { |
| 230 | compatible = "qcom,cpufreq-hw"; |
| 231 | reg = <0x18591000 0x1000>, <0x18592000 0x1000>, |
| 232 | <0x18593000 0x1000>; |
| 233 | reg-names = "freq-domain0", "freq-domain1", |
| 234 | "freq-domain2"; |
| 235 | |
| 236 | clocks = <&clock_xo>, <&clock_gcc GPLL0>; |
| 237 | clock-names = "xo", "cpu_clk"; |
| 238 | |
| 239 | #freq-domain-cells = <2>; |
| 240 | }; |
| 241 | }; |
| 242 | |
Arjun Bagla | 76f02ef | 2018-09-19 10:00:29 -0700 | [diff] [blame] | 243 | psci { |
| 244 | compatible = "arm,psci-1.0"; |
| 245 | method = "smc"; |
| 246 | }; |
| 247 | |
Bruce Levy | 3bd8d1b | 2018-09-11 11:31:13 -0700 | [diff] [blame] | 248 | firmware: firmware { |
| 249 | android { |
| 250 | compatible = "android,firmware"; |
| 251 | fstab { |
| 252 | compatible = "android,fstab"; |
| 253 | vendor { |
| 254 | compatible = "android,vendor"; |
| 255 | dev = "/dev/block/platform/soc/1d84000.ufshc/by-name/vendor"; |
| 256 | type = "ext4"; |
| 257 | mnt_flags = "ro,barrier=1,discard"; |
| 258 | fsmgr_flags = "wait,slotselect,avb"; |
| 259 | status = "ok"; |
| 260 | }; |
| 261 | }; |
| 262 | }; |
| 263 | }; |
| 264 | |
Channagoud Kadabi | da4367b | 2018-09-20 15:07:04 -0700 | [diff] [blame] | 265 | psci { |
| 266 | compatible = "arm,psci-1.0"; |
| 267 | method = "smc"; |
| 268 | }; |
| 269 | |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 270 | reserved-memory { |
| 271 | #address-cells = <2>; |
| 272 | #size-cells = <2>; |
| 273 | ranges; |
| 274 | |
| 275 | hyp_mem: hyp_region@80000000 { |
| 276 | no-map; |
| 277 | reg = <0x0 0x80000000 0x0 0x600000>; |
| 278 | }; |
| 279 | |
| 280 | xbl_aop_mem: xbl_aop_region@80700000 { |
| 281 | no-map; |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 282 | reg = <0x0 0x80700000 0x0 0x120000>; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 283 | }; |
| 284 | |
Lina Iyer | 5d609fa | 2018-10-03 14:26:55 -0600 | [diff] [blame] | 285 | cmd_db: reserved-memory@80820000 { |
| 286 | reg = <0x0 0x80820000 0x0 0x20000>; |
| 287 | compatible = "qcom,cmd-db"; |
| 288 | no-map; |
| 289 | }; |
| 290 | |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 291 | smem_mem: smem_region@80900000 { |
| 292 | no-map; |
| 293 | reg = <0x0 0x80900000 0x0 0x200000>; |
| 294 | }; |
| 295 | |
| 296 | removed_mem: removed_region@80b00000 { |
| 297 | no-map; |
| 298 | reg = <0x0 0x80b00000 0x0 0xc00000>; |
| 299 | }; |
| 300 | |
| 301 | qtee_apps_mem: qtee_apps_region@81e00000 { |
| 302 | no-map; |
| 303 | reg = <0x0 0x81e00000 0x0 0x2600000>; |
| 304 | }; |
| 305 | |
| 306 | pil_camera_mem: pil_camera_region@86000000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 307 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 308 | no-map; |
| 309 | reg = <0x0 0x86000000 0x0 0x500000>; |
| 310 | }; |
| 311 | |
| 312 | pil_wlan_fw_mem: pil_wlan_fw_region@86500000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 313 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 314 | no-map; |
| 315 | reg = <0x0 0x86500000 0x0 0x100000>; |
| 316 | }; |
| 317 | |
| 318 | pil_ipa_fw_mem: pil_ipa_fw_region@86600000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 319 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 320 | no-map; |
| 321 | reg = <0x0 0x86600000 0x0 0x10000>; |
| 322 | }; |
| 323 | |
| 324 | pil_ipa_gsi_mem: pil_ipa_gsi_region@86610000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 325 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 326 | no-map; |
| 327 | reg = <0x0 0x86610000 0x0 0x5000>; |
| 328 | }; |
| 329 | |
| 330 | pil_gpu_mem: pil_gpu_region@86615000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 331 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 332 | no-map; |
| 333 | reg = <0x0 0x86615000 0x0 0x2000>; |
| 334 | }; |
| 335 | |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 336 | pil_npu_mem: pil_npu_region@86700000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 337 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 338 | no-map; |
| 339 | reg = <0x0 0x86700000 0x0 0x500000>; |
| 340 | }; |
| 341 | |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 342 | pil_video_mem: pil_video_region@86c00000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 343 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 344 | no-map; |
| 345 | reg = <0x0 0x86c00000 0x0 0x500000>; |
| 346 | }; |
| 347 | |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 348 | pil_cvp_mem: pil_cvp_region@87100000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 349 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 350 | no-map; |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 351 | reg = <0x0 0x87100000 0x0 0x500000>; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 352 | }; |
| 353 | |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 354 | pil_cdsp_mem: pil_cdsp_region@87600000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 355 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 356 | no-map; |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 357 | reg = <0x0 0x87600000 0x0 0x800000>; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 358 | }; |
| 359 | |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 360 | pil_slpi_mem: pil_slpi_region@87e00000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 361 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 362 | no-map; |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 363 | reg = <0x0 0x87e00000 0x0 0x1500000>; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 364 | }; |
| 365 | |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 366 | pil_adsp_mem: pil_adsp_region@89300000 { |
Swathi Sridhar | 2f97156 | 2018-10-02 15:43:09 -0700 | [diff] [blame] | 367 | compatible = "removed-dma-pool"; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 368 | no-map; |
Swathi Sridhar | 072b0ad | 2018-10-16 22:52:57 -0700 | [diff] [blame] | 369 | reg = <0x0 0x89300000 0x0 0x1900000>; |
| 370 | }; |
| 371 | |
| 372 | pil_spss_mem: pil_spss_region@8ac00000 { |
| 373 | compatible = "removed-dma-pool"; |
| 374 | no-map; |
| 375 | reg = <0x0 0x8ac00000 0x0 0x100000>; |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 376 | }; |
| 377 | |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 378 | adsp_mem: adsp_region { |
| 379 | compatible = "shared-dma-pool"; |
| 380 | alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; |
| 381 | reusable; |
| 382 | alignment = <0x0 0x400000>; |
| 383 | size = <0x0 0x1000000>; |
| 384 | }; |
| 385 | |
Swathi Sridhar | a79a954 | 2018-06-21 11:40:44 -0700 | [diff] [blame] | 386 | /* global autoconfigured region for contiguous allocations */ |
| 387 | linux,cma { |
| 388 | compatible = "shared-dma-pool"; |
| 389 | alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; |
| 390 | reusable; |
| 391 | alignment = <0x0 0x400000>; |
| 392 | size = <0x0 0x2000000>; |
| 393 | linux,cma-default; |
| 394 | }; |
| 395 | }; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 396 | }; |
| 397 | |
| 398 | &soc { |
| 399 | #address-cells = <1>; |
| 400 | #size-cells = <1>; |
| 401 | ranges = <0 0 0 0xffffffff>; |
| 402 | compatible = "simple-bus"; |
| 403 | |
David Collins | 692dff7 | 2018-11-12 17:09:49 -0800 | [diff] [blame] | 404 | thermal_zones: thermal-zones { |
| 405 | }; |
| 406 | |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 407 | intc: interrupt-controller@17a00000 { |
| 408 | compatible = "arm,gic-v3"; |
| 409 | #interrupt-cells = <3>; |
| 410 | interrupt-controller; |
| 411 | #redistributor-regions = <1>; |
| 412 | redistributor-stride = <0x0 0x20000>; |
| 413 | reg = <0x17a00000 0x10000>, /* GICD */ |
| 414 | <0x17a60000 0x100000>; /* GICR * 8 */ |
| 415 | interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 416 | }; |
| 417 | |
Rishabh Bhatnagar | fd73eb1 | 2018-09-04 15:00:46 -0700 | [diff] [blame] | 418 | qcom,chd_silver { |
| 419 | compatible = "qcom,core-hang-detect"; |
| 420 | label = "silver"; |
| 421 | qcom,threshold-arr = <0x18000058 0x18010058 |
| 422 | 0x18020058 0x18030058>; |
| 423 | qcom,config-arr = <0x18000060 0x18010060 |
| 424 | 0x18020060 0x18030060>; |
| 425 | }; |
| 426 | |
| 427 | qcom,chd_gold { |
| 428 | compatible = "qcom,core-hang-detect"; |
| 429 | label = "gold"; |
| 430 | qcom,threshold-arr = <0x18040058 0x18050058 |
| 431 | 0x18060058 0x18070058>; |
| 432 | qcom,config-arr = <0x18040060 0x18050060 |
| 433 | 0x18060060 0x18070060>; |
| 434 | }; |
| 435 | |
Rishabh Bhatnagar | 8f0dd4b | 2018-08-07 11:07:40 -0700 | [diff] [blame] | 436 | cache-controller@9200000 { |
| 437 | compatible = "qcom,kona-llcc"; |
| 438 | reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>; |
| 439 | reg-names = "llcc_base", "llcc_broadcast_base"; |
Channagoud Kadabi | a13ed0a | 2018-09-26 16:10:35 -0700 | [diff] [blame] | 440 | interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; |
Rishabh Bhatnagar | 8f0dd4b | 2018-08-07 11:07:40 -0700 | [diff] [blame] | 441 | }; |
| 442 | |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 443 | arch_timer: timer { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 444 | compatible = "arm,armv8-timer"; |
| 445 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, |
| 446 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, |
| 447 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, |
| 448 | <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; |
| 449 | clock-frequency = <19200000>; |
| 450 | }; |
| 451 | |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 452 | memtimer: timer@17c20000 { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 453 | #address-cells = <1>; |
| 454 | #size-cells = <1>; |
| 455 | ranges; |
| 456 | compatible = "arm,armv7-timer-mem"; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 457 | reg = <0x17c20000 0x1000>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 458 | clock-frequency = <19200000>; |
| 459 | |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 460 | frame@17c21000 { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 461 | frame-number = <0>; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 462 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 463 | <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 464 | reg = <0x17c21000 0x1000>, |
| 465 | <0x17c22000 0x1000>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 466 | }; |
| 467 | |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 468 | frame@17c23000 { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 469 | frame-number = <1>; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 470 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 471 | reg = <0x17c23000 0x1000>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 472 | status = "disabled"; |
| 473 | }; |
| 474 | |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 475 | frame@17c25000 { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 476 | frame-number = <2>; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 477 | interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 478 | reg = <0x17c25000 0x1000>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 479 | status = "disabled"; |
| 480 | }; |
| 481 | |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 482 | frame@17c27000 { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 483 | frame-number = <3>; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 484 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 485 | reg = <0x17c27000 0x1000>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 486 | status = "disabled"; |
| 487 | }; |
| 488 | |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 489 | frame@17c29000 { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 490 | frame-number = <4>; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 491 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
| 492 | reg = <0x17c29000 0x1000>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 493 | status = "disabled"; |
| 494 | }; |
| 495 | |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 496 | frame@17c2b000 { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 497 | frame-number = <5>; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 498 | interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| 499 | reg = <0x17c2b000 0x1000>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 500 | status = "disabled"; |
| 501 | }; |
| 502 | |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 503 | frame@17c2d000 { |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 504 | frame-number = <6>; |
Rishabh Bhatnagar | 5c1c176 | 2018-05-29 17:04:46 -0700 | [diff] [blame] | 505 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 506 | reg = <0x17c2d000 0x1000>; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 507 | status = "disabled"; |
| 508 | }; |
| 509 | }; |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 510 | |
David Dai | 3c42780 | 2018-10-17 14:40:08 -0700 | [diff] [blame] | 511 | qcom,devfreq-l3 { |
| 512 | compatible = "qcom,devfreq-fw"; |
| 513 | reg = <0x18590000 0x4>, <0x18590100 0xa0>, <0x18590320 0x4>; |
| 514 | reg-names = "en-base", "ftbl-base", "perf-base"; |
| 515 | |
| 516 | qcom,cpu0-l3 { |
| 517 | compatible = "qcom,devfreq-fw-voter"; |
| 518 | }; |
| 519 | |
| 520 | qcom,cpu4-l3 { |
| 521 | compatible = "qcom,devfreq-fw-voter"; |
| 522 | }; |
| 523 | }; |
| 524 | |
Rishabh Bhatnagar | f35ba02 | 2018-09-18 15:17:22 -0700 | [diff] [blame] | 525 | qcom,msm-imem@146bf000 { |
Rishabh Bhatnagar | 2b6a59c | 2018-09-06 11:06:16 -0700 | [diff] [blame] | 526 | compatible = "qcom,msm-imem"; |
| 527 | reg = <0x146bf000 0x1000>; |
| 528 | ranges = <0x0 0x146bf000 0x1000>; |
| 529 | #address-cells = <1>; |
| 530 | #size-cells = <1>; |
| 531 | |
| 532 | restart_reason@65c { |
| 533 | compatible = "qcom,msm-imem-restart_reason"; |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 534 | reg = <0x65c 0x4>; |
Rishabh Bhatnagar | 2b6a59c | 2018-09-06 11:06:16 -0700 | [diff] [blame] | 535 | }; |
| 536 | |
| 537 | dload_type@1c { |
| 538 | compatible = "qcom,msm-imem-dload-type"; |
| 539 | reg = <0x1c 0x4>; |
| 540 | }; |
| 541 | |
| 542 | boot_stats@6b0 { |
| 543 | compatible = "qcom,msm-imem-boot_stats"; |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 544 | reg = <0x6b0 0x20>; |
Rishabh Bhatnagar | 2b6a59c | 2018-09-06 11:06:16 -0700 | [diff] [blame] | 545 | }; |
| 546 | |
| 547 | kaslr_offset@6d0 { |
| 548 | compatible = "qcom,msm-imem-kaslr_offset"; |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 549 | reg = <0x6d0 0xc>; |
Rishabh Bhatnagar | 2b6a59c | 2018-09-06 11:06:16 -0700 | [diff] [blame] | 550 | }; |
| 551 | |
| 552 | pil@94c { |
| 553 | compatible = "qcom,msm-imem-pil"; |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 554 | reg = <0x94c 0xc8>; |
Rishabh Bhatnagar | 2b6a59c | 2018-09-06 11:06:16 -0700 | [diff] [blame] | 555 | }; |
| 556 | }; |
| 557 | |
Rishabh Bhatnagar | 811170f | 2018-11-09 13:44:32 -0800 | [diff] [blame] | 558 | restart@c264000 { |
| 559 | compatible = "qcom,pshold"; |
| 560 | reg = <0xc264000 0x4>, |
| 561 | <0x1fd3000 0x4>; |
| 562 | reg-names = "pshold-base", "tcsr-boot-misc-detect"; |
| 563 | }; |
| 564 | |
Rishabh Bhatnagar | 19ddb35e | 2018-09-18 15:53:03 -0700 | [diff] [blame] | 565 | mdm0: qcom,mdm0 { |
Rishabh Bhatnagar | 134ede8 | 2018-10-16 10:54:12 -0700 | [diff] [blame] | 566 | compatible = "qcom,ext-sdx55m"; |
Rishabh Bhatnagar | 19ddb35e | 2018-09-18 15:53:03 -0700 | [diff] [blame] | 567 | cell-index = <0>; |
| 568 | #address-cells = <0>; |
| 569 | interrupt-parent = <&mdm0>; |
| 570 | #interrupt-cells = <1>; |
| 571 | interrupt-map-mask = <0xffffffff>; |
| 572 | interrupt-names = |
| 573 | "err_fatal_irq", |
| 574 | "status_irq", |
| 575 | "mdm2ap_vddmin_irq"; |
| 576 | /* modem attributes */ |
| 577 | qcom,ramdump-delay-ms = <3000>; |
| 578 | qcom,ramdump-timeout-ms = <120000>; |
| 579 | qcom,vddmin-modes = "normal"; |
| 580 | qcom,vddmin-drive-strength = <8>; |
| 581 | qcom,sfr-query; |
| 582 | qcom,sysmon-id = <20>; |
| 583 | qcom,ssctl-instance-id = <0x10>; |
| 584 | qcom,support-shutdown; |
| 585 | qcom,pil-force-shutdown; |
| 586 | qcom,esoc-skip-restart-for-mdm-crash; |
| 587 | pinctrl-names = "default", "mdm_active", "mdm_suspend"; |
| 588 | pinctrl-0 = <&ap2mdm_pon_reset_default>; |
| 589 | pinctrl-1 = <&ap2mdm_active &mdm2ap_active>; |
| 590 | pinctrl-2 = <&ap2mdm_sleep &mdm2ap_sleep>; |
| 591 | interrupt-map = <0 &tlmm 1 0x3 |
| 592 | 1 &tlmm 3 0x3>; |
| 593 | qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>; |
| 594 | qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>; |
| 595 | qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>; |
| 596 | qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>; |
Rishabh Bhatnagar | 2b66dc1 | 2018-10-18 10:36:27 -0700 | [diff] [blame] | 597 | qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 GPIO_ACTIVE_LOW>; |
Rishabh Bhatnagar | 19ddb35e | 2018-09-18 15:53:03 -0700 | [diff] [blame] | 598 | qcom,mdm-link-info = "0306_02.01.00"; |
| 599 | status = "ok"; |
| 600 | }; |
| 601 | |
Lina Iyer | 8551c79 | 2018-06-21 16:06:53 -0600 | [diff] [blame] | 602 | pdc: interrupt-controller@b220000 { |
| 603 | compatible = "qcom,kona-pdc"; |
| 604 | reg = <0xb220000 0x30000>; |
| 605 | qcom,pdc-ranges = <0 480 29>, <42 522 52>, <94 609 30>; |
| 606 | #interrupt-cells = <2>; |
| 607 | interrupt-parent = <&intc>; |
| 608 | interrupt-controller; |
| 609 | }; |
| 610 | |
David Collins | a6d833b | 2018-09-25 14:44:32 -0700 | [diff] [blame] | 611 | clock_xo: bi_tcxo { |
| 612 | compatible = "fixed-clock"; |
| 613 | #clock-cells = <0>; |
| 614 | clock-frequency = <19200000>; |
| 615 | clock-output-names = "bi_tcxo"; |
| 616 | }; |
| 617 | |
Vivek Aknurwar | 65bafd9 | 2018-11-01 17:27:53 -0700 | [diff] [blame] | 618 | clocks { |
| 619 | sleep_clk: sleep-clk { |
| 620 | compatible = "fixed-clock"; |
| 621 | clock-frequency = <32000>; |
| 622 | clock-output-names = "chip_sleep_clk"; |
| 623 | #clock-cells = <1>; |
| 624 | }; |
| 625 | }; |
| 626 | |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 627 | clock_rpmh: qcom,rpmhclk { |
| 628 | compatible = "qcom,dummycc"; |
| 629 | clock-output-names = "rpmh_clocks"; |
| 630 | #clock-cells = <1>; |
| 631 | }; |
| 632 | |
| 633 | clock_aop: qcom,aopclk { |
| 634 | compatible = "qcom,dummycc"; |
| 635 | clock-output-names = "qdss_clocks"; |
| 636 | #clock-cells = <1>; |
| 637 | }; |
| 638 | |
Vivek Aknurwar | 7e9ecb9 | 2018-09-07 14:27:58 -0700 | [diff] [blame] | 639 | clock_gcc: qcom,gcc@100000 { |
| 640 | compatible = "qcom,gcc-kona"; |
| 641 | reg = <0x100000 0x1f0000>; |
| 642 | reg-names = "cc_base"; |
| 643 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 644 | vdd_cx_ao-supply = <&VDD_CX_LEVEL_AO>; |
| 645 | vdd_mm-supply = <&VDD_MMCX_LEVEL>; |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 646 | #clock-cells = <1>; |
| 647 | #reset-cells = <1>; |
| 648 | }; |
| 649 | |
| 650 | clock_npucc: qcom,npucc { |
| 651 | compatible = "qcom,dummycc"; |
| 652 | clock-output-names = "npucc_clocks"; |
| 653 | #clock-cells = <1>; |
| 654 | #reset-cells = <1>; |
| 655 | }; |
| 656 | |
Vivek Aknurwar | 65bafd9 | 2018-11-01 17:27:53 -0700 | [diff] [blame] | 657 | clock_videocc: qcom,videocc@abf0000 { |
| 658 | compatible = "qcom,videocc-kona", "syscon"; |
| 659 | reg = <0xabf0000 0x10000>; |
| 660 | reg-names = "cc_base"; |
| 661 | vdd_mx-supply = <&VDD_MX_LEVEL>; |
| 662 | vdd_mm-supply = <&VDD_MMCX_LEVEL>; |
| 663 | clock-names = "cfg_ahb_clk"; |
| 664 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 665 | #clock-cells = <1>; |
| 666 | #reset-cells = <1>; |
| 667 | }; |
| 668 | |
| 669 | clock_camcc: qcom,camcc { |
| 670 | compatible = "qcom,dummycc"; |
| 671 | clock-output-names = "camcc_clocks"; |
| 672 | #clock-cells = <1>; |
| 673 | #reset-cells = <1>; |
| 674 | }; |
| 675 | |
| 676 | clock_dispcc: qcom,dispcc { |
| 677 | compatible = "qcom,dummycc"; |
| 678 | clock-output-names = "dispcc_clocks"; |
| 679 | #clock-cells = <1>; |
| 680 | #reset-cells = <1>; |
| 681 | }; |
| 682 | |
| 683 | clock_gpucc: qcom,gpucc { |
| 684 | compatible = "qcom,dummycc"; |
| 685 | clock-output-names = "gpucc_clocks"; |
| 686 | #clock-cells = <1>; |
| 687 | #reset-cells = <1>; |
| 688 | }; |
| 689 | |
| 690 | clock_cpucc: qcom,cpucc { |
| 691 | compatible = "qcom,dummycc"; |
| 692 | clock-output-names = "cpucc_clocks"; |
| 693 | #clock-cells = <1>; |
| 694 | }; |
Raghavendra Rao Ananta | 0295796 | 2018-08-06 15:28:34 -0700 | [diff] [blame] | 695 | |
David Collins | a86302c | 2018-09-17 14:16:50 -0700 | [diff] [blame] | 696 | /* GCC GDSCs */ |
| 697 | pcie_0_gdsc: qcom,gdsc@16b004 { |
| 698 | compatible = "qcom,gdsc"; |
| 699 | reg = <0x16b004 0x4>; |
| 700 | regulator-name = "pcie_0_gdsc"; |
| 701 | }; |
| 702 | |
| 703 | pcie_1_gdsc: qcom,gdsc@18d004 { |
| 704 | compatible = "qcom,gdsc"; |
| 705 | reg = <0x18d004 0x4>; |
| 706 | regulator-name = "pcie_1_gdsc"; |
| 707 | }; |
| 708 | |
| 709 | pcie_2_gdsc: qcom,gdsc@106004 { |
| 710 | compatible = "qcom,gdsc"; |
| 711 | reg = <0x106004 0x4>; |
| 712 | regulator-name = "pcie_2_gdsc"; |
| 713 | }; |
| 714 | |
| 715 | ufs_card_gdsc: qcom,gdsc@175004 { |
| 716 | compatible = "qcom,gdsc"; |
| 717 | reg = <0x175004 0x4>; |
| 718 | regulator-name = "ufs_card_gdsc"; |
| 719 | }; |
| 720 | |
| 721 | ufs_phy_gdsc: qcom,gdsc@177004 { |
| 722 | compatible = "qcom,gdsc"; |
| 723 | reg = <0x177004 0x4>; |
| 724 | regulator-name = "ufs_phy_gdsc"; |
| 725 | }; |
| 726 | |
| 727 | usb30_prim_gdsc: qcom,gdsc@10f004 { |
| 728 | compatible = "qcom,gdsc"; |
| 729 | reg = <0x10f004 0x4>; |
| 730 | regulator-name = "usb30_prim_gdsc"; |
| 731 | }; |
| 732 | |
| 733 | usb30_sec_gdsc: qcom,gdsc@110004 { |
| 734 | compatible = "qcom,gdsc"; |
| 735 | reg = <0x110004 0x4>; |
| 736 | regulator-name = "usb30_sec_gdsc"; |
| 737 | }; |
| 738 | |
| 739 | hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 { |
| 740 | compatible = "qcom,gdsc"; |
| 741 | reg = <0x17d050 0x4>; |
| 742 | regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc"; |
| 743 | qcom,no-status-check-on-disable; |
| 744 | qcom,gds-timeout = <500>; |
| 745 | }; |
| 746 | |
| 747 | hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 { |
| 748 | compatible = "qcom,gdsc"; |
| 749 | reg = <0x17d058 0x4>; |
| 750 | regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc"; |
| 751 | qcom,no-status-check-on-disable; |
| 752 | qcom,gds-timeout = <500>; |
| 753 | }; |
| 754 | |
| 755 | hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 { |
| 756 | compatible = "qcom,gdsc"; |
| 757 | reg = <0x17d054 0x4>; |
| 758 | regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc"; |
| 759 | qcom,no-status-check-on-disable; |
| 760 | qcom,gds-timeout = <500>; |
| 761 | }; |
| 762 | |
| 763 | hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc: qcom,gdsc@17d06c { |
| 764 | compatible = "qcom,gdsc"; |
| 765 | reg = <0x17d06c 0x4>; |
| 766 | regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc"; |
| 767 | qcom,no-status-check-on-disable; |
| 768 | qcom,gds-timeout = <500>; |
| 769 | }; |
| 770 | |
| 771 | /* CAM_CC GDSCs */ |
| 772 | bps_gdsc: qcom,gdsc@ad07004 { |
| 773 | compatible = "qcom,gdsc"; |
| 774 | reg = <0xad07004 0x4>; |
| 775 | regulator-name = "bps_gdsc"; |
| 776 | clock-names = "ahb_clk"; |
| 777 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 778 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 779 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 780 | qcom,support-hw-trigger; |
| 781 | }; |
| 782 | |
| 783 | ife_0_gdsc: qcom,gdsc@ad0a004 { |
| 784 | compatible = "qcom,gdsc"; |
| 785 | reg = <0xad0a004 0x4>; |
| 786 | regulator-name = "ife_0_gdsc"; |
| 787 | clock-names = "ahb_clk"; |
| 788 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 789 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 790 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 791 | }; |
| 792 | |
| 793 | ife_1_gdsc: qcom,gdsc@ad0b004 { |
| 794 | compatible = "qcom,gdsc"; |
| 795 | reg = <0xad0b004 0x4>; |
| 796 | regulator-name = "ife_1_gdsc"; |
| 797 | clock-names = "ahb_clk"; |
| 798 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 799 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 800 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 801 | }; |
| 802 | |
| 803 | ipe_0_gdsc: qcom,gdsc@ad08004 { |
| 804 | compatible = "qcom,gdsc"; |
| 805 | reg = <0xad08004 0x4>; |
| 806 | regulator-name = "ipe_0_gdsc"; |
| 807 | clock-names = "ahb_clk"; |
| 808 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 809 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 810 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 811 | qcom,support-hw-trigger; |
| 812 | }; |
| 813 | |
| 814 | sbi_gdsc: qcom,gdsc@ad09004 { |
| 815 | compatible = "qcom,gdsc"; |
| 816 | reg = <0xad09004 0x4>; |
| 817 | regulator-name = "sbi_gdsc"; |
| 818 | clock-names = "ahb_clk"; |
| 819 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 820 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 821 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 822 | }; |
| 823 | |
| 824 | titan_top_gdsc: qcom,gdsc@ad0c144 { |
| 825 | compatible = "qcom,gdsc"; |
| 826 | reg = <0xad0c144 0x4>; |
| 827 | regulator-name = "titan_top_gdsc"; |
| 828 | clock-names = "ahb_clk"; |
| 829 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 830 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 831 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 832 | }; |
| 833 | |
| 834 | /* DISP_CC GDSC */ |
| 835 | mdss_core_gdsc: qcom,gdsc@af03000 { |
| 836 | compatible = "qcom,gdsc"; |
| 837 | reg = <0xaf03000 0x4>; |
| 838 | regulator-name = "mdss_core_gdsc"; |
| 839 | clock-names = "ahb_clk"; |
| 840 | clocks = <&clock_gcc GCC_DISP_AHB_CLK>; |
| 841 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 842 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 843 | qcom,support-hw-trigger; |
| 844 | }; |
| 845 | |
| 846 | /* GPU_CC GDSCs */ |
| 847 | gpu_cx_hw_ctrl: syscon@3d91540 { |
| 848 | compatible = "syscon"; |
| 849 | reg = <0x3d91540 0x4>; |
| 850 | }; |
| 851 | |
| 852 | gpu_cx_gdsc: qcom,gdsc@3d9106c { |
| 853 | compatible = "qcom,gdsc"; |
| 854 | reg = <0x3d9106c 0x4>; |
| 855 | regulator-name = "gpu_cx_gdsc"; |
| 856 | hw-ctrl-addr = <&gpu_cx_hw_ctrl>; |
| 857 | parent-supply = <&VDD_CX_LEVEL>; |
| 858 | qcom,no-status-check-on-disable; |
| 859 | qcom,clk-dis-wait-val = <8>; |
| 860 | qcom,gds-timeout = <500>; |
| 861 | }; |
| 862 | |
David Collins | d7eea14 | 2018-10-08 17:32:48 -0700 | [diff] [blame] | 863 | gpu_gx_domain_addr: syscon@3d91508 { |
David Collins | a86302c | 2018-09-17 14:16:50 -0700 | [diff] [blame] | 864 | compatible = "syscon"; |
| 865 | reg = <0x3d91508 0x4>; |
| 866 | }; |
| 867 | |
David Collins | d7eea14 | 2018-10-08 17:32:48 -0700 | [diff] [blame] | 868 | gpu_gx_sw_reset: syscon@3d91008 { |
David Collins | a86302c | 2018-09-17 14:16:50 -0700 | [diff] [blame] | 869 | compatible = "syscon"; |
| 870 | reg = <0x3d91008 0x4>; |
| 871 | }; |
| 872 | |
| 873 | gpu_gx_gdsc: qcom,gdsc@3d9100c { |
| 874 | compatible = "qcom,gdsc"; |
| 875 | reg = <0x3d9100c 0x4>; |
| 876 | regulator-name = "gpu_gx_gdsc"; |
| 877 | domain-addr = <&gpu_gx_domain_addr>; |
| 878 | sw-reset = <&gpu_gx_sw_reset>; |
| 879 | parent-supply = <&VDD_GFX_LEVEL>; |
| 880 | vdd_parent-supply = <&VDD_GFX_LEVEL>; |
| 881 | qcom,reset-aon-logic; |
| 882 | }; |
| 883 | |
| 884 | /* NPU GDSC */ |
| 885 | npu_core_gdsc: qcom,gdsc@9981004 { |
| 886 | compatible = "qcom,gdsc"; |
| 887 | reg = <0x9981004 0x4>; |
| 888 | regulator-name = "npu_core_gdsc"; |
| 889 | clock-names = "ahb_clk"; |
| 890 | clocks = <&clock_gcc GCC_NPU_CFG_AHB_CLK>; |
| 891 | }; |
| 892 | |
| 893 | /* VIDEO_CC GDSCs */ |
| 894 | mvs0_gdsc: qcom,gdsc@abf0d18 { |
| 895 | compatible = "qcom,gdsc"; |
| 896 | reg = <0xabf0d18 0x4>; |
| 897 | regulator-name = "mvs0_gdsc"; |
| 898 | clock-names = "ahb_clk"; |
| 899 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
| 900 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 901 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 902 | }; |
| 903 | |
| 904 | mvs0c_gdsc: qcom,gdsc@abf0bf8 { |
| 905 | compatible = "qcom,gdsc"; |
| 906 | reg = <0xabf0bf8 0x4>; |
| 907 | regulator-name = "mvs0c_gdsc"; |
| 908 | clock-names = "ahb_clk"; |
| 909 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
| 910 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 911 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 912 | }; |
| 913 | |
| 914 | mvs1_gdsc: qcom,gdsc@abf0d98 { |
| 915 | compatible = "qcom,gdsc"; |
| 916 | reg = <0xabf0d98 0x4>; |
| 917 | regulator-name = "mvs1_gdsc"; |
| 918 | clock-names = "ahb_clk"; |
| 919 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
| 920 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 921 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 922 | }; |
| 923 | |
| 924 | mvs1c_gdsc: qcom,gdsc@abf0c98 { |
| 925 | compatible = "qcom,gdsc"; |
| 926 | reg = <0xabf0c98 0x4>; |
| 927 | regulator-name = "mvs1c_gdsc"; |
| 928 | clock-names = "ahb_clk"; |
| 929 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
| 930 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 931 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 932 | }; |
| 933 | |
David Collins | c2c02f6 | 2018-11-05 16:23:24 -0800 | [diff] [blame] | 934 | spmi_bus: qcom,spmi@c440000 { |
| 935 | compatible = "qcom,spmi-pmic-arb"; |
| 936 | reg = <0xc440000 0x1100>, |
| 937 | <0xc600000 0x2000000>, |
| 938 | <0xe600000 0x100000>, |
| 939 | <0xe700000 0xa0000>, |
| 940 | <0xc40a000 0x26000>; |
| 941 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 942 | interrupt-names = "periph_irq"; |
| 943 | interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>; |
| 944 | qcom,ee = <0>; |
| 945 | qcom,channel = <0>; |
| 946 | #address-cells = <2>; |
| 947 | #size-cells = <0>; |
| 948 | interrupt-controller; |
| 949 | #interrupt-cells = <4>; |
| 950 | cell-index = <0>; |
| 951 | }; |
| 952 | |
Can Guo | b04bed5 | 2018-07-10 19:27:32 -0700 | [diff] [blame] | 953 | ufsphy_mem: ufsphy_mem@1d87000 { |
| 954 | reg = <0x1d87000 0xe00>; /* PHY regs */ |
| 955 | reg-names = "phy_mem"; |
| 956 | #phy-cells = <0>; |
| 957 | |
| 958 | lanes-per-direction = <2>; |
| 959 | |
| 960 | clock-names = "ref_clk_src", |
| 961 | "ref_clk", |
| 962 | "ref_aux_clk"; |
| 963 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
Vivek Aknurwar | ec5c93d | 2018-08-28 14:52:33 -0700 | [diff] [blame] | 964 | <&clock_gcc GCC_UFS_1X_CLKREF_EN>, |
Can Guo | b04bed5 | 2018-07-10 19:27:32 -0700 | [diff] [blame] | 965 | <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>; |
| 966 | |
| 967 | status = "disabled"; |
| 968 | }; |
| 969 | |
| 970 | ufshc_mem: ufshc@1d84000 { |
| 971 | compatible = "qcom,ufshc"; |
| 972 | reg = <0x1d84000 0x3000>; |
| 973 | interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; |
| 974 | phys = <&ufsphy_mem>; |
| 975 | phy-names = "ufsphy"; |
| 976 | |
| 977 | lanes-per-direction = <2>; |
| 978 | dev-ref-clk-freq = <0>; /* 19.2 MHz */ |
| 979 | |
| 980 | clock-names = |
| 981 | "core_clk", |
| 982 | "bus_aggr_clk", |
| 983 | "iface_clk", |
| 984 | "core_clk_unipro", |
| 985 | "core_clk_ice", |
| 986 | "ref_clk", |
| 987 | "tx_lane0_sync_clk", |
| 988 | "rx_lane0_sync_clk", |
| 989 | "rx_lane1_sync_clk"; |
| 990 | clocks = |
| 991 | <&clock_gcc GCC_UFS_PHY_AXI_CLK>, |
| 992 | <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, |
| 993 | <&clock_gcc GCC_UFS_PHY_AHB_CLK>, |
| 994 | <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, |
| 995 | <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>, |
| 996 | <&clock_rpmh RPMH_CXO_CLK>, |
| 997 | <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, |
| 998 | <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, |
| 999 | <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; |
| 1000 | freq-table-hz = |
| 1001 | <37500000 300000000>, |
| 1002 | <0 0>, |
| 1003 | <0 0>, |
| 1004 | <37500000 300000000>, |
| 1005 | <75000000 300000000>, |
| 1006 | <0 0>, |
| 1007 | <0 0>, |
| 1008 | <0 0>, |
| 1009 | <0 0>; |
| 1010 | |
| 1011 | qcom,msm-bus,name = "ufshc_mem"; |
| 1012 | qcom,msm-bus,num-cases = <22>; |
| 1013 | qcom,msm-bus,num-paths = <2>; |
| 1014 | qcom,msm-bus,vectors-KBps = |
| 1015 | /* |
| 1016 | * During HS G3 UFS runs at nominal voltage corner, vote |
| 1017 | * higher bandwidth to push other buses in the data path |
| 1018 | * to run at nominal to achieve max throughput. |
| 1019 | * 4GBps pushes BIMC to run at nominal. |
| 1020 | * 200MBps pushes CNOC to run at nominal. |
| 1021 | * Vote for half of this bandwidth for HS G3 1-lane. |
| 1022 | * For max bandwidth, vote high enough to push the buses |
| 1023 | * to run in turbo voltage corner. |
| 1024 | */ |
| 1025 | <123 512 0 0>, <1 757 0 0>, /* No vote */ |
| 1026 | <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */ |
| 1027 | <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */ |
| 1028 | <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */ |
| 1029 | <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */ |
| 1030 | <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */ |
| 1031 | <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */ |
| 1032 | <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */ |
| 1033 | <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */ |
| 1034 | <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */ |
| 1035 | <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */ |
| 1036 | <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */ |
| 1037 | <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */ |
| 1038 | <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */ |
| 1039 | <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */ |
| 1040 | <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */ |
| 1041 | <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */ |
| 1042 | <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */ |
| 1043 | <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */ |
| 1044 | <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */ |
| 1045 | /* As UFS working in HS G3 RB L2 mode, aggregated |
| 1046 | * bandwidth (AB) should take care of providing |
| 1047 | * optimum throughput requested. However, as tested, |
| 1048 | * in order to scale up CNOC clock, instantaneous |
| 1049 | * bindwidth (IB) needs to be given a proper value too. |
| 1050 | */ |
| 1051 | <123 512 4194304 0>, <1 757 204800 409600>, /* HS G3 RB L2 */ |
| 1052 | <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */ |
| 1053 | |
| 1054 | qcom,bus-vector-names = "MIN", |
| 1055 | "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1", |
| 1056 | "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2", |
| 1057 | "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1", |
| 1058 | "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2", |
| 1059 | "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1", |
| 1060 | "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2", |
| 1061 | "MAX"; |
| 1062 | |
| 1063 | /* PM QoS */ |
| 1064 | qcom,pm-qos-cpu-groups = <0x0f 0xf0>; |
| 1065 | qcom,pm-qos-cpu-group-latency-us = <44 44>; |
| 1066 | qcom,pm-qos-default-cpu = <0>; |
| 1067 | |
| 1068 | pinctrl-names = "dev-reset-assert", "dev-reset-deassert"; |
| 1069 | pinctrl-0 = <&ufs_dev_reset_assert>; |
| 1070 | pinctrl-1 = <&ufs_dev_reset_deassert>; |
| 1071 | |
| 1072 | resets = <&clock_gcc GCC_UFS_PHY_BCR>; |
| 1073 | reset-names = "core_reset"; |
| 1074 | |
| 1075 | status = "disabled"; |
| 1076 | }; |
| 1077 | |
Raghavendra Rao Ananta | 0295796 | 2018-08-06 15:28:34 -0700 | [diff] [blame] | 1078 | ipcc_mproc: qcom,ipcc@408000 { |
| 1079 | compatible = "qcom,kona-ipcc"; |
| 1080 | reg = <0x408000 0x1000>; |
| 1081 | interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; |
| 1082 | interrupt-controller; |
| 1083 | #interrupt-cells = <3>; |
| 1084 | #mbox-cells = <2>; |
| 1085 | }; |
Lina Iyer | ea91c72 | 2018-06-20 14:58:05 -0600 | [diff] [blame] | 1086 | |
Raghavendra Rao Ananta | 5da54b3 | 2018-08-09 10:04:50 -0700 | [diff] [blame] | 1087 | ipcc_self_ping: ipcc-self-ping { |
| 1088 | compatible = "qcom,ipcc-self-ping"; |
| 1089 | interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS |
| 1090 | IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>; |
| 1091 | mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>; |
| 1092 | }; |
| 1093 | |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 1094 | apps_rsc: rsc@18200000 { |
Lina Iyer | ea91c72 | 2018-06-20 14:58:05 -0600 | [diff] [blame] | 1095 | label = "apps_rsc"; |
| 1096 | compatible = "qcom,rpmh-rsc"; |
| 1097 | reg = <0x18200000 0x10000>, |
| 1098 | <0x18210000 0x10000>, |
| 1099 | <0x18220000 0x10000>; |
| 1100 | reg-names = "drv-0", "drv-1", "drv-2"; |
| 1101 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, |
| 1102 | <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, |
| 1103 | <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 1104 | qcom,tcs-offset = <0xd00>; |
| 1105 | qcom,drv-id = <2>; |
| 1106 | qcom,tcs-config = <ACTIVE_TCS 2>, |
| 1107 | <SLEEP_TCS 3>, |
| 1108 | <WAKE_TCS 3>, |
| 1109 | <CONTROL_TCS 1>; |
David Dai | 07c8d4e | 2018-10-09 14:22:06 -0700 | [diff] [blame] | 1110 | |
| 1111 | msm_bus_apps_rsc { |
| 1112 | compatible = "qcom,msm-bus-rsc"; |
| 1113 | qcom,msm-bus-id = <MSM_BUS_RSC_APPS>; |
| 1114 | }; |
Arjun Bagla | 76f02ef | 2018-09-19 10:00:29 -0700 | [diff] [blame] | 1115 | |
| 1116 | system_pm { |
| 1117 | compatible = "qcom,system-pm"; |
| 1118 | }; |
Lina Iyer | ea91c72 | 2018-06-20 14:58:05 -0600 | [diff] [blame] | 1119 | }; |
| 1120 | |
| 1121 | disp_rsc: rsc@af20000 { |
| 1122 | label = "disp_rsc"; |
| 1123 | compatible = "qcom,rpmh-rsc"; |
| 1124 | reg = <0xaf20000 0x10000>; |
| 1125 | reg-names = "drv-0"; |
| 1126 | interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>; |
| 1127 | qcom,tcs-offset = <0x1c00>; |
| 1128 | qcom,drv-id = <0>; |
| 1129 | qcom,tcs-config = <ACTIVE_TCS 0>, |
| 1130 | <SLEEP_TCS 1>, |
| 1131 | <WAKE_TCS 1>, |
| 1132 | <CONTROL_TCS 0>; |
| 1133 | status = "disabled"; |
| 1134 | }; |
Chris Lew | 86f6bde | 2018-09-06 16:40:39 -0700 | [diff] [blame] | 1135 | |
| 1136 | tcsr_mutex_block: syscon@1f40000 { |
| 1137 | compatible = "syscon"; |
| 1138 | reg = <0x1f40000 0x20000>; |
| 1139 | }; |
| 1140 | |
| 1141 | tcsr_mutex: hwlock { |
| 1142 | compatible = "qcom,tcsr-mutex"; |
| 1143 | syscon = <&tcsr_mutex_block 0 0x1000>; |
| 1144 | #hwlock-cells = <1>; |
| 1145 | }; |
| 1146 | |
| 1147 | smem: qcom,smem { |
| 1148 | compatible = "qcom,smem"; |
| 1149 | memory-region = <&smem_mem>; |
| 1150 | hwlocks = <&tcsr_mutex 3>; |
| 1151 | }; |
Venkata Narendra Kumar Gutta | 1781e56 | 2018-10-09 14:44:10 -0700 | [diff] [blame] | 1152 | |
| 1153 | kryo-erp { |
| 1154 | compatible = "arm,arm64-kryo-cpu-erp"; |
| 1155 | interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>, |
| 1156 | <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 1157 | interrupt-names = "l1-l2-faultirq", |
| 1158 | "l3-scu-faultirq"; |
| 1159 | }; |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1160 | |
| 1161 | qcom,glink { |
| 1162 | compatible = "qcom,glink"; |
| 1163 | #address-cells = <1>; |
| 1164 | #size-cells = <1>; |
| 1165 | ranges; |
| 1166 | |
| 1167 | glink_adsp: adsp { |
| 1168 | qcom,remote-pid = <2>; |
| 1169 | transport = "smem"; |
| 1170 | mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS |
| 1171 | IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1172 | mbox-names = "adsp_smem"; |
| 1173 | interrupt-parent = <&ipcc_mproc>; |
| 1174 | interrupts = <IPCC_CLIENT_LPASS |
| 1175 | IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1176 | IRQ_TYPE_EDGE_RISING>; |
| 1177 | |
| 1178 | label = "adsp"; |
| 1179 | qcom,glink-label = "lpass"; |
| 1180 | |
| 1181 | qcom,adsp_qrtr { |
| 1182 | qcom,glink-channels = "IPCRTR"; |
| 1183 | qcom,intents = <0x800 5 |
| 1184 | 0x2000 3 |
| 1185 | 0x4400 2>; |
| 1186 | }; |
| 1187 | |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1188 | qcom,msm_fastrpc_rpmsg { |
| 1189 | compatible = "qcom,msm-fastrpc-rpmsg"; |
| 1190 | qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 1191 | qcom,intents = <0x64 64>; |
| 1192 | }; |
| 1193 | |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1194 | qcom,adsp_glink_ssr { |
| 1195 | qcom,glink-channels = "glink_ssr"; |
| 1196 | qcom,notify-edges = <&glink_slpi>, |
| 1197 | <&glink_cdsp>; |
| 1198 | }; |
| 1199 | }; |
| 1200 | |
| 1201 | glink_slpi: dsps { |
| 1202 | qcom,remote-pid = <3>; |
| 1203 | transport = "smem"; |
| 1204 | mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI |
| 1205 | IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1206 | mbox-names = "dsps_smem"; |
| 1207 | interrupt-parent = <&ipcc_mproc>; |
| 1208 | interrupts = <IPCC_CLIENT_SLPI |
| 1209 | IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1210 | IRQ_TYPE_EDGE_RISING>; |
| 1211 | |
| 1212 | label = "slpi"; |
| 1213 | qcom,glink-label = "dsps"; |
| 1214 | |
| 1215 | qcom,slpi_qrtr { |
| 1216 | qcom,glink-channels = "IPCRTR"; |
| 1217 | qcom,intents = <0x800 5 |
| 1218 | 0x2000 3 |
| 1219 | 0x4400 2>; |
| 1220 | }; |
| 1221 | |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1222 | qcom,msm_fastrpc_rpmsg { |
| 1223 | compatible = "qcom,msm-fastrpc-rpmsg"; |
| 1224 | qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 1225 | qcom,intents = <0x64 64>; |
| 1226 | }; |
| 1227 | |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1228 | qcom,slpi_glink_ssr { |
| 1229 | qcom,glink-channels = "glink_ssr"; |
| 1230 | qcom,notify-edges = <&glink_adsp>, |
| 1231 | <&glink_cdsp>; |
| 1232 | }; |
| 1233 | }; |
| 1234 | |
| 1235 | glink_cdsp: cdsp { |
| 1236 | qcom,remote-pid = <5>; |
| 1237 | transport = "smem"; |
| 1238 | mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP |
| 1239 | IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1240 | mbox-names = "dsps_smem"; |
| 1241 | interrupt-parent = <&ipcc_mproc>; |
| 1242 | interrupts = <IPCC_CLIENT_CDSP |
| 1243 | IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1244 | IRQ_TYPE_EDGE_RISING>; |
| 1245 | |
| 1246 | label = "cdsp"; |
| 1247 | qcom,glink-label = "cdsp"; |
| 1248 | |
| 1249 | qcom,cdsp_qrtr { |
| 1250 | qcom,glink-channels = "IPCRTR"; |
| 1251 | qcom,intents = <0x800 5 |
| 1252 | 0x2000 3 |
| 1253 | 0x4400 2>; |
| 1254 | }; |
| 1255 | |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1256 | qcom,msm_fastrpc_rpmsg { |
| 1257 | compatible = "qcom,msm-fastrpc-rpmsg"; |
| 1258 | qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 1259 | qcom,intents = <0x64 64>; |
| 1260 | }; |
| 1261 | |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1262 | qcom,cdsp_glink_ssr { |
| 1263 | qcom,glink-channels = "glink_ssr"; |
| 1264 | qcom,notify-edges = <&glink_adsp>, |
| 1265 | <&glink_slpi>; |
| 1266 | }; |
| 1267 | }; |
| 1268 | }; |
Bruce Levy | 5122a63 | 2018-09-25 15:51:37 -0700 | [diff] [blame] | 1269 | |
| 1270 | qcom,lpass@17300000 { |
| 1271 | compatible = "qcom,pil-tz-generic"; |
| 1272 | reg = <0x17300000 0x00100>; |
| 1273 | |
| 1274 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 1275 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>; |
| 1276 | qcom,proxy-reg-names = "vdd_cx"; |
| 1277 | |
| 1278 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1279 | clock-names = "xo"; |
| 1280 | qcom,proxy-clock-names = "xo"; |
| 1281 | |
| 1282 | qcom,pas-id = <1>; |
| 1283 | qcom,proxy-timeout-ms = <10000>; |
| 1284 | qcom,smem-id = <423>; |
| 1285 | qcom,sysmon-id = <1>; |
| 1286 | qcom,ssctl-instance-id = <0x14>; |
| 1287 | qcom,firmware-name = "adsp"; |
| 1288 | memory-region = <&pil_adsp_mem>; |
| 1289 | qcom,complete-ramdump; |
| 1290 | |
| 1291 | /* Inputs from lpass */ |
| 1292 | interrupts-extended = <&pdc 96 IRQ_TYPE_LEVEL_HIGH>, |
| 1293 | <&adsp_smp2p_in 0 0>, |
| 1294 | <&adsp_smp2p_in 2 0>, |
| 1295 | <&adsp_smp2p_in 1 0>, |
| 1296 | <&adsp_smp2p_in 3 0>; |
| 1297 | |
| 1298 | interrupt-names = "qcom,wdog", |
| 1299 | "qcom,err-fatal", |
| 1300 | "qcom,proxy-unvote", |
| 1301 | "qcom,err-ready", |
| 1302 | "qcom,stop-ack"; |
| 1303 | |
| 1304 | /* Outputs to lpass */ |
| 1305 | qcom,smem-states = <&adsp_smp2p_out 0>; |
| 1306 | qcom,smem-state-names = "qcom,force-stop"; |
| 1307 | |
| 1308 | mbox-names = "adsp-pil"; |
| 1309 | }; |
| 1310 | |
| 1311 | qcom,turing@8300000 { |
| 1312 | compatible = "qcom,pil-tz-generic"; |
| 1313 | reg = <0x8300000 0x100000>; |
| 1314 | |
| 1315 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 1316 | qcom,proxy-reg-names = "vdd_cx"; |
| 1317 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
| 1318 | |
| 1319 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1320 | clock-names = "xo"; |
| 1321 | qcom,proxy-clock-names = "xo"; |
| 1322 | |
| 1323 | qcom,pas-id = <18>; |
| 1324 | qcom,proxy-timeout-ms = <10000>; |
| 1325 | qcom,smem-id = <601>; |
| 1326 | qcom,sysmon-id = <7>; |
| 1327 | qcom,ssctl-instance-id = <0x17>; |
| 1328 | qcom,firmware-name = "cdsp"; |
| 1329 | memory-region = <&pil_cdsp_mem>; |
| 1330 | qcom,complete-ramdump; |
| 1331 | |
| 1332 | qcom,msm-bus,name = "pil-cdsp"; |
| 1333 | qcom,msm-bus,num-cases = <2>; |
| 1334 | qcom,msm-bus,num-paths = <1>; |
| 1335 | qcom,msm-bus,vectors-KBps = |
| 1336 | <154 10070 0 0>, |
| 1337 | <154 10070 0 1>; |
| 1338 | |
| 1339 | /* Inputs from turing */ |
Bruce Levy | 821133c | 2018-11-29 11:34:45 -0800 | [diff] [blame^] | 1340 | interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>, |
Bruce Levy | 5122a63 | 2018-09-25 15:51:37 -0700 | [diff] [blame] | 1341 | <&cdsp_smp2p_in 0 0>, |
| 1342 | <&cdsp_smp2p_in 2 0>, |
| 1343 | <&cdsp_smp2p_in 1 0>, |
| 1344 | <&cdsp_smp2p_in 3 0>; |
| 1345 | |
| 1346 | interrupt-names = "qcom,wdog", |
| 1347 | "qcom,err-fatal", |
| 1348 | "qcom,proxy-unvote", |
| 1349 | "qcom,err-ready", |
| 1350 | "qcom,stop-ack"; |
| 1351 | |
| 1352 | /* Outputs to turing */ |
| 1353 | qcom,smem-states = <&cdsp_smp2p_out 0>; |
| 1354 | qcom,smem-state-names = "qcom,force-stop"; |
| 1355 | |
| 1356 | mbox-names = "cdsp-pil"; |
| 1357 | }; |
Akshay Chandrashekhar Kalghatgi | f7905ad | 2018-11-08 16:30:42 -0800 | [diff] [blame] | 1358 | |
| 1359 | qcom,venus@aab0000 { |
| 1360 | compatible = "qcom,pil-tz-generic"; |
| 1361 | reg = <0xaab0000 0x2000>; |
Chinmay Sawarkar | 2cfeca0 | 2018-11-15 17:59:36 -0800 | [diff] [blame] | 1362 | |
| 1363 | vdd-supply = <&mvs0c_gdsc>; |
| 1364 | qcom,proxy-reg-names = "vdd"; |
| 1365 | qcom,complete-ramdump; |
| 1366 | |
| 1367 | clocks = <&clock_videocc VIDEO_CC_XO_CLK>, |
| 1368 | <&clock_videocc VIDEO_CC_MVS0C_CLK>, |
| 1369 | <&clock_videocc VIDEO_CC_AHB_CLK>; |
| 1370 | clock-names = "xo", "core", "ahb"; |
| 1371 | qcom,proxy-clock-names = "xo", "core", "ahb"; |
| 1372 | |
Akshay Chandrashekhar Kalghatgi | f7905ad | 2018-11-08 16:30:42 -0800 | [diff] [blame] | 1373 | qcom,core-freq = <200000000>; |
| 1374 | qcom,ahb-freq = <200000000>; |
| 1375 | |
| 1376 | qcom,pas-id = <9>; |
| 1377 | qcom,msm-bus,name = "pil-venus"; |
| 1378 | qcom,msm-bus,num-cases = <2>; |
| 1379 | qcom,msm-bus,num-paths = <1>; |
| 1380 | qcom,msm-bus,vectors-KBps = |
| 1381 | <63 512 0 0>, |
| 1382 | <63 512 0 304000>; |
| 1383 | qcom,proxy-timeout-ms = <100>; |
| 1384 | qcom,firmware-name = "venus"; |
| 1385 | memory-region = <&pil_video_mem>; |
| 1386 | }; |
Tharun Kumar Merugu | b8d79dd | 2018-11-02 23:07:31 +0530 | [diff] [blame] | 1387 | |
| 1388 | qcom,msm-cdsp-loader { |
| 1389 | compatible = "qcom,cdsp-loader"; |
| 1390 | qcom,proc-img-to-load = "cdsp"; |
| 1391 | }; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1392 | |
| 1393 | qcom,msm-adsprpc-mem { |
| 1394 | compatible = "qcom,msm-adsprpc-mem-region"; |
| 1395 | memory-region = <&adsp_mem>; |
| 1396 | }; |
| 1397 | |
| 1398 | msm_fastrpc: qcom,msm_fastrpc { |
| 1399 | compatible = "qcom,msm-fastrpc-compute"; |
| 1400 | qcom,fastrpc-adsp-audio-pdr; |
| 1401 | qcom,rpc-latency-us = <235>; |
| 1402 | |
| 1403 | qcom,msm_fastrpc_compute_cb1 { |
| 1404 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1405 | label = "cdsprpc-smd"; |
| 1406 | iommus = <&apps_smmu 0x1001 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1407 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1408 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1409 | dma-coherent; |
| 1410 | }; |
| 1411 | |
| 1412 | qcom,msm_fastrpc_compute_cb2 { |
| 1413 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1414 | label = "cdsprpc-smd"; |
| 1415 | iommus = <&apps_smmu 0x1002 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1416 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1417 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1418 | dma-coherent; |
| 1419 | }; |
| 1420 | |
| 1421 | qcom,msm_fastrpc_compute_cb3 { |
| 1422 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1423 | label = "cdsprpc-smd"; |
| 1424 | iommus = <&apps_smmu 0x1003 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1425 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1426 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1427 | dma-coherent; |
| 1428 | }; |
| 1429 | |
| 1430 | qcom,msm_fastrpc_compute_cb4 { |
| 1431 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1432 | label = "cdsprpc-smd"; |
| 1433 | iommus = <&apps_smmu 0x1004 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1434 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1435 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1436 | dma-coherent; |
| 1437 | }; |
| 1438 | |
| 1439 | qcom,msm_fastrpc_compute_cb5 { |
| 1440 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1441 | label = "cdsprpc-smd"; |
| 1442 | iommus = <&apps_smmu 0x1005 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1443 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1444 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1445 | dma-coherent; |
| 1446 | }; |
| 1447 | |
| 1448 | qcom,msm_fastrpc_compute_cb6 { |
| 1449 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1450 | label = "cdsprpc-smd"; |
| 1451 | iommus = <&apps_smmu 0x1006 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1452 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1453 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1454 | dma-coherent; |
| 1455 | }; |
| 1456 | |
| 1457 | qcom,msm_fastrpc_compute_cb7 { |
| 1458 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1459 | label = "cdsprpc-smd"; |
| 1460 | iommus = <&apps_smmu 0x1007 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1461 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1462 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1463 | dma-coherent; |
| 1464 | }; |
| 1465 | |
| 1466 | qcom,msm_fastrpc_compute_cb8 { |
| 1467 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1468 | label = "cdsprpc-smd"; |
| 1469 | iommus = <&apps_smmu 0x1008 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1470 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1471 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1472 | dma-coherent; |
| 1473 | }; |
| 1474 | |
| 1475 | qcom,msm_fastrpc_compute_cb9 { |
| 1476 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1477 | label = "cdsprpc-smd"; |
| 1478 | qcom,secure-context-bank; |
| 1479 | iommus = <&apps_smmu 0x1009 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1480 | dma-ranges = <0x60000000 0x60000000 0x78000000>; |
| 1481 | qcom,iommu-faults = "stall-disable"; |
| 1482 | qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */ |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1483 | dma-coherent; |
| 1484 | }; |
| 1485 | |
| 1486 | qcom,msm_fastrpc_compute_cb10 { |
| 1487 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1488 | label = "adsprpc-smd"; |
| 1489 | iommus = <&apps_smmu 0x1803 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1490 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1491 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1492 | dma-coherent; |
| 1493 | }; |
| 1494 | |
| 1495 | qcom,msm_fastrpc_compute_cb11 { |
| 1496 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1497 | label = "adsprpc-smd"; |
| 1498 | iommus = <&apps_smmu 0x1804 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1499 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1500 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1501 | dma-coherent; |
| 1502 | }; |
| 1503 | |
| 1504 | qcom,msm_fastrpc_compute_cb12 { |
| 1505 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1506 | label = "adsprpc-smd"; |
| 1507 | iommus = <&apps_smmu 0x1805 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1508 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1509 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1510 | dma-coherent; |
| 1511 | }; |
| 1512 | |
| 1513 | qcom,msm_fastrpc_compute_cb13 { |
| 1514 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1515 | label = "sdsprpc-smd"; |
| 1516 | iommus = <&apps_smmu 0x0541 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1517 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1518 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1519 | dma-coherent; |
| 1520 | }; |
| 1521 | |
| 1522 | qcom,msm_fastrpc_compute_cb14 { |
| 1523 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1524 | label = "sdsprpc-smd"; |
| 1525 | iommus = <&apps_smmu 0x0542 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1526 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1527 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1528 | dma-coherent; |
| 1529 | }; |
| 1530 | |
| 1531 | qcom,msm_fastrpc_compute_cb15 { |
| 1532 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1533 | label = "sdsprpc-smd"; |
| 1534 | iommus = <&apps_smmu 0x0543 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1535 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1536 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1537 | shared-cb = <4>; |
| 1538 | dma-coherent; |
| 1539 | }; |
| 1540 | }; |
Shaikh Shadul | bfdfdda | 2018-11-14 15:36:21 +0530 | [diff] [blame] | 1541 | |
| 1542 | qcom,ssc@5c00000 { |
| 1543 | compatible = "qcom,pil-tz-generic"; |
| 1544 | reg = <0x5c00000 0x4000>; |
| 1545 | |
| 1546 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 1547 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>; |
| 1548 | vdd_mx-supply = <&VDD_MX_LEVEL>; |
| 1549 | qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>; |
| 1550 | |
| 1551 | qcom,proxy-reg-names = "vdd_cx", "vdd_mx"; |
| 1552 | qcom,keep-proxy-regs-on; |
| 1553 | |
| 1554 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1555 | clock-names = "xo"; |
| 1556 | qcom,proxy-clock-names = "xo"; |
| 1557 | |
| 1558 | qcom,pas-id = <12>; |
| 1559 | qcom,proxy-timeout-ms = <10000>; |
| 1560 | qcom,smem-id = <424>; |
| 1561 | qcom,sysmon-id = <3>; |
| 1562 | qcom,ssctl-instance-id = <0x16>; |
| 1563 | qcom,firmware-name = "slpi"; |
| 1564 | status = "ok"; |
| 1565 | memory-region = <&pil_slpi_mem>; |
| 1566 | qcom,complete-ramdump; |
| 1567 | |
| 1568 | /* Inputs from ssc */ |
| 1569 | interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>, |
| 1570 | <&dsps_smp2p_in 0 0>, |
| 1571 | <&dsps_smp2p_in 2 0>, |
| 1572 | <&dsps_smp2p_in 1 0>, |
| 1573 | <&dsps_smp2p_in 3 0>; |
| 1574 | |
| 1575 | interrupt-names = "qcom,wdog", |
| 1576 | "qcom,err-fatal", |
| 1577 | "qcom,proxy-unvote", |
| 1578 | "qcom,err-ready", |
| 1579 | "qcom,stop-ack"; |
| 1580 | |
| 1581 | /* Outputs to ssc */ |
| 1582 | qcom,smem-states = <&dsps_smp2p_out 0>; |
| 1583 | qcom,smem-state-names = "qcom,force-stop"; |
| 1584 | |
| 1585 | mbox-names = "slpi-pil"; |
| 1586 | }; |
| 1587 | |
| 1588 | ssc_sensors: qcom,msm-ssc-sensors { |
| 1589 | compatible = "qcom,msm-ssc-sensors"; |
| 1590 | status = "ok"; |
| 1591 | qcom,firmware-name = "slpi"; |
| 1592 | }; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 1593 | }; |
Swathi Sridhar | 4008eb4 | 2018-07-17 15:34:46 -0700 | [diff] [blame] | 1594 | |
David Dai | b1d6848 | 2018-10-01 19:40:35 -0700 | [diff] [blame] | 1595 | #include "kona-bus.dtsi" |
Swathi Sridhar | bbbc80b | 2018-07-13 10:02:08 -0700 | [diff] [blame] | 1596 | #include "kona-ion.dtsi" |
Tony Truong | c972c64 | 2018-09-12 10:03:51 -0700 | [diff] [blame] | 1597 | #include "kona-pcie.dtsi" |
Swathi Sridhar | 4008eb4 | 2018-07-17 15:34:46 -0700 | [diff] [blame] | 1598 | #include "msm-arm-smmu-kona.dtsi" |
Rishabh Bhatnagar | a740b0e | 2018-07-20 15:08:35 -0700 | [diff] [blame] | 1599 | #include "kona-pinctrl.dtsi" |
Chris Lew | 86f6bde | 2018-09-06 16:40:39 -0700 | [diff] [blame] | 1600 | #include "kona-smp2p.dtsi" |
Hemant Kumar | 5f58bad | 2018-08-31 14:25:23 -0700 | [diff] [blame] | 1601 | #include "kona-usb.dtsi" |
Samantha Tran | 7e309f0 | 2018-08-31 17:23:00 -0700 | [diff] [blame] | 1602 | #include "kona-sde.dtsi" |
Satya Rama Aditya Pinapala | 09600b3 | 2018-10-29 10:52:37 -0700 | [diff] [blame] | 1603 | #include "kona-sde-pll.dtsi" |
Samantha Tran | 7e309f0 | 2018-08-31 17:23:00 -0700 | [diff] [blame] | 1604 | #include "kona-sde-display.dtsi" |
Vignesh Kulothungan | d728f71 | 2018-10-26 17:49:46 -0700 | [diff] [blame] | 1605 | #include "kona-audio.dtsi" |
Arjun Bagla | 76f02ef | 2018-09-19 10:00:29 -0700 | [diff] [blame] | 1606 | #include "kona-pm.dtsi" |