blob: f6b11d55cfae254f81c8c951e526922252d973ab [file] [log] [blame]
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05301// SPDX-License-Identifier: GPL-2.0
2/*
3 * SDM845 SoC device tree source
4 *
5 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
6 */
7
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07008#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
Douglas Anderson897cf342018-06-13 09:53:51 -07009#include <dt-bindings/clock/qcom,gcc-sdm845.h>
Taniya Das0cef5dd2018-12-05 13:30:36 +053010#include <dt-bindings/clock/qcom,lpass-sdm845.h>
Douglas Anderson9aa4a272018-11-28 10:57:43 -080011#include <dt-bindings/clock/qcom,gpucc-sdm845.h>
Douglas Anderson717f2012018-06-18 14:50:51 -070012#include <dt-bindings/clock/qcom,rpmh.h>
Taniya Das05556682018-12-03 11:36:29 -080013#include <dt-bindings/clock/qcom,videocc-sdm845.h>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053014#include <dt-bindings/interrupt-controller/arm-gic.h>
Manu Gautamca4db2b2018-08-22 10:36:27 -070015#include <dt-bindings/phy/phy-qcom-qusb2.h>
Rajendra Nayak5b6f1862019-01-10 09:32:08 +053016#include <dt-bindings/power/qcom-rpmpd.h>
Sibi Sankaread5eea2018-09-01 15:23:55 -070017#include <dt-bindings/reset/qcom,sdm845-aoss.h>
Sibi Sankar13393da2018-10-26 17:56:53 +053018#include <dt-bindings/reset/qcom,sdm845-pdc.h>
Douglas Andersonc83545d2018-06-18 14:50:50 -070019#include <dt-bindings/soc/qcom,rpmh-rsc.h>
Vinod Koul6e17f8142018-10-01 11:51:51 +053020#include <dt-bindings/clock/qcom,gcc-sdm845.h>
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053021
22/ {
23 interrupt-parent = <&intc>;
24
25 #address-cells = <2>;
26 #size-cells = <2>;
27
Douglas Anderson897cf342018-06-13 09:53:51 -070028 aliases {
29 i2c0 = &i2c0;
30 i2c1 = &i2c1;
31 i2c2 = &i2c2;
32 i2c3 = &i2c3;
33 i2c4 = &i2c4;
34 i2c5 = &i2c5;
35 i2c6 = &i2c6;
36 i2c7 = &i2c7;
37 i2c8 = &i2c8;
38 i2c9 = &i2c9;
39 i2c10 = &i2c10;
40 i2c11 = &i2c11;
41 i2c12 = &i2c12;
42 i2c13 = &i2c13;
43 i2c14 = &i2c14;
44 i2c15 = &i2c15;
45 spi0 = &spi0;
46 spi1 = &spi1;
47 spi2 = &spi2;
48 spi3 = &spi3;
49 spi4 = &spi4;
50 spi5 = &spi5;
51 spi6 = &spi6;
52 spi7 = &spi7;
53 spi8 = &spi8;
54 spi9 = &spi9;
55 spi10 = &spi10;
56 spi11 = &spi11;
57 spi12 = &spi12;
58 spi13 = &spi13;
59 spi14 = &spi14;
60 spi15 = &spi15;
61 };
62
Rajendra Nayak6d4cf752018-03-12 19:42:24 +053063 chosen { };
64
65 memory@80000000 {
66 device_type = "memory";
67 /* We expect the bootloader to fill in the size */
68 reg = <0 0x80000000 0 0>;
69 };
70
Sibi S71c84282018-04-30 20:14:28 +053071 reserved-memory {
72 #address-cells = <2>;
73 #size-cells = <2>;
74 ranges;
75
76 memory@85fc0000 {
77 reg = <0 0x85fc0000 0 0x20000>;
78 no-map;
79 };
80
Douglas Anderson2da52392018-05-14 21:43:06 -070081 memory@85fe0000 {
82 compatible = "qcom,cmd-db";
83 reg = <0x0 0x85fe0000 0x0 0x20000>;
84 no-map;
85 };
86
Sibi S71c84282018-04-30 20:14:28 +053087 smem_mem: memory@86000000 {
88 reg = <0x0 0x86000000 0x0 0x200000>;
89 no-map;
90 };
91
92 memory@86200000 {
93 reg = <0 0x86200000 0 0x2d00000>;
94 no-map;
95 };
Govind Singh022bccb2018-11-05 18:38:37 +053096
97 wlan_msa_mem: memory@96700000 {
98 reg = <0 0x96700000 0 0x100000>;
99 no-map;
100 };
Sibi S71c84282018-04-30 20:14:28 +0530101 };
102
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530103 cpus {
104 #address-cells = <2>;
105 #size-cells = <0>;
106
107 CPU0: cpu@0 {
108 device_type = "cpu";
109 compatible = "qcom,kryo385";
110 reg = <0x0 0x0>;
111 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530112 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530113 next-level-cache = <&L2_0>;
114 L2_0: l2-cache {
115 compatible = "cache";
116 next-level-cache = <&L3_0>;
117 L3_0: l3-cache {
118 compatible = "cache";
119 };
120 };
121 };
122
123 CPU1: cpu@100 {
124 device_type = "cpu";
125 compatible = "qcom,kryo385";
126 reg = <0x0 0x100>;
127 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530128 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530129 next-level-cache = <&L2_100>;
130 L2_100: l2-cache {
131 compatible = "cache";
132 next-level-cache = <&L3_0>;
133 };
134 };
135
136 CPU2: cpu@200 {
137 device_type = "cpu";
138 compatible = "qcom,kryo385";
139 reg = <0x0 0x200>;
140 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530141 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530142 next-level-cache = <&L2_200>;
143 L2_200: l2-cache {
144 compatible = "cache";
145 next-level-cache = <&L3_0>;
146 };
147 };
148
149 CPU3: cpu@300 {
150 device_type = "cpu";
151 compatible = "qcom,kryo385";
152 reg = <0x0 0x300>;
153 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530154 qcom,freq-domain = <&cpufreq_hw 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530155 next-level-cache = <&L2_300>;
156 L2_300: l2-cache {
157 compatible = "cache";
158 next-level-cache = <&L3_0>;
159 };
160 };
161
162 CPU4: cpu@400 {
163 device_type = "cpu";
164 compatible = "qcom,kryo385";
165 reg = <0x0 0x400>;
166 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530167 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530168 next-level-cache = <&L2_400>;
169 L2_400: l2-cache {
170 compatible = "cache";
171 next-level-cache = <&L3_0>;
172 };
173 };
174
175 CPU5: cpu@500 {
176 device_type = "cpu";
177 compatible = "qcom,kryo385";
178 reg = <0x0 0x500>;
179 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530180 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530181 next-level-cache = <&L2_500>;
182 L2_500: l2-cache {
183 compatible = "cache";
184 next-level-cache = <&L3_0>;
185 };
186 };
187
188 CPU6: cpu@600 {
189 device_type = "cpu";
190 compatible = "qcom,kryo385";
191 reg = <0x0 0x600>;
192 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530193 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530194 next-level-cache = <&L2_600>;
195 L2_600: l2-cache {
196 compatible = "cache";
197 next-level-cache = <&L3_0>;
198 };
199 };
200
201 CPU7: cpu@700 {
202 device_type = "cpu";
203 compatible = "qcom,kryo385";
204 reg = <0x0 0x700>;
205 enable-method = "psci";
Taniya Dasc604b82a2018-12-21 23:44:23 +0530206 qcom,freq-domain = <&cpufreq_hw 1>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530207 next-level-cache = <&L2_700>;
208 L2_700: l2-cache {
209 compatible = "cache";
210 next-level-cache = <&L3_0>;
211 };
212 };
213 };
214
Stephen Boyd000c4662018-05-21 23:23:52 -0700215 pmu {
216 compatible = "arm,armv8-pmuv3";
217 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>;
218 };
219
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530220 timer {
221 compatible = "arm,armv8-timer";
222 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
223 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
224 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
225 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
226 };
227
228 clocks {
229 xo_board: xo-board {
230 compatible = "fixed-clock";
231 #clock-cells = <0>;
Douglas Anderson5ea39392018-05-09 13:05:28 -0700232 clock-frequency = <38400000>;
233 clock-output-names = "xo_board";
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530234 };
235
236 sleep_clk: sleep-clk {
237 compatible = "fixed-clock";
238 #clock-cells = <0>;
239 clock-frequency = <32764>;
240 };
241 };
242
Sibi Sankar77bb7f92018-10-26 17:55:42 +0530243 firmware {
244 scm {
245 compatible = "qcom,scm-sdm845", "qcom,scm";
246 };
247 };
248
Sibi S71c84282018-04-30 20:14:28 +0530249 tcsr_mutex: hwlock {
250 compatible = "qcom,tcsr-mutex";
251 syscon = <&tcsr_mutex_regs 0 0x1000>;
252 #hwlock-cells = <1>;
253 };
254
255 smem {
256 compatible = "qcom,smem";
257 memory-region = <&smem_mem>;
258 hwlocks = <&tcsr_mutex 3>;
259 };
260
Bjorn Andersson3debb1f2018-09-01 15:27:21 -0700261 smp2p-cdsp {
262 compatible = "qcom,smp2p";
263 qcom,smem = <94>, <432>;
264
265 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
266
267 mboxes = <&apss_shared 6>;
268
269 qcom,local-pid = <0>;
270 qcom,remote-pid = <5>;
271
272 cdsp_smp2p_out: master-kernel {
273 qcom,entry-name = "master-kernel";
274 #qcom,smem-state-cells = <1>;
275 };
276
277 cdsp_smp2p_in: slave-kernel {
278 qcom,entry-name = "slave-kernel";
279
280 interrupt-controller;
281 #interrupt-cells = <2>;
282 };
283 };
284
285 smp2p-lpass {
286 compatible = "qcom,smp2p";
287 qcom,smem = <443>, <429>;
288
289 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
290
291 mboxes = <&apss_shared 10>;
292
293 qcom,local-pid = <0>;
294 qcom,remote-pid = <2>;
295
296 adsp_smp2p_out: master-kernel {
297 qcom,entry-name = "master-kernel";
298 #qcom,smem-state-cells = <1>;
299 };
300
301 adsp_smp2p_in: slave-kernel {
302 qcom,entry-name = "slave-kernel";
303
304 interrupt-controller;
305 #interrupt-cells = <2>;
306 };
307 };
308
309 smp2p-mpss {
310 compatible = "qcom,smp2p";
311 qcom,smem = <435>, <428>;
312 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
313 mboxes = <&apss_shared 14>;
314 qcom,local-pid = <0>;
315 qcom,remote-pid = <1>;
316
317 modem_smp2p_out: master-kernel {
318 qcom,entry-name = "master-kernel";
319 #qcom,smem-state-cells = <1>;
320 };
321
322 modem_smp2p_in: slave-kernel {
323 qcom,entry-name = "slave-kernel";
324 interrupt-controller;
325 #interrupt-cells = <2>;
326 };
327 };
328
329 smp2p-slpi {
330 compatible = "qcom,smp2p";
331 qcom,smem = <481>, <430>;
332 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
333 mboxes = <&apss_shared 26>;
334 qcom,local-pid = <0>;
335 qcom,remote-pid = <3>;
336
337 slpi_smp2p_out: master-kernel {
338 qcom,entry-name = "master-kernel";
339 #qcom,smem-state-cells = <1>;
340 };
341
342 slpi_smp2p_in: slave-kernel {
343 qcom,entry-name = "slave-kernel";
344 interrupt-controller;
345 #interrupt-cells = <2>;
346 };
347 };
348
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530349 psci {
350 compatible = "arm,psci-1.0";
351 method = "smc";
352 };
353
354 soc: soc {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800355 #address-cells = <2>;
356 #size-cells = <2>;
Bjorn Andersson9feb6672019-01-16 20:29:40 -0800357 ranges = <0 0 0 0 0x10 0>;
358 dma-ranges = <0 0 0 0 0x10 0>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530359 compatible = "simple-bus";
360
Douglas Anderson54d7a202018-05-14 20:59:22 -0700361 gcc: clock-controller@100000 {
362 compatible = "qcom,gcc-sdm845";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800363 reg = <0 0x00100000 0 0x1f0000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -0700364 #clock-cells = <1>;
365 #reset-cells = <1>;
366 #power-domain-cells = <1>;
367 };
368
Manu Gautamca4db2b2018-08-22 10:36:27 -0700369 qfprom@784000 {
370 compatible = "qcom,qfprom";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800371 reg = <0 0x00784000 0 0x8ff>;
Manu Gautamca4db2b2018-08-22 10:36:27 -0700372 #address-cells = <1>;
373 #size-cells = <1>;
374
375 qusb2p_hstx_trim: hstx-trim-primary@1eb {
376 reg = <0x1eb 0x1>;
377 bits = <1 4>;
378 };
379
380 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
381 reg = <0x1eb 0x2>;
382 bits = <6 4>;
383 };
384 };
385
Vinod Koul6e17f8142018-10-01 11:51:51 +0530386 rng: rng@793000 {
387 compatible = "qcom,prng-ee";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800388 reg = <0 0x00793000 0 0x1000>;
Vinod Koul6e17f8142018-10-01 11:51:51 +0530389 clocks = <&gcc GCC_PRNG_AHB_CLK>;
390 clock-names = "core";
391 };
392
Douglas Anderson897cf342018-06-13 09:53:51 -0700393 qupv3_id_0: geniqup@8c0000 {
394 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800395 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700396 clock-names = "m-ahb", "s-ahb";
397 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
398 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800399 #address-cells = <2>;
400 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700401 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -0700402 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -0700403
404 i2c0: i2c@880000 {
405 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800406 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700407 clock-names = "se";
408 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
409 pinctrl-names = "default";
410 pinctrl-0 = <&qup_i2c0_default>;
411 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
412 #address-cells = <1>;
413 #size-cells = <0>;
414 status = "disabled";
415 };
416
417 spi0: spi@880000 {
418 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800419 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700420 clock-names = "se";
421 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
422 pinctrl-names = "default";
423 pinctrl-0 = <&qup_spi0_default>;
424 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
425 #address-cells = <1>;
426 #size-cells = <0>;
427 status = "disabled";
428 };
429
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700430 uart0: serial@880000 {
431 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800432 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700433 clock-names = "se";
434 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
435 pinctrl-names = "default";
436 pinctrl-0 = <&qup_uart0_default>;
437 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
438 status = "disabled";
439 };
440
Douglas Anderson897cf342018-06-13 09:53:51 -0700441 i2c1: i2c@884000 {
442 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800443 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700444 clock-names = "se";
445 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
446 pinctrl-names = "default";
447 pinctrl-0 = <&qup_i2c1_default>;
448 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
449 #address-cells = <1>;
450 #size-cells = <0>;
451 status = "disabled";
452 };
453
454 spi1: spi@884000 {
455 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800456 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700457 clock-names = "se";
458 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
459 pinctrl-names = "default";
460 pinctrl-0 = <&qup_spi1_default>;
461 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
462 #address-cells = <1>;
463 #size-cells = <0>;
464 status = "disabled";
465 };
466
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700467 uart1: serial@884000 {
468 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800469 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700470 clock-names = "se";
471 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
472 pinctrl-names = "default";
473 pinctrl-0 = <&qup_uart1_default>;
474 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
475 status = "disabled";
476 };
477
Douglas Anderson897cf342018-06-13 09:53:51 -0700478 i2c2: i2c@888000 {
479 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800480 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700481 clock-names = "se";
482 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
483 pinctrl-names = "default";
484 pinctrl-0 = <&qup_i2c2_default>;
485 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
486 #address-cells = <1>;
487 #size-cells = <0>;
488 status = "disabled";
489 };
490
491 spi2: spi@888000 {
492 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800493 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700494 clock-names = "se";
495 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
496 pinctrl-names = "default";
497 pinctrl-0 = <&qup_spi2_default>;
498 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
499 #address-cells = <1>;
500 #size-cells = <0>;
501 status = "disabled";
502 };
503
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700504 uart2: serial@888000 {
505 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800506 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700507 clock-names = "se";
508 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
509 pinctrl-names = "default";
510 pinctrl-0 = <&qup_uart2_default>;
511 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
512 status = "disabled";
513 };
514
Douglas Anderson897cf342018-06-13 09:53:51 -0700515 i2c3: i2c@88c000 {
516 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800517 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700518 clock-names = "se";
519 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
520 pinctrl-names = "default";
521 pinctrl-0 = <&qup_i2c3_default>;
522 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
523 #address-cells = <1>;
524 #size-cells = <0>;
525 status = "disabled";
526 };
527
528 spi3: spi@88c000 {
529 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800530 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700531 clock-names = "se";
532 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
533 pinctrl-names = "default";
534 pinctrl-0 = <&qup_spi3_default>;
535 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
536 #address-cells = <1>;
537 #size-cells = <0>;
538 status = "disabled";
539 };
540
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700541 uart3: serial@88c000 {
542 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800543 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700544 clock-names = "se";
545 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
546 pinctrl-names = "default";
547 pinctrl-0 = <&qup_uart3_default>;
548 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
549 status = "disabled";
550 };
551
Douglas Anderson897cf342018-06-13 09:53:51 -0700552 i2c4: i2c@890000 {
553 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800554 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700555 clock-names = "se";
556 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
557 pinctrl-names = "default";
558 pinctrl-0 = <&qup_i2c4_default>;
559 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
560 #address-cells = <1>;
561 #size-cells = <0>;
562 status = "disabled";
563 };
564
565 spi4: spi@890000 {
566 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800567 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700568 clock-names = "se";
569 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
570 pinctrl-names = "default";
571 pinctrl-0 = <&qup_spi4_default>;
572 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
573 #address-cells = <1>;
574 #size-cells = <0>;
575 status = "disabled";
576 };
577
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700578 uart4: serial@890000 {
579 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800580 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700581 clock-names = "se";
582 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
583 pinctrl-names = "default";
584 pinctrl-0 = <&qup_uart4_default>;
585 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
586 status = "disabled";
587 };
588
Douglas Anderson897cf342018-06-13 09:53:51 -0700589 i2c5: i2c@894000 {
590 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800591 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700592 clock-names = "se";
593 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
594 pinctrl-names = "default";
595 pinctrl-0 = <&qup_i2c5_default>;
596 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
597 #address-cells = <1>;
598 #size-cells = <0>;
599 status = "disabled";
600 };
601
602 spi5: spi@894000 {
603 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800604 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700605 clock-names = "se";
606 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
607 pinctrl-names = "default";
608 pinctrl-0 = <&qup_spi5_default>;
609 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
610 #address-cells = <1>;
611 #size-cells = <0>;
612 status = "disabled";
613 };
614
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700615 uart5: serial@894000 {
616 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800617 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700618 clock-names = "se";
619 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
620 pinctrl-names = "default";
621 pinctrl-0 = <&qup_uart5_default>;
622 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
623 status = "disabled";
624 };
625
Douglas Anderson897cf342018-06-13 09:53:51 -0700626 i2c6: i2c@898000 {
627 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800628 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700629 clock-names = "se";
630 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
631 pinctrl-names = "default";
632 pinctrl-0 = <&qup_i2c6_default>;
633 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
634 #address-cells = <1>;
635 #size-cells = <0>;
636 status = "disabled";
637 };
638
639 spi6: spi@898000 {
640 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800641 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700642 clock-names = "se";
643 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
644 pinctrl-names = "default";
645 pinctrl-0 = <&qup_spi6_default>;
646 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
647 #address-cells = <1>;
648 #size-cells = <0>;
649 status = "disabled";
650 };
651
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700652 uart6: serial@898000 {
653 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800654 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700655 clock-names = "se";
656 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
657 pinctrl-names = "default";
658 pinctrl-0 = <&qup_uart6_default>;
659 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
660 status = "disabled";
661 };
662
Douglas Anderson897cf342018-06-13 09:53:51 -0700663 i2c7: i2c@89c000 {
664 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800665 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700666 clock-names = "se";
667 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
668 pinctrl-names = "default";
669 pinctrl-0 = <&qup_i2c7_default>;
670 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
671 #address-cells = <1>;
672 #size-cells = <0>;
673 status = "disabled";
674 };
675
676 spi7: spi@89c000 {
677 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800678 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700679 clock-names = "se";
680 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
681 pinctrl-names = "default";
682 pinctrl-0 = <&qup_spi7_default>;
683 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
684 #address-cells = <1>;
685 #size-cells = <0>;
686 status = "disabled";
687 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700688
689 uart7: serial@89c000 {
690 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800691 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700692 clock-names = "se";
693 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
694 pinctrl-names = "default";
695 pinctrl-0 = <&qup_uart7_default>;
696 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
697 status = "disabled";
698 };
Douglas Anderson897cf342018-06-13 09:53:51 -0700699 };
700
701 qupv3_id_1: geniqup@ac0000 {
702 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800703 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700704 clock-names = "m-ahb", "s-ahb";
705 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
706 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800707 #address-cells = <2>;
708 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700709 ranges;
710 status = "disabled";
711
712 i2c8: i2c@a80000 {
713 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800714 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700715 clock-names = "se";
716 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
717 pinctrl-names = "default";
718 pinctrl-0 = <&qup_i2c8_default>;
719 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
720 #address-cells = <1>;
721 #size-cells = <0>;
722 status = "disabled";
723 };
724
725 spi8: spi@a80000 {
726 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800727 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700728 clock-names = "se";
729 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
730 pinctrl-names = "default";
731 pinctrl-0 = <&qup_spi8_default>;
732 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
733 #address-cells = <1>;
734 #size-cells = <0>;
735 status = "disabled";
736 };
737
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700738 uart8: serial@a80000 {
739 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800740 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700741 clock-names = "se";
742 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
743 pinctrl-names = "default";
744 pinctrl-0 = <&qup_uart8_default>;
745 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
746 status = "disabled";
747 };
748
Douglas Anderson897cf342018-06-13 09:53:51 -0700749 i2c9: i2c@a84000 {
750 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800751 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700752 clock-names = "se";
753 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
754 pinctrl-names = "default";
755 pinctrl-0 = <&qup_i2c9_default>;
756 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
757 #address-cells = <1>;
758 #size-cells = <0>;
759 status = "disabled";
760 };
761
762 spi9: spi@a84000 {
763 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800764 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700765 clock-names = "se";
766 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
767 pinctrl-names = "default";
768 pinctrl-0 = <&qup_spi9_default>;
769 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
770 #address-cells = <1>;
771 #size-cells = <0>;
772 status = "disabled";
773 };
774
775 uart9: serial@a84000 {
776 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800777 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700778 clock-names = "se";
779 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
780 pinctrl-names = "default";
781 pinctrl-0 = <&qup_uart9_default>;
782 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
783 status = "disabled";
784 };
785
786 i2c10: i2c@a88000 {
787 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800788 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700789 clock-names = "se";
790 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
791 pinctrl-names = "default";
792 pinctrl-0 = <&qup_i2c10_default>;
793 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
794 #address-cells = <1>;
795 #size-cells = <0>;
796 status = "disabled";
797 };
798
799 spi10: spi@a88000 {
800 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800801 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700802 clock-names = "se";
803 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
804 pinctrl-names = "default";
805 pinctrl-0 = <&qup_spi10_default>;
806 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
807 #address-cells = <1>;
808 #size-cells = <0>;
809 status = "disabled";
810 };
811
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700812 uart10: serial@a88000 {
813 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800814 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700815 clock-names = "se";
816 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
817 pinctrl-names = "default";
818 pinctrl-0 = <&qup_uart10_default>;
819 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
820 status = "disabled";
821 };
822
Douglas Anderson897cf342018-06-13 09:53:51 -0700823 i2c11: i2c@a8c000 {
824 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800825 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700826 clock-names = "se";
827 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
828 pinctrl-names = "default";
829 pinctrl-0 = <&qup_i2c11_default>;
830 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
831 #address-cells = <1>;
832 #size-cells = <0>;
833 status = "disabled";
834 };
835
836 spi11: spi@a8c000 {
837 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800838 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700839 clock-names = "se";
840 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
841 pinctrl-names = "default";
842 pinctrl-0 = <&qup_spi11_default>;
843 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
844 #address-cells = <1>;
845 #size-cells = <0>;
846 status = "disabled";
847 };
848
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700849 uart11: serial@a8c000 {
850 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800851 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700852 clock-names = "se";
853 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
854 pinctrl-names = "default";
855 pinctrl-0 = <&qup_uart11_default>;
856 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
857 status = "disabled";
858 };
859
Douglas Anderson897cf342018-06-13 09:53:51 -0700860 i2c12: i2c@a90000 {
861 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800862 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700863 clock-names = "se";
864 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
865 pinctrl-names = "default";
866 pinctrl-0 = <&qup_i2c12_default>;
867 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
868 #address-cells = <1>;
869 #size-cells = <0>;
870 status = "disabled";
871 };
872
873 spi12: spi@a90000 {
874 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800875 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700876 clock-names = "se";
877 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
878 pinctrl-names = "default";
879 pinctrl-0 = <&qup_spi12_default>;
880 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
881 #address-cells = <1>;
882 #size-cells = <0>;
883 status = "disabled";
884 };
885
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700886 uart12: serial@a90000 {
887 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800888 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700889 clock-names = "se";
890 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
891 pinctrl-names = "default";
892 pinctrl-0 = <&qup_uart12_default>;
893 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
894 status = "disabled";
895 };
896
Douglas Anderson897cf342018-06-13 09:53:51 -0700897 i2c13: i2c@a94000 {
898 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800899 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700900 clock-names = "se";
901 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
902 pinctrl-names = "default";
903 pinctrl-0 = <&qup_i2c13_default>;
904 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
905 #address-cells = <1>;
906 #size-cells = <0>;
907 status = "disabled";
908 };
909
910 spi13: spi@a94000 {
911 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800912 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700913 clock-names = "se";
914 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
915 pinctrl-names = "default";
916 pinctrl-0 = <&qup_spi13_default>;
917 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
918 #address-cells = <1>;
919 #size-cells = <0>;
920 status = "disabled";
921 };
922
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700923 uart13: serial@a94000 {
924 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800925 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700926 clock-names = "se";
927 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
928 pinctrl-names = "default";
929 pinctrl-0 = <&qup_uart13_default>;
930 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
931 status = "disabled";
932 };
933
Douglas Anderson897cf342018-06-13 09:53:51 -0700934 i2c14: i2c@a98000 {
935 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800936 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700937 clock-names = "se";
938 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
939 pinctrl-names = "default";
940 pinctrl-0 = <&qup_i2c14_default>;
941 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
942 #address-cells = <1>;
943 #size-cells = <0>;
944 status = "disabled";
945 };
946
947 spi14: spi@a98000 {
948 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800949 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700950 clock-names = "se";
951 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
952 pinctrl-names = "default";
953 pinctrl-0 = <&qup_spi14_default>;
954 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
955 #address-cells = <1>;
956 #size-cells = <0>;
957 status = "disabled";
958 };
959
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700960 uart14: serial@a98000 {
961 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800962 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700963 clock-names = "se";
964 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
965 pinctrl-names = "default";
966 pinctrl-0 = <&qup_uart14_default>;
967 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
968 status = "disabled";
969 };
970
Douglas Anderson897cf342018-06-13 09:53:51 -0700971 i2c15: i2c@a9c000 {
972 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800973 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700974 clock-names = "se";
975 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
976 pinctrl-names = "default";
977 pinctrl-0 = <&qup_i2c15_default>;
978 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
979 #address-cells = <1>;
980 #size-cells = <0>;
981 status = "disabled";
982 };
983
984 spi15: spi@a9c000 {
985 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800986 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700987 clock-names = "se";
988 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
989 pinctrl-names = "default";
990 pinctrl-0 = <&qup_spi15_default>;
991 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
992 #address-cells = <1>;
993 #size-cells = <0>;
994 status = "disabled";
995 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700996
997 uart15: serial@a9c000 {
998 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800999 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001000 clock-names = "se";
1001 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1002 pinctrl-names = "default";
1003 pinctrl-0 = <&qup_uart15_default>;
1004 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1005 status = "disabled";
1006 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001007 };
1008
Evan Greencc166872018-12-10 11:28:24 -08001009 ufs_mem_hc: ufshc@1d84000 {
1010 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1011 "jedec,ufs-2.0";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001012 reg = <0 0x01d84000 0 0x2500>;
Evan Greencc166872018-12-10 11:28:24 -08001013 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1014 phys = <&ufs_mem_phy_lanes>;
1015 phy-names = "ufsphy";
1016 lanes-per-direction = <2>;
1017 power-domains = <&gcc UFS_PHY_GDSC>;
1018
1019 iommus = <&apps_smmu 0x100 0xf>;
1020
1021 clock-names =
1022 "core_clk",
1023 "bus_aggr_clk",
1024 "iface_clk",
1025 "core_clk_unipro",
1026 "ref_clk",
1027 "tx_lane0_sync_clk",
1028 "rx_lane0_sync_clk",
1029 "rx_lane1_sync_clk";
1030 clocks =
1031 <&gcc GCC_UFS_PHY_AXI_CLK>,
1032 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1033 <&gcc GCC_UFS_PHY_AHB_CLK>,
1034 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1035 <&rpmhcc RPMH_CXO_CLK>,
1036 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1037 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1038 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1039 freq-table-hz =
1040 <50000000 200000000>,
1041 <0 0>,
1042 <0 0>,
1043 <37500000 150000000>,
1044 <0 0>,
1045 <0 0>,
1046 <0 0>,
1047 <0 0>;
1048
1049 status = "disabled";
1050 };
1051
1052 ufs_mem_phy: phy@1d87000 {
1053 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001054 reg = <0 0x01d87000 0 0x18c>;
1055 #address-cells = <2>;
1056 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08001057 ranges;
1058 clock-names = "ref",
1059 "ref_aux";
1060 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
1061 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1062
1063 status = "disabled";
1064
1065 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001066 reg = <0 0x01d87400 0 0x108>,
1067 <0 0x01d87600 0 0x1e0>,
1068 <0 0x01d87c00 0 0x1dc>,
1069 <0 0x01d87800 0 0x108>,
1070 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08001071 #phy-cells = <0>;
1072 };
1073 };
1074
Douglas Anderson54d7a202018-05-14 20:59:22 -07001075 tcsr_mutex_regs: syscon@1f40000 {
1076 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001077 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001078 };
1079
1080 tlmm: pinctrl@3400000 {
1081 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001082 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001083 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1084 gpio-controller;
1085 #gpio-cells = <2>;
1086 interrupt-controller;
1087 #interrupt-cells = <2>;
Evan Greenbc2c8062018-11-09 15:52:12 -08001088 gpio-ranges = <&tlmm 0 0 150>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001089
Douglas Andersone1ce8532018-10-08 13:17:11 -07001090 qspi_clk: qspi-clk {
1091 pinmux {
1092 pins = "gpio95";
1093 function = "qspi_clk";
1094 };
1095 };
1096
1097 qspi_cs0: qspi-cs0 {
1098 pinmux {
1099 pins = "gpio90";
1100 function = "qspi_cs";
1101 };
1102 };
1103
1104 qspi_cs1: qspi-cs1 {
1105 pinmux {
1106 pins = "gpio89";
1107 function = "qspi_cs";
1108 };
1109 };
1110
1111 qspi_data01: qspi-data01 {
1112 pinmux-data {
1113 pins = "gpio91", "gpio92";
1114 function = "qspi_data";
1115 };
1116 };
1117
1118 qspi_data12: qspi-data12 {
1119 pinmux-data {
1120 pins = "gpio93", "gpio94";
1121 function = "qspi_data";
1122 };
1123 };
1124
Douglas Anderson897cf342018-06-13 09:53:51 -07001125 qup_i2c0_default: qup-i2c0-default {
1126 pinmux {
1127 pins = "gpio0", "gpio1";
1128 function = "qup0";
1129 };
1130 };
1131
1132 qup_i2c1_default: qup-i2c1-default {
1133 pinmux {
1134 pins = "gpio17", "gpio18";
1135 function = "qup1";
1136 };
1137 };
1138
1139 qup_i2c2_default: qup-i2c2-default {
1140 pinmux {
1141 pins = "gpio27", "gpio28";
1142 function = "qup2";
1143 };
1144 };
1145
1146 qup_i2c3_default: qup-i2c3-default {
1147 pinmux {
1148 pins = "gpio41", "gpio42";
1149 function = "qup3";
1150 };
1151 };
1152
1153 qup_i2c4_default: qup-i2c4-default {
1154 pinmux {
1155 pins = "gpio89", "gpio90";
1156 function = "qup4";
1157 };
1158 };
1159
1160 qup_i2c5_default: qup-i2c5-default {
1161 pinmux {
1162 pins = "gpio85", "gpio86";
1163 function = "qup5";
1164 };
1165 };
1166
1167 qup_i2c6_default: qup-i2c6-default {
1168 pinmux {
1169 pins = "gpio45", "gpio46";
1170 function = "qup6";
1171 };
1172 };
1173
1174 qup_i2c7_default: qup-i2c7-default {
1175 pinmux {
1176 pins = "gpio93", "gpio94";
1177 function = "qup7";
1178 };
1179 };
1180
1181 qup_i2c8_default: qup-i2c8-default {
1182 pinmux {
1183 pins = "gpio65", "gpio66";
1184 function = "qup8";
1185 };
1186 };
1187
1188 qup_i2c9_default: qup-i2c9-default {
1189 pinmux {
1190 pins = "gpio6", "gpio7";
1191 function = "qup9";
1192 };
1193 };
1194
1195 qup_i2c10_default: qup-i2c10-default {
1196 pinmux {
1197 pins = "gpio55", "gpio56";
1198 function = "qup10";
1199 };
1200 };
1201
1202 qup_i2c11_default: qup-i2c11-default {
1203 pinmux {
1204 pins = "gpio31", "gpio32";
1205 function = "qup11";
1206 };
1207 };
1208
1209 qup_i2c12_default: qup-i2c12-default {
1210 pinmux {
1211 pins = "gpio49", "gpio50";
1212 function = "qup12";
1213 };
1214 };
1215
1216 qup_i2c13_default: qup-i2c13-default {
1217 pinmux {
1218 pins = "gpio105", "gpio106";
1219 function = "qup13";
1220 };
1221 };
1222
1223 qup_i2c14_default: qup-i2c14-default {
1224 pinmux {
1225 pins = "gpio33", "gpio34";
1226 function = "qup14";
1227 };
1228 };
1229
1230 qup_i2c15_default: qup-i2c15-default {
1231 pinmux {
1232 pins = "gpio81", "gpio82";
1233 function = "qup15";
1234 };
1235 };
1236
1237 qup_spi0_default: qup-spi0-default {
1238 pinmux {
1239 pins = "gpio0", "gpio1",
1240 "gpio2", "gpio3";
1241 function = "qup0";
1242 };
1243 };
1244
1245 qup_spi1_default: qup-spi1-default {
1246 pinmux {
1247 pins = "gpio17", "gpio18",
1248 "gpio19", "gpio20";
1249 function = "qup1";
1250 };
1251 };
1252
1253 qup_spi2_default: qup-spi2-default {
1254 pinmux {
1255 pins = "gpio27", "gpio28",
1256 "gpio29", "gpio30";
1257 function = "qup2";
1258 };
1259 };
1260
1261 qup_spi3_default: qup-spi3-default {
1262 pinmux {
1263 pins = "gpio41", "gpio42",
1264 "gpio43", "gpio44";
1265 function = "qup3";
1266 };
1267 };
1268
1269 qup_spi4_default: qup-spi4-default {
1270 pinmux {
1271 pins = "gpio89", "gpio90",
1272 "gpio91", "gpio92";
1273 function = "qup4";
1274 };
1275 };
1276
1277 qup_spi5_default: qup-spi5-default {
1278 pinmux {
1279 pins = "gpio85", "gpio86",
1280 "gpio87", "gpio88";
1281 function = "qup5";
1282 };
1283 };
1284
1285 qup_spi6_default: qup-spi6-default {
1286 pinmux {
1287 pins = "gpio45", "gpio46",
1288 "gpio47", "gpio48";
1289 function = "qup6";
1290 };
1291 };
1292
1293 qup_spi7_default: qup-spi7-default {
1294 pinmux {
1295 pins = "gpio93", "gpio94",
1296 "gpio95", "gpio96";
1297 function = "qup7";
1298 };
1299 };
1300
1301 qup_spi8_default: qup-spi8-default {
1302 pinmux {
1303 pins = "gpio65", "gpio66",
1304 "gpio67", "gpio68";
1305 function = "qup8";
1306 };
1307 };
1308
1309 qup_spi9_default: qup-spi9-default {
1310 pinmux {
1311 pins = "gpio6", "gpio7",
1312 "gpio4", "gpio5";
1313 function = "qup9";
1314 };
1315 };
1316
1317 qup_spi10_default: qup-spi10-default {
1318 pinmux {
1319 pins = "gpio55", "gpio56",
1320 "gpio53", "gpio54";
1321 function = "qup10";
1322 };
1323 };
1324
1325 qup_spi11_default: qup-spi11-default {
1326 pinmux {
1327 pins = "gpio31", "gpio32",
1328 "gpio33", "gpio34";
1329 function = "qup11";
1330 };
1331 };
1332
1333 qup_spi12_default: qup-spi12-default {
1334 pinmux {
1335 pins = "gpio49", "gpio50",
1336 "gpio51", "gpio52";
1337 function = "qup12";
1338 };
1339 };
1340
1341 qup_spi13_default: qup-spi13-default {
1342 pinmux {
1343 pins = "gpio105", "gpio106",
1344 "gpio107", "gpio108";
1345 function = "qup13";
1346 };
1347 };
1348
1349 qup_spi14_default: qup-spi14-default {
1350 pinmux {
1351 pins = "gpio33", "gpio34",
1352 "gpio31", "gpio32";
1353 function = "qup14";
1354 };
1355 };
1356
1357 qup_spi15_default: qup-spi15-default {
1358 pinmux {
1359 pins = "gpio81", "gpio82",
1360 "gpio83", "gpio84";
1361 function = "qup15";
1362 };
1363 };
1364
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001365 qup_uart0_default: qup-uart0-default {
1366 pinmux {
1367 pins = "gpio2", "gpio3";
1368 function = "qup0";
1369 };
1370 };
1371
1372 qup_uart1_default: qup-uart1-default {
1373 pinmux {
1374 pins = "gpio19", "gpio20";
1375 function = "qup1";
1376 };
1377 };
1378
1379 qup_uart2_default: qup-uart2-default {
1380 pinmux {
1381 pins = "gpio29", "gpio30";
1382 function = "qup2";
1383 };
1384 };
1385
1386 qup_uart3_default: qup-uart3-default {
1387 pinmux {
1388 pins = "gpio43", "gpio44";
1389 function = "qup3";
1390 };
1391 };
1392
1393 qup_uart4_default: qup-uart4-default {
1394 pinmux {
1395 pins = "gpio91", "gpio92";
1396 function = "qup4";
1397 };
1398 };
1399
1400 qup_uart5_default: qup-uart5-default {
1401 pinmux {
1402 pins = "gpio87", "gpio88";
1403 function = "qup5";
1404 };
1405 };
1406
1407 qup_uart6_default: qup-uart6-default {
1408 pinmux {
1409 pins = "gpio47", "gpio48";
1410 function = "qup6";
1411 };
1412 };
1413
1414 qup_uart7_default: qup-uart7-default {
1415 pinmux {
1416 pins = "gpio95", "gpio96";
1417 function = "qup7";
1418 };
1419 };
1420
1421 qup_uart8_default: qup-uart8-default {
1422 pinmux {
1423 pins = "gpio67", "gpio68";
1424 function = "qup8";
1425 };
1426 };
1427
Douglas Anderson897cf342018-06-13 09:53:51 -07001428 qup_uart9_default: qup-uart9-default {
1429 pinmux {
1430 pins = "gpio4", "gpio5";
1431 function = "qup9";
1432 };
1433 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001434
1435 qup_uart10_default: qup-uart10-default {
1436 pinmux {
1437 pins = "gpio53", "gpio54";
1438 function = "qup10";
1439 };
1440 };
1441
1442 qup_uart11_default: qup-uart11-default {
1443 pinmux {
1444 pins = "gpio33", "gpio34";
1445 function = "qup11";
1446 };
1447 };
1448
1449 qup_uart12_default: qup-uart12-default {
1450 pinmux {
1451 pins = "gpio51", "gpio52";
1452 function = "qup12";
1453 };
1454 };
1455
1456 qup_uart13_default: qup-uart13-default {
1457 pinmux {
1458 pins = "gpio107", "gpio108";
1459 function = "qup13";
1460 };
1461 };
1462
1463 qup_uart14_default: qup-uart14-default {
1464 pinmux {
1465 pins = "gpio31", "gpio32";
1466 function = "qup14";
1467 };
1468 };
1469
1470 qup_uart15_default: qup-uart15-default {
1471 pinmux {
1472 pins = "gpio83", "gpio84";
1473 function = "qup15";
1474 };
1475 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07001476 };
1477
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001478 gpucc: clock-controller@5090000 {
1479 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001480 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001481 #clock-cells = <1>;
1482 #reset-cells = <1>;
1483 #power-domain-cells = <1>;
1484 clocks = <&rpmhcc RPMH_CXO_CLK>;
1485 clock-names = "xo";
1486 };
1487
Evan Green67d62e52018-12-06 10:45:21 -08001488 sdhc_2: sdhci@8804000 {
1489 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001490 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08001491
1492 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
1493 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1494 interrupt-names = "hc_irq", "pwr_irq";
1495
1496 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
1497 <&gcc GCC_SDCC2_APPS_CLK>;
1498 clock-names = "iface", "core";
1499
1500 status = "disabled";
1501 };
1502
Douglas Andersone1ce8532018-10-08 13:17:11 -07001503 qspi: spi@88df000 {
1504 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001505 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07001506 #address-cells = <1>;
1507 #size-cells = <0>;
1508 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1509 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
1510 <&gcc GCC_QSPI_CORE_CLK>;
1511 clock-names = "iface", "core";
1512 status = "disabled";
1513 };
1514
Manu Gautamca4db2b2018-08-22 10:36:27 -07001515 usb_1_hsphy: phy@88e2000 {
1516 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001517 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001518 status = "disabled";
1519 #phy-cells = <0>;
1520
1521 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1522 <&rpmhcc RPMH_CXO_CLK>;
1523 clock-names = "cfg_ahb", "ref";
1524
1525 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1526
1527 nvmem-cells = <&qusb2p_hstx_trim>;
1528 };
1529
1530 usb_2_hsphy: phy@88e3000 {
1531 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001532 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001533 status = "disabled";
1534 #phy-cells = <0>;
1535
1536 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1537 <&rpmhcc RPMH_CXO_CLK>;
1538 clock-names = "cfg_ahb", "ref";
1539
1540 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1541
1542 nvmem-cells = <&qusb2s_hstx_trim>;
1543 };
1544
1545 usb_1_qmpphy: phy@88e9000 {
1546 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001547 reg = <0 0x088e9000 0 0x18c>,
1548 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001549 reg-names = "reg-base", "dp_com";
1550 status = "disabled";
1551 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001552 #address-cells = <2>;
1553 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001554 ranges;
1555
1556 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1557 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1558 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
1559 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1560 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1561
1562 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1563 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1564 reset-names = "phy", "common";
1565
Evan Green9ebfcba2018-12-10 11:28:26 -08001566 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001567 reg = <0 0x088e9200 0 0x128>,
1568 <0 0x088e9400 0 0x200>,
1569 <0 0x088e9c00 0 0x218>,
1570 <0 0x088e9600 0 0x128>,
1571 <0 0x088e9800 0 0x200>,
1572 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001573 #phy-cells = <0>;
1574 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1575 clock-names = "pipe0";
1576 clock-output-names = "usb3_phy_pipe_clk_src";
1577 };
1578 };
1579
1580 usb_2_qmpphy: phy@88eb000 {
1581 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001582 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001583 status = "disabled";
1584 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001585 #address-cells = <2>;
1586 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001587 ranges;
1588
1589 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
1590 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1591 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
1592 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
1593 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1594
1595 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
1596 <&gcc GCC_USB3_PHY_SEC_BCR>;
1597 reset-names = "phy", "common";
1598
1599 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001600 reg = <0 0x088eb200 0 0x128>,
1601 <0 0x088eb400 0 0x1fc>,
1602 <0 0x088eb800 0 0x218>,
1603 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001604 #phy-cells = <0>;
1605 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
1606 clock-names = "pipe0";
1607 clock-output-names = "usb3_uni_phy_pipe_clk_src";
1608 };
1609 };
1610
1611 usb_1: usb@a6f8800 {
1612 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001613 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001614 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001615 #address-cells = <2>;
1616 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001617 ranges;
1618
1619 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1620 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1621 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1622 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1623 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1624 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1625 "sleep";
1626
1627 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1628 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1629 assigned-clock-rates = <19200000>, <150000000>;
1630
1631 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1632 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
1633 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
1634 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
1635 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1636 "dm_hs_phy_irq", "dp_hs_phy_irq";
1637
1638 power-domains = <&gcc USB30_PRIM_GDSC>;
1639
1640 resets = <&gcc GCC_USB30_PRIM_BCR>;
1641
1642 usb_1_dwc3: dwc3@a600000 {
1643 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001644 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001645 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1646 snps,dis_u2_susphy_quirk;
1647 snps,dis_enblslpm_quirk;
1648 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1649 phy-names = "usb2-phy", "usb3-phy";
1650 };
1651 };
1652
1653 usb_2: usb@a8f8800 {
1654 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001655 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001656 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001657 #address-cells = <2>;
1658 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001659 ranges;
1660
1661 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
1662 <&gcc GCC_USB30_SEC_MASTER_CLK>,
1663 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
1664 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1665 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
1666 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1667 "sleep";
1668
1669 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1670 <&gcc GCC_USB30_SEC_MASTER_CLK>;
1671 assigned-clock-rates = <19200000>, <150000000>;
1672
1673 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
1674 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
1675 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
1676 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
1677 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1678 "dm_hs_phy_irq", "dp_hs_phy_irq";
1679
1680 power-domains = <&gcc USB30_SEC_GDSC>;
1681
1682 resets = <&gcc GCC_USB30_SEC_BCR>;
1683
1684 usb_2_dwc3: dwc3@a800000 {
1685 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001686 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001687 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
1688 snps,dis_u2_susphy_quirk;
1689 snps,dis_enblslpm_quirk;
1690 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
1691 phy-names = "usb2-phy", "usb3-phy";
1692 };
1693 };
1694
Taniya Das05556682018-12-03 11:36:29 -08001695 videocc: clock-controller@ab00000 {
1696 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001697 reg = <0 0x0ab00000 0 0x10000>;
Taniya Das05556682018-12-03 11:36:29 -08001698 #clock-cells = <1>;
1699 #power-domain-cells = <1>;
1700 #reset-cells = <1>;
1701 };
1702
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001703 mdss: mdss@ae00000 {
1704 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001705 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001706 reg-names = "mdss";
1707
1708 power-domains = <&dispcc MDSS_GDSC>;
1709
1710 clocks = <&gcc GCC_DISP_AHB_CLK>,
1711 <&gcc GCC_DISP_AXI_CLK>,
1712 <&dispcc DISP_CC_MDSS_MDP_CLK>;
1713 clock-names = "iface", "bus", "core";
1714
1715 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
1716 assigned-clock-rates = <300000000>;
1717
1718 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1719 interrupt-controller;
1720 #interrupt-cells = <1>;
1721
1722 iommus = <&apps_smmu 0x880 0x8>,
1723 <&apps_smmu 0xc80 0x8>;
1724
1725 status = "disabled";
1726
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001727 #address-cells = <2>;
1728 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001729 ranges;
1730
1731 mdss_mdp: mdp@ae01000 {
1732 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001733 reg = <0 0x0ae01000 0 0x8f000>,
1734 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001735 reg-names = "mdp", "vbif";
1736
1737 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
1738 <&dispcc DISP_CC_MDSS_AXI_CLK>,
1739 <&dispcc DISP_CC_MDSS_MDP_CLK>,
1740 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1741 clock-names = "iface", "bus", "core", "vsync";
1742
1743 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
1744 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1745 assigned-clock-rates = <300000000>,
1746 <19200000>;
1747
1748 interrupt-parent = <&mdss>;
1749 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
1750
1751 status = "disabled";
1752
1753 ports {
1754 #address-cells = <1>;
1755 #size-cells = <0>;
1756
1757 port@0 {
1758 reg = <0>;
1759 dpu_intf1_out: endpoint {
1760 remote-endpoint = <&dsi0_in>;
1761 };
1762 };
1763
1764 port@1 {
1765 reg = <1>;
1766 dpu_intf2_out: endpoint {
1767 remote-endpoint = <&dsi1_in>;
1768 };
1769 };
1770 };
1771 };
1772
1773 dsi0: dsi@ae94000 {
1774 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001775 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001776 reg-names = "dsi_ctrl";
1777
1778 interrupt-parent = <&mdss>;
1779 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
1780
1781 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
1782 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
1783 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
1784 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
1785 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1786 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1787 clock-names = "byte",
1788 "byte_intf",
1789 "pixel",
1790 "core",
1791 "iface",
1792 "bus";
1793
1794 phys = <&dsi0_phy>;
1795 phy-names = "dsi";
1796
1797 status = "disabled";
1798
1799 #address-cells = <1>;
1800 #size-cells = <0>;
1801
1802 ports {
1803 #address-cells = <1>;
1804 #size-cells = <0>;
1805
1806 port@0 {
1807 reg = <0>;
1808 dsi0_in: endpoint {
1809 remote-endpoint = <&dpu_intf1_out>;
1810 };
1811 };
1812
1813 port@1 {
1814 reg = <1>;
1815 dsi0_out: endpoint {
1816 };
1817 };
1818 };
1819 };
1820
1821 dsi0_phy: dsi-phy@ae94400 {
1822 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001823 reg = <0 0x0ae94400 0 0x200>,
1824 <0 0x0ae94600 0 0x280>,
1825 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001826 reg-names = "dsi_phy",
1827 "dsi_phy_lane",
1828 "dsi_pll";
1829
1830 #clock-cells = <1>;
1831 #phy-cells = <0>;
1832
1833 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1834 clock-names = "iface";
1835
1836 status = "disabled";
1837 };
1838
1839 dsi1: dsi@ae96000 {
1840 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001841 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001842 reg-names = "dsi_ctrl";
1843
1844 interrupt-parent = <&mdss>;
1845 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1846
1847 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
1848 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
1849 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
1850 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
1851 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1852 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1853 clock-names = "byte",
1854 "byte_intf",
1855 "pixel",
1856 "core",
1857 "iface",
1858 "bus";
1859
1860 phys = <&dsi1_phy>;
1861 phy-names = "dsi";
1862
1863 status = "disabled";
1864
1865 #address-cells = <1>;
1866 #size-cells = <0>;
1867
1868 ports {
1869 #address-cells = <1>;
1870 #size-cells = <0>;
1871
1872 port@0 {
1873 reg = <0>;
1874 dsi1_in: endpoint {
1875 remote-endpoint = <&dpu_intf2_out>;
1876 };
1877 };
1878
1879 port@1 {
1880 reg = <1>;
1881 dsi1_out: endpoint {
1882 };
1883 };
1884 };
1885 };
1886
1887 dsi1_phy: dsi-phy@ae96400 {
1888 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001889 reg = <0 0x0ae96400 0 0x200>,
1890 <0 0x0ae96600 0 0x280>,
1891 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001892 reg-names = "dsi_phy",
1893 "dsi_phy_lane",
1894 "dsi_pll";
1895
1896 #clock-cells = <1>;
1897 #phy-cells = <0>;
1898
1899 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1900 clock-names = "iface";
1901
1902 status = "disabled";
1903 };
1904 };
1905
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001906 dispcc: clock-controller@af00000 {
1907 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001908 reg = <0 0x0af00000 0 0x10000>;
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001909 #clock-cells = <1>;
1910 #reset-cells = <1>;
1911 #power-domain-cells = <1>;
1912 };
1913
Sibi Sankar13393da2018-10-26 17:56:53 +05301914 pdc_reset: reset-controller@b2e0000 {
1915 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001916 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05301917 #reset-cells = <1>;
1918 };
1919
Amit Kucheriacda676b2018-07-18 12:13:13 +05301920 tsens0: thermal-sensor@c263000 {
1921 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001922 reg = <0 0x0c263000 0 0x1ff>, /* TM */
1923 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05301924 #qcom,sensors = <13>;
1925 #thermal-sensor-cells = <1>;
1926 };
1927
1928 tsens1: thermal-sensor@c265000 {
1929 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001930 reg = <0 0x0c265000 0 0x1ff>, /* TM */
1931 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05301932 #qcom,sensors = <8>;
1933 #thermal-sensor-cells = <1>;
1934 };
1935
Sibi Sankaread5eea2018-09-01 15:23:55 -07001936 aoss_reset: reset-controller@c2a0000 {
1937 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001938 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07001939 #reset-cells = <1>;
1940 };
1941
Douglas Anderson54d7a202018-05-14 20:59:22 -07001942 spmi_bus: spmi@c440000 {
1943 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001944 reg = <0 0x0c440000 0 0x1100>,
1945 <0 0x0c600000 0 0x2000000>,
1946 <0 0x0e600000 0 0x100000>,
1947 <0 0x0e700000 0 0xa0000>,
1948 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001949 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1950 interrupt-names = "periph_irq";
1951 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1952 qcom,ee = <0>;
1953 qcom,channel = <0>;
1954 #address-cells = <2>;
1955 #size-cells = <0>;
1956 interrupt-controller;
1957 #interrupt-cells = <4>;
1958 cell-index = <0>;
1959 };
1960
Vivek Gautam4429e572018-10-11 15:19:30 +05301961 apps_smmu: iommu@15000000 {
1962 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001963 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05301964 #iommu-cells = <2>;
1965 #global-interrupts = <1>;
1966 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1967 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1968 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1969 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1970 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1971 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1972 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1973 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1974 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1975 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1976 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
1977 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1978 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
1979 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1980 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1981 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1982 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
1983 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1984 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1985 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1986 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1987 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1988 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1989 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1990 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
1991 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
1992 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
1993 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
1994 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
1995 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
1996 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
1997 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
1998 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
1999 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
2000 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
2001 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
2002 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
2003 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
2004 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
2005 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
2006 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
2007 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2008 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2009 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2010 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2011 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2012 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2013 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2014 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2015 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2016 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2017 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2018 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2019 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2020 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2021 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2022 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2023 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2024 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2025 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2026 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2027 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2028 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2029 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2030 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
2031 };
2032
Taniya Das0cef5dd2018-12-05 13:30:36 +05302033 lpasscc: clock-controller@17014000 {
2034 compatible = "qcom,sdm845-lpasscc";
2035 reg = <0x17014000 0x1f004>, <0x17300000 0x200>;
2036 reg-names = "cc", "qdsp6ss";
2037 #clock-cells = <1>;
2038 status = "disabled";
2039 };
2040
Douglas Anderson54d7a202018-05-14 20:59:22 -07002041 apss_shared: mailbox@17990000 {
2042 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002043 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002044 #mbox-cells = <1>;
2045 };
2046
Douglas Andersonc83545d2018-06-18 14:50:50 -07002047 apps_rsc: rsc@179c0000 {
2048 label = "apps_rsc";
2049 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002050 reg = <0 0x179c0000 0 0x10000>,
2051 <0 0x179d0000 0 0x10000>,
2052 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07002053 reg-names = "drv-0", "drv-1", "drv-2";
2054 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2055 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2056 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2057 qcom,tcs-offset = <0xd00>;
2058 qcom,drv-id = <2>;
2059 qcom,tcs-config = <ACTIVE_TCS 2>,
2060 <SLEEP_TCS 3>,
2061 <WAKE_TCS 3>,
2062 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07002063
2064 rpmhcc: clock-controller {
2065 compatible = "qcom,sdm845-rpmh-clk";
2066 #clock-cells = <1>;
2067 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05302068
2069 rpmhpd: power-controller {
2070 compatible = "qcom,sdm845-rpmhpd";
2071 #power-domain-cells = <1>;
2072 operating-points-v2 = <&rpmhpd_opp_table>;
2073
2074 rpmhpd_opp_table: opp-table {
2075 compatible = "operating-points-v2";
2076
2077 rpmhpd_opp_ret: opp1 {
2078 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
2079 };
2080
2081 rpmhpd_opp_min_svs: opp2 {
2082 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2083 };
2084
2085 rpmhpd_opp_low_svs: opp3 {
2086 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2087 };
2088
2089 rpmhpd_opp_svs: opp4 {
2090 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2091 };
2092
2093 rpmhpd_opp_svs_l1: opp5 {
2094 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2095 };
2096
2097 rpmhpd_opp_nom: opp6 {
2098 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2099 };
2100
2101 rpmhpd_opp_nom_l1: opp7 {
2102 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2103 };
2104
2105 rpmhpd_opp_nom_l2: opp8 {
2106 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
2107 };
2108
2109 rpmhpd_opp_turbo: opp9 {
2110 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2111 };
2112
2113 rpmhpd_opp_turbo_l1: opp10 {
2114 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2115 };
2116 };
2117 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07002118 };
2119
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302120 intc: interrupt-controller@17a00000 {
2121 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002122 #address-cells = <2>;
2123 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302124 ranges;
2125 #interrupt-cells = <3>;
2126 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002127 reg = <0 0x17a00000 0 0x10000>, /* GICD */
2128 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302129 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2130
2131 gic-its@17a40000 {
2132 compatible = "arm,gic-v3-its";
2133 msi-controller;
2134 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002135 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302136 status = "disabled";
2137 };
2138 };
2139
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302140 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002141 #address-cells = <2>;
2142 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302143 ranges;
2144 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002145 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302146
2147 frame@17ca0000 {
2148 frame-number = <0>;
2149 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
2150 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002151 reg = <0 0x17ca0000 0 0x1000>,
2152 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302153 };
2154
2155 frame@17cc0000 {
2156 frame-number = <1>;
2157 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002158 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302159 status = "disabled";
2160 };
2161
2162 frame@17cd0000 {
2163 frame-number = <2>;
2164 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002165 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302166 status = "disabled";
2167 };
2168
2169 frame@17ce0000 {
2170 frame-number = <3>;
2171 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002172 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302173 status = "disabled";
2174 };
2175
2176 frame@17cf0000 {
2177 frame-number = <4>;
2178 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002179 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302180 status = "disabled";
2181 };
2182
2183 frame@17d00000 {
2184 frame-number = <5>;
2185 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002186 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302187 status = "disabled";
2188 };
2189
2190 frame@17d10000 {
2191 frame-number = <6>;
2192 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002193 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302194 status = "disabled";
2195 };
2196 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05302197
2198 cpufreq_hw: cpufreq@17d43000 {
2199 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002200 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05302201 reg-names = "freq-domain0", "freq-domain1";
2202
2203 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
2204 clock-names = "xo", "alternate";
2205
2206 #freq-domain-cells = <1>;
2207 };
Govind Singh022bccb2018-11-05 18:38:37 +05302208
2209 wifi: wifi@18800000 {
2210 compatible = "qcom,wcn3990-wifi";
2211 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002212 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05302213 reg-names = "membase";
2214 memory-region = <&wlan_msa_mem>;
2215 interrupts =
2216 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
2217 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
2218 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
2219 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
2220 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
2221 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
2222 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
2223 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
2224 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
2225 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
2226 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
2227 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
2228 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302229 };
Amit Kucheria48847882018-06-12 15:26:54 +03002230
2231 thermal-zones {
2232 cpu0-thermal {
2233 polling-delay-passive = <250>;
2234 polling-delay = <1000>;
2235
2236 thermal-sensors = <&tsens0 1>;
2237
2238 trips {
2239 cpu_alert0: trip0 {
2240 temperature = <75000>;
2241 hysteresis = <2000>;
2242 type = "passive";
2243 };
2244
2245 cpu_crit0: trip1 {
2246 temperature = <110000>;
2247 hysteresis = <1000>;
2248 type = "critical";
2249 };
2250 };
2251 };
2252
2253 cpu1-thermal {
2254 polling-delay-passive = <250>;
2255 polling-delay = <1000>;
2256
2257 thermal-sensors = <&tsens0 2>;
2258
2259 trips {
2260 cpu_alert1: trip0 {
2261 temperature = <75000>;
2262 hysteresis = <2000>;
2263 type = "passive";
2264 };
2265
2266 cpu_crit1: trip1 {
2267 temperature = <110000>;
2268 hysteresis = <1000>;
2269 type = "critical";
2270 };
2271 };
2272 };
2273
2274 cpu2-thermal {
2275 polling-delay-passive = <250>;
2276 polling-delay = <1000>;
2277
2278 thermal-sensors = <&tsens0 3>;
2279
2280 trips {
2281 cpu_alert2: trip0 {
2282 temperature = <75000>;
2283 hysteresis = <2000>;
2284 type = "passive";
2285 };
2286
2287 cpu_crit2: trip1 {
2288 temperature = <110000>;
2289 hysteresis = <1000>;
2290 type = "critical";
2291 };
2292 };
2293 };
2294
2295 cpu3-thermal {
2296 polling-delay-passive = <250>;
2297 polling-delay = <1000>;
2298
2299 thermal-sensors = <&tsens0 4>;
2300
2301 trips {
2302 cpu_alert3: trip0 {
2303 temperature = <75000>;
2304 hysteresis = <2000>;
2305 type = "passive";
2306 };
2307
2308 cpu_crit3: trip1 {
2309 temperature = <110000>;
2310 hysteresis = <1000>;
2311 type = "critical";
2312 };
2313 };
2314 };
2315
2316 cpu4-thermal {
2317 polling-delay-passive = <250>;
2318 polling-delay = <1000>;
2319
2320 thermal-sensors = <&tsens0 7>;
2321
2322 trips {
2323 cpu_alert4: trip0 {
2324 temperature = <75000>;
2325 hysteresis = <2000>;
2326 type = "passive";
2327 };
2328
2329 cpu_crit4: trip1 {
2330 temperature = <110000>;
2331 hysteresis = <1000>;
2332 type = "critical";
2333 };
2334 };
2335 };
2336
2337 cpu5-thermal {
2338 polling-delay-passive = <250>;
2339 polling-delay = <1000>;
2340
2341 thermal-sensors = <&tsens0 8>;
2342
2343 trips {
2344 cpu_alert5: trip0 {
2345 temperature = <75000>;
2346 hysteresis = <2000>;
2347 type = "passive";
2348 };
2349
2350 cpu_crit5: trip1 {
2351 temperature = <110000>;
2352 hysteresis = <1000>;
2353 type = "critical";
2354 };
2355 };
2356 };
2357
2358 cpu6-thermal {
2359 polling-delay-passive = <250>;
2360 polling-delay = <1000>;
2361
2362 thermal-sensors = <&tsens0 9>;
2363
2364 trips {
2365 cpu_alert6: trip0 {
2366 temperature = <75000>;
2367 hysteresis = <2000>;
2368 type = "passive";
2369 };
2370
2371 cpu_crit6: trip1 {
2372 temperature = <110000>;
2373 hysteresis = <1000>;
2374 type = "critical";
2375 };
2376 };
2377 };
2378
2379 cpu7-thermal {
2380 polling-delay-passive = <250>;
2381 polling-delay = <1000>;
2382
2383 thermal-sensors = <&tsens0 10>;
2384
2385 trips {
2386 cpu_alert7: trip0 {
2387 temperature = <75000>;
2388 hysteresis = <2000>;
2389 type = "passive";
2390 };
2391
2392 cpu_crit7: trip1 {
2393 temperature = <110000>;
2394 hysteresis = <1000>;
2395 type = "critical";
2396 };
2397 };
2398 };
2399 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302400};