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 | |
| 770 | clock_npucc: qcom,npucc { |
| 771 | compatible = "qcom,dummycc"; |
| 772 | clock-output-names = "npucc_clocks"; |
| 773 | #clock-cells = <1>; |
| 774 | #reset-cells = <1>; |
| 775 | }; |
| 776 | |
Vivek Aknurwar | 65bafd9 | 2018-11-01 17:27:53 -0700 | [diff] [blame] | 777 | clock_videocc: qcom,videocc@abf0000 { |
| 778 | compatible = "qcom,videocc-kona", "syscon"; |
| 779 | reg = <0xabf0000 0x10000>; |
| 780 | reg-names = "cc_base"; |
| 781 | vdd_mx-supply = <&VDD_MX_LEVEL>; |
| 782 | vdd_mm-supply = <&VDD_MMCX_LEVEL>; |
| 783 | clock-names = "cfg_ahb_clk"; |
| 784 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 785 | #clock-cells = <1>; |
| 786 | #reset-cells = <1>; |
| 787 | }; |
| 788 | |
Vivek Aknurwar | 86452c0 | 2018-11-05 15:20:31 -0800 | [diff] [blame] | 789 | clock_camcc: qcom,camcc@ad00000 { |
| 790 | compatible = "qcom,camcc-kona", "syscon"; |
| 791 | reg = <0xad00000 0x10000>; |
| 792 | reg-names = "cc_base"; |
| 793 | vdd_mx-supply = <&VDD_MX_LEVEL>; |
| 794 | vdd_mm-supply = <&VDD_MMCX_LEVEL>; |
| 795 | clock-names = "cfg_ahb_clk"; |
| 796 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 797 | #clock-cells = <1>; |
| 798 | #reset-cells = <1>; |
| 799 | }; |
| 800 | |
David Dai | dc93e48 | 2018-11-27 17:32:50 -0800 | [diff] [blame] | 801 | clock_dispcc: qcom,dispcc@af00000 { |
David Dai | 7e431ad | 2018-12-05 15:37:39 -0800 | [diff] [blame] | 802 | compatible = "qcom,kona-dispcc", "syscon"; |
David Dai | dc93e48 | 2018-11-27 17:32:50 -0800 | [diff] [blame] | 803 | reg = <0xaf00000 0x20000>; |
| 804 | reg-names = "cc_base"; |
| 805 | vdd_mm-supply = <&VDD_MMCX_LEVEL>; |
| 806 | clock-names = "cfg_ahb_clk"; |
| 807 | clocks = <&clock_gcc GCC_DISP_AHB_CLK>; |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 808 | #clock-cells = <1>; |
| 809 | #reset-cells = <1>; |
| 810 | }; |
| 811 | |
Vivek Aknurwar | 31c2e0f2 | 2018-11-16 17:10:12 -0800 | [diff] [blame] | 812 | clock_gpucc: qcom,gpucc@3d90000 { |
| 813 | compatible = "qcom,gpucc-kona", "syscon"; |
| 814 | reg = <0x3d90000 0x9000>; |
| 815 | reg-names = "cc_base"; |
| 816 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 817 | vdd_mx-supply = <&VDD_MX_LEVEL>; |
Deepak Katragadda | 5bbf814 | 2018-06-20 16:12:13 -0700 | [diff] [blame] | 818 | #clock-cells = <1>; |
| 819 | #reset-cells = <1>; |
| 820 | }; |
| 821 | |
| 822 | clock_cpucc: qcom,cpucc { |
| 823 | compatible = "qcom,dummycc"; |
| 824 | clock-output-names = "cpucc_clocks"; |
| 825 | #clock-cells = <1>; |
| 826 | }; |
Raghavendra Rao Ananta | 0295796 | 2018-08-06 15:28:34 -0700 | [diff] [blame] | 827 | |
David Dai | 7e431ad | 2018-12-05 15:37:39 -0800 | [diff] [blame] | 828 | clock_debugcc: qcom,cc-debug { |
| 829 | compatible = "qcom,kona-debugcc"; |
| 830 | qcom,gcc = <&clock_gcc>; |
| 831 | qcom,videocc = <&clock_videocc>; |
| 832 | qcom,dispcc = <&clock_dispcc>; |
| 833 | qcom,camcc = <&clock_camcc>; |
| 834 | qcom,gpucc = <&clock_gpucc>; |
| 835 | clock-names = "xo_clk_src"; |
David Dai | ee6a9d6 | 2019-01-10 17:14:04 -0800 | [diff] [blame^] | 836 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
David Dai | 7e431ad | 2018-12-05 15:37:39 -0800 | [diff] [blame] | 837 | #clock-cells = <1>; |
| 838 | }; |
| 839 | |
David Collins | a86302c | 2018-09-17 14:16:50 -0700 | [diff] [blame] | 840 | /* GCC GDSCs */ |
| 841 | pcie_0_gdsc: qcom,gdsc@16b004 { |
| 842 | compatible = "qcom,gdsc"; |
| 843 | reg = <0x16b004 0x4>; |
| 844 | regulator-name = "pcie_0_gdsc"; |
| 845 | }; |
| 846 | |
| 847 | pcie_1_gdsc: qcom,gdsc@18d004 { |
| 848 | compatible = "qcom,gdsc"; |
| 849 | reg = <0x18d004 0x4>; |
| 850 | regulator-name = "pcie_1_gdsc"; |
| 851 | }; |
| 852 | |
| 853 | pcie_2_gdsc: qcom,gdsc@106004 { |
| 854 | compatible = "qcom,gdsc"; |
| 855 | reg = <0x106004 0x4>; |
| 856 | regulator-name = "pcie_2_gdsc"; |
| 857 | }; |
| 858 | |
| 859 | ufs_card_gdsc: qcom,gdsc@175004 { |
| 860 | compatible = "qcom,gdsc"; |
| 861 | reg = <0x175004 0x4>; |
| 862 | regulator-name = "ufs_card_gdsc"; |
| 863 | }; |
| 864 | |
| 865 | ufs_phy_gdsc: qcom,gdsc@177004 { |
| 866 | compatible = "qcom,gdsc"; |
| 867 | reg = <0x177004 0x4>; |
| 868 | regulator-name = "ufs_phy_gdsc"; |
| 869 | }; |
| 870 | |
| 871 | usb30_prim_gdsc: qcom,gdsc@10f004 { |
| 872 | compatible = "qcom,gdsc"; |
| 873 | reg = <0x10f004 0x4>; |
| 874 | regulator-name = "usb30_prim_gdsc"; |
| 875 | }; |
| 876 | |
| 877 | usb30_sec_gdsc: qcom,gdsc@110004 { |
| 878 | compatible = "qcom,gdsc"; |
| 879 | reg = <0x110004 0x4>; |
| 880 | regulator-name = "usb30_sec_gdsc"; |
| 881 | }; |
| 882 | |
| 883 | hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 { |
| 884 | compatible = "qcom,gdsc"; |
| 885 | reg = <0x17d050 0x4>; |
| 886 | regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc"; |
| 887 | qcom,no-status-check-on-disable; |
| 888 | qcom,gds-timeout = <500>; |
| 889 | }; |
| 890 | |
| 891 | hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 { |
| 892 | compatible = "qcom,gdsc"; |
| 893 | reg = <0x17d058 0x4>; |
| 894 | regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc"; |
| 895 | qcom,no-status-check-on-disable; |
| 896 | qcom,gds-timeout = <500>; |
| 897 | }; |
| 898 | |
| 899 | hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 { |
| 900 | compatible = "qcom,gdsc"; |
| 901 | reg = <0x17d054 0x4>; |
| 902 | regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc"; |
| 903 | qcom,no-status-check-on-disable; |
| 904 | qcom,gds-timeout = <500>; |
| 905 | }; |
| 906 | |
| 907 | hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc: qcom,gdsc@17d06c { |
| 908 | compatible = "qcom,gdsc"; |
| 909 | reg = <0x17d06c 0x4>; |
| 910 | regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc"; |
| 911 | qcom,no-status-check-on-disable; |
| 912 | qcom,gds-timeout = <500>; |
| 913 | }; |
| 914 | |
| 915 | /* CAM_CC GDSCs */ |
| 916 | bps_gdsc: qcom,gdsc@ad07004 { |
| 917 | compatible = "qcom,gdsc"; |
| 918 | reg = <0xad07004 0x4>; |
| 919 | regulator-name = "bps_gdsc"; |
| 920 | clock-names = "ahb_clk"; |
| 921 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 922 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 923 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 924 | qcom,support-hw-trigger; |
| 925 | }; |
| 926 | |
| 927 | ife_0_gdsc: qcom,gdsc@ad0a004 { |
| 928 | compatible = "qcom,gdsc"; |
| 929 | reg = <0xad0a004 0x4>; |
| 930 | regulator-name = "ife_0_gdsc"; |
| 931 | clock-names = "ahb_clk"; |
| 932 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 933 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 934 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 935 | }; |
| 936 | |
| 937 | ife_1_gdsc: qcom,gdsc@ad0b004 { |
| 938 | compatible = "qcom,gdsc"; |
| 939 | reg = <0xad0b004 0x4>; |
| 940 | regulator-name = "ife_1_gdsc"; |
| 941 | clock-names = "ahb_clk"; |
| 942 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 943 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 944 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 945 | }; |
| 946 | |
| 947 | ipe_0_gdsc: qcom,gdsc@ad08004 { |
| 948 | compatible = "qcom,gdsc"; |
| 949 | reg = <0xad08004 0x4>; |
| 950 | regulator-name = "ipe_0_gdsc"; |
| 951 | clock-names = "ahb_clk"; |
| 952 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 953 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 954 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 955 | qcom,support-hw-trigger; |
| 956 | }; |
| 957 | |
| 958 | sbi_gdsc: qcom,gdsc@ad09004 { |
| 959 | compatible = "qcom,gdsc"; |
| 960 | reg = <0xad09004 0x4>; |
| 961 | regulator-name = "sbi_gdsc"; |
| 962 | clock-names = "ahb_clk"; |
| 963 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 964 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 965 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 966 | }; |
| 967 | |
| 968 | titan_top_gdsc: qcom,gdsc@ad0c144 { |
| 969 | compatible = "qcom,gdsc"; |
| 970 | reg = <0xad0c144 0x4>; |
| 971 | regulator-name = "titan_top_gdsc"; |
| 972 | clock-names = "ahb_clk"; |
| 973 | clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>; |
| 974 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 975 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 976 | }; |
| 977 | |
| 978 | /* DISP_CC GDSC */ |
| 979 | mdss_core_gdsc: qcom,gdsc@af03000 { |
| 980 | compatible = "qcom,gdsc"; |
| 981 | reg = <0xaf03000 0x4>; |
| 982 | regulator-name = "mdss_core_gdsc"; |
| 983 | clock-names = "ahb_clk"; |
| 984 | clocks = <&clock_gcc GCC_DISP_AHB_CLK>; |
| 985 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 986 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 987 | qcom,support-hw-trigger; |
| 988 | }; |
| 989 | |
| 990 | /* GPU_CC GDSCs */ |
| 991 | gpu_cx_hw_ctrl: syscon@3d91540 { |
| 992 | compatible = "syscon"; |
| 993 | reg = <0x3d91540 0x4>; |
| 994 | }; |
| 995 | |
| 996 | gpu_cx_gdsc: qcom,gdsc@3d9106c { |
| 997 | compatible = "qcom,gdsc"; |
| 998 | reg = <0x3d9106c 0x4>; |
| 999 | regulator-name = "gpu_cx_gdsc"; |
| 1000 | hw-ctrl-addr = <&gpu_cx_hw_ctrl>; |
| 1001 | parent-supply = <&VDD_CX_LEVEL>; |
| 1002 | qcom,no-status-check-on-disable; |
| 1003 | qcom,clk-dis-wait-val = <8>; |
| 1004 | qcom,gds-timeout = <500>; |
| 1005 | }; |
| 1006 | |
David Collins | d7eea14 | 2018-10-08 17:32:48 -0700 | [diff] [blame] | 1007 | gpu_gx_domain_addr: syscon@3d91508 { |
David Collins | a86302c | 2018-09-17 14:16:50 -0700 | [diff] [blame] | 1008 | compatible = "syscon"; |
| 1009 | reg = <0x3d91508 0x4>; |
| 1010 | }; |
| 1011 | |
David Collins | d7eea14 | 2018-10-08 17:32:48 -0700 | [diff] [blame] | 1012 | gpu_gx_sw_reset: syscon@3d91008 { |
David Collins | a86302c | 2018-09-17 14:16:50 -0700 | [diff] [blame] | 1013 | compatible = "syscon"; |
| 1014 | reg = <0x3d91008 0x4>; |
| 1015 | }; |
| 1016 | |
| 1017 | gpu_gx_gdsc: qcom,gdsc@3d9100c { |
| 1018 | compatible = "qcom,gdsc"; |
| 1019 | reg = <0x3d9100c 0x4>; |
| 1020 | regulator-name = "gpu_gx_gdsc"; |
| 1021 | domain-addr = <&gpu_gx_domain_addr>; |
| 1022 | sw-reset = <&gpu_gx_sw_reset>; |
| 1023 | parent-supply = <&VDD_GFX_LEVEL>; |
| 1024 | vdd_parent-supply = <&VDD_GFX_LEVEL>; |
| 1025 | qcom,reset-aon-logic; |
| 1026 | }; |
| 1027 | |
| 1028 | /* NPU GDSC */ |
| 1029 | npu_core_gdsc: qcom,gdsc@9981004 { |
| 1030 | compatible = "qcom,gdsc"; |
| 1031 | reg = <0x9981004 0x4>; |
| 1032 | regulator-name = "npu_core_gdsc"; |
| 1033 | clock-names = "ahb_clk"; |
| 1034 | clocks = <&clock_gcc GCC_NPU_CFG_AHB_CLK>; |
| 1035 | }; |
| 1036 | |
Jishnu Prakash | 793bf5b | 2018-11-09 16:28:55 +0530 | [diff] [blame] | 1037 | qcom,sps { |
| 1038 | compatible = "qcom,msm-sps-4k"; |
| 1039 | qcom,pipe-attr-ee; |
| 1040 | }; |
| 1041 | |
David Collins | a86302c | 2018-09-17 14:16:50 -0700 | [diff] [blame] | 1042 | /* VIDEO_CC GDSCs */ |
| 1043 | mvs0_gdsc: qcom,gdsc@abf0d18 { |
| 1044 | compatible = "qcom,gdsc"; |
| 1045 | reg = <0xabf0d18 0x4>; |
| 1046 | regulator-name = "mvs0_gdsc"; |
| 1047 | clock-names = "ahb_clk"; |
| 1048 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
| 1049 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 1050 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 1051 | }; |
| 1052 | |
| 1053 | mvs0c_gdsc: qcom,gdsc@abf0bf8 { |
| 1054 | compatible = "qcom,gdsc"; |
| 1055 | reg = <0xabf0bf8 0x4>; |
| 1056 | regulator-name = "mvs0c_gdsc"; |
| 1057 | clock-names = "ahb_clk"; |
| 1058 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
| 1059 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 1060 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 1061 | }; |
| 1062 | |
| 1063 | mvs1_gdsc: qcom,gdsc@abf0d98 { |
| 1064 | compatible = "qcom,gdsc"; |
| 1065 | reg = <0xabf0d98 0x4>; |
| 1066 | regulator-name = "mvs1_gdsc"; |
| 1067 | clock-names = "ahb_clk"; |
| 1068 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
| 1069 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 1070 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 1071 | }; |
| 1072 | |
| 1073 | mvs1c_gdsc: qcom,gdsc@abf0c98 { |
| 1074 | compatible = "qcom,gdsc"; |
| 1075 | reg = <0xabf0c98 0x4>; |
| 1076 | regulator-name = "mvs1c_gdsc"; |
| 1077 | clock-names = "ahb_clk"; |
| 1078 | clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>; |
| 1079 | parent-supply = <&VDD_MMCX_LEVEL>; |
| 1080 | vdd_parent-supply = <&VDD_MMCX_LEVEL>; |
| 1081 | }; |
| 1082 | |
David Collins | c2c02f6 | 2018-11-05 16:23:24 -0800 | [diff] [blame] | 1083 | spmi_bus: qcom,spmi@c440000 { |
| 1084 | compatible = "qcom,spmi-pmic-arb"; |
| 1085 | reg = <0xc440000 0x1100>, |
| 1086 | <0xc600000 0x2000000>, |
| 1087 | <0xe600000 0x100000>, |
| 1088 | <0xe700000 0xa0000>, |
| 1089 | <0xc40a000 0x26000>; |
| 1090 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 1091 | interrupt-names = "periph_irq"; |
| 1092 | interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>; |
| 1093 | qcom,ee = <0>; |
| 1094 | qcom,channel = <0>; |
| 1095 | #address-cells = <2>; |
| 1096 | #size-cells = <0>; |
| 1097 | interrupt-controller; |
| 1098 | #interrupt-cells = <4>; |
| 1099 | cell-index = <0>; |
| 1100 | }; |
| 1101 | |
Can Guo | b04bed5 | 2018-07-10 19:27:32 -0700 | [diff] [blame] | 1102 | ufsphy_mem: ufsphy_mem@1d87000 { |
| 1103 | reg = <0x1d87000 0xe00>; /* PHY regs */ |
| 1104 | reg-names = "phy_mem"; |
| 1105 | #phy-cells = <0>; |
| 1106 | |
| 1107 | lanes-per-direction = <2>; |
| 1108 | |
| 1109 | clock-names = "ref_clk_src", |
| 1110 | "ref_clk", |
| 1111 | "ref_aux_clk"; |
| 1112 | clocks = <&clock_rpmh RPMH_CXO_CLK>, |
Vivek Aknurwar | ec5c93d | 2018-08-28 14:52:33 -0700 | [diff] [blame] | 1113 | <&clock_gcc GCC_UFS_1X_CLKREF_EN>, |
Can Guo | b04bed5 | 2018-07-10 19:27:32 -0700 | [diff] [blame] | 1114 | <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>; |
| 1115 | |
| 1116 | status = "disabled"; |
| 1117 | }; |
| 1118 | |
| 1119 | ufshc_mem: ufshc@1d84000 { |
| 1120 | compatible = "qcom,ufshc"; |
| 1121 | reg = <0x1d84000 0x3000>; |
| 1122 | interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; |
| 1123 | phys = <&ufsphy_mem>; |
| 1124 | phy-names = "ufsphy"; |
| 1125 | |
| 1126 | lanes-per-direction = <2>; |
| 1127 | dev-ref-clk-freq = <0>; /* 19.2 MHz */ |
| 1128 | |
| 1129 | clock-names = |
| 1130 | "core_clk", |
| 1131 | "bus_aggr_clk", |
| 1132 | "iface_clk", |
| 1133 | "core_clk_unipro", |
| 1134 | "core_clk_ice", |
| 1135 | "ref_clk", |
| 1136 | "tx_lane0_sync_clk", |
| 1137 | "rx_lane0_sync_clk", |
| 1138 | "rx_lane1_sync_clk"; |
| 1139 | clocks = |
| 1140 | <&clock_gcc GCC_UFS_PHY_AXI_CLK>, |
| 1141 | <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, |
| 1142 | <&clock_gcc GCC_UFS_PHY_AHB_CLK>, |
| 1143 | <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, |
| 1144 | <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>, |
| 1145 | <&clock_rpmh RPMH_CXO_CLK>, |
| 1146 | <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, |
| 1147 | <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, |
| 1148 | <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; |
| 1149 | freq-table-hz = |
| 1150 | <37500000 300000000>, |
| 1151 | <0 0>, |
| 1152 | <0 0>, |
| 1153 | <37500000 300000000>, |
| 1154 | <75000000 300000000>, |
| 1155 | <0 0>, |
| 1156 | <0 0>, |
| 1157 | <0 0>, |
| 1158 | <0 0>; |
| 1159 | |
| 1160 | qcom,msm-bus,name = "ufshc_mem"; |
| 1161 | qcom,msm-bus,num-cases = <22>; |
| 1162 | qcom,msm-bus,num-paths = <2>; |
| 1163 | qcom,msm-bus,vectors-KBps = |
| 1164 | /* |
| 1165 | * During HS G3 UFS runs at nominal voltage corner, vote |
| 1166 | * higher bandwidth to push other buses in the data path |
| 1167 | * to run at nominal to achieve max throughput. |
| 1168 | * 4GBps pushes BIMC to run at nominal. |
| 1169 | * 200MBps pushes CNOC to run at nominal. |
| 1170 | * Vote for half of this bandwidth for HS G3 1-lane. |
| 1171 | * For max bandwidth, vote high enough to push the buses |
| 1172 | * to run in turbo voltage corner. |
| 1173 | */ |
| 1174 | <123 512 0 0>, <1 757 0 0>, /* No vote */ |
| 1175 | <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */ |
| 1176 | <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */ |
| 1177 | <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */ |
| 1178 | <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */ |
| 1179 | <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */ |
| 1180 | <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */ |
| 1181 | <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */ |
| 1182 | <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */ |
| 1183 | <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */ |
| 1184 | <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */ |
| 1185 | <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */ |
| 1186 | <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */ |
| 1187 | <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */ |
| 1188 | <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */ |
| 1189 | <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */ |
| 1190 | <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */ |
| 1191 | <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */ |
| 1192 | <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */ |
| 1193 | <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */ |
| 1194 | /* As UFS working in HS G3 RB L2 mode, aggregated |
| 1195 | * bandwidth (AB) should take care of providing |
| 1196 | * optimum throughput requested. However, as tested, |
| 1197 | * in order to scale up CNOC clock, instantaneous |
| 1198 | * bindwidth (IB) needs to be given a proper value too. |
| 1199 | */ |
| 1200 | <123 512 4194304 0>, <1 757 204800 409600>, /* HS G3 RB L2 */ |
| 1201 | <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */ |
| 1202 | |
| 1203 | qcom,bus-vector-names = "MIN", |
| 1204 | "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1", |
| 1205 | "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2", |
| 1206 | "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1", |
| 1207 | "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2", |
| 1208 | "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1", |
| 1209 | "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2", |
| 1210 | "MAX"; |
| 1211 | |
| 1212 | /* PM QoS */ |
| 1213 | qcom,pm-qos-cpu-groups = <0x0f 0xf0>; |
| 1214 | qcom,pm-qos-cpu-group-latency-us = <44 44>; |
| 1215 | qcom,pm-qos-default-cpu = <0>; |
| 1216 | |
| 1217 | pinctrl-names = "dev-reset-assert", "dev-reset-deassert"; |
| 1218 | pinctrl-0 = <&ufs_dev_reset_assert>; |
| 1219 | pinctrl-1 = <&ufs_dev_reset_deassert>; |
| 1220 | |
| 1221 | resets = <&clock_gcc GCC_UFS_PHY_BCR>; |
| 1222 | reset-names = "core_reset"; |
| 1223 | |
| 1224 | status = "disabled"; |
| 1225 | }; |
| 1226 | |
Raghavendra Rao Ananta | 0295796 | 2018-08-06 15:28:34 -0700 | [diff] [blame] | 1227 | ipcc_mproc: qcom,ipcc@408000 { |
| 1228 | compatible = "qcom,kona-ipcc"; |
| 1229 | reg = <0x408000 0x1000>; |
| 1230 | interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; |
| 1231 | interrupt-controller; |
| 1232 | #interrupt-cells = <3>; |
| 1233 | #mbox-cells = <2>; |
| 1234 | }; |
Lina Iyer | ea91c72 | 2018-06-20 14:58:05 -0600 | [diff] [blame] | 1235 | |
Raghavendra Rao Ananta | 5da54b3 | 2018-08-09 10:04:50 -0700 | [diff] [blame] | 1236 | ipcc_self_ping: ipcc-self-ping { |
| 1237 | compatible = "qcom,ipcc-self-ping"; |
| 1238 | interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS |
| 1239 | IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>; |
| 1240 | mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>; |
| 1241 | }; |
| 1242 | |
Maria Neptune | 5a1428b | 2018-08-29 13:25:19 -0700 | [diff] [blame] | 1243 | apps_rsc: rsc@18200000 { |
Lina Iyer | ea91c72 | 2018-06-20 14:58:05 -0600 | [diff] [blame] | 1244 | label = "apps_rsc"; |
| 1245 | compatible = "qcom,rpmh-rsc"; |
| 1246 | reg = <0x18200000 0x10000>, |
| 1247 | <0x18210000 0x10000>, |
| 1248 | <0x18220000 0x10000>; |
| 1249 | reg-names = "drv-0", "drv-1", "drv-2"; |
| 1250 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, |
| 1251 | <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, |
| 1252 | <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 1253 | qcom,tcs-offset = <0xd00>; |
| 1254 | qcom,drv-id = <2>; |
| 1255 | qcom,tcs-config = <ACTIVE_TCS 2>, |
| 1256 | <SLEEP_TCS 3>, |
| 1257 | <WAKE_TCS 3>, |
| 1258 | <CONTROL_TCS 1>; |
David Dai | 07c8d4e | 2018-10-09 14:22:06 -0700 | [diff] [blame] | 1259 | |
| 1260 | msm_bus_apps_rsc { |
| 1261 | compatible = "qcom,msm-bus-rsc"; |
| 1262 | qcom,msm-bus-id = <MSM_BUS_RSC_APPS>; |
| 1263 | }; |
Arjun Bagla | 76f02ef | 2018-09-19 10:00:29 -0700 | [diff] [blame] | 1264 | |
| 1265 | system_pm { |
| 1266 | compatible = "qcom,system-pm"; |
| 1267 | }; |
David Dai | ee6a9d6 | 2019-01-10 17:14:04 -0800 | [diff] [blame^] | 1268 | |
| 1269 | clock_rpmh: qcom,rpmhclk { |
| 1270 | compatible = "qcom,kona-rpmh-clk"; |
| 1271 | #clock-cells = <1>; |
| 1272 | }; |
Lina Iyer | ea91c72 | 2018-06-20 14:58:05 -0600 | [diff] [blame] | 1273 | }; |
| 1274 | |
| 1275 | disp_rsc: rsc@af20000 { |
| 1276 | label = "disp_rsc"; |
| 1277 | compatible = "qcom,rpmh-rsc"; |
| 1278 | reg = <0xaf20000 0x10000>; |
| 1279 | reg-names = "drv-0"; |
| 1280 | interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>; |
| 1281 | qcom,tcs-offset = <0x1c00>; |
| 1282 | qcom,drv-id = <0>; |
| 1283 | qcom,tcs-config = <ACTIVE_TCS 0>, |
| 1284 | <SLEEP_TCS 1>, |
| 1285 | <WAKE_TCS 1>, |
| 1286 | <CONTROL_TCS 0>; |
| 1287 | status = "disabled"; |
Dhaval Patel | f92536a | 2018-10-24 13:19:15 -0700 | [diff] [blame] | 1288 | |
| 1289 | sde_rsc_rpmh { |
| 1290 | compatible = "qcom,sde-rsc-rpmh"; |
| 1291 | cell-index = <0>; |
| 1292 | status = "disabled"; |
| 1293 | }; |
Lina Iyer | ea91c72 | 2018-06-20 14:58:05 -0600 | [diff] [blame] | 1294 | }; |
Chris Lew | 86f6bde | 2018-09-06 16:40:39 -0700 | [diff] [blame] | 1295 | |
| 1296 | tcsr_mutex_block: syscon@1f40000 { |
| 1297 | compatible = "syscon"; |
| 1298 | reg = <0x1f40000 0x20000>; |
| 1299 | }; |
| 1300 | |
| 1301 | tcsr_mutex: hwlock { |
| 1302 | compatible = "qcom,tcsr-mutex"; |
| 1303 | syscon = <&tcsr_mutex_block 0 0x1000>; |
| 1304 | #hwlock-cells = <1>; |
| 1305 | }; |
| 1306 | |
| 1307 | smem: qcom,smem { |
| 1308 | compatible = "qcom,smem"; |
| 1309 | memory-region = <&smem_mem>; |
| 1310 | hwlocks = <&tcsr_mutex 3>; |
| 1311 | }; |
Venkata Narendra Kumar Gutta | 1781e56 | 2018-10-09 14:44:10 -0700 | [diff] [blame] | 1312 | |
| 1313 | kryo-erp { |
| 1314 | compatible = "arm,arm64-kryo-cpu-erp"; |
| 1315 | interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>, |
| 1316 | <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; |
| 1317 | interrupt-names = "l1-l2-faultirq", |
| 1318 | "l3-scu-faultirq"; |
| 1319 | }; |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1320 | |
Chris Lew | 3b1f098 | 2018-10-05 17:28:21 -0700 | [diff] [blame] | 1321 | sp_scsr: mailbox@188501c { |
| 1322 | compatible = "qcom,kona-spcs-global"; |
| 1323 | reg = <0x188501c 0x4>; |
| 1324 | |
| 1325 | #mbox-cells = <1>; |
| 1326 | }; |
| 1327 | |
| 1328 | sp_scsr_block: syscon@1880000 { |
| 1329 | compatible = "syscon"; |
| 1330 | reg = <0x1880000 0x10000>; |
| 1331 | }; |
| 1332 | |
| 1333 | intsp: qcom,qsee_irq { |
| 1334 | compatible = "qcom,kona-qsee-irq"; |
| 1335 | |
| 1336 | syscon = <&sp_scsr_block>; |
| 1337 | interrupts = <0 348 IRQ_TYPE_LEVEL_HIGH>, |
| 1338 | <0 349 IRQ_TYPE_LEVEL_HIGH>; |
| 1339 | |
| 1340 | interrupt-names = "sp_ipc0", |
| 1341 | "sp_ipc1"; |
| 1342 | |
| 1343 | interrupt-controller; |
| 1344 | #interrupt-cells = <3>; |
| 1345 | }; |
| 1346 | |
| 1347 | qcom,qsee_irq_bridge { |
| 1348 | compatible = "qcom,qsee-ipc-irq-bridge"; |
| 1349 | |
| 1350 | qcom,qsee-ipc-irq-spss { |
| 1351 | qcom,dev-name = "qsee_ipc_irq_spss"; |
| 1352 | label = "spss"; |
| 1353 | interrupt-parent = <&intsp>; |
| 1354 | interrupts = <1 0 IRQ_TYPE_LEVEL_HIGH>; |
| 1355 | }; |
| 1356 | }; |
| 1357 | |
Ghanim Fodi | 180e5aa | 2018-11-01 19:45:45 +0200 | [diff] [blame] | 1358 | qcom,msm_gsi { |
| 1359 | compatible = "qcom,msm_gsi"; |
| 1360 | }; |
| 1361 | |
| 1362 | qcom,rmnet-ipa { |
| 1363 | compatible = "qcom,rmnet-ipa3"; |
| 1364 | qcom,rmnet-ipa-ssr; |
Ghanim Fodi | 180e5aa | 2018-11-01 19:45:45 +0200 | [diff] [blame] | 1365 | qcom,ipa-advertise-sg-support; |
| 1366 | qcom,ipa-napi-enable; |
| 1367 | }; |
| 1368 | |
| 1369 | qcom,ipa_fws { |
| 1370 | compatible = "qcom,pil-tz-generic"; |
| 1371 | qcom,pas-id = <0xf>; |
| 1372 | qcom,firmware-name = "ipa_fws"; |
| 1373 | qcom,pil-force-shutdown; |
| 1374 | memory-region = <&pil_ipa_fw_mem>; |
| 1375 | }; |
| 1376 | |
| 1377 | ipa_hw: qcom,ipa@1e00000 { |
| 1378 | compatible = "qcom,ipa"; |
| 1379 | reg = |
| 1380 | <0x1e00000 0x84000>, |
| 1381 | <0x1e04000 0x23000>; |
| 1382 | reg-names = "ipa-base", "gsi-base"; |
| 1383 | interrupts = |
| 1384 | <0 311 IRQ_TYPE_LEVEL_HIGH>, |
| 1385 | <0 432 IRQ_TYPE_LEVEL_HIGH>; |
| 1386 | interrupt-names = "ipa-irq", "gsi-irq"; |
| 1387 | qcom,ipa-hw-ver = <17>; /* IPA core version = IPAv4.5 */ |
| 1388 | qcom,ipa-hw-mode = <0>; |
Ghanim Fodi | f8dcdbf | 2018-11-04 17:58:22 +0200 | [diff] [blame] | 1389 | qcom,platform-type = <2>; /* APQ platform */ |
Ghanim Fodi | 180e5aa | 2018-11-01 19:45:45 +0200 | [diff] [blame] | 1390 | qcom,ee = <0>; |
| 1391 | qcom,use-ipa-tethering-bridge; |
| 1392 | qcom,mhi-event-ring-id-limits = <9 11>; /* start and end */ |
| 1393 | qcom,modem-cfg-emb-pipe-flt; |
| 1394 | qcom,use-ipa-pm; |
| 1395 | qcom,bandwidth-vote-for-ipa; |
| 1396 | qcom,use-64-bit-dma-mask; |
| 1397 | qcom,msm-bus,name = "ipa"; |
| 1398 | qcom,msm-bus,num-cases = <5>; |
| 1399 | qcom,msm-bus,num-paths = <4>; |
| 1400 | qcom,msm-bus,vectors-KBps = |
| 1401 | /* No vote */ |
| 1402 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 0 0>, |
| 1403 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>, |
| 1404 | <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>, |
| 1405 | <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>, |
| 1406 | |
| 1407 | /* SVS2 */ |
| 1408 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 600000>, |
| 1409 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 350000>, |
| 1410 | <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 40000 40000>, |
| 1411 | <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 125>, |
| 1412 | |
| 1413 | /* SVS */ |
| 1414 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 640000>, |
| 1415 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 640000>, |
| 1416 | <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 80000 80000>, |
| 1417 | <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 250>, |
| 1418 | |
| 1419 | /* NOMINAL */ |
| 1420 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 960000>, |
| 1421 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 960000>, |
| 1422 | <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 160000>, |
| 1423 | <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 500>, |
| 1424 | |
| 1425 | /* TURBO */ |
| 1426 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 3600000>, |
| 1427 | <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 3600000>, |
| 1428 | <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 300000>, |
| 1429 | <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 600>; |
| 1430 | |
| 1431 | qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL", |
| 1432 | "TURBO"; |
| 1433 | qcom,throughput-threshold = <310 600 1000>; |
| 1434 | qcom,scaling-exceptions = <>; |
| 1435 | }; |
| 1436 | |
| 1437 | ipa_smmu_ap: ipa_smmu_ap { |
| 1438 | compatible = "qcom,ipa-smmu-ap-cb"; |
| 1439 | iommus = <&apps_smmu 0x5C0 0x0>; |
| 1440 | qcom,iommu-dma = "bypass"; |
| 1441 | }; |
| 1442 | |
| 1443 | ipa_smmu_wlan: ipa_smmu_wlan { |
| 1444 | compatible = "qcom,ipa-smmu-wlan-cb"; |
| 1445 | iommus = <&apps_smmu 0x5C1 0x0>; |
| 1446 | qcom,iommu-dma = "bypass"; |
| 1447 | }; |
| 1448 | |
| 1449 | ipa_smmu_uc: ipa_smmu_uc { |
| 1450 | compatible = "qcom,ipa-smmu-uc-cb"; |
| 1451 | iommus = <&apps_smmu 0x5C2 0x0>; |
| 1452 | qcom,iommu-dma = "bypass"; |
| 1453 | }; |
| 1454 | |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1455 | qcom,glink { |
| 1456 | compatible = "qcom,glink"; |
| 1457 | #address-cells = <1>; |
| 1458 | #size-cells = <1>; |
| 1459 | ranges; |
| 1460 | |
Chris Lew | b2da048 | 2018-11-16 14:50:31 -0800 | [diff] [blame] | 1461 | glink_npu: npu { |
| 1462 | qcom,remote-pid = <10>; |
| 1463 | transport = "smem"; |
| 1464 | mboxes = <&ipcc_mproc IPCC_CLIENT_NPU |
| 1465 | IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1466 | mbox-names = "npu_smem"; |
| 1467 | interrupt-parent = <&ipcc_mproc>; |
| 1468 | interrupts = <IPCC_CLIENT_NPU |
| 1469 | IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1470 | IRQ_TYPE_EDGE_RISING>; |
| 1471 | |
| 1472 | label = "npu"; |
| 1473 | qcom,glink-label = "npu"; |
| 1474 | |
| 1475 | qcom,npu_qrtr { |
Chris Lew | c386112 | 2018-12-14 18:26:01 -0800 | [diff] [blame] | 1476 | qcom,net-id = <1>; |
Chris Lew | b2da048 | 2018-11-16 14:50:31 -0800 | [diff] [blame] | 1477 | qcom,glink-channels = "IPCRTR"; |
| 1478 | qcom,intents = <0x800 5 |
| 1479 | 0x2000 3 |
| 1480 | 0x4400 2>; |
| 1481 | }; |
| 1482 | |
| 1483 | qcom,npu_glink_ssr { |
| 1484 | qcom,glink-channels = "glink_ssr"; |
| 1485 | qcom,notify-edges = <&glink_cdsp>; |
| 1486 | }; |
| 1487 | }; |
| 1488 | |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1489 | glink_adsp: adsp { |
| 1490 | qcom,remote-pid = <2>; |
| 1491 | transport = "smem"; |
| 1492 | mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS |
| 1493 | IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1494 | mbox-names = "adsp_smem"; |
| 1495 | interrupt-parent = <&ipcc_mproc>; |
| 1496 | interrupts = <IPCC_CLIENT_LPASS |
| 1497 | IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1498 | IRQ_TYPE_EDGE_RISING>; |
| 1499 | |
| 1500 | label = "adsp"; |
| 1501 | qcom,glink-label = "lpass"; |
| 1502 | |
| 1503 | qcom,adsp_qrtr { |
Chris Lew | c386112 | 2018-12-14 18:26:01 -0800 | [diff] [blame] | 1504 | qcom,net-id = <2>; |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1505 | qcom,glink-channels = "IPCRTR"; |
| 1506 | qcom,intents = <0x800 5 |
| 1507 | 0x2000 3 |
| 1508 | 0x4400 2>; |
| 1509 | }; |
| 1510 | |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1511 | qcom,msm_fastrpc_rpmsg { |
| 1512 | compatible = "qcom,msm-fastrpc-rpmsg"; |
| 1513 | qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 1514 | qcom,intents = <0x64 64>; |
| 1515 | }; |
| 1516 | |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1517 | qcom,adsp_glink_ssr { |
| 1518 | qcom,glink-channels = "glink_ssr"; |
| 1519 | qcom,notify-edges = <&glink_slpi>, |
| 1520 | <&glink_cdsp>; |
| 1521 | }; |
| 1522 | }; |
| 1523 | |
| 1524 | glink_slpi: dsps { |
| 1525 | qcom,remote-pid = <3>; |
| 1526 | transport = "smem"; |
| 1527 | mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI |
| 1528 | IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1529 | mbox-names = "dsps_smem"; |
| 1530 | interrupt-parent = <&ipcc_mproc>; |
| 1531 | interrupts = <IPCC_CLIENT_SLPI |
| 1532 | IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1533 | IRQ_TYPE_EDGE_RISING>; |
| 1534 | |
| 1535 | label = "slpi"; |
| 1536 | qcom,glink-label = "dsps"; |
| 1537 | |
| 1538 | qcom,slpi_qrtr { |
Chris Lew | c386112 | 2018-12-14 18:26:01 -0800 | [diff] [blame] | 1539 | qcom,net-id = <2>; |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1540 | qcom,glink-channels = "IPCRTR"; |
| 1541 | qcom,intents = <0x800 5 |
| 1542 | 0x2000 3 |
| 1543 | 0x4400 2>; |
| 1544 | }; |
| 1545 | |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1546 | qcom,msm_fastrpc_rpmsg { |
| 1547 | compatible = "qcom,msm-fastrpc-rpmsg"; |
| 1548 | qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 1549 | qcom,intents = <0x64 64>; |
| 1550 | }; |
| 1551 | |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1552 | qcom,slpi_glink_ssr { |
| 1553 | qcom,glink-channels = "glink_ssr"; |
| 1554 | qcom,notify-edges = <&glink_adsp>, |
| 1555 | <&glink_cdsp>; |
| 1556 | }; |
| 1557 | }; |
| 1558 | |
| 1559 | glink_cdsp: cdsp { |
| 1560 | qcom,remote-pid = <5>; |
| 1561 | transport = "smem"; |
| 1562 | mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP |
| 1563 | IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1564 | mbox-names = "dsps_smem"; |
| 1565 | interrupt-parent = <&ipcc_mproc>; |
| 1566 | interrupts = <IPCC_CLIENT_CDSP |
| 1567 | IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1568 | IRQ_TYPE_EDGE_RISING>; |
| 1569 | |
| 1570 | label = "cdsp"; |
| 1571 | qcom,glink-label = "cdsp"; |
| 1572 | |
| 1573 | qcom,cdsp_qrtr { |
Chris Lew | c386112 | 2018-12-14 18:26:01 -0800 | [diff] [blame] | 1574 | qcom,net-id = <1>; |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1575 | qcom,glink-channels = "IPCRTR"; |
| 1576 | qcom,intents = <0x800 5 |
| 1577 | 0x2000 3 |
| 1578 | 0x4400 2>; |
| 1579 | }; |
| 1580 | |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1581 | qcom,msm_fastrpc_rpmsg { |
| 1582 | compatible = "qcom,msm-fastrpc-rpmsg"; |
| 1583 | qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 1584 | qcom,intents = <0x64 64>; |
| 1585 | }; |
| 1586 | |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1587 | qcom,cdsp_glink_ssr { |
| 1588 | qcom,glink-channels = "glink_ssr"; |
| 1589 | qcom,notify-edges = <&glink_adsp>, |
Chris Lew | b2da048 | 2018-11-16 14:50:31 -0800 | [diff] [blame] | 1590 | <&glink_slpi>, |
| 1591 | <&glink_npu>; |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1592 | }; |
| 1593 | }; |
Chris Lew | 3b1f098 | 2018-10-05 17:28:21 -0700 | [diff] [blame] | 1594 | |
| 1595 | glink_spss: spss { |
| 1596 | qcom,remote-pid = <8>; |
| 1597 | transport = "spss"; |
| 1598 | mboxes = <&sp_scsr 0>; |
| 1599 | mbox-names = "spss_spss"; |
| 1600 | interrupt-parent = <&intsp>; |
| 1601 | interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>; |
| 1602 | |
| 1603 | reg = <0x1885008 0x8>, |
| 1604 | <0x1885010 0x4>; |
| 1605 | reg-names = "qcom,spss-addr", |
| 1606 | "qcom,spss-size"; |
| 1607 | |
| 1608 | label = "spss"; |
| 1609 | qcom,glink-label = "spss"; |
| 1610 | }; |
Chris Lew | 3859b1b7 | 2018-09-25 16:54:52 -0700 | [diff] [blame] | 1611 | }; |
Bruce Levy | 5122a63 | 2018-09-25 15:51:37 -0700 | [diff] [blame] | 1612 | |
Chris Lew | 3cbe403 | 2018-11-30 18:57:32 -0800 | [diff] [blame] | 1613 | qmp_aop: qcom,qmp-aop@c300000 { |
| 1614 | compatible = "qcom,qmp-mbox"; |
| 1615 | mboxes = <&ipcc_mproc IPCC_CLIENT_AOP |
| 1616 | IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1617 | mbox-names = "aop_qmp"; |
| 1618 | interrupt-parent = <&ipcc_mproc>; |
| 1619 | interrupts = <IPCC_CLIENT_AOP |
| 1620 | IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1621 | IRQ_TYPE_EDGE_RISING>; |
| 1622 | reg = <0xc300000 0x1000>; |
| 1623 | reg-names = "msgram"; |
| 1624 | |
| 1625 | label = "aop"; |
| 1626 | qcom,early-boot; |
| 1627 | priority = <0>; |
| 1628 | mbox-desc-offset = <0x0>; |
| 1629 | #mbox-cells = <1>; |
| 1630 | }; |
| 1631 | |
Bruce Levy | 5122a63 | 2018-09-25 15:51:37 -0700 | [diff] [blame] | 1632 | qcom,lpass@17300000 { |
| 1633 | compatible = "qcom,pil-tz-generic"; |
| 1634 | reg = <0x17300000 0x00100>; |
| 1635 | |
| 1636 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 1637 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>; |
| 1638 | qcom,proxy-reg-names = "vdd_cx"; |
| 1639 | |
| 1640 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1641 | clock-names = "xo"; |
| 1642 | qcom,proxy-clock-names = "xo"; |
| 1643 | |
| 1644 | qcom,pas-id = <1>; |
| 1645 | qcom,proxy-timeout-ms = <10000>; |
| 1646 | qcom,smem-id = <423>; |
| 1647 | qcom,sysmon-id = <1>; |
| 1648 | qcom,ssctl-instance-id = <0x14>; |
| 1649 | qcom,firmware-name = "adsp"; |
| 1650 | memory-region = <&pil_adsp_mem>; |
| 1651 | qcom,complete-ramdump; |
| 1652 | |
| 1653 | /* Inputs from lpass */ |
| 1654 | interrupts-extended = <&pdc 96 IRQ_TYPE_LEVEL_HIGH>, |
| 1655 | <&adsp_smp2p_in 0 0>, |
| 1656 | <&adsp_smp2p_in 2 0>, |
| 1657 | <&adsp_smp2p_in 1 0>, |
| 1658 | <&adsp_smp2p_in 3 0>; |
| 1659 | |
| 1660 | interrupt-names = "qcom,wdog", |
| 1661 | "qcom,err-fatal", |
| 1662 | "qcom,proxy-unvote", |
| 1663 | "qcom,err-ready", |
| 1664 | "qcom,stop-ack"; |
| 1665 | |
| 1666 | /* Outputs to lpass */ |
| 1667 | qcom,smem-states = <&adsp_smp2p_out 0>; |
| 1668 | qcom,smem-state-names = "qcom,force-stop"; |
| 1669 | |
| 1670 | mbox-names = "adsp-pil"; |
| 1671 | }; |
| 1672 | |
| 1673 | qcom,turing@8300000 { |
| 1674 | compatible = "qcom,pil-tz-generic"; |
| 1675 | reg = <0x8300000 0x100000>; |
| 1676 | |
| 1677 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 1678 | qcom,proxy-reg-names = "vdd_cx"; |
| 1679 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
| 1680 | |
| 1681 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1682 | clock-names = "xo"; |
| 1683 | qcom,proxy-clock-names = "xo"; |
| 1684 | |
| 1685 | qcom,pas-id = <18>; |
| 1686 | qcom,proxy-timeout-ms = <10000>; |
| 1687 | qcom,smem-id = <601>; |
| 1688 | qcom,sysmon-id = <7>; |
| 1689 | qcom,ssctl-instance-id = <0x17>; |
| 1690 | qcom,firmware-name = "cdsp"; |
| 1691 | memory-region = <&pil_cdsp_mem>; |
| 1692 | qcom,complete-ramdump; |
| 1693 | |
| 1694 | qcom,msm-bus,name = "pil-cdsp"; |
| 1695 | qcom,msm-bus,num-cases = <2>; |
| 1696 | qcom,msm-bus,num-paths = <1>; |
| 1697 | qcom,msm-bus,vectors-KBps = |
| 1698 | <154 10070 0 0>, |
| 1699 | <154 10070 0 1>; |
| 1700 | |
| 1701 | /* Inputs from turing */ |
Bruce Levy | 821133c | 2018-11-29 11:34:45 -0800 | [diff] [blame] | 1702 | interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>, |
Bruce Levy | 5122a63 | 2018-09-25 15:51:37 -0700 | [diff] [blame] | 1703 | <&cdsp_smp2p_in 0 0>, |
| 1704 | <&cdsp_smp2p_in 2 0>, |
| 1705 | <&cdsp_smp2p_in 1 0>, |
| 1706 | <&cdsp_smp2p_in 3 0>; |
| 1707 | |
| 1708 | interrupt-names = "qcom,wdog", |
| 1709 | "qcom,err-fatal", |
| 1710 | "qcom,proxy-unvote", |
| 1711 | "qcom,err-ready", |
| 1712 | "qcom,stop-ack"; |
| 1713 | |
| 1714 | /* Outputs to turing */ |
| 1715 | qcom,smem-states = <&cdsp_smp2p_out 0>; |
| 1716 | qcom,smem-state-names = "qcom,force-stop"; |
| 1717 | |
| 1718 | mbox-names = "cdsp-pil"; |
| 1719 | }; |
Akshay Chandrashekhar Kalghatgi | f7905ad | 2018-11-08 16:30:42 -0800 | [diff] [blame] | 1720 | |
| 1721 | qcom,venus@aab0000 { |
| 1722 | compatible = "qcom,pil-tz-generic"; |
| 1723 | reg = <0xaab0000 0x2000>; |
Chinmay Sawarkar | 2cfeca0 | 2018-11-15 17:59:36 -0800 | [diff] [blame] | 1724 | |
| 1725 | vdd-supply = <&mvs0c_gdsc>; |
| 1726 | qcom,proxy-reg-names = "vdd"; |
| 1727 | qcom,complete-ramdump; |
| 1728 | |
| 1729 | clocks = <&clock_videocc VIDEO_CC_XO_CLK>, |
| 1730 | <&clock_videocc VIDEO_CC_MVS0C_CLK>, |
| 1731 | <&clock_videocc VIDEO_CC_AHB_CLK>; |
| 1732 | clock-names = "xo", "core", "ahb"; |
| 1733 | qcom,proxy-clock-names = "xo", "core", "ahb"; |
| 1734 | |
Akshay Chandrashekhar Kalghatgi | f7905ad | 2018-11-08 16:30:42 -0800 | [diff] [blame] | 1735 | qcom,core-freq = <200000000>; |
| 1736 | qcom,ahb-freq = <200000000>; |
| 1737 | |
| 1738 | qcom,pas-id = <9>; |
| 1739 | qcom,msm-bus,name = "pil-venus"; |
| 1740 | qcom,msm-bus,num-cases = <2>; |
| 1741 | qcom,msm-bus,num-paths = <1>; |
| 1742 | qcom,msm-bus,vectors-KBps = |
| 1743 | <63 512 0 0>, |
| 1744 | <63 512 0 304000>; |
| 1745 | qcom,proxy-timeout-ms = <100>; |
| 1746 | qcom,firmware-name = "venus"; |
| 1747 | memory-region = <&pil_video_mem>; |
| 1748 | }; |
Tharun Kumar Merugu | b8d79dd | 2018-11-02 23:07:31 +0530 | [diff] [blame] | 1749 | |
Amir Samuelov | f52db41 | 2019-01-08 09:30:58 +0200 | [diff] [blame] | 1750 | /* PIL spss node - for loading Secure Processor */ |
| 1751 | qcom,spss@1880000 { |
| 1752 | compatible = "qcom,pil-tz-generic"; |
| 1753 | reg = <0x188101c 0x4>, |
| 1754 | <0x1881024 0x4>, |
| 1755 | <0x1881028 0x4>, |
| 1756 | <0x188103c 0x4>, |
| 1757 | <0x1882014 0x4>; |
| 1758 | reg-names = "sp2soc_irq_status", "sp2soc_irq_clr", |
| 1759 | "sp2soc_irq_mask", "rmb_err", "rmb_err_spare2"; |
| 1760 | interrupts = <0 352 1>; |
| 1761 | |
| 1762 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 1763 | qcom,proxy-reg-names = "vdd_cx"; |
| 1764 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
| 1765 | vdd_mx-supply = <&VDD_MX_LEVEL>; |
| 1766 | vdd_mx-uV = <RPMH_REGULATOR_LEVEL_TURBO 100000>; |
| 1767 | |
| 1768 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 1769 | clock-names = "xo"; |
| 1770 | qcom,proxy-clock-names = "xo"; |
| 1771 | qcom,pil-generic-irq-handler; |
| 1772 | status = "ok"; |
| 1773 | |
| 1774 | qcom,complete-ramdump; |
| 1775 | |
| 1776 | qcom,pas-id = <14>; |
| 1777 | qcom,proxy-timeout-ms = <10000>; |
| 1778 | qcom,firmware-name = "spss"; |
| 1779 | memory-region = <&pil_spss_mem>; |
| 1780 | qcom,spss-scsr-bits = <24 25>; |
| 1781 | |
| 1782 | mbox-names = "spss-pil"; |
| 1783 | }; |
| 1784 | |
George Shen | 9c54c66 | 2018-12-26 15:50:11 -0800 | [diff] [blame] | 1785 | qcom,cvpss@abb0000 { |
| 1786 | compatible = "qcom,pil-tz-generic"; |
| 1787 | reg = <0xabb0000 0x2000>; |
| 1788 | status = "ok"; |
| 1789 | qcom,pas-id = <25>; |
| 1790 | qcom,firmware-name = "cvpss"; |
| 1791 | |
| 1792 | memory-region = <&pil_cvp_mem>; |
| 1793 | }; |
| 1794 | |
Jilai Wang | d20a529 | 2018-12-04 11:05:10 -0500 | [diff] [blame] | 1795 | qcom,npu@9800000 { |
| 1796 | compatible = "qcom,pil-tz-generic"; |
| 1797 | reg = <0x9800000 0x800000>; |
| 1798 | |
| 1799 | status = "ok"; |
| 1800 | qcom,pas-id = <23>; |
| 1801 | qcom,firmware-name = "npu"; |
| 1802 | memory-region = <&pil_npu_mem>; |
| 1803 | }; |
| 1804 | |
Tharun Kumar Merugu | b8d79dd | 2018-11-02 23:07:31 +0530 | [diff] [blame] | 1805 | qcom,msm-cdsp-loader { |
| 1806 | compatible = "qcom,cdsp-loader"; |
| 1807 | qcom,proc-img-to-load = "cdsp"; |
| 1808 | }; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1809 | |
| 1810 | qcom,msm-adsprpc-mem { |
| 1811 | compatible = "qcom,msm-adsprpc-mem-region"; |
| 1812 | memory-region = <&adsp_mem>; |
| 1813 | }; |
| 1814 | |
| 1815 | msm_fastrpc: qcom,msm_fastrpc { |
| 1816 | compatible = "qcom,msm-fastrpc-compute"; |
| 1817 | qcom,fastrpc-adsp-audio-pdr; |
| 1818 | qcom,rpc-latency-us = <235>; |
| 1819 | |
| 1820 | qcom,msm_fastrpc_compute_cb1 { |
| 1821 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1822 | label = "cdsprpc-smd"; |
| 1823 | iommus = <&apps_smmu 0x1001 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1824 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1825 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1826 | dma-coherent; |
| 1827 | }; |
| 1828 | |
| 1829 | qcom,msm_fastrpc_compute_cb2 { |
| 1830 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1831 | label = "cdsprpc-smd"; |
| 1832 | iommus = <&apps_smmu 0x1002 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1833 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1834 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1835 | dma-coherent; |
| 1836 | }; |
| 1837 | |
| 1838 | qcom,msm_fastrpc_compute_cb3 { |
| 1839 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1840 | label = "cdsprpc-smd"; |
| 1841 | iommus = <&apps_smmu 0x1003 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1842 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1843 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1844 | dma-coherent; |
| 1845 | }; |
| 1846 | |
| 1847 | qcom,msm_fastrpc_compute_cb4 { |
| 1848 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1849 | label = "cdsprpc-smd"; |
| 1850 | iommus = <&apps_smmu 0x1004 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1851 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1852 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1853 | dma-coherent; |
| 1854 | }; |
| 1855 | |
| 1856 | qcom,msm_fastrpc_compute_cb5 { |
| 1857 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1858 | label = "cdsprpc-smd"; |
| 1859 | iommus = <&apps_smmu 0x1005 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1860 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1861 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1862 | dma-coherent; |
| 1863 | }; |
| 1864 | |
| 1865 | qcom,msm_fastrpc_compute_cb6 { |
| 1866 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1867 | label = "cdsprpc-smd"; |
| 1868 | iommus = <&apps_smmu 0x1006 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1869 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1870 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1871 | dma-coherent; |
| 1872 | }; |
| 1873 | |
| 1874 | qcom,msm_fastrpc_compute_cb7 { |
| 1875 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1876 | label = "cdsprpc-smd"; |
| 1877 | iommus = <&apps_smmu 0x1007 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1878 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1879 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1880 | dma-coherent; |
| 1881 | }; |
| 1882 | |
| 1883 | qcom,msm_fastrpc_compute_cb8 { |
| 1884 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1885 | label = "cdsprpc-smd"; |
| 1886 | iommus = <&apps_smmu 0x1008 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1887 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1888 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1889 | dma-coherent; |
| 1890 | }; |
| 1891 | |
| 1892 | qcom,msm_fastrpc_compute_cb9 { |
| 1893 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1894 | label = "cdsprpc-smd"; |
| 1895 | qcom,secure-context-bank; |
| 1896 | iommus = <&apps_smmu 0x1009 0x0460>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1897 | dma-ranges = <0x60000000 0x60000000 0x78000000>; |
| 1898 | qcom,iommu-faults = "stall-disable"; |
| 1899 | qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */ |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1900 | dma-coherent; |
| 1901 | }; |
| 1902 | |
| 1903 | qcom,msm_fastrpc_compute_cb10 { |
| 1904 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1905 | label = "adsprpc-smd"; |
| 1906 | iommus = <&apps_smmu 0x1803 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1907 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1908 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1909 | dma-coherent; |
| 1910 | }; |
| 1911 | |
| 1912 | qcom,msm_fastrpc_compute_cb11 { |
| 1913 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1914 | label = "adsprpc-smd"; |
| 1915 | iommus = <&apps_smmu 0x1804 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1916 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1917 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1918 | dma-coherent; |
| 1919 | }; |
| 1920 | |
| 1921 | qcom,msm_fastrpc_compute_cb12 { |
| 1922 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1923 | label = "adsprpc-smd"; |
| 1924 | iommus = <&apps_smmu 0x1805 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1925 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1926 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1927 | dma-coherent; |
| 1928 | }; |
| 1929 | |
| 1930 | qcom,msm_fastrpc_compute_cb13 { |
| 1931 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1932 | label = "sdsprpc-smd"; |
| 1933 | iommus = <&apps_smmu 0x0541 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1934 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1935 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1936 | dma-coherent; |
| 1937 | }; |
| 1938 | |
| 1939 | qcom,msm_fastrpc_compute_cb14 { |
| 1940 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1941 | label = "sdsprpc-smd"; |
| 1942 | iommus = <&apps_smmu 0x0542 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1943 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1944 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1945 | dma-coherent; |
| 1946 | }; |
| 1947 | |
| 1948 | qcom,msm_fastrpc_compute_cb15 { |
| 1949 | compatible = "qcom,msm-fastrpc-compute-cb"; |
| 1950 | label = "sdsprpc-smd"; |
| 1951 | iommus = <&apps_smmu 0x0543 0x0>; |
Tharun Kumar Merugu | af4c92f | 2018-11-16 05:12:16 +0530 | [diff] [blame] | 1952 | dma-ranges = <0x80000000 0x80000000 0x78000000>; |
| 1953 | qcom,iommu-faults = "stall-disable"; |
Tharun Kumar Merugu | 027438b | 2018-11-09 03:24:57 +0530 | [diff] [blame] | 1954 | shared-cb = <4>; |
| 1955 | dma-coherent; |
| 1956 | }; |
| 1957 | }; |
Shaikh Shadul | bfdfdda | 2018-11-14 15:36:21 +0530 | [diff] [blame] | 1958 | |
Tingwei Zhang | d9b535f | 2018-12-03 19:14:06 -0800 | [diff] [blame] | 1959 | mem_dump { |
| 1960 | compatible = "qcom,mem-dump"; |
| 1961 | memory-region = <&dump_mem>; |
| 1962 | |
| 1963 | rpmh { |
| 1964 | qcom,dump-size = <0x2000000>; |
| 1965 | qcom,dump-id = <0xec>; |
| 1966 | }; |
| 1967 | |
| 1968 | rpm_sw { |
| 1969 | qcom,dump-size = <0x28000>; |
| 1970 | qcom,dump-id = <0xea>; |
| 1971 | }; |
| 1972 | |
| 1973 | pmic { |
| 1974 | qcom,dump-size = <0x80000>; |
| 1975 | qcom,dump-id = <0xe4>; |
| 1976 | }; |
| 1977 | |
| 1978 | fcm { |
| 1979 | qcom,dump-size = <0x8400>; |
| 1980 | qcom,dump-id = <0xee>; |
| 1981 | }; |
| 1982 | |
| 1983 | etf_swao { |
| 1984 | qcom,dump-size = <0x10000>; |
| 1985 | qcom,dump-id = <0xf1>; |
| 1986 | }; |
| 1987 | |
| 1988 | etr_reg { |
| 1989 | qcom,dump-size = <0x1000>; |
| 1990 | qcom,dump-id = <0x100>; |
| 1991 | }; |
| 1992 | |
| 1993 | etfswao_reg { |
| 1994 | qcom,dump-size = <0x1000>; |
| 1995 | qcom,dump-id = <0x102>; |
| 1996 | }; |
| 1997 | |
| 1998 | misc_data { |
| 1999 | qcom,dump-size = <0x1000>; |
| 2000 | qcom,dump-id = <0xe8>; |
| 2001 | }; |
| 2002 | }; |
| 2003 | |
Shaikh Shadul | bfdfdda | 2018-11-14 15:36:21 +0530 | [diff] [blame] | 2004 | qcom,ssc@5c00000 { |
| 2005 | compatible = "qcom,pil-tz-generic"; |
| 2006 | reg = <0x5c00000 0x4000>; |
| 2007 | |
| 2008 | vdd_cx-supply = <&VDD_CX_LEVEL>; |
| 2009 | qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>; |
| 2010 | vdd_mx-supply = <&VDD_MX_LEVEL>; |
| 2011 | qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>; |
| 2012 | |
| 2013 | qcom,proxy-reg-names = "vdd_cx", "vdd_mx"; |
| 2014 | qcom,keep-proxy-regs-on; |
| 2015 | |
| 2016 | clocks = <&clock_rpmh RPMH_CXO_CLK>; |
| 2017 | clock-names = "xo"; |
| 2018 | qcom,proxy-clock-names = "xo"; |
| 2019 | |
| 2020 | qcom,pas-id = <12>; |
| 2021 | qcom,proxy-timeout-ms = <10000>; |
| 2022 | qcom,smem-id = <424>; |
| 2023 | qcom,sysmon-id = <3>; |
| 2024 | qcom,ssctl-instance-id = <0x16>; |
| 2025 | qcom,firmware-name = "slpi"; |
| 2026 | status = "ok"; |
| 2027 | memory-region = <&pil_slpi_mem>; |
| 2028 | qcom,complete-ramdump; |
| 2029 | |
| 2030 | /* Inputs from ssc */ |
| 2031 | interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>, |
| 2032 | <&dsps_smp2p_in 0 0>, |
| 2033 | <&dsps_smp2p_in 2 0>, |
| 2034 | <&dsps_smp2p_in 1 0>, |
| 2035 | <&dsps_smp2p_in 3 0>; |
| 2036 | |
| 2037 | interrupt-names = "qcom,wdog", |
| 2038 | "qcom,err-fatal", |
| 2039 | "qcom,proxy-unvote", |
| 2040 | "qcom,err-ready", |
| 2041 | "qcom,stop-ack"; |
| 2042 | |
| 2043 | /* Outputs to ssc */ |
| 2044 | qcom,smem-states = <&dsps_smp2p_out 0>; |
| 2045 | qcom,smem-state-names = "qcom,force-stop"; |
| 2046 | |
| 2047 | mbox-names = "slpi-pil"; |
| 2048 | }; |
| 2049 | |
| 2050 | ssc_sensors: qcom,msm-ssc-sensors { |
| 2051 | compatible = "qcom,msm-ssc-sensors"; |
| 2052 | status = "ok"; |
| 2053 | qcom,firmware-name = "slpi"; |
| 2054 | }; |
Siddartha Mohanadoss | 42c8d78 | 2018-12-21 14:20:33 -0800 | [diff] [blame] | 2055 | |
| 2056 | tsens0: tsens@c222000 { |
| 2057 | compatible = "qcom,tsens24xx"; |
| 2058 | reg = <0xc222000 0x4>, |
| 2059 | <0xc263000 0x1ff>; |
| 2060 | reg-names = "tsens_srot_physical", |
| 2061 | "tsens_tm_physical"; |
Siddartha Mohanadoss | 404a89a | 2019-01-04 15:29:48 -0800 | [diff] [blame] | 2062 | interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>, |
| 2063 | <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>; |
Siddartha Mohanadoss | 42c8d78 | 2018-12-21 14:20:33 -0800 | [diff] [blame] | 2064 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 2065 | #thermal-sensor-cells = <1>; |
| 2066 | }; |
| 2067 | |
| 2068 | tsens1: tsens@c223000 { |
| 2069 | compatible = "qcom,tsens24xx"; |
| 2070 | reg = <0xc223000 0x4>, |
| 2071 | <0xc265000 0x1ff>; |
| 2072 | reg-names = "tsens_srot_physical", |
| 2073 | "tsens_tm_physical"; |
Siddartha Mohanadoss | 404a89a | 2019-01-04 15:29:48 -0800 | [diff] [blame] | 2074 | interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>, |
| 2075 | <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>; |
Siddartha Mohanadoss | 42c8d78 | 2018-12-21 14:20:33 -0800 | [diff] [blame] | 2076 | interrupt-names = "tsens-upper-lower", "tsens-critical"; |
| 2077 | #thermal-sensor-cells = <1>; |
| 2078 | }; |
Runmin Wang | 4f5985b | 2017-04-19 15:55:12 -0700 | [diff] [blame] | 2079 | }; |
Swathi Sridhar | 4008eb4 | 2018-07-17 15:34:46 -0700 | [diff] [blame] | 2080 | |
David Dai | b1d6848 | 2018-10-01 19:40:35 -0700 | [diff] [blame] | 2081 | #include "kona-bus.dtsi" |
Swathi Sridhar | bbbc80b | 2018-07-13 10:02:08 -0700 | [diff] [blame] | 2082 | #include "kona-ion.dtsi" |
Tony Truong | c972c64 | 2018-09-12 10:03:51 -0700 | [diff] [blame] | 2083 | #include "kona-pcie.dtsi" |
Sujeev Dias | 5399e55 | 2018-09-18 17:57:54 -0700 | [diff] [blame] | 2084 | #include "kona-mhi.dtsi" |
Swathi Sridhar | 4008eb4 | 2018-07-17 15:34:46 -0700 | [diff] [blame] | 2085 | #include "msm-arm-smmu-kona.dtsi" |
Rishabh Bhatnagar | a740b0e | 2018-07-20 15:08:35 -0700 | [diff] [blame] | 2086 | #include "kona-pinctrl.dtsi" |
Chris Lew | 86f6bde | 2018-09-06 16:40:39 -0700 | [diff] [blame] | 2087 | #include "kona-smp2p.dtsi" |
Hemant Kumar | 5f58bad | 2018-08-31 14:25:23 -0700 | [diff] [blame] | 2088 | #include "kona-usb.dtsi" |
Tingwei Zhang | 564fa69 | 2018-11-28 00:31:17 -0800 | [diff] [blame] | 2089 | #include "kona-coresight.dtsi" |
Samantha Tran | 7e309f0 | 2018-08-31 17:23:00 -0700 | [diff] [blame] | 2090 | #include "kona-sde.dtsi" |
Satya Rama Aditya Pinapala | 09600b3 | 2018-10-29 10:52:37 -0700 | [diff] [blame] | 2091 | #include "kona-sde-pll.dtsi" |
Samantha Tran | 7e309f0 | 2018-08-31 17:23:00 -0700 | [diff] [blame] | 2092 | #include "kona-sde-display.dtsi" |
Vignesh Kulothungan | d728f71 | 2018-10-26 17:49:46 -0700 | [diff] [blame] | 2093 | #include "kona-audio.dtsi" |
Mukund Atre | d454ec9 | 2018-11-05 15:32:16 -0800 | [diff] [blame] | 2094 | |
Arjun Bagla | 76f02ef | 2018-09-19 10:00:29 -0700 | [diff] [blame] | 2095 | #include "kona-pm.dtsi" |
Mukund Atre | d454ec9 | 2018-11-05 15:32:16 -0800 | [diff] [blame] | 2096 | |
| 2097 | #include "kona-camera.dtsi" |
Vipin Deep Kaur | 9a2c13d | 2018-12-19 18:38:46 +0530 | [diff] [blame] | 2098 | #include "kona-qupv3.dtsi" |
Siddartha Mohanadoss | 42c8d78 | 2018-12-21 14:20:33 -0800 | [diff] [blame] | 2099 | #include "kona-thermal.dtsi" |
Chinmay Sawarkar | 83d01b4 | 2018-12-14 12:34:50 -0800 | [diff] [blame] | 2100 | #include "kona-vidc.dtsi" |
George Shen | 9c54c66 | 2018-12-26 15:50:11 -0800 | [diff] [blame] | 2101 | #include "kona-cvp.dtsi" |