blob: 1698a6f6e16276c51e730efb1b030bfaf562e313 [file] [log] [blame]
Rishabh Bhatnagare9a05bb2018-12-10 11:09:45 -08001// SPDX-License-Identifier: GPL-2.0-only
Runmin Wang4f5985b2017-04-19 15:55:12 -07002/*
3 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
4 */
5
6#include "skeleton64.dtsi"
Deepak Katragadda5bbf8142018-06-20 16:12:13 -07007
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 Wang4f5985b2017-04-19 15:55:12 -070017#include <dt-bindings/interrupt-controller/arm-gic.h>
David Daib1d68482018-10-01 19:40:35 -070018#include <dt-bindings/msm/msm-bus-ids.h>
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -070019#include <dt-bindings/soc/qcom,ipcc.h>
Lina Iyerea91c722018-06-20 14:58:05 -060020#include <dt-bindings/soc/qcom,rpmh-rsc.h>
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -070021#include <dt-bindings/gpio/gpio.h>
Deepak Katragadda5bbf8142018-06-20 16:12:13 -070022
David Collins54e45302018-06-29 18:46:53 -070023#include "kona-regulators.dtsi"
24
Runmin Wang4f5985b2017-04-19 15:55:12 -070025/ {
26 model = "Qualcomm Technologies, Inc. kona";
27 compatible = "qcom,kona";
28 qcom,msm-id = <356 0x10000>;
29 interrupt-parent = <&intc>;
30
Can Guob04bed52018-07-10 19:27:32 -070031 aliases {
32 ufshc1 = &ufshc_mem; /* Embedded UFS slot */
Tony Truongc972c642018-09-12 10:03:51 -070033 pci-domain2 = &pcie2; /* PCIe2 domain */
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +053034 serial0 = &qupv3_se2_2uart; /* RUMI */
Can Guob04bed52018-07-10 19:27:32 -070035 };
36
Runmin Wang4f5985b2017-04-19 15:55:12 -070037 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 Kadabida4367b2018-09-20 15:07:04 -070045 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070046 cache-size = <0x8000>;
47 cpu-release-addr = <0x0 0x90000000>;
48 next-level-cache = <&L2_0>;
David Daia4635e62018-10-11 13:39:44 -070049 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080050 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080051 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070052 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 Kadabida4367b2018-09-20 15:07:04 -070070 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070071 cache-size = <0x8000>;
72 cpu-release-addr = <0x0 0x90000000>;
73 next-level-cache = <&L2_1>;
David Daia4635e62018-10-11 13:39:44 -070074 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080075 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080076 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070077 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 Kadabida4367b2018-09-20 15:07:04 -070089 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -070090 cache-size = <0x8000>;
91 cpu-release-addr = <0x0 0x90000000>;
92 next-level-cache = <&L2_2>;
David Daia4635e62018-10-11 13:39:44 -070093 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -080094 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -080095 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -070096 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 Kadabida4367b2018-09-20 15:07:04 -0700108 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700109 cache-size = <0x8000>;
110 cpu-release-addr = <0x0 0x90000000>;
111 next-level-cache = <&L2_3>;
David Daia4635e62018-10-11 13:39:44 -0700112 qcom,freq-domain = <&cpufreq_hw 0 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800113 capacity-dmips-mhz = <1024>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800114 dynamic-power-coefficient = <100>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700115 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 Kadabida4367b2018-09-20 15:07:04 -0700127 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700128 cache-size = <0x10000>;
129 cpu-release-addr = <0x0 0x90000000>;
130 next-level-cache = <&L2_4>;
David Daia4635e62018-10-11 13:39:44 -0700131 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800132 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800133 dynamic-power-coefficient = <374>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700134 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 Kadabida4367b2018-09-20 15:07:04 -0700146 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700147 cache-size = <0x10000>;
148 cpu-release-addr = <0x0 0x90000000>;
149 next-level-cache = <&L2_5>;
David Daia4635e62018-10-11 13:39:44 -0700150 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800151 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800152 dynamic-power-coefficient = <374>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700153 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 Kadabida4367b2018-09-20 15:07:04 -0700165 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700166 cache-size = <0x10000>;
167 cpu-release-addr = <0x0 0x90000000>;
168 next-level-cache = <&L2_6>;
David Daia4635e62018-10-11 13:39:44 -0700169 qcom,freq-domain = <&cpufreq_hw 1 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800170 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800171 dynamic-power-coefficient = <374>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700172 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 Kadabida4367b2018-09-20 15:07:04 -0700184 enable-method = "psci";
Runmin Wang4f5985b2017-04-19 15:55:12 -0700185 cache-size = <0x10000>;
186 cpu-release-addr = <0x0 0x90000000>;
187 next-level-cache = <&L2_7>;
David Daia4635e62018-10-11 13:39:44 -0700188 qcom,freq-domain = <&cpufreq_hw 2 4>;
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800189 capacity-dmips-mhz = <1894>;
Satya Durga Srinivasu Prabhala50812f72018-12-13 12:50:08 -0800190 dynamic-power-coefficient = <431>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700191 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 Prabhala86db38d2018-11-06 13:21:20 -0800230 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700231
Satya Durga Srinivasu Prabhala86db38d2018-11-06 13:21:20 -0800232 cluster2 {
233 core0 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700234 cpu = <&CPU7>;
235 };
236 };
237 };
238 };
239
David Daia4635e62018-10-11 13:39:44 -0700240
Channagoud Kadabicdd72a02018-09-21 14:46:21 -0700241 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 Daia4635e62018-10-11 13:39:44 -0700247 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
255 clocks = <&clock_xo>, <&clock_gcc GPLL0>;
256 clock-names = "xo", "cpu_clk";
257
258 #freq-domain-cells = <2>;
259 };
260 };
261
Arjun Bagla76f02ef2018-09-19 10:00:29 -0700262 psci {
263 compatible = "arm,psci-1.0";
264 method = "smc";
265 };
266
Bruce Levy3bd8d1b2018-09-11 11:31:13 -0700267 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 Kadabida4367b2018-09-20 15:07:04 -0700284 psci {
285 compatible = "arm,psci-1.0";
286 method = "smc";
287 };
288
Swathi Sridhara79a9542018-06-21 11:40:44 -0700289 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 Sridhar072b0ad2018-10-16 22:52:57 -0700301 reg = <0x0 0x80700000 0x0 0x120000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700302 };
303
Lina Iyer5d609fa2018-10-03 14:26:55 -0600304 cmd_db: reserved-memory@80820000 {
305 reg = <0x0 0x80820000 0x0 0x20000>;
306 compatible = "qcom,cmd-db";
307 no-map;
308 };
309
Swathi Sridhara79a9542018-06-21 11:40:44 -0700310 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 Sridhar2f971562018-10-02 15:43:09 -0700326 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700327 no-map;
328 reg = <0x0 0x86000000 0x0 0x500000>;
329 };
330
331 pil_wlan_fw_mem: pil_wlan_fw_region@86500000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700332 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700333 no-map;
334 reg = <0x0 0x86500000 0x0 0x100000>;
335 };
336
337 pil_ipa_fw_mem: pil_ipa_fw_region@86600000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700338 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700339 no-map;
340 reg = <0x0 0x86600000 0x0 0x10000>;
341 };
342
343 pil_ipa_gsi_mem: pil_ipa_gsi_region@86610000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700344 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700345 no-map;
346 reg = <0x0 0x86610000 0x0 0x5000>;
347 };
348
349 pil_gpu_mem: pil_gpu_region@86615000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700350 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700351 no-map;
352 reg = <0x0 0x86615000 0x0 0x2000>;
353 };
354
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700355 pil_npu_mem: pil_npu_region@86700000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700356 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700357 no-map;
358 reg = <0x0 0x86700000 0x0 0x500000>;
359 };
360
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700361 pil_video_mem: pil_video_region@86c00000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700362 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700363 no-map;
364 reg = <0x0 0x86c00000 0x0 0x500000>;
365 };
366
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700367 pil_cvp_mem: pil_cvp_region@87100000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700368 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700369 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700370 reg = <0x0 0x87100000 0x0 0x500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700371 };
372
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700373 pil_cdsp_mem: pil_cdsp_region@87600000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700374 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700375 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700376 reg = <0x0 0x87600000 0x0 0x800000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700377 };
378
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700379 pil_slpi_mem: pil_slpi_region@87e00000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700380 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700381 no-map;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700382 reg = <0x0 0x87e00000 0x0 0x1500000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700383 };
384
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700385 pil_adsp_mem: pil_adsp_region@89300000 {
Swathi Sridhar2f971562018-10-02 15:43:09 -0700386 compatible = "removed-dma-pool";
Swathi Sridhara79a9542018-06-21 11:40:44 -0700387 no-map;
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800388 reg = <0x0 0x89300000 0x0 0x1a00000>;
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700389 };
390
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800391 pil_spss_mem: pil_spss_region@8ad00000 {
Swathi Sridhar072b0ad2018-10-16 22:52:57 -0700392 compatible = "removed-dma-pool";
393 no-map;
Swathi Sridhar19db3ed2018-11-29 11:01:42 -0800394 reg = <0x0 0x8ad00000 0x0 0x100000>;
Swathi Sridhara79a9542018-06-21 11:40:44 -0700395 };
396
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +0530397 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
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800405 dump_mem: mem_dump_region {
406 compatible = "shared-dma-pool";
407 reusable;
408 size = <0 0x2400000>;
409 };
410
Swathi Sridhara79a9542018-06-21 11:40:44 -0700411 /* global autoconfigured region for contiguous allocations */
412 linux,cma {
413 compatible = "shared-dma-pool";
414 alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
415 reusable;
416 alignment = <0x0 0x400000>;
417 size = <0x0 0x2000000>;
418 linux,cma-default;
419 };
420 };
Runmin Wang4f5985b2017-04-19 15:55:12 -0700421};
422
423&soc {
424 #address-cells = <1>;
425 #size-cells = <1>;
426 ranges = <0 0 0 0xffffffff>;
427 compatible = "simple-bus";
428
David Collins692dff72018-11-12 17:09:49 -0800429 thermal_zones: thermal-zones {
430 };
431
Runmin Wang4f5985b2017-04-19 15:55:12 -0700432 intc: interrupt-controller@17a00000 {
433 compatible = "arm,gic-v3";
434 #interrupt-cells = <3>;
435 interrupt-controller;
436 #redistributor-regions = <1>;
437 redistributor-stride = <0x0 0x20000>;
438 reg = <0x17a00000 0x10000>, /* GICD */
439 <0x17a60000 0x100000>; /* GICR * 8 */
440 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
441 };
442
Rishabh Bhatnagarfd73eb12018-09-04 15:00:46 -0700443 qcom,chd_silver {
444 compatible = "qcom,core-hang-detect";
445 label = "silver";
446 qcom,threshold-arr = <0x18000058 0x18010058
447 0x18020058 0x18030058>;
448 qcom,config-arr = <0x18000060 0x18010060
449 0x18020060 0x18030060>;
450 };
451
452 qcom,chd_gold {
453 compatible = "qcom,core-hang-detect";
454 label = "gold";
455 qcom,threshold-arr = <0x18040058 0x18050058
456 0x18060058 0x18070058>;
457 qcom,config-arr = <0x18040060 0x18050060
458 0x18060060 0x18070060>;
459 };
460
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700461 cache-controller@9200000 {
462 compatible = "qcom,kona-llcc";
463 reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>;
464 reg-names = "llcc_base", "llcc_broadcast_base";
Channagoud Kadabia13ed0a2018-09-26 16:10:35 -0700465 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar8f0dd4b2018-08-07 11:07:40 -0700466 };
467
Maria Neptune5a1428b2018-08-29 13:25:19 -0700468 arch_timer: timer {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700469 compatible = "arm,armv8-timer";
470 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
471 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
472 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
473 <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
474 clock-frequency = <19200000>;
475 };
476
Maria Neptune5a1428b2018-08-29 13:25:19 -0700477 memtimer: timer@17c20000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700478 #address-cells = <1>;
479 #size-cells = <1>;
480 ranges;
481 compatible = "arm,armv7-timer-mem";
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700482 reg = <0x17c20000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700483 clock-frequency = <19200000>;
484
Maria Neptune5a1428b2018-08-29 13:25:19 -0700485 frame@17c21000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700486 frame-number = <0>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700487 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
Runmin Wang4f5985b2017-04-19 15:55:12 -0700488 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700489 reg = <0x17c21000 0x1000>,
490 <0x17c22000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700491 };
492
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700493 frame@17c23000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700494 frame-number = <1>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700495 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
496 reg = <0x17c23000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700497 status = "disabled";
498 };
499
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700500 frame@17c25000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700501 frame-number = <2>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700502 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
503 reg = <0x17c25000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700504 status = "disabled";
505 };
506
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700507 frame@17c27000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700508 frame-number = <3>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700509 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
510 reg = <0x17c27000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700511 status = "disabled";
512 };
513
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700514 frame@17c29000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700515 frame-number = <4>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700516 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
517 reg = <0x17c29000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700518 status = "disabled";
519 };
520
Maria Neptune5a1428b2018-08-29 13:25:19 -0700521 frame@17c2b000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700522 frame-number = <5>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700523 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
524 reg = <0x17c2b000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700525 status = "disabled";
526 };
527
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700528 frame@17c2d000 {
Runmin Wang4f5985b2017-04-19 15:55:12 -0700529 frame-number = <6>;
Rishabh Bhatnagar5c1c1762018-05-29 17:04:46 -0700530 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
531 reg = <0x17c2d000 0x1000>;
Runmin Wang4f5985b2017-04-19 15:55:12 -0700532 status = "disabled";
533 };
534 };
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700535
Tingwei Zhang020594a2018-11-27 21:58:09 -0800536 jtag_mm0: jtagmm@7040000 {
537 compatible = "qcom,jtagv8-mm";
538 reg = <0x7040000 0x1000>;
539 reg-names = "etm-base";
540
541 clocks = <&clock_aop QDSS_CLK>;
542 clock-names = "core_clk";
543
544 qcom,coresight-jtagmm-cpu = <&CPU0>;
545 };
546
547 jtag_mm1: jtagmm@7140000 {
548 compatible = "qcom,jtagv8-mm";
549 reg = <0x7140000 0x1000>;
550 reg-names = "etm-base";
551
552 clocks = <&clock_aop QDSS_CLK>;
553 clock-names = "core_clk";
554
555 qcom,coresight-jtagmm-cpu = <&CPU1>;
556 };
557
558 jtag_mm2: jtagmm@7240000 {
559 compatible = "qcom,jtagv8-mm";
560 reg = <0x7240000 0x1000>;
561 reg-names = "etm-base";
562
563 clocks = <&clock_aop QDSS_CLK>;
564 clock-names = "core_clk";
565
566 qcom,coresight-jtagmm-cpu = <&CPU2>;
567 };
568
569 jtag_mm3: jtagmm@7340000 {
570 compatible = "qcom,jtagv8-mm";
571 reg = <0x7340000 0x1000>;
572 reg-names = "etm-base";
573
574 clocks = <&clock_aop QDSS_CLK>;
575 clock-names = "core_clk";
576
577 qcom,coresight-jtagmm-cpu = <&CPU3>;
578 };
579
580 jtag_mm4: jtagmm@7440000 {
581 compatible = "qcom,jtagv8-mm";
582 reg = <0x7440000 0x1000>;
583 reg-names = "etm-base";
584
585 clocks = <&clock_aop QDSS_CLK>;
586 clock-names = "core_clk";
587
588 qcom,coresight-jtagmm-cpu = <&CPU4>;
589 };
590
591 jtag_mm5: jtagmm@7540000 {
592 compatible = "qcom,jtagv8-mm";
593 reg = <0x7540000 0x1000>;
594 reg-names = "etm-base";
595
596 clocks = <&clock_aop QDSS_CLK>;
597 clock-names = "core_clk";
598
599 qcom,coresight-jtagmm-cpu = <&CPU5>;
600 };
601
602 jtag_mm6: jtagmm@7640000 {
603 compatible = "qcom,jtagv8-mm";
604 reg = <0x7640000 0x1000>;
605 reg-names = "etm-base";
606
607 clocks = <&clock_aop QDSS_CLK>;
608 clock-names = "core_clk";
609
610 qcom,coresight-jtagmm-cpu = <&CPU6>;
611 };
612
613 jtag_mm7: jtagmm@7740000 {
614 compatible = "qcom,jtagv8-mm";
615 reg = <0x7740000 0x1000>;
616 reg-names = "etm-base";
617
618 clocks = <&clock_aop QDSS_CLK>;
619 clock-names = "core_clk";
620
621 qcom,coresight-jtagmm-cpu = <&CPU7>;
622 };
623
David Dai3c427802018-10-17 14:40:08 -0700624 qcom,devfreq-l3 {
625 compatible = "qcom,devfreq-fw";
626 reg = <0x18590000 0x4>, <0x18590100 0xa0>, <0x18590320 0x4>;
627 reg-names = "en-base", "ftbl-base", "perf-base";
628
629 qcom,cpu0-l3 {
630 compatible = "qcom,devfreq-fw-voter";
631 };
632
633 qcom,cpu4-l3 {
634 compatible = "qcom,devfreq-fw-voter";
635 };
636 };
637
Rishabh Bhatnagarf35ba022018-09-18 15:17:22 -0700638 qcom,msm-imem@146bf000 {
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700639 compatible = "qcom,msm-imem";
640 reg = <0x146bf000 0x1000>;
641 ranges = <0x0 0x146bf000 0x1000>;
642 #address-cells = <1>;
643 #size-cells = <1>;
644
Tingwei Zhangd9b535f2018-12-03 19:14:06 -0800645 mem_dump_table@10 {
646 compatible = "qcom,msm-imem-mem_dump_table";
647 reg = <0x10 0x8>;
648 };
649
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700650 restart_reason@65c {
651 compatible = "qcom,msm-imem-restart_reason";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700652 reg = <0x65c 0x4>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700653 };
654
655 dload_type@1c {
656 compatible = "qcom,msm-imem-dload-type";
657 reg = <0x1c 0x4>;
658 };
659
660 boot_stats@6b0 {
661 compatible = "qcom,msm-imem-boot_stats";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700662 reg = <0x6b0 0x20>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700663 };
664
665 kaslr_offset@6d0 {
666 compatible = "qcom,msm-imem-kaslr_offset";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700667 reg = <0x6d0 0xc>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700668 };
669
670 pil@94c {
671 compatible = "qcom,msm-imem-pil";
Maria Neptune5a1428b2018-08-29 13:25:19 -0700672 reg = <0x94c 0xc8>;
Rishabh Bhatnagar2b6a59c2018-09-06 11:06:16 -0700673 };
674 };
675
Rishabh Bhatnagar811170f2018-11-09 13:44:32 -0800676 restart@c264000 {
677 compatible = "qcom,pshold";
678 reg = <0xc264000 0x4>,
679 <0x1fd3000 0x4>;
680 reg-names = "pshold-base", "tcsr-boot-misc-detect";
681 };
682
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -0700683 mdm0: qcom,mdm0 {
Rishabh Bhatnagar134ede82018-10-16 10:54:12 -0700684 compatible = "qcom,ext-sdx55m";
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -0700685 cell-index = <0>;
686 #address-cells = <0>;
687 interrupt-parent = <&mdm0>;
688 #interrupt-cells = <1>;
689 interrupt-map-mask = <0xffffffff>;
690 interrupt-names =
691 "err_fatal_irq",
692 "status_irq",
693 "mdm2ap_vddmin_irq";
694 /* modem attributes */
695 qcom,ramdump-delay-ms = <3000>;
696 qcom,ramdump-timeout-ms = <120000>;
697 qcom,vddmin-modes = "normal";
698 qcom,vddmin-drive-strength = <8>;
699 qcom,sfr-query;
700 qcom,sysmon-id = <20>;
701 qcom,ssctl-instance-id = <0x10>;
702 qcom,support-shutdown;
703 qcom,pil-force-shutdown;
704 qcom,esoc-skip-restart-for-mdm-crash;
705 pinctrl-names = "default", "mdm_active", "mdm_suspend";
706 pinctrl-0 = <&ap2mdm_pon_reset_default>;
707 pinctrl-1 = <&ap2mdm_active &mdm2ap_active>;
708 pinctrl-2 = <&ap2mdm_sleep &mdm2ap_sleep>;
709 interrupt-map = <0 &tlmm 1 0x3
710 1 &tlmm 3 0x3>;
711 qcom,mdm2ap-errfatal-gpio = <&tlmm 1 0x00>;
712 qcom,ap2mdm-errfatal-gpio = <&tlmm 57 0x00>;
713 qcom,mdm2ap-status-gpio = <&tlmm 3 0x00>;
714 qcom,ap2mdm-status-gpio = <&tlmm 56 0x00>;
Rishabh Bhatnagar2b66dc12018-10-18 10:36:27 -0700715 qcom,ap2mdm-soft-reset-gpio = <&tlmm 145 GPIO_ACTIVE_LOW>;
Rishabh Bhatnagar19ddb35e2018-09-18 15:53:03 -0700716 qcom,mdm-link-info = "0306_02.01.00";
717 status = "ok";
718 };
719
Lina Iyer8551c792018-06-21 16:06:53 -0600720 pdc: interrupt-controller@b220000 {
721 compatible = "qcom,kona-pdc";
722 reg = <0xb220000 0x30000>;
723 qcom,pdc-ranges = <0 480 29>, <42 522 52>, <94 609 30>;
724 #interrupt-cells = <2>;
725 interrupt-parent = <&intc>;
726 interrupt-controller;
727 };
728
David Collinsa6d833b2018-09-25 14:44:32 -0700729 clock_xo: bi_tcxo {
730 compatible = "fixed-clock";
731 #clock-cells = <0>;
732 clock-frequency = <19200000>;
733 clock-output-names = "bi_tcxo";
734 };
735
Vivek Aknurwar65bafd92018-11-01 17:27:53 -0700736 clocks {
737 sleep_clk: sleep-clk {
738 compatible = "fixed-clock";
739 clock-frequency = <32000>;
740 clock-output-names = "chip_sleep_clk";
741 #clock-cells = <1>;
742 };
743 };
744
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700745 clock_rpmh: qcom,rpmhclk {
746 compatible = "qcom,dummycc";
747 clock-output-names = "rpmh_clocks";
748 #clock-cells = <1>;
749 };
750
751 clock_aop: qcom,aopclk {
752 compatible = "qcom,dummycc";
753 clock-output-names = "qdss_clocks";
754 #clock-cells = <1>;
755 };
756
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -0700757 clock_gcc: qcom,gcc@100000 {
David Dai7e431ad2018-12-05 15:37:39 -0800758 compatible = "qcom,gcc-kona", "syscon";
Vivek Aknurwar7e9ecb92018-09-07 14:27:58 -0700759 reg = <0x100000 0x1f0000>;
760 reg-names = "cc_base";
761 vdd_cx-supply = <&VDD_CX_LEVEL>;
762 vdd_cx_ao-supply = <&VDD_CX_LEVEL_AO>;
763 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700764 #clock-cells = <1>;
765 #reset-cells = <1>;
766 };
767
768 clock_npucc: qcom,npucc {
769 compatible = "qcom,dummycc";
770 clock-output-names = "npucc_clocks";
771 #clock-cells = <1>;
772 #reset-cells = <1>;
773 };
774
Vivek Aknurwar65bafd92018-11-01 17:27:53 -0700775 clock_videocc: qcom,videocc@abf0000 {
776 compatible = "qcom,videocc-kona", "syscon";
777 reg = <0xabf0000 0x10000>;
778 reg-names = "cc_base";
779 vdd_mx-supply = <&VDD_MX_LEVEL>;
780 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
781 clock-names = "cfg_ahb_clk";
782 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700783 #clock-cells = <1>;
784 #reset-cells = <1>;
785 };
786
Vivek Aknurwar86452c02018-11-05 15:20:31 -0800787 clock_camcc: qcom,camcc@ad00000 {
788 compatible = "qcom,camcc-kona", "syscon";
789 reg = <0xad00000 0x10000>;
790 reg-names = "cc_base";
791 vdd_mx-supply = <&VDD_MX_LEVEL>;
792 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
793 clock-names = "cfg_ahb_clk";
794 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700795 #clock-cells = <1>;
796 #reset-cells = <1>;
797 };
798
David Daidc93e482018-11-27 17:32:50 -0800799 clock_dispcc: qcom,dispcc@af00000 {
David Dai7e431ad2018-12-05 15:37:39 -0800800 compatible = "qcom,kona-dispcc", "syscon";
David Daidc93e482018-11-27 17:32:50 -0800801 reg = <0xaf00000 0x20000>;
802 reg-names = "cc_base";
803 vdd_mm-supply = <&VDD_MMCX_LEVEL>;
804 clock-names = "cfg_ahb_clk";
805 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700806 #clock-cells = <1>;
807 #reset-cells = <1>;
808 };
809
Vivek Aknurwar31c2e0f22018-11-16 17:10:12 -0800810 clock_gpucc: qcom,gpucc@3d90000 {
811 compatible = "qcom,gpucc-kona", "syscon";
812 reg = <0x3d90000 0x9000>;
813 reg-names = "cc_base";
814 vdd_cx-supply = <&VDD_CX_LEVEL>;
815 vdd_mx-supply = <&VDD_MX_LEVEL>;
Deepak Katragadda5bbf8142018-06-20 16:12:13 -0700816 #clock-cells = <1>;
817 #reset-cells = <1>;
818 };
819
820 clock_cpucc: qcom,cpucc {
821 compatible = "qcom,dummycc";
822 clock-output-names = "cpucc_clocks";
823 #clock-cells = <1>;
824 };
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -0700825
David Dai7e431ad2018-12-05 15:37:39 -0800826 clock_debugcc: qcom,cc-debug {
827 compatible = "qcom,kona-debugcc";
828 qcom,gcc = <&clock_gcc>;
829 qcom,videocc = <&clock_videocc>;
830 qcom,dispcc = <&clock_dispcc>;
831 qcom,camcc = <&clock_camcc>;
832 qcom,gpucc = <&clock_gpucc>;
833 clock-names = "xo_clk_src";
834 clocks = <&clock_xo>;
835 #clock-cells = <1>;
836 };
837
David Collinsa86302c2018-09-17 14:16:50 -0700838 /* GCC GDSCs */
839 pcie_0_gdsc: qcom,gdsc@16b004 {
840 compatible = "qcom,gdsc";
841 reg = <0x16b004 0x4>;
842 regulator-name = "pcie_0_gdsc";
843 };
844
845 pcie_1_gdsc: qcom,gdsc@18d004 {
846 compatible = "qcom,gdsc";
847 reg = <0x18d004 0x4>;
848 regulator-name = "pcie_1_gdsc";
849 };
850
851 pcie_2_gdsc: qcom,gdsc@106004 {
852 compatible = "qcom,gdsc";
853 reg = <0x106004 0x4>;
854 regulator-name = "pcie_2_gdsc";
855 };
856
857 ufs_card_gdsc: qcom,gdsc@175004 {
858 compatible = "qcom,gdsc";
859 reg = <0x175004 0x4>;
860 regulator-name = "ufs_card_gdsc";
861 };
862
863 ufs_phy_gdsc: qcom,gdsc@177004 {
864 compatible = "qcom,gdsc";
865 reg = <0x177004 0x4>;
866 regulator-name = "ufs_phy_gdsc";
867 };
868
869 usb30_prim_gdsc: qcom,gdsc@10f004 {
870 compatible = "qcom,gdsc";
871 reg = <0x10f004 0x4>;
872 regulator-name = "usb30_prim_gdsc";
873 };
874
875 usb30_sec_gdsc: qcom,gdsc@110004 {
876 compatible = "qcom,gdsc";
877 reg = <0x110004 0x4>;
878 regulator-name = "usb30_sec_gdsc";
879 };
880
881 hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc: qcom,gdsc@17d050 {
882 compatible = "qcom,gdsc";
883 reg = <0x17d050 0x4>;
884 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf0_gdsc";
885 qcom,no-status-check-on-disable;
886 qcom,gds-timeout = <500>;
887 };
888
889 hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc: qcom,gdsc@17d058 {
890 compatible = "qcom,gdsc";
891 reg = <0x17d058 0x4>;
892 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_hf1_gdsc";
893 qcom,no-status-check-on-disable;
894 qcom,gds-timeout = <500>;
895 };
896
897 hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc: qcom,gdsc@17d054 {
898 compatible = "qcom,gdsc";
899 reg = <0x17d054 0x4>;
900 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf0_gdsc";
901 qcom,no-status-check-on-disable;
902 qcom,gds-timeout = <500>;
903 };
904
905 hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc: qcom,gdsc@17d06c {
906 compatible = "qcom,gdsc";
907 reg = <0x17d06c 0x4>;
908 regulator-name = "hlos1_vote_mmnoc_mmu_tbu_sf1_gdsc";
909 qcom,no-status-check-on-disable;
910 qcom,gds-timeout = <500>;
911 };
912
913 /* CAM_CC GDSCs */
914 bps_gdsc: qcom,gdsc@ad07004 {
915 compatible = "qcom,gdsc";
916 reg = <0xad07004 0x4>;
917 regulator-name = "bps_gdsc";
918 clock-names = "ahb_clk";
919 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
920 parent-supply = <&VDD_MMCX_LEVEL>;
921 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
922 qcom,support-hw-trigger;
923 };
924
925 ife_0_gdsc: qcom,gdsc@ad0a004 {
926 compatible = "qcom,gdsc";
927 reg = <0xad0a004 0x4>;
928 regulator-name = "ife_0_gdsc";
929 clock-names = "ahb_clk";
930 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
931 parent-supply = <&VDD_MMCX_LEVEL>;
932 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
933 };
934
935 ife_1_gdsc: qcom,gdsc@ad0b004 {
936 compatible = "qcom,gdsc";
937 reg = <0xad0b004 0x4>;
938 regulator-name = "ife_1_gdsc";
939 clock-names = "ahb_clk";
940 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
941 parent-supply = <&VDD_MMCX_LEVEL>;
942 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
943 };
944
945 ipe_0_gdsc: qcom,gdsc@ad08004 {
946 compatible = "qcom,gdsc";
947 reg = <0xad08004 0x4>;
948 regulator-name = "ipe_0_gdsc";
949 clock-names = "ahb_clk";
950 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
951 parent-supply = <&VDD_MMCX_LEVEL>;
952 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
953 qcom,support-hw-trigger;
954 };
955
956 sbi_gdsc: qcom,gdsc@ad09004 {
957 compatible = "qcom,gdsc";
958 reg = <0xad09004 0x4>;
959 regulator-name = "sbi_gdsc";
960 clock-names = "ahb_clk";
961 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
962 parent-supply = <&VDD_MMCX_LEVEL>;
963 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
964 };
965
966 titan_top_gdsc: qcom,gdsc@ad0c144 {
967 compatible = "qcom,gdsc";
968 reg = <0xad0c144 0x4>;
969 regulator-name = "titan_top_gdsc";
970 clock-names = "ahb_clk";
971 clocks = <&clock_gcc GCC_CAMERA_AHB_CLK>;
972 parent-supply = <&VDD_MMCX_LEVEL>;
973 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
974 };
975
976 /* DISP_CC GDSC */
977 mdss_core_gdsc: qcom,gdsc@af03000 {
978 compatible = "qcom,gdsc";
979 reg = <0xaf03000 0x4>;
980 regulator-name = "mdss_core_gdsc";
981 clock-names = "ahb_clk";
982 clocks = <&clock_gcc GCC_DISP_AHB_CLK>;
983 parent-supply = <&VDD_MMCX_LEVEL>;
984 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
985 qcom,support-hw-trigger;
986 };
987
988 /* GPU_CC GDSCs */
989 gpu_cx_hw_ctrl: syscon@3d91540 {
990 compatible = "syscon";
991 reg = <0x3d91540 0x4>;
992 };
993
994 gpu_cx_gdsc: qcom,gdsc@3d9106c {
995 compatible = "qcom,gdsc";
996 reg = <0x3d9106c 0x4>;
997 regulator-name = "gpu_cx_gdsc";
998 hw-ctrl-addr = <&gpu_cx_hw_ctrl>;
999 parent-supply = <&VDD_CX_LEVEL>;
1000 qcom,no-status-check-on-disable;
1001 qcom,clk-dis-wait-val = <8>;
1002 qcom,gds-timeout = <500>;
1003 };
1004
David Collinsd7eea142018-10-08 17:32:48 -07001005 gpu_gx_domain_addr: syscon@3d91508 {
David Collinsa86302c2018-09-17 14:16:50 -07001006 compatible = "syscon";
1007 reg = <0x3d91508 0x4>;
1008 };
1009
David Collinsd7eea142018-10-08 17:32:48 -07001010 gpu_gx_sw_reset: syscon@3d91008 {
David Collinsa86302c2018-09-17 14:16:50 -07001011 compatible = "syscon";
1012 reg = <0x3d91008 0x4>;
1013 };
1014
1015 gpu_gx_gdsc: qcom,gdsc@3d9100c {
1016 compatible = "qcom,gdsc";
1017 reg = <0x3d9100c 0x4>;
1018 regulator-name = "gpu_gx_gdsc";
1019 domain-addr = <&gpu_gx_domain_addr>;
1020 sw-reset = <&gpu_gx_sw_reset>;
1021 parent-supply = <&VDD_GFX_LEVEL>;
1022 vdd_parent-supply = <&VDD_GFX_LEVEL>;
1023 qcom,reset-aon-logic;
1024 };
1025
1026 /* NPU GDSC */
1027 npu_core_gdsc: qcom,gdsc@9981004 {
1028 compatible = "qcom,gdsc";
1029 reg = <0x9981004 0x4>;
1030 regulator-name = "npu_core_gdsc";
1031 clock-names = "ahb_clk";
1032 clocks = <&clock_gcc GCC_NPU_CFG_AHB_CLK>;
1033 };
1034
Jishnu Prakash793bf5b2018-11-09 16:28:55 +05301035 qcom,sps {
1036 compatible = "qcom,msm-sps-4k";
1037 qcom,pipe-attr-ee;
1038 };
1039
David Collinsa86302c2018-09-17 14:16:50 -07001040 /* VIDEO_CC GDSCs */
1041 mvs0_gdsc: qcom,gdsc@abf0d18 {
1042 compatible = "qcom,gdsc";
1043 reg = <0xabf0d18 0x4>;
1044 regulator-name = "mvs0_gdsc";
1045 clock-names = "ahb_clk";
1046 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1047 parent-supply = <&VDD_MMCX_LEVEL>;
1048 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1049 };
1050
1051 mvs0c_gdsc: qcom,gdsc@abf0bf8 {
1052 compatible = "qcom,gdsc";
1053 reg = <0xabf0bf8 0x4>;
1054 regulator-name = "mvs0c_gdsc";
1055 clock-names = "ahb_clk";
1056 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1057 parent-supply = <&VDD_MMCX_LEVEL>;
1058 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1059 };
1060
1061 mvs1_gdsc: qcom,gdsc@abf0d98 {
1062 compatible = "qcom,gdsc";
1063 reg = <0xabf0d98 0x4>;
1064 regulator-name = "mvs1_gdsc";
1065 clock-names = "ahb_clk";
1066 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1067 parent-supply = <&VDD_MMCX_LEVEL>;
1068 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1069 };
1070
1071 mvs1c_gdsc: qcom,gdsc@abf0c98 {
1072 compatible = "qcom,gdsc";
1073 reg = <0xabf0c98 0x4>;
1074 regulator-name = "mvs1c_gdsc";
1075 clock-names = "ahb_clk";
1076 clocks = <&clock_gcc GCC_VIDEO_AHB_CLK>;
1077 parent-supply = <&VDD_MMCX_LEVEL>;
1078 vdd_parent-supply = <&VDD_MMCX_LEVEL>;
1079 };
1080
David Collinsc2c02f62018-11-05 16:23:24 -08001081 spmi_bus: qcom,spmi@c440000 {
1082 compatible = "qcom,spmi-pmic-arb";
1083 reg = <0xc440000 0x1100>,
1084 <0xc600000 0x2000000>,
1085 <0xe600000 0x100000>,
1086 <0xe700000 0xa0000>,
1087 <0xc40a000 0x26000>;
1088 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1089 interrupt-names = "periph_irq";
1090 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1091 qcom,ee = <0>;
1092 qcom,channel = <0>;
1093 #address-cells = <2>;
1094 #size-cells = <0>;
1095 interrupt-controller;
1096 #interrupt-cells = <4>;
1097 cell-index = <0>;
1098 };
1099
Can Guob04bed52018-07-10 19:27:32 -07001100 ufsphy_mem: ufsphy_mem@1d87000 {
1101 reg = <0x1d87000 0xe00>; /* PHY regs */
1102 reg-names = "phy_mem";
1103 #phy-cells = <0>;
1104
1105 lanes-per-direction = <2>;
1106
1107 clock-names = "ref_clk_src",
1108 "ref_clk",
1109 "ref_aux_clk";
1110 clocks = <&clock_rpmh RPMH_CXO_CLK>,
Vivek Aknurwarec5c93d2018-08-28 14:52:33 -07001111 <&clock_gcc GCC_UFS_1X_CLKREF_EN>,
Can Guob04bed52018-07-10 19:27:32 -07001112 <&clock_gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1113
1114 status = "disabled";
1115 };
1116
1117 ufshc_mem: ufshc@1d84000 {
1118 compatible = "qcom,ufshc";
1119 reg = <0x1d84000 0x3000>;
1120 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1121 phys = <&ufsphy_mem>;
1122 phy-names = "ufsphy";
1123
1124 lanes-per-direction = <2>;
1125 dev-ref-clk-freq = <0>; /* 19.2 MHz */
1126
1127 clock-names =
1128 "core_clk",
1129 "bus_aggr_clk",
1130 "iface_clk",
1131 "core_clk_unipro",
1132 "core_clk_ice",
1133 "ref_clk",
1134 "tx_lane0_sync_clk",
1135 "rx_lane0_sync_clk",
1136 "rx_lane1_sync_clk";
1137 clocks =
1138 <&clock_gcc GCC_UFS_PHY_AXI_CLK>,
1139 <&clock_gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1140 <&clock_gcc GCC_UFS_PHY_AHB_CLK>,
1141 <&clock_gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1142 <&clock_gcc GCC_UFS_PHY_ICE_CORE_CLK>,
1143 <&clock_rpmh RPMH_CXO_CLK>,
1144 <&clock_gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1145 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1146 <&clock_gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1147 freq-table-hz =
1148 <37500000 300000000>,
1149 <0 0>,
1150 <0 0>,
1151 <37500000 300000000>,
1152 <75000000 300000000>,
1153 <0 0>,
1154 <0 0>,
1155 <0 0>,
1156 <0 0>;
1157
1158 qcom,msm-bus,name = "ufshc_mem";
1159 qcom,msm-bus,num-cases = <22>;
1160 qcom,msm-bus,num-paths = <2>;
1161 qcom,msm-bus,vectors-KBps =
1162 /*
1163 * During HS G3 UFS runs at nominal voltage corner, vote
1164 * higher bandwidth to push other buses in the data path
1165 * to run at nominal to achieve max throughput.
1166 * 4GBps pushes BIMC to run at nominal.
1167 * 200MBps pushes CNOC to run at nominal.
1168 * Vote for half of this bandwidth for HS G3 1-lane.
1169 * For max bandwidth, vote high enough to push the buses
1170 * to run in turbo voltage corner.
1171 */
1172 <123 512 0 0>, <1 757 0 0>, /* No vote */
1173 <123 512 922 0>, <1 757 1000 0>, /* PWM G1 */
1174 <123 512 1844 0>, <1 757 1000 0>, /* PWM G2 */
1175 <123 512 3688 0>, <1 757 1000 0>, /* PWM G3 */
1176 <123 512 7376 0>, <1 757 1000 0>, /* PWM G4 */
1177 <123 512 1844 0>, <1 757 1000 0>, /* PWM G1 L2 */
1178 <123 512 3688 0>, <1 757 1000 0>, /* PWM G2 L2 */
1179 <123 512 7376 0>, <1 757 1000 0>, /* PWM G3 L2 */
1180 <123 512 14752 0>, <1 757 1000 0>, /* PWM G4 L2 */
1181 <123 512 127796 0>, <1 757 1000 0>, /* HS G1 RA */
1182 <123 512 255591 0>, <1 757 1000 0>, /* HS G2 RA */
1183 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RA */
1184 <123 512 255591 0>, <1 757 1000 0>, /* HS G1 RA L2 */
1185 <123 512 511181 0>, <1 757 1000 0>, /* HS G2 RA L2 */
1186 <123 512 4194304 0>, <1 757 204800 0>, /* HS G3 RA L2 */
1187 <123 512 149422 0>, <1 757 1000 0>, /* HS G1 RB */
1188 <123 512 298189 0>, <1 757 1000 0>, /* HS G2 RB */
1189 <123 512 2097152 0>, <1 757 102400 0>, /* HS G3 RB */
1190 <123 512 298189 0>, <1 757 1000 0>, /* HS G1 RB L2 */
1191 <123 512 596378 0>, <1 757 1000 0>, /* HS G2 RB L2 */
1192 /* As UFS working in HS G3 RB L2 mode, aggregated
1193 * bandwidth (AB) should take care of providing
1194 * optimum throughput requested. However, as tested,
1195 * in order to scale up CNOC clock, instantaneous
1196 * bindwidth (IB) needs to be given a proper value too.
1197 */
1198 <123 512 4194304 0>, <1 757 204800 409600>, /* HS G3 RB L2 */
1199 <123 512 7643136 0>, <1 757 307200 0>; /* Max. bandwidth */
1200
1201 qcom,bus-vector-names = "MIN",
1202 "PWM_G1_L1", "PWM_G2_L1", "PWM_G3_L1", "PWM_G4_L1",
1203 "PWM_G1_L2", "PWM_G2_L2", "PWM_G3_L2", "PWM_G4_L2",
1204 "HS_RA_G1_L1", "HS_RA_G2_L1", "HS_RA_G3_L1",
1205 "HS_RA_G1_L2", "HS_RA_G2_L2", "HS_RA_G3_L2",
1206 "HS_RB_G1_L1", "HS_RB_G2_L1", "HS_RB_G3_L1",
1207 "HS_RB_G1_L2", "HS_RB_G2_L2", "HS_RB_G3_L2",
1208 "MAX";
1209
1210 /* PM QoS */
1211 qcom,pm-qos-cpu-groups = <0x0f 0xf0>;
1212 qcom,pm-qos-cpu-group-latency-us = <44 44>;
1213 qcom,pm-qos-default-cpu = <0>;
1214
1215 pinctrl-names = "dev-reset-assert", "dev-reset-deassert";
1216 pinctrl-0 = <&ufs_dev_reset_assert>;
1217 pinctrl-1 = <&ufs_dev_reset_deassert>;
1218
1219 resets = <&clock_gcc GCC_UFS_PHY_BCR>;
1220 reset-names = "core_reset";
1221
1222 status = "disabled";
1223 };
1224
Raghavendra Rao Ananta02957962018-08-06 15:28:34 -07001225 ipcc_mproc: qcom,ipcc@408000 {
1226 compatible = "qcom,kona-ipcc";
1227 reg = <0x408000 0x1000>;
1228 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
1229 interrupt-controller;
1230 #interrupt-cells = <3>;
1231 #mbox-cells = <2>;
1232 };
Lina Iyerea91c722018-06-20 14:58:05 -06001233
Raghavendra Rao Ananta5da54b32018-08-09 10:04:50 -07001234 ipcc_self_ping: ipcc-self-ping {
1235 compatible = "qcom,ipcc-self-ping";
1236 interrupts-extended = <&ipcc_mproc IPCC_CLIENT_APSS
1237 IPCC_MPROC_SIGNAL_SMP2P IRQ_TYPE_LEVEL_HIGH>;
1238 mboxes = <&ipcc_mproc IPCC_CLIENT_APSS IPCC_MPROC_SIGNAL_SMP2P>;
1239 };
1240
Maria Neptune5a1428b2018-08-29 13:25:19 -07001241 apps_rsc: rsc@18200000 {
Lina Iyerea91c722018-06-20 14:58:05 -06001242 label = "apps_rsc";
1243 compatible = "qcom,rpmh-rsc";
1244 reg = <0x18200000 0x10000>,
1245 <0x18210000 0x10000>,
1246 <0x18220000 0x10000>;
1247 reg-names = "drv-0", "drv-1", "drv-2";
1248 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
1249 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
1250 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
1251 qcom,tcs-offset = <0xd00>;
1252 qcom,drv-id = <2>;
1253 qcom,tcs-config = <ACTIVE_TCS 2>,
1254 <SLEEP_TCS 3>,
1255 <WAKE_TCS 3>,
1256 <CONTROL_TCS 1>;
David Dai07c8d4e2018-10-09 14:22:06 -07001257
1258 msm_bus_apps_rsc {
1259 compatible = "qcom,msm-bus-rsc";
1260 qcom,msm-bus-id = <MSM_BUS_RSC_APPS>;
1261 };
Arjun Bagla76f02ef2018-09-19 10:00:29 -07001262
1263 system_pm {
1264 compatible = "qcom,system-pm";
1265 };
Lina Iyerea91c722018-06-20 14:58:05 -06001266 };
1267
1268 disp_rsc: rsc@af20000 {
1269 label = "disp_rsc";
1270 compatible = "qcom,rpmh-rsc";
1271 reg = <0xaf20000 0x10000>;
1272 reg-names = "drv-0";
1273 interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
1274 qcom,tcs-offset = <0x1c00>;
1275 qcom,drv-id = <0>;
1276 qcom,tcs-config = <ACTIVE_TCS 0>,
1277 <SLEEP_TCS 1>,
1278 <WAKE_TCS 1>,
1279 <CONTROL_TCS 0>;
1280 status = "disabled";
Dhaval Patelf92536a2018-10-24 13:19:15 -07001281
1282 sde_rsc_rpmh {
1283 compatible = "qcom,sde-rsc-rpmh";
1284 cell-index = <0>;
1285 status = "disabled";
1286 };
Lina Iyerea91c722018-06-20 14:58:05 -06001287 };
Chris Lew86f6bde2018-09-06 16:40:39 -07001288
1289 tcsr_mutex_block: syscon@1f40000 {
1290 compatible = "syscon";
1291 reg = <0x1f40000 0x20000>;
1292 };
1293
1294 tcsr_mutex: hwlock {
1295 compatible = "qcom,tcsr-mutex";
1296 syscon = <&tcsr_mutex_block 0 0x1000>;
1297 #hwlock-cells = <1>;
1298 };
1299
1300 smem: qcom,smem {
1301 compatible = "qcom,smem";
1302 memory-region = <&smem_mem>;
1303 hwlocks = <&tcsr_mutex 3>;
1304 };
Venkata Narendra Kumar Gutta1781e562018-10-09 14:44:10 -07001305
1306 kryo-erp {
1307 compatible = "arm,arm64-kryo-cpu-erp";
1308 interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>,
1309 <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
1310 interrupt-names = "l1-l2-faultirq",
1311 "l3-scu-faultirq";
1312 };
Chris Lew3859b1b72018-09-25 16:54:52 -07001313
Chris Lew3b1f0982018-10-05 17:28:21 -07001314 sp_scsr: mailbox@188501c {
1315 compatible = "qcom,kona-spcs-global";
1316 reg = <0x188501c 0x4>;
1317
1318 #mbox-cells = <1>;
1319 };
1320
1321 sp_scsr_block: syscon@1880000 {
1322 compatible = "syscon";
1323 reg = <0x1880000 0x10000>;
1324 };
1325
1326 intsp: qcom,qsee_irq {
1327 compatible = "qcom,kona-qsee-irq";
1328
1329 syscon = <&sp_scsr_block>;
1330 interrupts = <0 348 IRQ_TYPE_LEVEL_HIGH>,
1331 <0 349 IRQ_TYPE_LEVEL_HIGH>;
1332
1333 interrupt-names = "sp_ipc0",
1334 "sp_ipc1";
1335
1336 interrupt-controller;
1337 #interrupt-cells = <3>;
1338 };
1339
1340 qcom,qsee_irq_bridge {
1341 compatible = "qcom,qsee-ipc-irq-bridge";
1342
1343 qcom,qsee-ipc-irq-spss {
1344 qcom,dev-name = "qsee_ipc_irq_spss";
1345 label = "spss";
1346 interrupt-parent = <&intsp>;
1347 interrupts = <1 0 IRQ_TYPE_LEVEL_HIGH>;
1348 };
1349 };
1350
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001351 qcom,msm_gsi {
1352 compatible = "qcom,msm_gsi";
1353 };
1354
1355 qcom,rmnet-ipa {
1356 compatible = "qcom,rmnet-ipa3";
1357 qcom,rmnet-ipa-ssr;
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001358 qcom,ipa-advertise-sg-support;
1359 qcom,ipa-napi-enable;
1360 };
1361
1362 qcom,ipa_fws {
1363 compatible = "qcom,pil-tz-generic";
1364 qcom,pas-id = <0xf>;
1365 qcom,firmware-name = "ipa_fws";
1366 qcom,pil-force-shutdown;
1367 memory-region = <&pil_ipa_fw_mem>;
1368 };
1369
1370 ipa_hw: qcom,ipa@1e00000 {
1371 compatible = "qcom,ipa";
1372 reg =
1373 <0x1e00000 0x84000>,
1374 <0x1e04000 0x23000>;
1375 reg-names = "ipa-base", "gsi-base";
1376 interrupts =
1377 <0 311 IRQ_TYPE_LEVEL_HIGH>,
1378 <0 432 IRQ_TYPE_LEVEL_HIGH>;
1379 interrupt-names = "ipa-irq", "gsi-irq";
1380 qcom,ipa-hw-ver = <17>; /* IPA core version = IPAv4.5 */
1381 qcom,ipa-hw-mode = <0>;
Ghanim Fodif8dcdbf2018-11-04 17:58:22 +02001382 qcom,platform-type = <2>; /* APQ platform */
Ghanim Fodi180e5aa2018-11-01 19:45:45 +02001383 qcom,ee = <0>;
1384 qcom,use-ipa-tethering-bridge;
1385 qcom,mhi-event-ring-id-limits = <9 11>; /* start and end */
1386 qcom,modem-cfg-emb-pipe-flt;
1387 qcom,use-ipa-pm;
1388 qcom,bandwidth-vote-for-ipa;
1389 qcom,use-64-bit-dma-mask;
1390 qcom,msm-bus,name = "ipa";
1391 qcom,msm-bus,num-cases = <5>;
1392 qcom,msm-bus,num-paths = <4>;
1393 qcom,msm-bus,vectors-KBps =
1394 /* No vote */
1395 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 0 0>,
1396 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 0 0>,
1397 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 0 0>,
1398 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 0>,
1399
1400 /* SVS2 */
1401 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 600000>,
1402 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 350000>,
1403 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 40000 40000>,
1404 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 125>,
1405
1406 /* SVS */
1407 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 80000 640000>,
1408 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 80000 640000>,
1409 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 80000 80000>,
1410 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 250>,
1411
1412 /* NOMINAL */
1413 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 960000>,
1414 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 960000>,
1415 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 160000>,
1416 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 500>,
1417
1418 /* TURBO */
1419 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_EBI_CH0 206000 3600000>,
1420 <MSM_BUS_MASTER_IPA MSM_BUS_SLAVE_OCIMEM 206000 3600000>,
1421 <MSM_BUS_MASTER_AMPSS_M0 MSM_BUS_SLAVE_IPA_CFG 206000 300000>,
1422 <MSM_BUS_MASTER_IPA_CORE MSM_BUS_SLAVE_IPA_CORE 0 600>;
1423
1424 qcom,bus-vector-names = "MIN", "SVS2", "SVS", "NOMINAL",
1425 "TURBO";
1426 qcom,throughput-threshold = <310 600 1000>;
1427 qcom,scaling-exceptions = <>;
1428 };
1429
1430 ipa_smmu_ap: ipa_smmu_ap {
1431 compatible = "qcom,ipa-smmu-ap-cb";
1432 iommus = <&apps_smmu 0x5C0 0x0>;
1433 qcom,iommu-dma = "bypass";
1434 };
1435
1436 ipa_smmu_wlan: ipa_smmu_wlan {
1437 compatible = "qcom,ipa-smmu-wlan-cb";
1438 iommus = <&apps_smmu 0x5C1 0x0>;
1439 qcom,iommu-dma = "bypass";
1440 };
1441
1442 ipa_smmu_uc: ipa_smmu_uc {
1443 compatible = "qcom,ipa-smmu-uc-cb";
1444 iommus = <&apps_smmu 0x5C2 0x0>;
1445 qcom,iommu-dma = "bypass";
1446 };
1447
Chris Lew3859b1b72018-09-25 16:54:52 -07001448 qcom,glink {
1449 compatible = "qcom,glink";
1450 #address-cells = <1>;
1451 #size-cells = <1>;
1452 ranges;
1453
Chris Lewb2da0482018-11-16 14:50:31 -08001454 glink_npu: npu {
1455 qcom,remote-pid = <10>;
1456 transport = "smem";
1457 mboxes = <&ipcc_mproc IPCC_CLIENT_NPU
1458 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1459 mbox-names = "npu_smem";
1460 interrupt-parent = <&ipcc_mproc>;
1461 interrupts = <IPCC_CLIENT_NPU
1462 IPCC_MPROC_SIGNAL_GLINK_QMP
1463 IRQ_TYPE_EDGE_RISING>;
1464
1465 label = "npu";
1466 qcom,glink-label = "npu";
1467
1468 qcom,npu_qrtr {
1469 qcom,glink-channels = "IPCRTR";
1470 qcom,intents = <0x800 5
1471 0x2000 3
1472 0x4400 2>;
1473 };
1474
1475 qcom,npu_glink_ssr {
1476 qcom,glink-channels = "glink_ssr";
1477 qcom,notify-edges = <&glink_cdsp>;
1478 };
1479 };
1480
Chris Lew3859b1b72018-09-25 16:54:52 -07001481 glink_adsp: adsp {
1482 qcom,remote-pid = <2>;
1483 transport = "smem";
1484 mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS
1485 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1486 mbox-names = "adsp_smem";
1487 interrupt-parent = <&ipcc_mproc>;
1488 interrupts = <IPCC_CLIENT_LPASS
1489 IPCC_MPROC_SIGNAL_GLINK_QMP
1490 IRQ_TYPE_EDGE_RISING>;
1491
1492 label = "adsp";
1493 qcom,glink-label = "lpass";
1494
1495 qcom,adsp_qrtr {
1496 qcom,glink-channels = "IPCRTR";
1497 qcom,intents = <0x800 5
1498 0x2000 3
1499 0x4400 2>;
1500 };
1501
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301502 qcom,msm_fastrpc_rpmsg {
1503 compatible = "qcom,msm-fastrpc-rpmsg";
1504 qcom,glink-channels = "fastrpcglink-apps-dsp";
1505 qcom,intents = <0x64 64>;
1506 };
1507
Chris Lew3859b1b72018-09-25 16:54:52 -07001508 qcom,adsp_glink_ssr {
1509 qcom,glink-channels = "glink_ssr";
1510 qcom,notify-edges = <&glink_slpi>,
1511 <&glink_cdsp>;
1512 };
1513 };
1514
1515 glink_slpi: dsps {
1516 qcom,remote-pid = <3>;
1517 transport = "smem";
1518 mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI
1519 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1520 mbox-names = "dsps_smem";
1521 interrupt-parent = <&ipcc_mproc>;
1522 interrupts = <IPCC_CLIENT_SLPI
1523 IPCC_MPROC_SIGNAL_GLINK_QMP
1524 IRQ_TYPE_EDGE_RISING>;
1525
1526 label = "slpi";
1527 qcom,glink-label = "dsps";
1528
1529 qcom,slpi_qrtr {
1530 qcom,glink-channels = "IPCRTR";
1531 qcom,intents = <0x800 5
1532 0x2000 3
1533 0x4400 2>;
1534 };
1535
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301536 qcom,msm_fastrpc_rpmsg {
1537 compatible = "qcom,msm-fastrpc-rpmsg";
1538 qcom,glink-channels = "fastrpcglink-apps-dsp";
1539 qcom,intents = <0x64 64>;
1540 };
1541
Chris Lew3859b1b72018-09-25 16:54:52 -07001542 qcom,slpi_glink_ssr {
1543 qcom,glink-channels = "glink_ssr";
1544 qcom,notify-edges = <&glink_adsp>,
1545 <&glink_cdsp>;
1546 };
1547 };
1548
1549 glink_cdsp: cdsp {
1550 qcom,remote-pid = <5>;
1551 transport = "smem";
1552 mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP
1553 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1554 mbox-names = "dsps_smem";
1555 interrupt-parent = <&ipcc_mproc>;
1556 interrupts = <IPCC_CLIENT_CDSP
1557 IPCC_MPROC_SIGNAL_GLINK_QMP
1558 IRQ_TYPE_EDGE_RISING>;
1559
1560 label = "cdsp";
1561 qcom,glink-label = "cdsp";
1562
1563 qcom,cdsp_qrtr {
1564 qcom,glink-channels = "IPCRTR";
1565 qcom,intents = <0x800 5
1566 0x2000 3
1567 0x4400 2>;
1568 };
1569
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301570 qcom,msm_fastrpc_rpmsg {
1571 compatible = "qcom,msm-fastrpc-rpmsg";
1572 qcom,glink-channels = "fastrpcglink-apps-dsp";
1573 qcom,intents = <0x64 64>;
1574 };
1575
Chris Lew3859b1b72018-09-25 16:54:52 -07001576 qcom,cdsp_glink_ssr {
1577 qcom,glink-channels = "glink_ssr";
1578 qcom,notify-edges = <&glink_adsp>,
Chris Lewb2da0482018-11-16 14:50:31 -08001579 <&glink_slpi>,
1580 <&glink_npu>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001581 };
1582 };
Chris Lew3b1f0982018-10-05 17:28:21 -07001583
1584 glink_spss: spss {
1585 qcom,remote-pid = <8>;
1586 transport = "spss";
1587 mboxes = <&sp_scsr 0>;
1588 mbox-names = "spss_spss";
1589 interrupt-parent = <&intsp>;
1590 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
1591
1592 reg = <0x1885008 0x8>,
1593 <0x1885010 0x4>;
1594 reg-names = "qcom,spss-addr",
1595 "qcom,spss-size";
1596
1597 label = "spss";
1598 qcom,glink-label = "spss";
1599 };
Chris Lew3859b1b72018-09-25 16:54:52 -07001600 };
Bruce Levy5122a632018-09-25 15:51:37 -07001601
1602 qcom,lpass@17300000 {
1603 compatible = "qcom,pil-tz-generic";
1604 reg = <0x17300000 0x00100>;
1605
1606 vdd_cx-supply = <&VDD_CX_LEVEL>;
1607 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
1608 qcom,proxy-reg-names = "vdd_cx";
1609
1610 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1611 clock-names = "xo";
1612 qcom,proxy-clock-names = "xo";
1613
1614 qcom,pas-id = <1>;
1615 qcom,proxy-timeout-ms = <10000>;
1616 qcom,smem-id = <423>;
1617 qcom,sysmon-id = <1>;
1618 qcom,ssctl-instance-id = <0x14>;
1619 qcom,firmware-name = "adsp";
1620 memory-region = <&pil_adsp_mem>;
1621 qcom,complete-ramdump;
1622
1623 /* Inputs from lpass */
1624 interrupts-extended = <&pdc 96 IRQ_TYPE_LEVEL_HIGH>,
1625 <&adsp_smp2p_in 0 0>,
1626 <&adsp_smp2p_in 2 0>,
1627 <&adsp_smp2p_in 1 0>,
1628 <&adsp_smp2p_in 3 0>;
1629
1630 interrupt-names = "qcom,wdog",
1631 "qcom,err-fatal",
1632 "qcom,proxy-unvote",
1633 "qcom,err-ready",
1634 "qcom,stop-ack";
1635
1636 /* Outputs to lpass */
1637 qcom,smem-states = <&adsp_smp2p_out 0>;
1638 qcom,smem-state-names = "qcom,force-stop";
1639
1640 mbox-names = "adsp-pil";
1641 };
1642
1643 qcom,turing@8300000 {
1644 compatible = "qcom,pil-tz-generic";
1645 reg = <0x8300000 0x100000>;
1646
1647 vdd_cx-supply = <&VDD_CX_LEVEL>;
1648 qcom,proxy-reg-names = "vdd_cx";
1649 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
1650
1651 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1652 clock-names = "xo";
1653 qcom,proxy-clock-names = "xo";
1654
1655 qcom,pas-id = <18>;
1656 qcom,proxy-timeout-ms = <10000>;
1657 qcom,smem-id = <601>;
1658 qcom,sysmon-id = <7>;
1659 qcom,ssctl-instance-id = <0x17>;
1660 qcom,firmware-name = "cdsp";
1661 memory-region = <&pil_cdsp_mem>;
1662 qcom,complete-ramdump;
1663
1664 qcom,msm-bus,name = "pil-cdsp";
1665 qcom,msm-bus,num-cases = <2>;
1666 qcom,msm-bus,num-paths = <1>;
1667 qcom,msm-bus,vectors-KBps =
1668 <154 10070 0 0>,
1669 <154 10070 0 1>;
1670
1671 /* Inputs from turing */
Bruce Levy821133c2018-11-29 11:34:45 -08001672 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
Bruce Levy5122a632018-09-25 15:51:37 -07001673 <&cdsp_smp2p_in 0 0>,
1674 <&cdsp_smp2p_in 2 0>,
1675 <&cdsp_smp2p_in 1 0>,
1676 <&cdsp_smp2p_in 3 0>;
1677
1678 interrupt-names = "qcom,wdog",
1679 "qcom,err-fatal",
1680 "qcom,proxy-unvote",
1681 "qcom,err-ready",
1682 "qcom,stop-ack";
1683
1684 /* Outputs to turing */
1685 qcom,smem-states = <&cdsp_smp2p_out 0>;
1686 qcom,smem-state-names = "qcom,force-stop";
1687
1688 mbox-names = "cdsp-pil";
1689 };
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08001690
1691 qcom,venus@aab0000 {
1692 compatible = "qcom,pil-tz-generic";
1693 reg = <0xaab0000 0x2000>;
Chinmay Sawarkar2cfeca02018-11-15 17:59:36 -08001694
1695 vdd-supply = <&mvs0c_gdsc>;
1696 qcom,proxy-reg-names = "vdd";
1697 qcom,complete-ramdump;
1698
1699 clocks = <&clock_videocc VIDEO_CC_XO_CLK>,
1700 <&clock_videocc VIDEO_CC_MVS0C_CLK>,
1701 <&clock_videocc VIDEO_CC_AHB_CLK>;
1702 clock-names = "xo", "core", "ahb";
1703 qcom,proxy-clock-names = "xo", "core", "ahb";
1704
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08001705 qcom,core-freq = <200000000>;
1706 qcom,ahb-freq = <200000000>;
1707
1708 qcom,pas-id = <9>;
1709 qcom,msm-bus,name = "pil-venus";
1710 qcom,msm-bus,num-cases = <2>;
1711 qcom,msm-bus,num-paths = <1>;
1712 qcom,msm-bus,vectors-KBps =
1713 <63 512 0 0>,
1714 <63 512 0 304000>;
1715 qcom,proxy-timeout-ms = <100>;
1716 qcom,firmware-name = "venus";
1717 memory-region = <&pil_video_mem>;
1718 };
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05301719
Jilai Wangd20a5292018-12-04 11:05:10 -05001720 qcom,npu@9800000 {
1721 compatible = "qcom,pil-tz-generic";
1722 reg = <0x9800000 0x800000>;
1723
1724 status = "ok";
1725 qcom,pas-id = <23>;
1726 qcom,firmware-name = "npu";
1727 memory-region = <&pil_npu_mem>;
1728 };
1729
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05301730 qcom,msm-cdsp-loader {
1731 compatible = "qcom,cdsp-loader";
1732 qcom,proc-img-to-load = "cdsp";
1733 };
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301734
1735 qcom,msm-adsprpc-mem {
1736 compatible = "qcom,msm-adsprpc-mem-region";
1737 memory-region = <&adsp_mem>;
1738 };
1739
1740 msm_fastrpc: qcom,msm_fastrpc {
1741 compatible = "qcom,msm-fastrpc-compute";
1742 qcom,fastrpc-adsp-audio-pdr;
1743 qcom,rpc-latency-us = <235>;
1744
1745 qcom,msm_fastrpc_compute_cb1 {
1746 compatible = "qcom,msm-fastrpc-compute-cb";
1747 label = "cdsprpc-smd";
1748 iommus = <&apps_smmu 0x1001 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301749 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1750 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301751 dma-coherent;
1752 };
1753
1754 qcom,msm_fastrpc_compute_cb2 {
1755 compatible = "qcom,msm-fastrpc-compute-cb";
1756 label = "cdsprpc-smd";
1757 iommus = <&apps_smmu 0x1002 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301758 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1759 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301760 dma-coherent;
1761 };
1762
1763 qcom,msm_fastrpc_compute_cb3 {
1764 compatible = "qcom,msm-fastrpc-compute-cb";
1765 label = "cdsprpc-smd";
1766 iommus = <&apps_smmu 0x1003 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301767 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1768 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301769 dma-coherent;
1770 };
1771
1772 qcom,msm_fastrpc_compute_cb4 {
1773 compatible = "qcom,msm-fastrpc-compute-cb";
1774 label = "cdsprpc-smd";
1775 iommus = <&apps_smmu 0x1004 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301776 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1777 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301778 dma-coherent;
1779 };
1780
1781 qcom,msm_fastrpc_compute_cb5 {
1782 compatible = "qcom,msm-fastrpc-compute-cb";
1783 label = "cdsprpc-smd";
1784 iommus = <&apps_smmu 0x1005 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301785 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1786 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301787 dma-coherent;
1788 };
1789
1790 qcom,msm_fastrpc_compute_cb6 {
1791 compatible = "qcom,msm-fastrpc-compute-cb";
1792 label = "cdsprpc-smd";
1793 iommus = <&apps_smmu 0x1006 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301794 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1795 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301796 dma-coherent;
1797 };
1798
1799 qcom,msm_fastrpc_compute_cb7 {
1800 compatible = "qcom,msm-fastrpc-compute-cb";
1801 label = "cdsprpc-smd";
1802 iommus = <&apps_smmu 0x1007 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301803 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1804 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301805 dma-coherent;
1806 };
1807
1808 qcom,msm_fastrpc_compute_cb8 {
1809 compatible = "qcom,msm-fastrpc-compute-cb";
1810 label = "cdsprpc-smd";
1811 iommus = <&apps_smmu 0x1008 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301812 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1813 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301814 dma-coherent;
1815 };
1816
1817 qcom,msm_fastrpc_compute_cb9 {
1818 compatible = "qcom,msm-fastrpc-compute-cb";
1819 label = "cdsprpc-smd";
1820 qcom,secure-context-bank;
1821 iommus = <&apps_smmu 0x1009 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301822 dma-ranges = <0x60000000 0x60000000 0x78000000>;
1823 qcom,iommu-faults = "stall-disable";
1824 qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301825 dma-coherent;
1826 };
1827
1828 qcom,msm_fastrpc_compute_cb10 {
1829 compatible = "qcom,msm-fastrpc-compute-cb";
1830 label = "adsprpc-smd";
1831 iommus = <&apps_smmu 0x1803 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301832 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1833 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301834 dma-coherent;
1835 };
1836
1837 qcom,msm_fastrpc_compute_cb11 {
1838 compatible = "qcom,msm-fastrpc-compute-cb";
1839 label = "adsprpc-smd";
1840 iommus = <&apps_smmu 0x1804 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301841 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1842 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301843 dma-coherent;
1844 };
1845
1846 qcom,msm_fastrpc_compute_cb12 {
1847 compatible = "qcom,msm-fastrpc-compute-cb";
1848 label = "adsprpc-smd";
1849 iommus = <&apps_smmu 0x1805 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301850 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1851 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301852 dma-coherent;
1853 };
1854
1855 qcom,msm_fastrpc_compute_cb13 {
1856 compatible = "qcom,msm-fastrpc-compute-cb";
1857 label = "sdsprpc-smd";
1858 iommus = <&apps_smmu 0x0541 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301859 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1860 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301861 dma-coherent;
1862 };
1863
1864 qcom,msm_fastrpc_compute_cb14 {
1865 compatible = "qcom,msm-fastrpc-compute-cb";
1866 label = "sdsprpc-smd";
1867 iommus = <&apps_smmu 0x0542 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301868 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1869 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301870 dma-coherent;
1871 };
1872
1873 qcom,msm_fastrpc_compute_cb15 {
1874 compatible = "qcom,msm-fastrpc-compute-cb";
1875 label = "sdsprpc-smd";
1876 iommus = <&apps_smmu 0x0543 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301877 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1878 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301879 shared-cb = <4>;
1880 dma-coherent;
1881 };
1882 };
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05301883
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08001884 mem_dump {
1885 compatible = "qcom,mem-dump";
1886 memory-region = <&dump_mem>;
1887
1888 rpmh {
1889 qcom,dump-size = <0x2000000>;
1890 qcom,dump-id = <0xec>;
1891 };
1892
1893 rpm_sw {
1894 qcom,dump-size = <0x28000>;
1895 qcom,dump-id = <0xea>;
1896 };
1897
1898 pmic {
1899 qcom,dump-size = <0x80000>;
1900 qcom,dump-id = <0xe4>;
1901 };
1902
1903 fcm {
1904 qcom,dump-size = <0x8400>;
1905 qcom,dump-id = <0xee>;
1906 };
1907
1908 etf_swao {
1909 qcom,dump-size = <0x10000>;
1910 qcom,dump-id = <0xf1>;
1911 };
1912
1913 etr_reg {
1914 qcom,dump-size = <0x1000>;
1915 qcom,dump-id = <0x100>;
1916 };
1917
1918 etfswao_reg {
1919 qcom,dump-size = <0x1000>;
1920 qcom,dump-id = <0x102>;
1921 };
1922
1923 misc_data {
1924 qcom,dump-size = <0x1000>;
1925 qcom,dump-id = <0xe8>;
1926 };
1927 };
1928
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05301929 qcom,ssc@5c00000 {
1930 compatible = "qcom,pil-tz-generic";
1931 reg = <0x5c00000 0x4000>;
1932
1933 vdd_cx-supply = <&VDD_CX_LEVEL>;
1934 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
1935 vdd_mx-supply = <&VDD_MX_LEVEL>;
1936 qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
1937
1938 qcom,proxy-reg-names = "vdd_cx", "vdd_mx";
1939 qcom,keep-proxy-regs-on;
1940
1941 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1942 clock-names = "xo";
1943 qcom,proxy-clock-names = "xo";
1944
1945 qcom,pas-id = <12>;
1946 qcom,proxy-timeout-ms = <10000>;
1947 qcom,smem-id = <424>;
1948 qcom,sysmon-id = <3>;
1949 qcom,ssctl-instance-id = <0x16>;
1950 qcom,firmware-name = "slpi";
1951 status = "ok";
1952 memory-region = <&pil_slpi_mem>;
1953 qcom,complete-ramdump;
1954
1955 /* Inputs from ssc */
1956 interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
1957 <&dsps_smp2p_in 0 0>,
1958 <&dsps_smp2p_in 2 0>,
1959 <&dsps_smp2p_in 1 0>,
1960 <&dsps_smp2p_in 3 0>;
1961
1962 interrupt-names = "qcom,wdog",
1963 "qcom,err-fatal",
1964 "qcom,proxy-unvote",
1965 "qcom,err-ready",
1966 "qcom,stop-ack";
1967
1968 /* Outputs to ssc */
1969 qcom,smem-states = <&dsps_smp2p_out 0>;
1970 qcom,smem-state-names = "qcom,force-stop";
1971
1972 mbox-names = "slpi-pil";
1973 };
1974
1975 ssc_sensors: qcom,msm-ssc-sensors {
1976 compatible = "qcom,msm-ssc-sensors";
1977 status = "ok";
1978 qcom,firmware-name = "slpi";
1979 };
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08001980
1981 tsens0: tsens@c222000 {
1982 compatible = "qcom,tsens24xx";
1983 reg = <0xc222000 0x4>,
1984 <0xc263000 0x1ff>;
1985 reg-names = "tsens_srot_physical",
1986 "tsens_tm_physical";
1987 interrupts = <0 506 0>, <0 508 0>;
1988 interrupt-names = "tsens-upper-lower", "tsens-critical";
1989 #thermal-sensor-cells = <1>;
1990 };
1991
1992 tsens1: tsens@c223000 {
1993 compatible = "qcom,tsens24xx";
1994 reg = <0xc223000 0x4>,
1995 <0xc265000 0x1ff>;
1996 reg-names = "tsens_srot_physical",
1997 "tsens_tm_physical";
1998 interrupts = <0 507 0>, <0 509 0>;
1999 interrupt-names = "tsens-upper-lower", "tsens-critical";
2000 #thermal-sensor-cells = <1>;
2001 };
Runmin Wang4f5985b2017-04-19 15:55:12 -07002002};
Swathi Sridhar4008eb42018-07-17 15:34:46 -07002003
David Daib1d68482018-10-01 19:40:35 -07002004#include "kona-bus.dtsi"
Swathi Sridharbbbc80b2018-07-13 10:02:08 -07002005#include "kona-ion.dtsi"
Tony Truongc972c642018-09-12 10:03:51 -07002006#include "kona-pcie.dtsi"
Sujeev Dias5399e552018-09-18 17:57:54 -07002007#include "kona-mhi.dtsi"
Swathi Sridhar4008eb42018-07-17 15:34:46 -07002008#include "msm-arm-smmu-kona.dtsi"
Rishabh Bhatnagara740b0e2018-07-20 15:08:35 -07002009#include "kona-pinctrl.dtsi"
Chris Lew86f6bde2018-09-06 16:40:39 -07002010#include "kona-smp2p.dtsi"
Hemant Kumar5f58bad2018-08-31 14:25:23 -07002011#include "kona-usb.dtsi"
Tingwei Zhang564fa692018-11-28 00:31:17 -08002012#include "kona-coresight.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07002013#include "kona-sde.dtsi"
Satya Rama Aditya Pinapala09600b32018-10-29 10:52:37 -07002014#include "kona-sde-pll.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07002015#include "kona-sde-display.dtsi"
Vignesh Kulothungand728f712018-10-26 17:49:46 -07002016#include "kona-audio.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002017
Arjun Bagla76f02ef2018-09-19 10:00:29 -07002018#include "kona-pm.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002019
2020#include "kona-camera.dtsi"
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +05302021#include "kona-qupv3.dtsi"
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002022#include "kona-thermal.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002023