blob: e8daa73e155158e64c4fa8d0e2e36a104040d2f0 [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>;
357 ranges = <0 0 0 0 0 0xffffffff>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +0530358 compatible = "simple-bus";
359
Douglas Anderson54d7a202018-05-14 20:59:22 -0700360 gcc: clock-controller@100000 {
361 compatible = "qcom,gcc-sdm845";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800362 reg = <0 0x00100000 0 0x1f0000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -0700363 #clock-cells = <1>;
364 #reset-cells = <1>;
365 #power-domain-cells = <1>;
366 };
367
Manu Gautamca4db2b2018-08-22 10:36:27 -0700368 qfprom@784000 {
369 compatible = "qcom,qfprom";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800370 reg = <0 0x00784000 0 0x8ff>;
Manu Gautamca4db2b2018-08-22 10:36:27 -0700371 #address-cells = <1>;
372 #size-cells = <1>;
373
374 qusb2p_hstx_trim: hstx-trim-primary@1eb {
375 reg = <0x1eb 0x1>;
376 bits = <1 4>;
377 };
378
379 qusb2s_hstx_trim: hstx-trim-secondary@1eb {
380 reg = <0x1eb 0x2>;
381 bits = <6 4>;
382 };
383 };
384
Vinod Koul6e17f8142018-10-01 11:51:51 +0530385 rng: rng@793000 {
386 compatible = "qcom,prng-ee";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800387 reg = <0 0x00793000 0 0x1000>;
Vinod Koul6e17f8142018-10-01 11:51:51 +0530388 clocks = <&gcc GCC_PRNG_AHB_CLK>;
389 clock-names = "core";
390 };
391
Douglas Anderson897cf342018-06-13 09:53:51 -0700392 qupv3_id_0: geniqup@8c0000 {
393 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800394 reg = <0 0x008c0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700395 clock-names = "m-ahb", "s-ahb";
396 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
397 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800398 #address-cells = <2>;
399 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700400 ranges;
Douglas Anderson499ff112018-06-29 11:45:27 -0700401 status = "disabled";
Douglas Anderson897cf342018-06-13 09:53:51 -0700402
403 i2c0: i2c@880000 {
404 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800405 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700406 clock-names = "se";
407 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
408 pinctrl-names = "default";
409 pinctrl-0 = <&qup_i2c0_default>;
410 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
411 #address-cells = <1>;
412 #size-cells = <0>;
413 status = "disabled";
414 };
415
416 spi0: spi@880000 {
417 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800418 reg = <0 0x00880000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700419 clock-names = "se";
420 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
421 pinctrl-names = "default";
422 pinctrl-0 = <&qup_spi0_default>;
423 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
424 #address-cells = <1>;
425 #size-cells = <0>;
426 status = "disabled";
427 };
428
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700429 uart0: serial@880000 {
430 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800431 reg = <0 0x00880000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700432 clock-names = "se";
433 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
434 pinctrl-names = "default";
435 pinctrl-0 = <&qup_uart0_default>;
436 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
437 status = "disabled";
438 };
439
Douglas Anderson897cf342018-06-13 09:53:51 -0700440 i2c1: i2c@884000 {
441 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800442 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700443 clock-names = "se";
444 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
445 pinctrl-names = "default";
446 pinctrl-0 = <&qup_i2c1_default>;
447 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
448 #address-cells = <1>;
449 #size-cells = <0>;
450 status = "disabled";
451 };
452
453 spi1: spi@884000 {
454 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800455 reg = <0 0x00884000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700456 clock-names = "se";
457 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
458 pinctrl-names = "default";
459 pinctrl-0 = <&qup_spi1_default>;
460 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
461 #address-cells = <1>;
462 #size-cells = <0>;
463 status = "disabled";
464 };
465
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700466 uart1: serial@884000 {
467 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800468 reg = <0 0x00884000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700469 clock-names = "se";
470 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
471 pinctrl-names = "default";
472 pinctrl-0 = <&qup_uart1_default>;
473 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
474 status = "disabled";
475 };
476
Douglas Anderson897cf342018-06-13 09:53:51 -0700477 i2c2: i2c@888000 {
478 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800479 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700480 clock-names = "se";
481 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
482 pinctrl-names = "default";
483 pinctrl-0 = <&qup_i2c2_default>;
484 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
485 #address-cells = <1>;
486 #size-cells = <0>;
487 status = "disabled";
488 };
489
490 spi2: spi@888000 {
491 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800492 reg = <0 0x00888000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700493 clock-names = "se";
494 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
495 pinctrl-names = "default";
496 pinctrl-0 = <&qup_spi2_default>;
497 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
498 #address-cells = <1>;
499 #size-cells = <0>;
500 status = "disabled";
501 };
502
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700503 uart2: serial@888000 {
504 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800505 reg = <0 0x00888000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700506 clock-names = "se";
507 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
508 pinctrl-names = "default";
509 pinctrl-0 = <&qup_uart2_default>;
510 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
511 status = "disabled";
512 };
513
Douglas Anderson897cf342018-06-13 09:53:51 -0700514 i2c3: i2c@88c000 {
515 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800516 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700517 clock-names = "se";
518 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&qup_i2c3_default>;
521 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
522 #address-cells = <1>;
523 #size-cells = <0>;
524 status = "disabled";
525 };
526
527 spi3: spi@88c000 {
528 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800529 reg = <0 0x0088c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700530 clock-names = "se";
531 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
532 pinctrl-names = "default";
533 pinctrl-0 = <&qup_spi3_default>;
534 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
535 #address-cells = <1>;
536 #size-cells = <0>;
537 status = "disabled";
538 };
539
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700540 uart3: serial@88c000 {
541 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800542 reg = <0 0x0088c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700543 clock-names = "se";
544 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
545 pinctrl-names = "default";
546 pinctrl-0 = <&qup_uart3_default>;
547 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
548 status = "disabled";
549 };
550
Douglas Anderson897cf342018-06-13 09:53:51 -0700551 i2c4: i2c@890000 {
552 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800553 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700554 clock-names = "se";
555 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
556 pinctrl-names = "default";
557 pinctrl-0 = <&qup_i2c4_default>;
558 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
559 #address-cells = <1>;
560 #size-cells = <0>;
561 status = "disabled";
562 };
563
564 spi4: spi@890000 {
565 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800566 reg = <0 0x00890000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700567 clock-names = "se";
568 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
569 pinctrl-names = "default";
570 pinctrl-0 = <&qup_spi4_default>;
571 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
572 #address-cells = <1>;
573 #size-cells = <0>;
574 status = "disabled";
575 };
576
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700577 uart4: serial@890000 {
578 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800579 reg = <0 0x00890000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700580 clock-names = "se";
581 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
582 pinctrl-names = "default";
583 pinctrl-0 = <&qup_uart4_default>;
584 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
585 status = "disabled";
586 };
587
Douglas Anderson897cf342018-06-13 09:53:51 -0700588 i2c5: i2c@894000 {
589 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800590 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700591 clock-names = "se";
592 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
593 pinctrl-names = "default";
594 pinctrl-0 = <&qup_i2c5_default>;
595 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
596 #address-cells = <1>;
597 #size-cells = <0>;
598 status = "disabled";
599 };
600
601 spi5: spi@894000 {
602 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800603 reg = <0 0x00894000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700604 clock-names = "se";
605 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
606 pinctrl-names = "default";
607 pinctrl-0 = <&qup_spi5_default>;
608 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
609 #address-cells = <1>;
610 #size-cells = <0>;
611 status = "disabled";
612 };
613
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700614 uart5: serial@894000 {
615 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800616 reg = <0 0x00894000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700617 clock-names = "se";
618 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
619 pinctrl-names = "default";
620 pinctrl-0 = <&qup_uart5_default>;
621 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
622 status = "disabled";
623 };
624
Douglas Anderson897cf342018-06-13 09:53:51 -0700625 i2c6: i2c@898000 {
626 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800627 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700628 clock-names = "se";
629 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
630 pinctrl-names = "default";
631 pinctrl-0 = <&qup_i2c6_default>;
632 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
633 #address-cells = <1>;
634 #size-cells = <0>;
635 status = "disabled";
636 };
637
638 spi6: spi@898000 {
639 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800640 reg = <0 0x00898000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700641 clock-names = "se";
642 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
643 pinctrl-names = "default";
644 pinctrl-0 = <&qup_spi6_default>;
645 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
646 #address-cells = <1>;
647 #size-cells = <0>;
648 status = "disabled";
649 };
650
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700651 uart6: serial@898000 {
652 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800653 reg = <0 0x00898000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700654 clock-names = "se";
655 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
656 pinctrl-names = "default";
657 pinctrl-0 = <&qup_uart6_default>;
658 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
659 status = "disabled";
660 };
661
Douglas Anderson897cf342018-06-13 09:53:51 -0700662 i2c7: i2c@89c000 {
663 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800664 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700665 clock-names = "se";
666 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
667 pinctrl-names = "default";
668 pinctrl-0 = <&qup_i2c7_default>;
669 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
670 #address-cells = <1>;
671 #size-cells = <0>;
672 status = "disabled";
673 };
674
675 spi7: spi@89c000 {
676 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800677 reg = <0 0x0089c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700678 clock-names = "se";
679 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
680 pinctrl-names = "default";
681 pinctrl-0 = <&qup_spi7_default>;
682 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
683 #address-cells = <1>;
684 #size-cells = <0>;
685 status = "disabled";
686 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700687
688 uart7: serial@89c000 {
689 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800690 reg = <0 0x0089c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700691 clock-names = "se";
692 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
693 pinctrl-names = "default";
694 pinctrl-0 = <&qup_uart7_default>;
695 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
696 status = "disabled";
697 };
Douglas Anderson897cf342018-06-13 09:53:51 -0700698 };
699
700 qupv3_id_1: geniqup@ac0000 {
701 compatible = "qcom,geni-se-qup";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800702 reg = <0 0x00ac0000 0 0x6000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700703 clock-names = "m-ahb", "s-ahb";
704 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
705 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800706 #address-cells = <2>;
707 #size-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700708 ranges;
709 status = "disabled";
710
711 i2c8: i2c@a80000 {
712 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800713 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700714 clock-names = "se";
715 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
716 pinctrl-names = "default";
717 pinctrl-0 = <&qup_i2c8_default>;
718 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
719 #address-cells = <1>;
720 #size-cells = <0>;
721 status = "disabled";
722 };
723
724 spi8: spi@a80000 {
725 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800726 reg = <0 0x00a80000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700727 clock-names = "se";
728 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
729 pinctrl-names = "default";
730 pinctrl-0 = <&qup_spi8_default>;
731 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
732 #address-cells = <1>;
733 #size-cells = <0>;
734 status = "disabled";
735 };
736
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700737 uart8: serial@a80000 {
738 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800739 reg = <0 0x00a80000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700740 clock-names = "se";
741 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
742 pinctrl-names = "default";
743 pinctrl-0 = <&qup_uart8_default>;
744 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
745 status = "disabled";
746 };
747
Douglas Anderson897cf342018-06-13 09:53:51 -0700748 i2c9: i2c@a84000 {
749 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800750 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700751 clock-names = "se";
752 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
753 pinctrl-names = "default";
754 pinctrl-0 = <&qup_i2c9_default>;
755 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
756 #address-cells = <1>;
757 #size-cells = <0>;
758 status = "disabled";
759 };
760
761 spi9: spi@a84000 {
762 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800763 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700764 clock-names = "se";
765 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
766 pinctrl-names = "default";
767 pinctrl-0 = <&qup_spi9_default>;
768 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
769 #address-cells = <1>;
770 #size-cells = <0>;
771 status = "disabled";
772 };
773
774 uart9: serial@a84000 {
775 compatible = "qcom,geni-debug-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800776 reg = <0 0x00a84000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700777 clock-names = "se";
778 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
779 pinctrl-names = "default";
780 pinctrl-0 = <&qup_uart9_default>;
781 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
782 status = "disabled";
783 };
784
785 i2c10: i2c@a88000 {
786 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800787 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700788 clock-names = "se";
789 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
790 pinctrl-names = "default";
791 pinctrl-0 = <&qup_i2c10_default>;
792 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
793 #address-cells = <1>;
794 #size-cells = <0>;
795 status = "disabled";
796 };
797
798 spi10: spi@a88000 {
799 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800800 reg = <0 0x00a88000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700801 clock-names = "se";
802 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
803 pinctrl-names = "default";
804 pinctrl-0 = <&qup_spi10_default>;
805 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
806 #address-cells = <1>;
807 #size-cells = <0>;
808 status = "disabled";
809 };
810
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700811 uart10: serial@a88000 {
812 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800813 reg = <0 0x00a88000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700814 clock-names = "se";
815 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
816 pinctrl-names = "default";
817 pinctrl-0 = <&qup_uart10_default>;
818 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
819 status = "disabled";
820 };
821
Douglas Anderson897cf342018-06-13 09:53:51 -0700822 i2c11: i2c@a8c000 {
823 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800824 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700825 clock-names = "se";
826 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
827 pinctrl-names = "default";
828 pinctrl-0 = <&qup_i2c11_default>;
829 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
830 #address-cells = <1>;
831 #size-cells = <0>;
832 status = "disabled";
833 };
834
835 spi11: spi@a8c000 {
836 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800837 reg = <0 0x00a8c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700838 clock-names = "se";
839 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
840 pinctrl-names = "default";
841 pinctrl-0 = <&qup_spi11_default>;
842 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
843 #address-cells = <1>;
844 #size-cells = <0>;
845 status = "disabled";
846 };
847
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700848 uart11: serial@a8c000 {
849 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800850 reg = <0 0x00a8c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700851 clock-names = "se";
852 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
853 pinctrl-names = "default";
854 pinctrl-0 = <&qup_uart11_default>;
855 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
856 status = "disabled";
857 };
858
Douglas Anderson897cf342018-06-13 09:53:51 -0700859 i2c12: i2c@a90000 {
860 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800861 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700862 clock-names = "se";
863 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
864 pinctrl-names = "default";
865 pinctrl-0 = <&qup_i2c12_default>;
866 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
867 #address-cells = <1>;
868 #size-cells = <0>;
869 status = "disabled";
870 };
871
872 spi12: spi@a90000 {
873 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800874 reg = <0 0x00a90000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700875 clock-names = "se";
876 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
877 pinctrl-names = "default";
878 pinctrl-0 = <&qup_spi12_default>;
879 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
880 #address-cells = <1>;
881 #size-cells = <0>;
882 status = "disabled";
883 };
884
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700885 uart12: serial@a90000 {
886 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800887 reg = <0 0x00a90000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700888 clock-names = "se";
889 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
890 pinctrl-names = "default";
891 pinctrl-0 = <&qup_uart12_default>;
892 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
893 status = "disabled";
894 };
895
Douglas Anderson897cf342018-06-13 09:53:51 -0700896 i2c13: i2c@a94000 {
897 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800898 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700899 clock-names = "se";
900 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
901 pinctrl-names = "default";
902 pinctrl-0 = <&qup_i2c13_default>;
903 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
904 #address-cells = <1>;
905 #size-cells = <0>;
906 status = "disabled";
907 };
908
909 spi13: spi@a94000 {
910 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800911 reg = <0 0x00a94000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700912 clock-names = "se";
913 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
914 pinctrl-names = "default";
915 pinctrl-0 = <&qup_spi13_default>;
916 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
917 #address-cells = <1>;
918 #size-cells = <0>;
919 status = "disabled";
920 };
921
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700922 uart13: serial@a94000 {
923 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800924 reg = <0 0x00a94000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700925 clock-names = "se";
926 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
927 pinctrl-names = "default";
928 pinctrl-0 = <&qup_uart13_default>;
929 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
930 status = "disabled";
931 };
932
Douglas Anderson897cf342018-06-13 09:53:51 -0700933 i2c14: i2c@a98000 {
934 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800935 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700936 clock-names = "se";
937 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
938 pinctrl-names = "default";
939 pinctrl-0 = <&qup_i2c14_default>;
940 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
941 #address-cells = <1>;
942 #size-cells = <0>;
943 status = "disabled";
944 };
945
946 spi14: spi@a98000 {
947 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800948 reg = <0 0x00a98000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700949 clock-names = "se";
950 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
951 pinctrl-names = "default";
952 pinctrl-0 = <&qup_spi14_default>;
953 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
954 #address-cells = <1>;
955 #size-cells = <0>;
956 status = "disabled";
957 };
958
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700959 uart14: serial@a98000 {
960 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800961 reg = <0 0x00a98000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700962 clock-names = "se";
963 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
964 pinctrl-names = "default";
965 pinctrl-0 = <&qup_uart14_default>;
966 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
967 status = "disabled";
968 };
969
Douglas Anderson897cf342018-06-13 09:53:51 -0700970 i2c15: i2c@a9c000 {
971 compatible = "qcom,geni-i2c";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800972 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700973 clock-names = "se";
974 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
975 pinctrl-names = "default";
976 pinctrl-0 = <&qup_i2c15_default>;
977 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
978 #address-cells = <1>;
979 #size-cells = <0>;
980 status = "disabled";
981 };
982
983 spi15: spi@a9c000 {
984 compatible = "qcom,geni-spi";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800985 reg = <0 0x00a9c000 0 0x4000>;
Douglas Anderson897cf342018-06-13 09:53:51 -0700986 clock-names = "se";
987 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
988 pinctrl-names = "default";
989 pinctrl-0 = <&qup_spi15_default>;
990 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
991 #address-cells = <1>;
992 #size-cells = <0>;
993 status = "disabled";
994 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700995
996 uart15: serial@a9c000 {
997 compatible = "qcom,geni-uart";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -0800998 reg = <0 0x00a9c000 0 0x4000>;
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -0700999 clock-names = "se";
1000 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
1001 pinctrl-names = "default";
1002 pinctrl-0 = <&qup_uart15_default>;
1003 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1004 status = "disabled";
1005 };
Douglas Anderson897cf342018-06-13 09:53:51 -07001006 };
1007
Evan Greencc166872018-12-10 11:28:24 -08001008 ufs_mem_hc: ufshc@1d84000 {
1009 compatible = "qcom,sdm845-ufshc", "qcom,ufshc",
1010 "jedec,ufs-2.0";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001011 reg = <0 0x01d84000 0 0x2500>;
Evan Greencc166872018-12-10 11:28:24 -08001012 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1013 phys = <&ufs_mem_phy_lanes>;
1014 phy-names = "ufsphy";
1015 lanes-per-direction = <2>;
1016 power-domains = <&gcc UFS_PHY_GDSC>;
1017
1018 iommus = <&apps_smmu 0x100 0xf>;
1019
1020 clock-names =
1021 "core_clk",
1022 "bus_aggr_clk",
1023 "iface_clk",
1024 "core_clk_unipro",
1025 "ref_clk",
1026 "tx_lane0_sync_clk",
1027 "rx_lane0_sync_clk",
1028 "rx_lane1_sync_clk";
1029 clocks =
1030 <&gcc GCC_UFS_PHY_AXI_CLK>,
1031 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
1032 <&gcc GCC_UFS_PHY_AHB_CLK>,
1033 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>,
1034 <&rpmhcc RPMH_CXO_CLK>,
1035 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>,
1036 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>,
1037 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>;
1038 freq-table-hz =
1039 <50000000 200000000>,
1040 <0 0>,
1041 <0 0>,
1042 <37500000 150000000>,
1043 <0 0>,
1044 <0 0>,
1045 <0 0>,
1046 <0 0>;
1047
1048 status = "disabled";
1049 };
1050
1051 ufs_mem_phy: phy@1d87000 {
1052 compatible = "qcom,sdm845-qmp-ufs-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001053 reg = <0 0x01d87000 0 0x18c>;
1054 #address-cells = <2>;
1055 #size-cells = <2>;
Evan Greencc166872018-12-10 11:28:24 -08001056 ranges;
1057 clock-names = "ref",
1058 "ref_aux";
1059 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>,
1060 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>;
1061
1062 status = "disabled";
1063
1064 ufs_mem_phy_lanes: lanes@1d87400 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001065 reg = <0 0x01d87400 0 0x108>,
1066 <0 0x01d87600 0 0x1e0>,
1067 <0 0x01d87c00 0 0x1dc>,
1068 <0 0x01d87800 0 0x108>,
1069 <0 0x01d87a00 0 0x1e0>;
Evan Greencc166872018-12-10 11:28:24 -08001070 #phy-cells = <0>;
1071 };
1072 };
1073
Douglas Anderson54d7a202018-05-14 20:59:22 -07001074 tcsr_mutex_regs: syscon@1f40000 {
1075 compatible = "syscon";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001076 reg = <0 0x01f40000 0 0x40000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001077 };
1078
1079 tlmm: pinctrl@3400000 {
1080 compatible = "qcom,sdm845-pinctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001081 reg = <0 0x03400000 0 0xc00000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001082 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1083 gpio-controller;
1084 #gpio-cells = <2>;
1085 interrupt-controller;
1086 #interrupt-cells = <2>;
Douglas Anderson897cf342018-06-13 09:53:51 -07001087
Douglas Andersone1ce8532018-10-08 13:17:11 -07001088 qspi_clk: qspi-clk {
1089 pinmux {
1090 pins = "gpio95";
1091 function = "qspi_clk";
1092 };
1093 };
1094
1095 qspi_cs0: qspi-cs0 {
1096 pinmux {
1097 pins = "gpio90";
1098 function = "qspi_cs";
1099 };
1100 };
1101
1102 qspi_cs1: qspi-cs1 {
1103 pinmux {
1104 pins = "gpio89";
1105 function = "qspi_cs";
1106 };
1107 };
1108
1109 qspi_data01: qspi-data01 {
1110 pinmux-data {
1111 pins = "gpio91", "gpio92";
1112 function = "qspi_data";
1113 };
1114 };
1115
1116 qspi_data12: qspi-data12 {
1117 pinmux-data {
1118 pins = "gpio93", "gpio94";
1119 function = "qspi_data";
1120 };
1121 };
1122
Douglas Anderson897cf342018-06-13 09:53:51 -07001123 qup_i2c0_default: qup-i2c0-default {
1124 pinmux {
1125 pins = "gpio0", "gpio1";
1126 function = "qup0";
1127 };
1128 };
1129
1130 qup_i2c1_default: qup-i2c1-default {
1131 pinmux {
1132 pins = "gpio17", "gpio18";
1133 function = "qup1";
1134 };
1135 };
1136
1137 qup_i2c2_default: qup-i2c2-default {
1138 pinmux {
1139 pins = "gpio27", "gpio28";
1140 function = "qup2";
1141 };
1142 };
1143
1144 qup_i2c3_default: qup-i2c3-default {
1145 pinmux {
1146 pins = "gpio41", "gpio42";
1147 function = "qup3";
1148 };
1149 };
1150
1151 qup_i2c4_default: qup-i2c4-default {
1152 pinmux {
1153 pins = "gpio89", "gpio90";
1154 function = "qup4";
1155 };
1156 };
1157
1158 qup_i2c5_default: qup-i2c5-default {
1159 pinmux {
1160 pins = "gpio85", "gpio86";
1161 function = "qup5";
1162 };
1163 };
1164
1165 qup_i2c6_default: qup-i2c6-default {
1166 pinmux {
1167 pins = "gpio45", "gpio46";
1168 function = "qup6";
1169 };
1170 };
1171
1172 qup_i2c7_default: qup-i2c7-default {
1173 pinmux {
1174 pins = "gpio93", "gpio94";
1175 function = "qup7";
1176 };
1177 };
1178
1179 qup_i2c8_default: qup-i2c8-default {
1180 pinmux {
1181 pins = "gpio65", "gpio66";
1182 function = "qup8";
1183 };
1184 };
1185
1186 qup_i2c9_default: qup-i2c9-default {
1187 pinmux {
1188 pins = "gpio6", "gpio7";
1189 function = "qup9";
1190 };
1191 };
1192
1193 qup_i2c10_default: qup-i2c10-default {
1194 pinmux {
1195 pins = "gpio55", "gpio56";
1196 function = "qup10";
1197 };
1198 };
1199
1200 qup_i2c11_default: qup-i2c11-default {
1201 pinmux {
1202 pins = "gpio31", "gpio32";
1203 function = "qup11";
1204 };
1205 };
1206
1207 qup_i2c12_default: qup-i2c12-default {
1208 pinmux {
1209 pins = "gpio49", "gpio50";
1210 function = "qup12";
1211 };
1212 };
1213
1214 qup_i2c13_default: qup-i2c13-default {
1215 pinmux {
1216 pins = "gpio105", "gpio106";
1217 function = "qup13";
1218 };
1219 };
1220
1221 qup_i2c14_default: qup-i2c14-default {
1222 pinmux {
1223 pins = "gpio33", "gpio34";
1224 function = "qup14";
1225 };
1226 };
1227
1228 qup_i2c15_default: qup-i2c15-default {
1229 pinmux {
1230 pins = "gpio81", "gpio82";
1231 function = "qup15";
1232 };
1233 };
1234
1235 qup_spi0_default: qup-spi0-default {
1236 pinmux {
1237 pins = "gpio0", "gpio1",
1238 "gpio2", "gpio3";
1239 function = "qup0";
1240 };
1241 };
1242
1243 qup_spi1_default: qup-spi1-default {
1244 pinmux {
1245 pins = "gpio17", "gpio18",
1246 "gpio19", "gpio20";
1247 function = "qup1";
1248 };
1249 };
1250
1251 qup_spi2_default: qup-spi2-default {
1252 pinmux {
1253 pins = "gpio27", "gpio28",
1254 "gpio29", "gpio30";
1255 function = "qup2";
1256 };
1257 };
1258
1259 qup_spi3_default: qup-spi3-default {
1260 pinmux {
1261 pins = "gpio41", "gpio42",
1262 "gpio43", "gpio44";
1263 function = "qup3";
1264 };
1265 };
1266
1267 qup_spi4_default: qup-spi4-default {
1268 pinmux {
1269 pins = "gpio89", "gpio90",
1270 "gpio91", "gpio92";
1271 function = "qup4";
1272 };
1273 };
1274
1275 qup_spi5_default: qup-spi5-default {
1276 pinmux {
1277 pins = "gpio85", "gpio86",
1278 "gpio87", "gpio88";
1279 function = "qup5";
1280 };
1281 };
1282
1283 qup_spi6_default: qup-spi6-default {
1284 pinmux {
1285 pins = "gpio45", "gpio46",
1286 "gpio47", "gpio48";
1287 function = "qup6";
1288 };
1289 };
1290
1291 qup_spi7_default: qup-spi7-default {
1292 pinmux {
1293 pins = "gpio93", "gpio94",
1294 "gpio95", "gpio96";
1295 function = "qup7";
1296 };
1297 };
1298
1299 qup_spi8_default: qup-spi8-default {
1300 pinmux {
1301 pins = "gpio65", "gpio66",
1302 "gpio67", "gpio68";
1303 function = "qup8";
1304 };
1305 };
1306
1307 qup_spi9_default: qup-spi9-default {
1308 pinmux {
1309 pins = "gpio6", "gpio7",
1310 "gpio4", "gpio5";
1311 function = "qup9";
1312 };
1313 };
1314
1315 qup_spi10_default: qup-spi10-default {
1316 pinmux {
1317 pins = "gpio55", "gpio56",
1318 "gpio53", "gpio54";
1319 function = "qup10";
1320 };
1321 };
1322
1323 qup_spi11_default: qup-spi11-default {
1324 pinmux {
1325 pins = "gpio31", "gpio32",
1326 "gpio33", "gpio34";
1327 function = "qup11";
1328 };
1329 };
1330
1331 qup_spi12_default: qup-spi12-default {
1332 pinmux {
1333 pins = "gpio49", "gpio50",
1334 "gpio51", "gpio52";
1335 function = "qup12";
1336 };
1337 };
1338
1339 qup_spi13_default: qup-spi13-default {
1340 pinmux {
1341 pins = "gpio105", "gpio106",
1342 "gpio107", "gpio108";
1343 function = "qup13";
1344 };
1345 };
1346
1347 qup_spi14_default: qup-spi14-default {
1348 pinmux {
1349 pins = "gpio33", "gpio34",
1350 "gpio31", "gpio32";
1351 function = "qup14";
1352 };
1353 };
1354
1355 qup_spi15_default: qup-spi15-default {
1356 pinmux {
1357 pins = "gpio81", "gpio82",
1358 "gpio83", "gpio84";
1359 function = "qup15";
1360 };
1361 };
1362
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001363 qup_uart0_default: qup-uart0-default {
1364 pinmux {
1365 pins = "gpio2", "gpio3";
1366 function = "qup0";
1367 };
1368 };
1369
1370 qup_uart1_default: qup-uart1-default {
1371 pinmux {
1372 pins = "gpio19", "gpio20";
1373 function = "qup1";
1374 };
1375 };
1376
1377 qup_uart2_default: qup-uart2-default {
1378 pinmux {
1379 pins = "gpio29", "gpio30";
1380 function = "qup2";
1381 };
1382 };
1383
1384 qup_uart3_default: qup-uart3-default {
1385 pinmux {
1386 pins = "gpio43", "gpio44";
1387 function = "qup3";
1388 };
1389 };
1390
1391 qup_uart4_default: qup-uart4-default {
1392 pinmux {
1393 pins = "gpio91", "gpio92";
1394 function = "qup4";
1395 };
1396 };
1397
1398 qup_uart5_default: qup-uart5-default {
1399 pinmux {
1400 pins = "gpio87", "gpio88";
1401 function = "qup5";
1402 };
1403 };
1404
1405 qup_uart6_default: qup-uart6-default {
1406 pinmux {
1407 pins = "gpio47", "gpio48";
1408 function = "qup6";
1409 };
1410 };
1411
1412 qup_uart7_default: qup-uart7-default {
1413 pinmux {
1414 pins = "gpio95", "gpio96";
1415 function = "qup7";
1416 };
1417 };
1418
1419 qup_uart8_default: qup-uart8-default {
1420 pinmux {
1421 pins = "gpio67", "gpio68";
1422 function = "qup8";
1423 };
1424 };
1425
Douglas Anderson897cf342018-06-13 09:53:51 -07001426 qup_uart9_default: qup-uart9-default {
1427 pinmux {
1428 pins = "gpio4", "gpio5";
1429 function = "qup9";
1430 };
1431 };
Matthias Kaehlckebb2203d2018-10-03 17:24:09 -07001432
1433 qup_uart10_default: qup-uart10-default {
1434 pinmux {
1435 pins = "gpio53", "gpio54";
1436 function = "qup10";
1437 };
1438 };
1439
1440 qup_uart11_default: qup-uart11-default {
1441 pinmux {
1442 pins = "gpio33", "gpio34";
1443 function = "qup11";
1444 };
1445 };
1446
1447 qup_uart12_default: qup-uart12-default {
1448 pinmux {
1449 pins = "gpio51", "gpio52";
1450 function = "qup12";
1451 };
1452 };
1453
1454 qup_uart13_default: qup-uart13-default {
1455 pinmux {
1456 pins = "gpio107", "gpio108";
1457 function = "qup13";
1458 };
1459 };
1460
1461 qup_uart14_default: qup-uart14-default {
1462 pinmux {
1463 pins = "gpio31", "gpio32";
1464 function = "qup14";
1465 };
1466 };
1467
1468 qup_uart15_default: qup-uart15-default {
1469 pinmux {
1470 pins = "gpio83", "gpio84";
1471 function = "qup15";
1472 };
1473 };
Douglas Anderson54d7a202018-05-14 20:59:22 -07001474 };
1475
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001476 gpucc: clock-controller@5090000 {
1477 compatible = "qcom,sdm845-gpucc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001478 reg = <0 0x05090000 0 0x9000>;
Douglas Anderson9aa4a272018-11-28 10:57:43 -08001479 #clock-cells = <1>;
1480 #reset-cells = <1>;
1481 #power-domain-cells = <1>;
1482 clocks = <&rpmhcc RPMH_CXO_CLK>;
1483 clock-names = "xo";
1484 };
1485
Evan Green67d62e52018-12-06 10:45:21 -08001486 sdhc_2: sdhci@8804000 {
1487 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001488 reg = <0 0x08804000 0 0x1000>;
Evan Green67d62e52018-12-06 10:45:21 -08001489
1490 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
1491 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>;
1492 interrupt-names = "hc_irq", "pwr_irq";
1493
1494 clocks = <&gcc GCC_SDCC2_AHB_CLK>,
1495 <&gcc GCC_SDCC2_APPS_CLK>;
1496 clock-names = "iface", "core";
1497
1498 status = "disabled";
1499 };
1500
Douglas Andersone1ce8532018-10-08 13:17:11 -07001501 qspi: spi@88df000 {
1502 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001503 reg = <0 0x088df000 0 0x600>;
Douglas Andersone1ce8532018-10-08 13:17:11 -07001504 #address-cells = <1>;
1505 #size-cells = <0>;
1506 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
1507 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>,
1508 <&gcc GCC_QSPI_CORE_CLK>;
1509 clock-names = "iface", "core";
1510 status = "disabled";
1511 };
1512
Manu Gautamca4db2b2018-08-22 10:36:27 -07001513 usb_1_hsphy: phy@88e2000 {
1514 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001515 reg = <0 0x088e2000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001516 status = "disabled";
1517 #phy-cells = <0>;
1518
1519 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1520 <&rpmhcc RPMH_CXO_CLK>;
1521 clock-names = "cfg_ahb", "ref";
1522
1523 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1524
1525 nvmem-cells = <&qusb2p_hstx_trim>;
1526 };
1527
1528 usb_2_hsphy: phy@88e3000 {
1529 compatible = "qcom,sdm845-qusb2-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001530 reg = <0 0x088e3000 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001531 status = "disabled";
1532 #phy-cells = <0>;
1533
1534 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1535 <&rpmhcc RPMH_CXO_CLK>;
1536 clock-names = "cfg_ahb", "ref";
1537
1538 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
1539
1540 nvmem-cells = <&qusb2s_hstx_trim>;
1541 };
1542
1543 usb_1_qmpphy: phy@88e9000 {
1544 compatible = "qcom,sdm845-qmp-usb3-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001545 reg = <0 0x088e9000 0 0x18c>,
1546 <0 0x088e8000 0 0x10>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001547 reg-names = "reg-base", "dp_com";
1548 status = "disabled";
1549 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001550 #address-cells = <2>;
1551 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001552 ranges;
1553
1554 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>,
1555 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1556 <&gcc GCC_USB3_PRIM_CLKREF_CLK>,
1557 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>;
1558 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1559
1560 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
1561 <&gcc GCC_USB3_PHY_PRIM_BCR>;
1562 reset-names = "phy", "common";
1563
Evan Green9ebfcba2018-12-10 11:28:26 -08001564 usb_1_ssphy: lanes@88e9200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001565 reg = <0 0x088e9200 0 0x128>,
1566 <0 0x088e9400 0 0x200>,
1567 <0 0x088e9c00 0 0x218>,
1568 <0 0x088e9600 0 0x128>,
1569 <0 0x088e9800 0 0x200>,
1570 <0 0x088e9a00 0 0x100>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001571 #phy-cells = <0>;
1572 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
1573 clock-names = "pipe0";
1574 clock-output-names = "usb3_phy_pipe_clk_src";
1575 };
1576 };
1577
1578 usb_2_qmpphy: phy@88eb000 {
1579 compatible = "qcom,sdm845-qmp-usb3-uni-phy";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001580 reg = <0 0x088eb000 0 0x18c>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001581 status = "disabled";
1582 #clock-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001583 #address-cells = <2>;
1584 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001585 ranges;
1586
1587 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>,
1588 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1589 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
1590 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
1591 clock-names = "aux", "cfg_ahb", "ref", "com_aux";
1592
1593 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
1594 <&gcc GCC_USB3_PHY_SEC_BCR>;
1595 reset-names = "phy", "common";
1596
1597 usb_2_ssphy: lane@88eb200 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001598 reg = <0 0x088eb200 0 0x128>,
1599 <0 0x088eb400 0 0x1fc>,
1600 <0 0x088eb800 0 0x218>,
1601 <0 0x088eb600 0 0x70>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001602 #phy-cells = <0>;
1603 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
1604 clock-names = "pipe0";
1605 clock-output-names = "usb3_uni_phy_pipe_clk_src";
1606 };
1607 };
1608
1609 usb_1: usb@a6f8800 {
1610 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001611 reg = <0 0x0a6f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001612 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001613 #address-cells = <2>;
1614 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001615 ranges;
1616
1617 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
1618 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
1619 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
1620 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1621 <&gcc GCC_USB30_PRIM_SLEEP_CLK>;
1622 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1623 "sleep";
1624
1625 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
1626 <&gcc GCC_USB30_PRIM_MASTER_CLK>;
1627 assigned-clock-rates = <19200000>, <150000000>;
1628
1629 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
1630 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
1631 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
1632 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
1633 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1634 "dm_hs_phy_irq", "dp_hs_phy_irq";
1635
1636 power-domains = <&gcc USB30_PRIM_GDSC>;
1637
1638 resets = <&gcc GCC_USB30_PRIM_BCR>;
1639
1640 usb_1_dwc3: dwc3@a600000 {
1641 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001642 reg = <0 0x0a600000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001643 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1644 snps,dis_u2_susphy_quirk;
1645 snps,dis_enblslpm_quirk;
1646 phys = <&usb_1_hsphy>, <&usb_1_ssphy>;
1647 phy-names = "usb2-phy", "usb3-phy";
1648 };
1649 };
1650
1651 usb_2: usb@a8f8800 {
1652 compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001653 reg = <0 0x0a8f8800 0 0x400>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001654 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001655 #address-cells = <2>;
1656 #size-cells = <2>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001657 ranges;
1658
1659 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
1660 <&gcc GCC_USB30_SEC_MASTER_CLK>,
1661 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
1662 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1663 <&gcc GCC_USB30_SEC_SLEEP_CLK>;
1664 clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1665 "sleep";
1666
1667 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
1668 <&gcc GCC_USB30_SEC_MASTER_CLK>;
1669 assigned-clock-rates = <19200000>, <150000000>;
1670
1671 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
1672 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>,
1673 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>,
1674 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>;
1675 interrupt-names = "hs_phy_irq", "ss_phy_irq",
1676 "dm_hs_phy_irq", "dp_hs_phy_irq";
1677
1678 power-domains = <&gcc USB30_SEC_GDSC>;
1679
1680 resets = <&gcc GCC_USB30_SEC_BCR>;
1681
1682 usb_2_dwc3: dwc3@a800000 {
1683 compatible = "snps,dwc3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001684 reg = <0 0x0a800000 0 0xcd00>;
Manu Gautamca4db2b2018-08-22 10:36:27 -07001685 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
1686 snps,dis_u2_susphy_quirk;
1687 snps,dis_enblslpm_quirk;
1688 phys = <&usb_2_hsphy>, <&usb_2_ssphy>;
1689 phy-names = "usb2-phy", "usb3-phy";
1690 };
1691 };
1692
Taniya Das05556682018-12-03 11:36:29 -08001693 videocc: clock-controller@ab00000 {
1694 compatible = "qcom,sdm845-videocc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001695 reg = <0 0x0ab00000 0 0x10000>;
Taniya Das05556682018-12-03 11:36:29 -08001696 #clock-cells = <1>;
1697 #power-domain-cells = <1>;
1698 #reset-cells = <1>;
1699 };
1700
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001701 mdss: mdss@ae00000 {
1702 compatible = "qcom,sdm845-mdss";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001703 reg = <0 0x0ae00000 0 0x1000>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001704 reg-names = "mdss";
1705
1706 power-domains = <&dispcc MDSS_GDSC>;
1707
1708 clocks = <&gcc GCC_DISP_AHB_CLK>,
1709 <&gcc GCC_DISP_AXI_CLK>,
1710 <&dispcc DISP_CC_MDSS_MDP_CLK>;
1711 clock-names = "iface", "bus", "core";
1712
1713 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>;
1714 assigned-clock-rates = <300000000>;
1715
1716 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
1717 interrupt-controller;
1718 #interrupt-cells = <1>;
1719
1720 iommus = <&apps_smmu 0x880 0x8>,
1721 <&apps_smmu 0xc80 0x8>;
1722
1723 status = "disabled";
1724
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001725 #address-cells = <2>;
1726 #size-cells = <2>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001727 ranges;
1728
1729 mdss_mdp: mdp@ae01000 {
1730 compatible = "qcom,sdm845-dpu";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001731 reg = <0 0x0ae01000 0 0x8f000>,
1732 <0 0x0aeb0000 0 0x2008>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001733 reg-names = "mdp", "vbif";
1734
1735 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
1736 <&dispcc DISP_CC_MDSS_AXI_CLK>,
1737 <&dispcc DISP_CC_MDSS_MDP_CLK>,
1738 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1739 clock-names = "iface", "bus", "core", "vsync";
1740
1741 assigned-clocks = <&dispcc DISP_CC_MDSS_MDP_CLK>,
1742 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
1743 assigned-clock-rates = <300000000>,
1744 <19200000>;
1745
1746 interrupt-parent = <&mdss>;
1747 interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
1748
1749 status = "disabled";
1750
1751 ports {
1752 #address-cells = <1>;
1753 #size-cells = <0>;
1754
1755 port@0 {
1756 reg = <0>;
1757 dpu_intf1_out: endpoint {
1758 remote-endpoint = <&dsi0_in>;
1759 };
1760 };
1761
1762 port@1 {
1763 reg = <1>;
1764 dpu_intf2_out: endpoint {
1765 remote-endpoint = <&dsi1_in>;
1766 };
1767 };
1768 };
1769 };
1770
1771 dsi0: dsi@ae94000 {
1772 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001773 reg = <0 0x0ae94000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001774 reg-names = "dsi_ctrl";
1775
1776 interrupt-parent = <&mdss>;
1777 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
1778
1779 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
1780 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
1781 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
1782 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
1783 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1784 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1785 clock-names = "byte",
1786 "byte_intf",
1787 "pixel",
1788 "core",
1789 "iface",
1790 "bus";
1791
1792 phys = <&dsi0_phy>;
1793 phy-names = "dsi";
1794
1795 status = "disabled";
1796
1797 #address-cells = <1>;
1798 #size-cells = <0>;
1799
1800 ports {
1801 #address-cells = <1>;
1802 #size-cells = <0>;
1803
1804 port@0 {
1805 reg = <0>;
1806 dsi0_in: endpoint {
1807 remote-endpoint = <&dpu_intf1_out>;
1808 };
1809 };
1810
1811 port@1 {
1812 reg = <1>;
1813 dsi0_out: endpoint {
1814 };
1815 };
1816 };
1817 };
1818
1819 dsi0_phy: dsi-phy@ae94400 {
1820 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001821 reg = <0 0x0ae94400 0 0x200>,
1822 <0 0x0ae94600 0 0x280>,
1823 <0 0x0ae94a00 0 0x1e0>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001824 reg-names = "dsi_phy",
1825 "dsi_phy_lane",
1826 "dsi_pll";
1827
1828 #clock-cells = <1>;
1829 #phy-cells = <0>;
1830
1831 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1832 clock-names = "iface";
1833
1834 status = "disabled";
1835 };
1836
1837 dsi1: dsi@ae96000 {
1838 compatible = "qcom,mdss-dsi-ctrl";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001839 reg = <0 0x0ae96000 0 0x400>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001840 reg-names = "dsi_ctrl";
1841
1842 interrupt-parent = <&mdss>;
1843 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1844
1845 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
1846 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
1847 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
1848 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
1849 <&dispcc DISP_CC_MDSS_AHB_CLK>,
1850 <&dispcc DISP_CC_MDSS_AXI_CLK>;
1851 clock-names = "byte",
1852 "byte_intf",
1853 "pixel",
1854 "core",
1855 "iface",
1856 "bus";
1857
1858 phys = <&dsi1_phy>;
1859 phy-names = "dsi";
1860
1861 status = "disabled";
1862
1863 #address-cells = <1>;
1864 #size-cells = <0>;
1865
1866 ports {
1867 #address-cells = <1>;
1868 #size-cells = <0>;
1869
1870 port@0 {
1871 reg = <0>;
1872 dsi1_in: endpoint {
1873 remote-endpoint = <&dpu_intf2_out>;
1874 };
1875 };
1876
1877 port@1 {
1878 reg = <1>;
1879 dsi1_out: endpoint {
1880 };
1881 };
1882 };
1883 };
1884
1885 dsi1_phy: dsi-phy@ae96400 {
1886 compatible = "qcom,dsi-phy-10nm";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001887 reg = <0 0x0ae96400 0 0x200>,
1888 <0 0x0ae96600 0 0x280>,
1889 <0 0x0ae96a00 0 0x10e>;
Jeykumar Sankaran08c2a072018-12-04 15:54:12 -08001890 reg-names = "dsi_phy",
1891 "dsi_phy_lane",
1892 "dsi_pll";
1893
1894 #clock-cells = <1>;
1895 #phy-cells = <0>;
1896
1897 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>;
1898 clock-names = "iface";
1899
1900 status = "disabled";
1901 };
1902 };
1903
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001904 dispcc: clock-controller@af00000 {
1905 compatible = "qcom,sdm845-dispcc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001906 reg = <0 0x0af00000 0 0x10000>;
Matthias Kaehlcke40019e82018-08-03 15:20:59 -07001907 #clock-cells = <1>;
1908 #reset-cells = <1>;
1909 #power-domain-cells = <1>;
1910 };
1911
Sibi Sankar13393da2018-10-26 17:56:53 +05301912 pdc_reset: reset-controller@b2e0000 {
1913 compatible = "qcom,sdm845-pdc-global";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001914 reg = <0 0x0b2e0000 0 0x20000>;
Sibi Sankar13393da2018-10-26 17:56:53 +05301915 #reset-cells = <1>;
1916 };
1917
Amit Kucheriacda676b2018-07-18 12:13:13 +05301918 tsens0: thermal-sensor@c263000 {
1919 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001920 reg = <0 0x0c263000 0 0x1ff>, /* TM */
1921 <0 0x0c222000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05301922 #qcom,sensors = <13>;
1923 #thermal-sensor-cells = <1>;
1924 };
1925
1926 tsens1: thermal-sensor@c265000 {
1927 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001928 reg = <0 0x0c265000 0 0x1ff>, /* TM */
1929 <0 0x0c223000 0 0x1ff>; /* SROT */
Amit Kucheriacda676b2018-07-18 12:13:13 +05301930 #qcom,sensors = <8>;
1931 #thermal-sensor-cells = <1>;
1932 };
1933
Sibi Sankaread5eea2018-09-01 15:23:55 -07001934 aoss_reset: reset-controller@c2a0000 {
1935 compatible = "qcom,sdm845-aoss-cc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001936 reg = <0 0x0c2a0000 0 0x31000>;
Sibi Sankaread5eea2018-09-01 15:23:55 -07001937 #reset-cells = <1>;
1938 };
1939
Douglas Anderson54d7a202018-05-14 20:59:22 -07001940 spmi_bus: spmi@c440000 {
1941 compatible = "qcom,spmi-pmic-arb";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001942 reg = <0 0x0c440000 0 0x1100>,
1943 <0 0x0c600000 0 0x2000000>,
1944 <0 0x0e600000 0 0x100000>,
1945 <0 0x0e700000 0 0xa0000>,
1946 <0 0x0c40a000 0 0x26000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07001947 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
1948 interrupt-names = "periph_irq";
1949 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
1950 qcom,ee = <0>;
1951 qcom,channel = <0>;
1952 #address-cells = <2>;
1953 #size-cells = <0>;
1954 interrupt-controller;
1955 #interrupt-cells = <4>;
1956 cell-index = <0>;
1957 };
1958
Vivek Gautam4429e572018-10-11 15:19:30 +05301959 apps_smmu: iommu@15000000 {
1960 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08001961 reg = <0 0x15000000 0 0x80000>;
Vivek Gautam4429e572018-10-11 15:19:30 +05301962 #iommu-cells = <2>;
1963 #global-interrupts = <1>;
1964 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
1965 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
1966 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
1967 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
1968 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
1969 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
1970 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
1971 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
1972 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
1973 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
1974 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
1975 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
1976 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
1977 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1978 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
1979 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
1980 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
1981 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1982 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1983 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
1984 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
1985 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1986 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1987 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
1988 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
1989 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
1990 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
1991 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
1992 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
1993 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
1994 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
1995 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
1996 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
1997 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
1998 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
1999 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
2000 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
2001 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
2002 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
2003 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
2004 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
2005 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
2006 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
2007 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
2008 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
2009 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
2010 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
2011 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
2012 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
2013 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
2014 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
2015 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
2016 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
2017 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
2018 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
2019 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
2020 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
2021 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
2022 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
2023 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
2024 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
2025 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
2026 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
2027 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
2028 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
2029 };
2030
Taniya Das0cef5dd2018-12-05 13:30:36 +05302031 lpasscc: clock-controller@17014000 {
2032 compatible = "qcom,sdm845-lpasscc";
2033 reg = <0x17014000 0x1f004>, <0x17300000 0x200>;
2034 reg-names = "cc", "qdsp6ss";
2035 #clock-cells = <1>;
2036 status = "disabled";
2037 };
2038
Douglas Anderson54d7a202018-05-14 20:59:22 -07002039 apss_shared: mailbox@17990000 {
2040 compatible = "qcom,sdm845-apss-shared";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002041 reg = <0 0x17990000 0 0x1000>;
Douglas Anderson54d7a202018-05-14 20:59:22 -07002042 #mbox-cells = <1>;
2043 };
2044
Douglas Andersonc83545d2018-06-18 14:50:50 -07002045 apps_rsc: rsc@179c0000 {
2046 label = "apps_rsc";
2047 compatible = "qcom,rpmh-rsc";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002048 reg = <0 0x179c0000 0 0x10000>,
2049 <0 0x179d0000 0 0x10000>,
2050 <0 0x179e0000 0 0x10000>;
Douglas Andersonc83545d2018-06-18 14:50:50 -07002051 reg-names = "drv-0", "drv-1", "drv-2";
2052 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
2053 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
2054 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
2055 qcom,tcs-offset = <0xd00>;
2056 qcom,drv-id = <2>;
2057 qcom,tcs-config = <ACTIVE_TCS 2>,
2058 <SLEEP_TCS 3>,
2059 <WAKE_TCS 3>,
2060 <CONTROL_TCS 1>;
Douglas Anderson717f2012018-06-18 14:50:51 -07002061
2062 rpmhcc: clock-controller {
2063 compatible = "qcom,sdm845-rpmh-clk";
2064 #clock-cells = <1>;
2065 };
Rajendra Nayak5b6f1862019-01-10 09:32:08 +05302066
2067 rpmhpd: power-controller {
2068 compatible = "qcom,sdm845-rpmhpd";
2069 #power-domain-cells = <1>;
2070 operating-points-v2 = <&rpmhpd_opp_table>;
2071
2072 rpmhpd_opp_table: opp-table {
2073 compatible = "operating-points-v2";
2074
2075 rpmhpd_opp_ret: opp1 {
2076 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
2077 };
2078
2079 rpmhpd_opp_min_svs: opp2 {
2080 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
2081 };
2082
2083 rpmhpd_opp_low_svs: opp3 {
2084 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
2085 };
2086
2087 rpmhpd_opp_svs: opp4 {
2088 opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
2089 };
2090
2091 rpmhpd_opp_svs_l1: opp5 {
2092 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
2093 };
2094
2095 rpmhpd_opp_nom: opp6 {
2096 opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
2097 };
2098
2099 rpmhpd_opp_nom_l1: opp7 {
2100 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
2101 };
2102
2103 rpmhpd_opp_nom_l2: opp8 {
2104 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
2105 };
2106
2107 rpmhpd_opp_turbo: opp9 {
2108 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
2109 };
2110
2111 rpmhpd_opp_turbo_l1: opp10 {
2112 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
2113 };
2114 };
2115 };
Douglas Andersonc83545d2018-06-18 14:50:50 -07002116 };
2117
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302118 intc: interrupt-controller@17a00000 {
2119 compatible = "arm,gic-v3";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002120 #address-cells = <2>;
2121 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302122 ranges;
2123 #interrupt-cells = <3>;
2124 interrupt-controller;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002125 reg = <0 0x17a00000 0 0x10000>, /* GICD */
2126 <0 0x17a60000 0 0x100000>; /* GICR * 8 */
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302127 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
2128
2129 gic-its@17a40000 {
2130 compatible = "arm,gic-v3-its";
2131 msi-controller;
2132 #msi-cells = <1>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002133 reg = <0 0x17a40000 0 0x20000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302134 status = "disabled";
2135 };
2136 };
2137
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302138 timer@17c90000 {
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002139 #address-cells = <2>;
2140 #size-cells = <2>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302141 ranges;
2142 compatible = "arm,armv7-timer-mem";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002143 reg = <0 0x17c90000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302144
2145 frame@17ca0000 {
2146 frame-number = <0>;
2147 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
2148 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002149 reg = <0 0x17ca0000 0 0x1000>,
2150 <0 0x17cb0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302151 };
2152
2153 frame@17cc0000 {
2154 frame-number = <1>;
2155 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002156 reg = <0 0x17cc0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302157 status = "disabled";
2158 };
2159
2160 frame@17cd0000 {
2161 frame-number = <2>;
2162 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002163 reg = <0 0x17cd0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302164 status = "disabled";
2165 };
2166
2167 frame@17ce0000 {
2168 frame-number = <3>;
2169 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002170 reg = <0 0x17ce0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302171 status = "disabled";
2172 };
2173
2174 frame@17cf0000 {
2175 frame-number = <4>;
2176 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002177 reg = <0 0x17cf0000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302178 status = "disabled";
2179 };
2180
2181 frame@17d00000 {
2182 frame-number = <5>;
2183 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002184 reg = <0 0x17d00000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302185 status = "disabled";
2186 };
2187
2188 frame@17d10000 {
2189 frame-number = <6>;
2190 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002191 reg = <0 0x17d10000 0 0x1000>;
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302192 status = "disabled";
2193 };
2194 };
Taniya Dasc604b82a2018-12-21 23:44:23 +05302195
2196 cpufreq_hw: cpufreq@17d43000 {
2197 compatible = "qcom,cpufreq-hw";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002198 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
Taniya Dasc604b82a2018-12-21 23:44:23 +05302199 reg-names = "freq-domain0", "freq-domain1";
2200
2201 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
2202 clock-names = "xo", "alternate";
2203
2204 #freq-domain-cells = <1>;
2205 };
Govind Singh022bccb2018-11-05 18:38:37 +05302206
2207 wifi: wifi@18800000 {
2208 compatible = "qcom,wcn3990-wifi";
2209 status = "disabled";
Bjorn Anderssonbede7d22019-01-16 20:29:39 -08002210 reg = <0 0x18800000 0 0x800000>;
Govind Singh022bccb2018-11-05 18:38:37 +05302211 reg-names = "membase";
2212 memory-region = <&wlan_msa_mem>;
2213 interrupts =
2214 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
2215 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
2216 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
2217 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
2218 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
2219 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>,
2220 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
2221 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
2222 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
2223 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
2224 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
2225 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
2226 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302227 };
Amit Kucheria48847882018-06-12 15:26:54 +03002228
2229 thermal-zones {
2230 cpu0-thermal {
2231 polling-delay-passive = <250>;
2232 polling-delay = <1000>;
2233
2234 thermal-sensors = <&tsens0 1>;
2235
2236 trips {
2237 cpu_alert0: trip0 {
2238 temperature = <75000>;
2239 hysteresis = <2000>;
2240 type = "passive";
2241 };
2242
2243 cpu_crit0: trip1 {
2244 temperature = <110000>;
2245 hysteresis = <1000>;
2246 type = "critical";
2247 };
2248 };
2249 };
2250
2251 cpu1-thermal {
2252 polling-delay-passive = <250>;
2253 polling-delay = <1000>;
2254
2255 thermal-sensors = <&tsens0 2>;
2256
2257 trips {
2258 cpu_alert1: trip0 {
2259 temperature = <75000>;
2260 hysteresis = <2000>;
2261 type = "passive";
2262 };
2263
2264 cpu_crit1: trip1 {
2265 temperature = <110000>;
2266 hysteresis = <1000>;
2267 type = "critical";
2268 };
2269 };
2270 };
2271
2272 cpu2-thermal {
2273 polling-delay-passive = <250>;
2274 polling-delay = <1000>;
2275
2276 thermal-sensors = <&tsens0 3>;
2277
2278 trips {
2279 cpu_alert2: trip0 {
2280 temperature = <75000>;
2281 hysteresis = <2000>;
2282 type = "passive";
2283 };
2284
2285 cpu_crit2: trip1 {
2286 temperature = <110000>;
2287 hysteresis = <1000>;
2288 type = "critical";
2289 };
2290 };
2291 };
2292
2293 cpu3-thermal {
2294 polling-delay-passive = <250>;
2295 polling-delay = <1000>;
2296
2297 thermal-sensors = <&tsens0 4>;
2298
2299 trips {
2300 cpu_alert3: trip0 {
2301 temperature = <75000>;
2302 hysteresis = <2000>;
2303 type = "passive";
2304 };
2305
2306 cpu_crit3: trip1 {
2307 temperature = <110000>;
2308 hysteresis = <1000>;
2309 type = "critical";
2310 };
2311 };
2312 };
2313
2314 cpu4-thermal {
2315 polling-delay-passive = <250>;
2316 polling-delay = <1000>;
2317
2318 thermal-sensors = <&tsens0 7>;
2319
2320 trips {
2321 cpu_alert4: trip0 {
2322 temperature = <75000>;
2323 hysteresis = <2000>;
2324 type = "passive";
2325 };
2326
2327 cpu_crit4: trip1 {
2328 temperature = <110000>;
2329 hysteresis = <1000>;
2330 type = "critical";
2331 };
2332 };
2333 };
2334
2335 cpu5-thermal {
2336 polling-delay-passive = <250>;
2337 polling-delay = <1000>;
2338
2339 thermal-sensors = <&tsens0 8>;
2340
2341 trips {
2342 cpu_alert5: trip0 {
2343 temperature = <75000>;
2344 hysteresis = <2000>;
2345 type = "passive";
2346 };
2347
2348 cpu_crit5: trip1 {
2349 temperature = <110000>;
2350 hysteresis = <1000>;
2351 type = "critical";
2352 };
2353 };
2354 };
2355
2356 cpu6-thermal {
2357 polling-delay-passive = <250>;
2358 polling-delay = <1000>;
2359
2360 thermal-sensors = <&tsens0 9>;
2361
2362 trips {
2363 cpu_alert6: trip0 {
2364 temperature = <75000>;
2365 hysteresis = <2000>;
2366 type = "passive";
2367 };
2368
2369 cpu_crit6: trip1 {
2370 temperature = <110000>;
2371 hysteresis = <1000>;
2372 type = "critical";
2373 };
2374 };
2375 };
2376
2377 cpu7-thermal {
2378 polling-delay-passive = <250>;
2379 polling-delay = <1000>;
2380
2381 thermal-sensors = <&tsens0 10>;
2382
2383 trips {
2384 cpu_alert7: trip0 {
2385 temperature = <75000>;
2386 hysteresis = <2000>;
2387 type = "passive";
2388 };
2389
2390 cpu_crit7: trip1 {
2391 temperature = <110000>;
2392 hysteresis = <1000>;
2393 type = "critical";
2394 };
2395 };
2396 };
2397 };
Rajendra Nayak6d4cf752018-03-12 19:42:24 +05302398};