blob: 4d93832bdc5e8af7fe95fed75d0204212fa968b2 [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/*
Chris Lew3cbe4032018-11-30 18:57:32 -08003 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
Runmin Wang4f5985b2017-04-19 15:55:12 -07004 */
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 {
Chris Lewc3861122018-12-14 18:26:01 -08001469 qcom,net-id = <1>;
Chris Lewb2da0482018-11-16 14:50:31 -08001470 qcom,glink-channels = "IPCRTR";
1471 qcom,intents = <0x800 5
1472 0x2000 3
1473 0x4400 2>;
1474 };
1475
1476 qcom,npu_glink_ssr {
1477 qcom,glink-channels = "glink_ssr";
1478 qcom,notify-edges = <&glink_cdsp>;
1479 };
1480 };
1481
Chris Lew3859b1b72018-09-25 16:54:52 -07001482 glink_adsp: adsp {
1483 qcom,remote-pid = <2>;
1484 transport = "smem";
1485 mboxes = <&ipcc_mproc IPCC_CLIENT_LPASS
1486 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1487 mbox-names = "adsp_smem";
1488 interrupt-parent = <&ipcc_mproc>;
1489 interrupts = <IPCC_CLIENT_LPASS
1490 IPCC_MPROC_SIGNAL_GLINK_QMP
1491 IRQ_TYPE_EDGE_RISING>;
1492
1493 label = "adsp";
1494 qcom,glink-label = "lpass";
1495
1496 qcom,adsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001497 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001498 qcom,glink-channels = "IPCRTR";
1499 qcom,intents = <0x800 5
1500 0x2000 3
1501 0x4400 2>;
1502 };
1503
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301504 qcom,msm_fastrpc_rpmsg {
1505 compatible = "qcom,msm-fastrpc-rpmsg";
1506 qcom,glink-channels = "fastrpcglink-apps-dsp";
1507 qcom,intents = <0x64 64>;
1508 };
1509
Chris Lew3859b1b72018-09-25 16:54:52 -07001510 qcom,adsp_glink_ssr {
1511 qcom,glink-channels = "glink_ssr";
1512 qcom,notify-edges = <&glink_slpi>,
1513 <&glink_cdsp>;
1514 };
1515 };
1516
1517 glink_slpi: dsps {
1518 qcom,remote-pid = <3>;
1519 transport = "smem";
1520 mboxes = <&ipcc_mproc IPCC_CLIENT_SLPI
1521 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1522 mbox-names = "dsps_smem";
1523 interrupt-parent = <&ipcc_mproc>;
1524 interrupts = <IPCC_CLIENT_SLPI
1525 IPCC_MPROC_SIGNAL_GLINK_QMP
1526 IRQ_TYPE_EDGE_RISING>;
1527
1528 label = "slpi";
1529 qcom,glink-label = "dsps";
1530
1531 qcom,slpi_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001532 qcom,net-id = <2>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001533 qcom,glink-channels = "IPCRTR";
1534 qcom,intents = <0x800 5
1535 0x2000 3
1536 0x4400 2>;
1537 };
1538
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301539 qcom,msm_fastrpc_rpmsg {
1540 compatible = "qcom,msm-fastrpc-rpmsg";
1541 qcom,glink-channels = "fastrpcglink-apps-dsp";
1542 qcom,intents = <0x64 64>;
1543 };
1544
Chris Lew3859b1b72018-09-25 16:54:52 -07001545 qcom,slpi_glink_ssr {
1546 qcom,glink-channels = "glink_ssr";
1547 qcom,notify-edges = <&glink_adsp>,
1548 <&glink_cdsp>;
1549 };
1550 };
1551
1552 glink_cdsp: cdsp {
1553 qcom,remote-pid = <5>;
1554 transport = "smem";
1555 mboxes = <&ipcc_mproc IPCC_CLIENT_CDSP
1556 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1557 mbox-names = "dsps_smem";
1558 interrupt-parent = <&ipcc_mproc>;
1559 interrupts = <IPCC_CLIENT_CDSP
1560 IPCC_MPROC_SIGNAL_GLINK_QMP
1561 IRQ_TYPE_EDGE_RISING>;
1562
1563 label = "cdsp";
1564 qcom,glink-label = "cdsp";
1565
1566 qcom,cdsp_qrtr {
Chris Lewc3861122018-12-14 18:26:01 -08001567 qcom,net-id = <1>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001568 qcom,glink-channels = "IPCRTR";
1569 qcom,intents = <0x800 5
1570 0x2000 3
1571 0x4400 2>;
1572 };
1573
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301574 qcom,msm_fastrpc_rpmsg {
1575 compatible = "qcom,msm-fastrpc-rpmsg";
1576 qcom,glink-channels = "fastrpcglink-apps-dsp";
1577 qcom,intents = <0x64 64>;
1578 };
1579
Chris Lew3859b1b72018-09-25 16:54:52 -07001580 qcom,cdsp_glink_ssr {
1581 qcom,glink-channels = "glink_ssr";
1582 qcom,notify-edges = <&glink_adsp>,
Chris Lewb2da0482018-11-16 14:50:31 -08001583 <&glink_slpi>,
1584 <&glink_npu>;
Chris Lew3859b1b72018-09-25 16:54:52 -07001585 };
1586 };
Chris Lew3b1f0982018-10-05 17:28:21 -07001587
1588 glink_spss: spss {
1589 qcom,remote-pid = <8>;
1590 transport = "spss";
1591 mboxes = <&sp_scsr 0>;
1592 mbox-names = "spss_spss";
1593 interrupt-parent = <&intsp>;
1594 interrupts = <0 0 IRQ_TYPE_LEVEL_HIGH>;
1595
1596 reg = <0x1885008 0x8>,
1597 <0x1885010 0x4>;
1598 reg-names = "qcom,spss-addr",
1599 "qcom,spss-size";
1600
1601 label = "spss";
1602 qcom,glink-label = "spss";
1603 };
Chris Lew3859b1b72018-09-25 16:54:52 -07001604 };
Bruce Levy5122a632018-09-25 15:51:37 -07001605
Chris Lew3cbe4032018-11-30 18:57:32 -08001606 qmp_aop: qcom,qmp-aop@c300000 {
1607 compatible = "qcom,qmp-mbox";
1608 mboxes = <&ipcc_mproc IPCC_CLIENT_AOP
1609 IPCC_MPROC_SIGNAL_GLINK_QMP>;
1610 mbox-names = "aop_qmp";
1611 interrupt-parent = <&ipcc_mproc>;
1612 interrupts = <IPCC_CLIENT_AOP
1613 IPCC_MPROC_SIGNAL_GLINK_QMP
1614 IRQ_TYPE_EDGE_RISING>;
1615 reg = <0xc300000 0x1000>;
1616 reg-names = "msgram";
1617
1618 label = "aop";
1619 qcom,early-boot;
1620 priority = <0>;
1621 mbox-desc-offset = <0x0>;
1622 #mbox-cells = <1>;
1623 };
1624
Bruce Levy5122a632018-09-25 15:51:37 -07001625 qcom,lpass@17300000 {
1626 compatible = "qcom,pil-tz-generic";
1627 reg = <0x17300000 0x00100>;
1628
1629 vdd_cx-supply = <&VDD_CX_LEVEL>;
1630 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
1631 qcom,proxy-reg-names = "vdd_cx";
1632
1633 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1634 clock-names = "xo";
1635 qcom,proxy-clock-names = "xo";
1636
1637 qcom,pas-id = <1>;
1638 qcom,proxy-timeout-ms = <10000>;
1639 qcom,smem-id = <423>;
1640 qcom,sysmon-id = <1>;
1641 qcom,ssctl-instance-id = <0x14>;
1642 qcom,firmware-name = "adsp";
1643 memory-region = <&pil_adsp_mem>;
1644 qcom,complete-ramdump;
1645
1646 /* Inputs from lpass */
1647 interrupts-extended = <&pdc 96 IRQ_TYPE_LEVEL_HIGH>,
1648 <&adsp_smp2p_in 0 0>,
1649 <&adsp_smp2p_in 2 0>,
1650 <&adsp_smp2p_in 1 0>,
1651 <&adsp_smp2p_in 3 0>;
1652
1653 interrupt-names = "qcom,wdog",
1654 "qcom,err-fatal",
1655 "qcom,proxy-unvote",
1656 "qcom,err-ready",
1657 "qcom,stop-ack";
1658
1659 /* Outputs to lpass */
1660 qcom,smem-states = <&adsp_smp2p_out 0>;
1661 qcom,smem-state-names = "qcom,force-stop";
1662
1663 mbox-names = "adsp-pil";
1664 };
1665
1666 qcom,turing@8300000 {
1667 compatible = "qcom,pil-tz-generic";
1668 reg = <0x8300000 0x100000>;
1669
1670 vdd_cx-supply = <&VDD_CX_LEVEL>;
1671 qcom,proxy-reg-names = "vdd_cx";
1672 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
1673
1674 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1675 clock-names = "xo";
1676 qcom,proxy-clock-names = "xo";
1677
1678 qcom,pas-id = <18>;
1679 qcom,proxy-timeout-ms = <10000>;
1680 qcom,smem-id = <601>;
1681 qcom,sysmon-id = <7>;
1682 qcom,ssctl-instance-id = <0x17>;
1683 qcom,firmware-name = "cdsp";
1684 memory-region = <&pil_cdsp_mem>;
1685 qcom,complete-ramdump;
1686
1687 qcom,msm-bus,name = "pil-cdsp";
1688 qcom,msm-bus,num-cases = <2>;
1689 qcom,msm-bus,num-paths = <1>;
1690 qcom,msm-bus,vectors-KBps =
1691 <154 10070 0 0>,
1692 <154 10070 0 1>;
1693
1694 /* Inputs from turing */
Bruce Levy821133c2018-11-29 11:34:45 -08001695 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_LEVEL_HIGH>,
Bruce Levy5122a632018-09-25 15:51:37 -07001696 <&cdsp_smp2p_in 0 0>,
1697 <&cdsp_smp2p_in 2 0>,
1698 <&cdsp_smp2p_in 1 0>,
1699 <&cdsp_smp2p_in 3 0>;
1700
1701 interrupt-names = "qcom,wdog",
1702 "qcom,err-fatal",
1703 "qcom,proxy-unvote",
1704 "qcom,err-ready",
1705 "qcom,stop-ack";
1706
1707 /* Outputs to turing */
1708 qcom,smem-states = <&cdsp_smp2p_out 0>;
1709 qcom,smem-state-names = "qcom,force-stop";
1710
1711 mbox-names = "cdsp-pil";
1712 };
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08001713
1714 qcom,venus@aab0000 {
1715 compatible = "qcom,pil-tz-generic";
1716 reg = <0xaab0000 0x2000>;
Chinmay Sawarkar2cfeca02018-11-15 17:59:36 -08001717
1718 vdd-supply = <&mvs0c_gdsc>;
1719 qcom,proxy-reg-names = "vdd";
1720 qcom,complete-ramdump;
1721
1722 clocks = <&clock_videocc VIDEO_CC_XO_CLK>,
1723 <&clock_videocc VIDEO_CC_MVS0C_CLK>,
1724 <&clock_videocc VIDEO_CC_AHB_CLK>;
1725 clock-names = "xo", "core", "ahb";
1726 qcom,proxy-clock-names = "xo", "core", "ahb";
1727
Akshay Chandrashekhar Kalghatgif7905ad2018-11-08 16:30:42 -08001728 qcom,core-freq = <200000000>;
1729 qcom,ahb-freq = <200000000>;
1730
1731 qcom,pas-id = <9>;
1732 qcom,msm-bus,name = "pil-venus";
1733 qcom,msm-bus,num-cases = <2>;
1734 qcom,msm-bus,num-paths = <1>;
1735 qcom,msm-bus,vectors-KBps =
1736 <63 512 0 0>,
1737 <63 512 0 304000>;
1738 qcom,proxy-timeout-ms = <100>;
1739 qcom,firmware-name = "venus";
1740 memory-region = <&pil_video_mem>;
1741 };
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05301742
Jilai Wangd20a5292018-12-04 11:05:10 -05001743 qcom,npu@9800000 {
1744 compatible = "qcom,pil-tz-generic";
1745 reg = <0x9800000 0x800000>;
1746
1747 status = "ok";
1748 qcom,pas-id = <23>;
1749 qcom,firmware-name = "npu";
1750 memory-region = <&pil_npu_mem>;
1751 };
1752
Tharun Kumar Merugub8d79dd2018-11-02 23:07:31 +05301753 qcom,msm-cdsp-loader {
1754 compatible = "qcom,cdsp-loader";
1755 qcom,proc-img-to-load = "cdsp";
1756 };
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301757
1758 qcom,msm-adsprpc-mem {
1759 compatible = "qcom,msm-adsprpc-mem-region";
1760 memory-region = <&adsp_mem>;
1761 };
1762
1763 msm_fastrpc: qcom,msm_fastrpc {
1764 compatible = "qcom,msm-fastrpc-compute";
1765 qcom,fastrpc-adsp-audio-pdr;
1766 qcom,rpc-latency-us = <235>;
1767
1768 qcom,msm_fastrpc_compute_cb1 {
1769 compatible = "qcom,msm-fastrpc-compute-cb";
1770 label = "cdsprpc-smd";
1771 iommus = <&apps_smmu 0x1001 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301772 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1773 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301774 dma-coherent;
1775 };
1776
1777 qcom,msm_fastrpc_compute_cb2 {
1778 compatible = "qcom,msm-fastrpc-compute-cb";
1779 label = "cdsprpc-smd";
1780 iommus = <&apps_smmu 0x1002 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301781 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1782 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301783 dma-coherent;
1784 };
1785
1786 qcom,msm_fastrpc_compute_cb3 {
1787 compatible = "qcom,msm-fastrpc-compute-cb";
1788 label = "cdsprpc-smd";
1789 iommus = <&apps_smmu 0x1003 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301790 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1791 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301792 dma-coherent;
1793 };
1794
1795 qcom,msm_fastrpc_compute_cb4 {
1796 compatible = "qcom,msm-fastrpc-compute-cb";
1797 label = "cdsprpc-smd";
1798 iommus = <&apps_smmu 0x1004 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301799 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1800 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301801 dma-coherent;
1802 };
1803
1804 qcom,msm_fastrpc_compute_cb5 {
1805 compatible = "qcom,msm-fastrpc-compute-cb";
1806 label = "cdsprpc-smd";
1807 iommus = <&apps_smmu 0x1005 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301808 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1809 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301810 dma-coherent;
1811 };
1812
1813 qcom,msm_fastrpc_compute_cb6 {
1814 compatible = "qcom,msm-fastrpc-compute-cb";
1815 label = "cdsprpc-smd";
1816 iommus = <&apps_smmu 0x1006 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301817 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1818 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301819 dma-coherent;
1820 };
1821
1822 qcom,msm_fastrpc_compute_cb7 {
1823 compatible = "qcom,msm-fastrpc-compute-cb";
1824 label = "cdsprpc-smd";
1825 iommus = <&apps_smmu 0x1007 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301826 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1827 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301828 dma-coherent;
1829 };
1830
1831 qcom,msm_fastrpc_compute_cb8 {
1832 compatible = "qcom,msm-fastrpc-compute-cb";
1833 label = "cdsprpc-smd";
1834 iommus = <&apps_smmu 0x1008 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301835 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1836 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301837 dma-coherent;
1838 };
1839
1840 qcom,msm_fastrpc_compute_cb9 {
1841 compatible = "qcom,msm-fastrpc-compute-cb";
1842 label = "cdsprpc-smd";
1843 qcom,secure-context-bank;
1844 iommus = <&apps_smmu 0x1009 0x0460>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301845 dma-ranges = <0x60000000 0x60000000 0x78000000>;
1846 qcom,iommu-faults = "stall-disable";
1847 qcom,iommu-vmid = <0xA>; /* VMID_CP_PIXEL */
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301848 dma-coherent;
1849 };
1850
1851 qcom,msm_fastrpc_compute_cb10 {
1852 compatible = "qcom,msm-fastrpc-compute-cb";
1853 label = "adsprpc-smd";
1854 iommus = <&apps_smmu 0x1803 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301855 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1856 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301857 dma-coherent;
1858 };
1859
1860 qcom,msm_fastrpc_compute_cb11 {
1861 compatible = "qcom,msm-fastrpc-compute-cb";
1862 label = "adsprpc-smd";
1863 iommus = <&apps_smmu 0x1804 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301864 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1865 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301866 dma-coherent;
1867 };
1868
1869 qcom,msm_fastrpc_compute_cb12 {
1870 compatible = "qcom,msm-fastrpc-compute-cb";
1871 label = "adsprpc-smd";
1872 iommus = <&apps_smmu 0x1805 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301873 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1874 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301875 dma-coherent;
1876 };
1877
1878 qcom,msm_fastrpc_compute_cb13 {
1879 compatible = "qcom,msm-fastrpc-compute-cb";
1880 label = "sdsprpc-smd";
1881 iommus = <&apps_smmu 0x0541 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301882 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1883 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301884 dma-coherent;
1885 };
1886
1887 qcom,msm_fastrpc_compute_cb14 {
1888 compatible = "qcom,msm-fastrpc-compute-cb";
1889 label = "sdsprpc-smd";
1890 iommus = <&apps_smmu 0x0542 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301891 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1892 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301893 dma-coherent;
1894 };
1895
1896 qcom,msm_fastrpc_compute_cb15 {
1897 compatible = "qcom,msm-fastrpc-compute-cb";
1898 label = "sdsprpc-smd";
1899 iommus = <&apps_smmu 0x0543 0x0>;
Tharun Kumar Meruguaf4c92f2018-11-16 05:12:16 +05301900 dma-ranges = <0x80000000 0x80000000 0x78000000>;
1901 qcom,iommu-faults = "stall-disable";
Tharun Kumar Merugu027438b2018-11-09 03:24:57 +05301902 shared-cb = <4>;
1903 dma-coherent;
1904 };
1905 };
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05301906
Tingwei Zhangd9b535f2018-12-03 19:14:06 -08001907 mem_dump {
1908 compatible = "qcom,mem-dump";
1909 memory-region = <&dump_mem>;
1910
1911 rpmh {
1912 qcom,dump-size = <0x2000000>;
1913 qcom,dump-id = <0xec>;
1914 };
1915
1916 rpm_sw {
1917 qcom,dump-size = <0x28000>;
1918 qcom,dump-id = <0xea>;
1919 };
1920
1921 pmic {
1922 qcom,dump-size = <0x80000>;
1923 qcom,dump-id = <0xe4>;
1924 };
1925
1926 fcm {
1927 qcom,dump-size = <0x8400>;
1928 qcom,dump-id = <0xee>;
1929 };
1930
1931 etf_swao {
1932 qcom,dump-size = <0x10000>;
1933 qcom,dump-id = <0xf1>;
1934 };
1935
1936 etr_reg {
1937 qcom,dump-size = <0x1000>;
1938 qcom,dump-id = <0x100>;
1939 };
1940
1941 etfswao_reg {
1942 qcom,dump-size = <0x1000>;
1943 qcom,dump-id = <0x102>;
1944 };
1945
1946 misc_data {
1947 qcom,dump-size = <0x1000>;
1948 qcom,dump-id = <0xe8>;
1949 };
1950 };
1951
Shaikh Shadulbfdfdda2018-11-14 15:36:21 +05301952 qcom,ssc@5c00000 {
1953 compatible = "qcom,pil-tz-generic";
1954 reg = <0x5c00000 0x4000>;
1955
1956 vdd_cx-supply = <&VDD_CX_LEVEL>;
1957 qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
1958 vdd_mx-supply = <&VDD_MX_LEVEL>;
1959 qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 0>;
1960
1961 qcom,proxy-reg-names = "vdd_cx", "vdd_mx";
1962 qcom,keep-proxy-regs-on;
1963
1964 clocks = <&clock_rpmh RPMH_CXO_CLK>;
1965 clock-names = "xo";
1966 qcom,proxy-clock-names = "xo";
1967
1968 qcom,pas-id = <12>;
1969 qcom,proxy-timeout-ms = <10000>;
1970 qcom,smem-id = <424>;
1971 qcom,sysmon-id = <3>;
1972 qcom,ssctl-instance-id = <0x16>;
1973 qcom,firmware-name = "slpi";
1974 status = "ok";
1975 memory-region = <&pil_slpi_mem>;
1976 qcom,complete-ramdump;
1977
1978 /* Inputs from ssc */
1979 interrupts-extended = <&pdc 9 IRQ_TYPE_LEVEL_HIGH>,
1980 <&dsps_smp2p_in 0 0>,
1981 <&dsps_smp2p_in 2 0>,
1982 <&dsps_smp2p_in 1 0>,
1983 <&dsps_smp2p_in 3 0>;
1984
1985 interrupt-names = "qcom,wdog",
1986 "qcom,err-fatal",
1987 "qcom,proxy-unvote",
1988 "qcom,err-ready",
1989 "qcom,stop-ack";
1990
1991 /* Outputs to ssc */
1992 qcom,smem-states = <&dsps_smp2p_out 0>;
1993 qcom,smem-state-names = "qcom,force-stop";
1994
1995 mbox-names = "slpi-pil";
1996 };
1997
1998 ssc_sensors: qcom,msm-ssc-sensors {
1999 compatible = "qcom,msm-ssc-sensors";
2000 status = "ok";
2001 qcom,firmware-name = "slpi";
2002 };
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002003
2004 tsens0: tsens@c222000 {
2005 compatible = "qcom,tsens24xx";
2006 reg = <0xc222000 0x4>,
2007 <0xc263000 0x1ff>;
2008 reg-names = "tsens_srot_physical",
2009 "tsens_tm_physical";
2010 interrupts = <0 506 0>, <0 508 0>;
2011 interrupt-names = "tsens-upper-lower", "tsens-critical";
2012 #thermal-sensor-cells = <1>;
2013 };
2014
2015 tsens1: tsens@c223000 {
2016 compatible = "qcom,tsens24xx";
2017 reg = <0xc223000 0x4>,
2018 <0xc265000 0x1ff>;
2019 reg-names = "tsens_srot_physical",
2020 "tsens_tm_physical";
2021 interrupts = <0 507 0>, <0 509 0>;
2022 interrupt-names = "tsens-upper-lower", "tsens-critical";
2023 #thermal-sensor-cells = <1>;
2024 };
Runmin Wang4f5985b2017-04-19 15:55:12 -07002025};
Swathi Sridhar4008eb42018-07-17 15:34:46 -07002026
David Daib1d68482018-10-01 19:40:35 -07002027#include "kona-bus.dtsi"
Swathi Sridharbbbc80b2018-07-13 10:02:08 -07002028#include "kona-ion.dtsi"
Tony Truongc972c642018-09-12 10:03:51 -07002029#include "kona-pcie.dtsi"
Sujeev Dias5399e552018-09-18 17:57:54 -07002030#include "kona-mhi.dtsi"
Swathi Sridhar4008eb42018-07-17 15:34:46 -07002031#include "msm-arm-smmu-kona.dtsi"
Rishabh Bhatnagara740b0e2018-07-20 15:08:35 -07002032#include "kona-pinctrl.dtsi"
Chris Lew86f6bde2018-09-06 16:40:39 -07002033#include "kona-smp2p.dtsi"
Hemant Kumar5f58bad2018-08-31 14:25:23 -07002034#include "kona-usb.dtsi"
Tingwei Zhang564fa692018-11-28 00:31:17 -08002035#include "kona-coresight.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07002036#include "kona-sde.dtsi"
Satya Rama Aditya Pinapala09600b32018-10-29 10:52:37 -07002037#include "kona-sde-pll.dtsi"
Samantha Tran7e309f02018-08-31 17:23:00 -07002038#include "kona-sde-display.dtsi"
Vignesh Kulothungand728f712018-10-26 17:49:46 -07002039#include "kona-audio.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002040
Arjun Bagla76f02ef2018-09-19 10:00:29 -07002041#include "kona-pm.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002042
2043#include "kona-camera.dtsi"
Vipin Deep Kaur9a2c13d2018-12-19 18:38:46 +05302044#include "kona-qupv3.dtsi"
Siddartha Mohanadoss42c8d782018-12-21 14:20:33 -08002045#include "kona-thermal.dtsi"
Chinmay Sawarkar83d01b42018-12-14 12:34:50 -08002046#include "kona-vidc.dtsi"
Mukund Atred454ec92018-11-05 15:32:16 -08002047