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