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