Commit | Line | Data |
---|---|---|
9d038b2e MS |
1 | // SPDX-License-Identifier: BSD-3-Clause |
2 | /* | |
3 | * SDX55 SoC device tree source | |
4 | * | |
5 | * Copyright (c) 2018, The Linux Foundation. All rights reserved. | |
6 | * Copyright (c) 2020, Linaro Ltd. | |
7 | */ | |
8 | ||
f036549f | 9 | #include <dt-bindings/clock/qcom,gcc-sdx55.h> |
9d038b2e | 10 | #include <dt-bindings/clock/qcom,rpmh.h> |
e6b69813 | 11 | #include <dt-bindings/gpio/gpio.h> |
ce5a28d1 | 12 | #include <dt-bindings/interconnect/qcom,sdx55.h> |
9d038b2e | 13 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
3cef2d55 | 14 | #include <dt-bindings/power/qcom-rpmpd.h> |
9d038b2e MS |
15 | #include <dt-bindings/soc/qcom,rpmh-rsc.h> |
16 | ||
17 | / { | |
18 | #address-cells = <1>; | |
19 | #size-cells = <1>; | |
20 | qcom,msm-id = <357 0x10000>, <368 0x10000>, <418 0x10000>; | |
21 | interrupt-parent = <&intc>; | |
22 | ||
23 | memory { | |
24 | device_type = "memory"; | |
25 | reg = <0 0>; | |
26 | }; | |
27 | ||
28 | clocks { | |
29 | xo_board: xo-board { | |
30 | compatible = "fixed-clock"; | |
31 | #clock-cells = <0>; | |
32 | clock-frequency = <38400000>; | |
33 | clock-output-names = "xo_board"; | |
34 | }; | |
35 | ||
36 | sleep_clk: sleep-clk { | |
37 | compatible = "fixed-clock"; | |
38 | #clock-cells = <0>; | |
39 | clock-frequency = <32000>; | |
40 | }; | |
4bd7bfb4 MS |
41 | |
42 | nand_clk_dummy: nand-clk-dummy { | |
43 | compatible = "fixed-clock"; | |
44 | #clock-cells = <0>; | |
45 | clock-frequency = <32000>; | |
46 | }; | |
9d038b2e MS |
47 | }; |
48 | ||
49 | cpus { | |
50 | #address-cells = <1>; | |
51 | #size-cells = <0>; | |
52 | ||
53 | cpu0: cpu@0 { | |
54 | device_type = "cpu"; | |
55 | compatible = "arm,cortex-a7"; | |
56 | reg = <0x0>; | |
57 | enable-method = "psci"; | |
0ec7bde7 MS |
58 | clocks = <&apcs>; |
59 | power-domains = <&rpmhpd SDX55_CX>; | |
60 | power-domain-names = "rpmhpd"; | |
61 | operating-points-v2 = <&cpu_opp_table>; | |
62 | }; | |
63 | }; | |
64 | ||
295bc719 KK |
65 | firmware { |
66 | scm { | |
67 | compatible = "qcom,scm-sdx55", "qcom,scm"; | |
68 | }; | |
69 | }; | |
70 | ||
71 | cpu_opp_table: opp-table-cpu { | |
0ec7bde7 MS |
72 | compatible = "operating-points-v2"; |
73 | opp-shared; | |
74 | ||
75 | opp-345600000 { | |
76 | opp-hz = /bits/ 64 <345600000>; | |
77 | required-opps = <&rpmhpd_opp_low_svs>; | |
78 | }; | |
79 | ||
80 | opp-576000000 { | |
81 | opp-hz = /bits/ 64 <576000000>; | |
82 | required-opps = <&rpmhpd_opp_svs>; | |
83 | }; | |
84 | ||
85 | opp-1094400000 { | |
86 | opp-hz = /bits/ 64 <1094400000>; | |
87 | required-opps = <&rpmhpd_opp_nom>; | |
88 | }; | |
89 | ||
90 | opp-1555200000 { | |
91 | opp-hz = /bits/ 64 <1555200000>; | |
92 | required-opps = <&rpmhpd_opp_turbo>; | |
9d038b2e MS |
93 | }; |
94 | }; | |
95 | ||
96 | psci { | |
97 | compatible = "arm,psci-1.0"; | |
98 | method = "smc"; | |
99 | }; | |
100 | ||
ec99770d VK |
101 | reserved-memory { |
102 | #address-cells = <1>; | |
103 | #size-cells = <1>; | |
104 | ranges; | |
105 | ||
106 | hyp_mem: memory@8fc00000 { | |
107 | no-map; | |
108 | reg = <0x8fc00000 0x80000>; | |
109 | }; | |
110 | ||
111 | ac_db_mem: memory@8fc80000 { | |
112 | no-map; | |
113 | reg = <0x8fc80000 0x40000>; | |
114 | }; | |
115 | ||
116 | secdata_mem: memory@8fcfd000 { | |
117 | no-map; | |
118 | reg = <0x8fcfd000 0x1000>; | |
119 | }; | |
120 | ||
121 | sbl_mem: memory@8fd00000 { | |
122 | no-map; | |
123 | reg = <0x8fd00000 0x100000>; | |
124 | }; | |
125 | ||
126 | aop_image: memory@8fe00000 { | |
127 | no-map; | |
128 | reg = <0x8fe00000 0x20000>; | |
129 | }; | |
130 | ||
131 | aop_cmd_db: memory@8fe20000 { | |
132 | compatible = "qcom,cmd-db"; | |
133 | reg = <0x8fe20000 0x20000>; | |
134 | no-map; | |
135 | }; | |
136 | ||
137 | smem_mem: memory@8fe40000 { | |
138 | no-map; | |
139 | reg = <0x8fe40000 0xc0000>; | |
140 | }; | |
141 | ||
142 | tz_mem: memory@8ff00000 { | |
143 | no-map; | |
144 | reg = <0x8ff00000 0x100000>; | |
145 | }; | |
146 | ||
9e62ec0e | 147 | tz_apps_mem: memory@90000000 { |
ec99770d VK |
148 | no-map; |
149 | reg = <0x90000000 0x500000>; | |
150 | }; | |
151 | }; | |
152 | ||
8cf74d05 MS |
153 | smem { |
154 | compatible = "qcom,smem"; | |
155 | memory-region = <&smem_mem>; | |
156 | hwlocks = <&tcsr_mutex 3>; | |
157 | }; | |
158 | ||
21e6e1dc MS |
159 | smp2p-mpss { |
160 | compatible = "qcom,smp2p"; | |
161 | qcom,smem = <435>, <428>; | |
162 | interrupts = <GIC_SPI 113 IRQ_TYPE_EDGE_RISING>; | |
163 | mboxes = <&apcs 14>; | |
164 | qcom,local-pid = <0>; | |
165 | qcom,remote-pid = <1>; | |
166 | ||
167 | modem_smp2p_out: master-kernel { | |
168 | qcom,entry-name = "master-kernel"; | |
169 | #qcom,smem-state-cells = <1>; | |
170 | }; | |
171 | ||
172 | modem_smp2p_in: slave-kernel { | |
173 | qcom,entry-name = "slave-kernel"; | |
174 | interrupt-controller; | |
175 | #interrupt-cells = <2>; | |
176 | }; | |
177 | ||
178 | ipa_smp2p_out: ipa-ap-to-modem { | |
179 | qcom,entry-name = "ipa"; | |
180 | #qcom,smem-state-cells = <1>; | |
181 | }; | |
182 | ||
183 | ipa_smp2p_in: ipa-modem-to-ap { | |
184 | qcom,entry-name = "ipa"; | |
185 | interrupt-controller; | |
186 | #interrupt-cells = <2>; | |
187 | }; | |
188 | }; | |
189 | ||
9d038b2e MS |
190 | soc: soc { |
191 | #address-cells = <1>; | |
192 | #size-cells = <1>; | |
193 | ranges; | |
194 | compatible = "simple-bus"; | |
195 | ||
196 | gcc: clock-controller@100000 { | |
197 | compatible = "qcom,gcc-sdx55"; | |
198 | reg = <0x100000 0x1f0000>; | |
199 | #clock-cells = <1>; | |
200 | #reset-cells = <1>; | |
fea4b410 | 201 | #power-domain-cells = <1>; |
9d038b2e MS |
202 | clock-names = "bi_tcxo", "sleep_clk"; |
203 | clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>; | |
204 | }; | |
205 | ||
206 | blsp1_uart3: serial@831000 { | |
207 | compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; | |
208 | reg = <0x00831000 0x200>; | |
ae500b35 | 209 | interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; |
9d038b2e MS |
210 | clocks = <&gcc 30>, |
211 | <&gcc 9>; | |
212 | clock-names = "core", "iface"; | |
213 | status = "disabled"; | |
214 | }; | |
215 | ||
fea4b410 | 216 | usb_hsphy: phy@ff4000 { |
bf07cc87 KK |
217 | compatible = "qcom,sdx55-usb-hs-phy", |
218 | "qcom,usb-snps-hs-7nm-phy"; | |
fea4b410 MS |
219 | reg = <0x00ff4000 0x114>; |
220 | status = "disabled"; | |
221 | #phy-cells = <0>; | |
222 | ||
223 | clocks = <&rpmhcc RPMH_CXO_CLK>; | |
224 | clock-names = "ref"; | |
225 | ||
226 | resets = <&gcc GCC_QUSB2PHY_BCR>; | |
227 | }; | |
228 | ||
229 | usb_qmpphy: phy@ff6000 { | |
230 | compatible = "qcom,sdx55-qmp-usb3-uni-phy"; | |
231 | reg = <0x00ff6000 0x1c0>; | |
232 | status = "disabled"; | |
fea4b410 MS |
233 | #address-cells = <1>; |
234 | #size-cells = <1>; | |
235 | ranges; | |
236 | ||
237 | clocks = <&gcc GCC_USB3_PHY_AUX_CLK>, | |
238 | <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, | |
239 | <&gcc GCC_USB3_PRIM_CLKREF_CLK>; | |
240 | clock-names = "aux", "cfg_ahb", "ref"; | |
241 | ||
242 | resets = <&gcc GCC_USB3PHY_PHY_BCR>, | |
243 | <&gcc GCC_USB3_PHY_BCR>; | |
244 | reset-names = "phy", "common"; | |
245 | ||
246 | usb_ssphy: phy@ff6200 { | |
247 | reg = <0x00ff6200 0x170>, | |
248 | <0x00ff6400 0x200>, | |
249 | <0x00ff6800 0x800>; | |
250 | #phy-cells = <0>; | |
251 | #clock-cells = <0>; | |
252 | clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>; | |
253 | clock-names = "pipe0"; | |
254 | clock-output-names = "usb3_uni_phy_pipe_clk_src"; | |
255 | }; | |
256 | }; | |
257 | ||
ce5a28d1 MS |
258 | mc_virt: interconnect@1100000 { |
259 | compatible = "qcom,sdx55-mc-virt"; | |
260 | reg = <0x01100000 0x400000>; | |
261 | #interconnect-cells = <1>; | |
262 | qcom,bcm-voters = <&apps_bcm_voter>; | |
263 | }; | |
264 | ||
265 | mem_noc: interconnect@9680000 { | |
266 | compatible = "qcom,sdx55-mem-noc"; | |
267 | reg = <0x09680000 0x40000>; | |
268 | #interconnect-cells = <1>; | |
269 | qcom,bcm-voters = <&apps_bcm_voter>; | |
270 | }; | |
271 | ||
272 | system_noc: interconnect@162c000 { | |
273 | compatible = "qcom,sdx55-system-noc"; | |
274 | reg = <0x0162c000 0x31200>; | |
275 | #interconnect-cells = <1>; | |
276 | qcom,bcm-voters = <&apps_bcm_voter>; | |
ce5a28d1 MS |
277 | }; |
278 | ||
24709418 MS |
279 | qpic_bam: dma-controller@1b04000 { |
280 | compatible = "qcom,bam-v1.7.0"; | |
281 | reg = <0x01b04000 0x1c000>; | |
282 | interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>; | |
283 | clocks = <&rpmhcc RPMH_QPIC_CLK>; | |
284 | clock-names = "bam_clk"; | |
285 | #dma-cells = <1>; | |
286 | qcom,ee = <0>; | |
287 | qcom,controlled-remotely; | |
288 | status = "disabled"; | |
289 | }; | |
290 | ||
9e1e00f1 | 291 | qpic_nand: nand-controller@1b30000 { |
4bd7bfb4 MS |
292 | compatible = "qcom,sdx55-nand"; |
293 | reg = <0x01b30000 0x10000>; | |
294 | #address-cells = <1>; | |
295 | #size-cells = <0>; | |
296 | clocks = <&rpmhcc RPMH_QPIC_CLK>, | |
297 | <&nand_clk_dummy>; | |
298 | clock-names = "core", "aon"; | |
299 | ||
300 | dmas = <&qpic_bam 0>, | |
301 | <&qpic_bam 1>, | |
302 | <&qpic_bam 2>; | |
303 | dma-names = "tx", "rx", "cmd"; | |
304 | status = "disabled"; | |
305 | }; | |
306 | ||
2b20437e MS |
307 | pcie_rc: pcie@1c00000 { |
308 | compatible = "qcom,pcie-sdx55"; | |
309 | reg = <0x01c00000 0x3000>, | |
310 | <0x40000000 0xf1d>, | |
311 | <0x40000f20 0xc8>, | |
312 | <0x40001000 0x1000>, | |
313 | <0x40100000 0x100000>; | |
314 | reg-names = "parf", | |
315 | "dbi", | |
316 | "elbi", | |
317 | "atu", | |
318 | "config"; | |
319 | device_type = "pci"; | |
320 | linux,pci-domain = <0>; | |
321 | bus-range = <0x00 0xff>; | |
322 | num-lanes = <1>; | |
323 | ||
324 | #address-cells = <3>; | |
325 | #size-cells = <2>; | |
326 | ||
327 | ranges = <0x01000000 0x0 0x00000000 0x40200000 0x0 0x100000>, | |
328 | <0x02000000 0x0 0x40300000 0x40300000 0x0 0x3fd00000>; | |
329 | ||
330 | interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, | |
331 | <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, | |
332 | <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, | |
333 | <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, | |
334 | <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, | |
335 | <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, | |
336 | <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, | |
337 | <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; | |
338 | interrupt-names = "msi", | |
339 | "msi2", | |
340 | "msi3", | |
341 | "msi4", | |
342 | "msi5", | |
343 | "msi6", | |
344 | "msi7", | |
345 | "msi8"; | |
346 | #interrupt-cells = <1>; | |
347 | interrupt-map-mask = <0 0 0 0x7>; | |
348 | interrupt-map = <0 0 0 1 &intc 0 0 0 141 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ | |
349 | <0 0 0 2 &intc 0 0 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ | |
350 | <0 0 0 3 &intc 0 0 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ | |
351 | <0 0 0 4 &intc 0 0 0 144 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ | |
352 | ||
353 | clocks = <&gcc GCC_PCIE_PIPE_CLK>, | |
354 | <&gcc GCC_PCIE_AUX_CLK>, | |
355 | <&gcc GCC_PCIE_CFG_AHB_CLK>, | |
356 | <&gcc GCC_PCIE_MSTR_AXI_CLK>, | |
357 | <&gcc GCC_PCIE_SLV_AXI_CLK>, | |
358 | <&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>, | |
359 | <&gcc GCC_PCIE_SLEEP_CLK>; | |
360 | clock-names = "pipe", | |
361 | "aux", | |
362 | "cfg", | |
363 | "bus_master", | |
364 | "bus_slave", | |
365 | "slave_q2a", | |
366 | "sleep"; | |
367 | ||
368 | assigned-clocks = <&gcc GCC_PCIE_AUX_CLK>; | |
369 | assigned-clock-rates = <19200000>; | |
370 | ||
371 | iommu-map = <0x0 &apps_smmu 0x0200 0x1>, | |
372 | <0x100 &apps_smmu 0x0201 0x1>, | |
373 | <0x200 &apps_smmu 0x0202 0x1>, | |
374 | <0x300 &apps_smmu 0x0203 0x1>, | |
375 | <0x400 &apps_smmu 0x0204 0x1>; | |
376 | ||
377 | resets = <&gcc GCC_PCIE_BCR>; | |
378 | reset-names = "pci"; | |
379 | ||
380 | power-domains = <&gcc PCIE_GDSC>; | |
381 | ||
382 | phys = <&pcie_lane>; | |
383 | phy-names = "pciephy"; | |
384 | ||
385 | status = "disabled"; | |
386 | }; | |
387 | ||
3b76b736 MS |
388 | pcie_ep: pcie-ep@1c00000 { |
389 | compatible = "qcom,sdx55-pcie-ep"; | |
390 | reg = <0x01c00000 0x3000>, | |
391 | <0x40000000 0xf1d>, | |
392 | <0x40000f20 0xc8>, | |
393 | <0x40001000 0x1000>, | |
394 | <0x40200000 0x100000>, | |
395 | <0x01c03000 0x3000>; | |
f9364a7c MS |
396 | reg-names = "parf", |
397 | "dbi", | |
398 | "elbi", | |
399 | "atu", | |
400 | "addr_space", | |
3b76b736 MS |
401 | "mmio"; |
402 | ||
403 | qcom,perst-regs = <&tcsr 0xb258 0xb270>; | |
404 | ||
405 | clocks = <&gcc GCC_PCIE_AUX_CLK>, | |
406 | <&gcc GCC_PCIE_CFG_AHB_CLK>, | |
407 | <&gcc GCC_PCIE_MSTR_AXI_CLK>, | |
408 | <&gcc GCC_PCIE_SLV_AXI_CLK>, | |
409 | <&gcc GCC_PCIE_SLV_Q2A_AXI_CLK>, | |
410 | <&gcc GCC_PCIE_SLEEP_CLK>, | |
411 | <&gcc GCC_PCIE_0_CLKREF_CLK>; | |
f9364a7c MS |
412 | clock-names = "aux", |
413 | "cfg", | |
414 | "bus_master", | |
415 | "bus_slave", | |
416 | "slave_q2a", | |
417 | "sleep", | |
418 | "ref"; | |
3b76b736 MS |
419 | |
420 | interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>, | |
421 | <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; | |
f9364a7c MS |
422 | interrupt-names = "global", |
423 | "doorbell"; | |
3b76b736 MS |
424 | resets = <&gcc GCC_PCIE_BCR>; |
425 | reset-names = "core"; | |
426 | power-domains = <&gcc PCIE_GDSC>; | |
c9f30e3d | 427 | phys = <&pcie_lane>; |
3b76b736 MS |
428 | phy-names = "pciephy"; |
429 | max-link-speed = <3>; | |
430 | num-lanes = <2>; | |
431 | ||
432 | status = "disabled"; | |
433 | }; | |
434 | ||
c9f30e3d | 435 | pcie_phy: phy@1c07000 { |
254a2758 MS |
436 | compatible = "qcom,sdx55-qmp-pcie-phy"; |
437 | reg = <0x01c07000 0x1c4>; | |
438 | #address-cells = <1>; | |
439 | #size-cells = <1>; | |
440 | ranges; | |
441 | clocks = <&gcc GCC_PCIE_AUX_PHY_CLK_SRC>, | |
442 | <&gcc GCC_PCIE_CFG_AHB_CLK>, | |
443 | <&gcc GCC_PCIE_0_CLKREF_CLK>, | |
444 | <&gcc GCC_PCIE_RCHNG_PHY_CLK>; | |
f9364a7c MS |
445 | clock-names = "aux", |
446 | "cfg_ahb", | |
447 | "ref", | |
448 | "refgen"; | |
254a2758 MS |
449 | |
450 | resets = <&gcc GCC_PCIE_PHY_BCR>; | |
451 | reset-names = "phy"; | |
452 | ||
453 | assigned-clocks = <&gcc GCC_PCIE_RCHNG_PHY_CLK>; | |
454 | assigned-clock-rates = <100000000>; | |
455 | ||
456 | status = "disabled"; | |
457 | ||
c9f30e3d | 458 | pcie_lane: lanes@1c06000 { |
254a2758 MS |
459 | reg = <0x01c06000 0x104>, /* tx0 */ |
460 | <0x01c06200 0x328>, /* rx0 */ | |
461 | <0x01c07200 0x1e8>, /* pcs */ | |
462 | <0x01c06800 0x104>, /* tx1 */ | |
463 | <0x01c06a00 0x328>, /* rx1 */ | |
464 | <0x01c07600 0x800>; /* pcs_misc */ | |
465 | clocks = <&gcc GCC_PCIE_PIPE_CLK>; | |
466 | clock-names = "pipe0"; | |
467 | ||
468 | #phy-cells = <0>; | |
469 | clock-output-names = "pcie_pipe_clk"; | |
470 | }; | |
471 | }; | |
472 | ||
06ad53ef AE |
473 | ipa: ipa@1e40000 { |
474 | compatible = "qcom,sdx55-ipa"; | |
475 | ||
476 | iommus = <&apps_smmu 0x5e0 0x0>, | |
477 | <&apps_smmu 0x5e2 0x0>; | |
478 | reg = <0x1e40000 0x7000>, | |
479 | <0x1e50000 0x4b20>, | |
480 | <0x1e04000 0x2c000>; | |
481 | reg-names = "ipa-reg", | |
482 | "ipa-shared", | |
483 | "gsi"; | |
484 | ||
485 | interrupts-extended = <&intc GIC_SPI 241 IRQ_TYPE_EDGE_RISING>, | |
486 | <&intc GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, | |
487 | <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, | |
488 | <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; | |
489 | interrupt-names = "ipa", | |
490 | "gsi", | |
491 | "ipa-clock-query", | |
492 | "ipa-setup-ready"; | |
493 | ||
494 | clocks = <&rpmhcc RPMH_IPA_CLK>; | |
495 | clock-names = "core"; | |
496 | ||
c0d6316c | 497 | interconnects = <&system_noc MASTER_IPA &mc_virt SLAVE_EBI_CH0>, |
06ad53ef AE |
498 | <&system_noc MASTER_IPA &system_noc SLAVE_OCIMEM>, |
499 | <&mem_noc MASTER_AMPSS_M0 &system_noc SLAVE_IPA_CFG>; | |
c0d6316c | 500 | interconnect-names = "memory", |
06ad53ef AE |
501 | "imem", |
502 | "config"; | |
503 | ||
504 | qcom,smem-states = <&ipa_smp2p_out 0>, | |
505 | <&ipa_smp2p_out 1>; | |
506 | qcom,smem-state-names = "ipa-clock-enabled-valid", | |
507 | "ipa-clock-enabled"; | |
508 | ||
509 | status = "disabled"; | |
510 | }; | |
511 | ||
985eef1d MS |
512 | tcsr_mutex: hwlock@1f40000 { |
513 | compatible = "qcom,tcsr-mutex"; | |
514 | reg = <0x01f40000 0x40000>; | |
515 | #hwlock-cells = <1>; | |
516 | }; | |
517 | ||
e6b69813 | 518 | tcsr: syscon@1fcb000 { |
424a4e52 | 519 | compatible = "qcom,sdx55-tcsr", "syscon"; |
e6b69813 MS |
520 | reg = <0x01fc0000 0x1000>; |
521 | }; | |
522 | ||
2477d819 | 523 | sdhc_1: mmc@8804000 { |
f036549f MS |
524 | compatible = "qcom,sdx55-sdhci", "qcom,sdhci-msm-v5"; |
525 | reg = <0x08804000 0x1000>; | |
526 | interrupts = <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>, | |
527 | <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; | |
528 | interrupt-names = "hc_irq", "pwr_irq"; | |
529 | clocks = <&gcc GCC_SDCC1_AHB_CLK>, | |
530 | <&gcc GCC_SDCC1_APPS_CLK>; | |
531 | clock-names = "iface", "core"; | |
532 | status = "disabled"; | |
533 | }; | |
534 | ||
67b4744a MS |
535 | remoteproc_mpss: remoteproc@4080000 { |
536 | compatible = "qcom,sdx55-mpss-pas"; | |
537 | reg = <0x04080000 0x4040>; | |
538 | ||
539 | interrupts-extended = <&intc GIC_SPI 250 IRQ_TYPE_EDGE_RISING>, | |
540 | <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, | |
541 | <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, | |
542 | <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, | |
543 | <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, | |
544 | <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; | |
545 | interrupt-names = "wdog", "fatal", "ready", "handover", | |
546 | "stop-ack", "shutdown-ack"; | |
547 | ||
548 | clocks = <&rpmhcc RPMH_CXO_CLK>; | |
549 | clock-names = "xo"; | |
550 | ||
551 | power-domains = <&rpmhpd SDX55_CX>, | |
552 | <&rpmhpd SDX55_MSS>; | |
553 | power-domain-names = "cx", "mss"; | |
554 | ||
555 | qcom,smem-states = <&modem_smp2p_out 0>; | |
556 | qcom,smem-state-names = "stop"; | |
557 | ||
558 | status = "disabled"; | |
559 | ||
560 | glink-edge { | |
561 | interrupts = <GIC_SPI 114 IRQ_TYPE_EDGE_RISING>; | |
562 | label = "mpss"; | |
563 | qcom,remote-pid = <1>; | |
564 | mboxes = <&apcs 15>; | |
565 | }; | |
566 | }; | |
567 | ||
fea4b410 MS |
568 | usb: usb@a6f8800 { |
569 | compatible = "qcom,sdx55-dwc3", "qcom,dwc3"; | |
570 | reg = <0x0a6f8800 0x400>; | |
571 | status = "disabled"; | |
572 | #address-cells = <1>; | |
573 | #size-cells = <1>; | |
574 | ranges; | |
575 | ||
576 | clocks = <&gcc GCC_USB30_SLV_AHB_CLK>, | |
577 | <&gcc GCC_USB30_MASTER_CLK>, | |
578 | <&gcc GCC_USB30_MSTR_AXI_CLK>, | |
8d5fd4e4 KK |
579 | <&gcc GCC_USB30_SLEEP_CLK>, |
580 | <&gcc GCC_USB30_MOCK_UTMI_CLK>; | |
581 | clock-names = "cfg_noc", | |
582 | "core", | |
583 | "iface", | |
584 | "sleep", | |
585 | "mock_utmi"; | |
fea4b410 MS |
586 | |
587 | assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>, | |
588 | <&gcc GCC_USB30_MASTER_CLK>; | |
589 | assigned-clock-rates = <19200000>, <200000000>; | |
590 | ||
591 | interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, | |
592 | <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, | |
593 | <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>, | |
594 | <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; | |
595 | interrupt-names = "hs_phy_irq", "ss_phy_irq", | |
596 | "dm_hs_phy_irq", "dp_hs_phy_irq"; | |
597 | ||
598 | power-domains = <&gcc USB30_GDSC>; | |
599 | ||
600 | resets = <&gcc GCC_USB30_BCR>; | |
601 | ||
602 | usb_dwc3: dwc3@a600000 { | |
603 | compatible = "snps,dwc3"; | |
604 | reg = <0x0a600000 0xcd00>; | |
605 | interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; | |
606 | iommus = <&apps_smmu 0x1a0 0x0>; | |
607 | snps,dis_u2_susphy_quirk; | |
608 | snps,dis_enblslpm_quirk; | |
609 | phys = <&usb_hsphy>, <&usb_ssphy>; | |
610 | phy-names = "usb2-phy", "usb3-phy"; | |
611 | }; | |
612 | }; | |
613 | ||
9d038b2e MS |
614 | pdc: interrupt-controller@b210000 { |
615 | compatible = "qcom,sdx55-pdc", "qcom,pdc"; | |
616 | reg = <0x0b210000 0x30000>; | |
617 | qcom,pdc-ranges = <0 179 52>; | |
618 | #interrupt-cells = <3>; | |
619 | interrupt-parent = <&intc>; | |
620 | interrupt-controller; | |
621 | }; | |
622 | ||
c4aa86f0 MS |
623 | restart@c264000 { |
624 | compatible = "qcom,pshold"; | |
625 | reg = <0x0c264000 0x1000>; | |
626 | }; | |
627 | ||
5035460b | 628 | spmi_bus: spmi@c440000 { |
3b6785ed VK |
629 | compatible = "qcom,spmi-pmic-arb"; |
630 | reg = <0x0c440000 0x0000d00>, | |
631 | <0x0c600000 0x2000000>, | |
632 | <0x0e600000 0x0100000>, | |
633 | <0x0e700000 0x00a0000>, | |
634 | <0x0c40a000 0x0000700>; | |
635 | reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; | |
636 | interrupt-names = "periph_irq"; | |
637 | interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; | |
638 | qcom,ee = <0>; | |
639 | qcom,channel = <0>; | |
640 | #address-cells = <2>; | |
641 | #size-cells = <0>; | |
642 | interrupt-controller; | |
643 | #interrupt-cells = <4>; | |
644 | cell-index = <0>; | |
645 | }; | |
646 | ||
dea0e9bc VK |
647 | tlmm: pinctrl@f100000 { |
648 | compatible = "qcom,sdx55-pinctrl"; | |
649 | reg = <0xf100000 0x300000>; | |
650 | interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>; | |
651 | gpio-controller; | |
652 | #gpio-cells = <2>; | |
653 | interrupt-controller; | |
654 | #interrupt-cells = <2>; | |
2291bbd7 | 655 | gpio-ranges = <&tlmm 0 0 108>; |
dea0e9bc VK |
656 | }; |
657 | ||
230b5eda | 658 | sram@1468f000 { |
def2565b | 659 | compatible = "qcom,sdx55-imem", "syscon", "simple-mfd"; |
9b7069ed MS |
660 | reg = <0x1468f000 0x1000>; |
661 | ||
662 | #address-cells = <1>; | |
663 | #size-cells = <1>; | |
664 | ||
665 | ranges = <0x0 0x1468f000 0x1000>; | |
666 | ||
667 | pil-reloc@94c { | |
668 | compatible = "qcom,pil-reloc-info"; | |
669 | reg = <0x94c 0x200>; | |
670 | }; | |
671 | }; | |
672 | ||
a2bdfdfb | 673 | apps_smmu: iommu@15000000 { |
af4ab377 | 674 | compatible = "qcom,sdx55-smmu-500", "qcom,smmu-500", "arm,mmu-500"; |
a2bdfdfb BA |
675 | reg = <0x15000000 0x20000>; |
676 | #iommu-cells = <2>; | |
677 | #global-interrupts = <1>; | |
678 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, | |
679 | <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, | |
680 | <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>, | |
681 | <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, | |
682 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>, | |
683 | <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, | |
684 | <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, | |
685 | <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, | |
686 | <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, | |
687 | <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, | |
688 | <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, | |
689 | <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, | |
690 | <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, | |
691 | <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, | |
692 | <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, | |
693 | <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, | |
694 | <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; | |
695 | }; | |
696 | ||
9d038b2e MS |
697 | intc: interrupt-controller@17800000 { |
698 | compatible = "qcom,msm-qgic2"; | |
699 | interrupt-controller; | |
700 | interrupt-parent = <&intc>; | |
701 | #interrupt-cells = <3>; | |
702 | reg = <0x17800000 0x1000>, | |
703 | <0x17802000 0x1000>; | |
704 | }; | |
705 | ||
37f0f245 MS |
706 | a7pll: clock@17808000 { |
707 | compatible = "qcom,sdx55-a7pll"; | |
708 | reg = <0x17808000 0x1000>; | |
709 | clocks = <&rpmhcc RPMH_CXO_CLK>; | |
710 | clock-names = "bi_tcxo"; | |
711 | #clock-cells = <0>; | |
712 | }; | |
713 | ||
8e3d9a7c MS |
714 | apcs: mailbox@17810000 { |
715 | compatible = "qcom,sdx55-apcs-gcc", "syscon"; | |
716 | reg = <0x17810000 0x2000>; | |
717 | #mbox-cells = <1>; | |
718 | clocks = <&rpmhcc RPMH_CXO_CLK>, <&a7pll>, <&gcc GPLL0>; | |
719 | clock-names = "ref", "pll", "aux"; | |
720 | #clock-cells = <0>; | |
721 | }; | |
722 | ||
b1d20460 MS |
723 | watchdog@17817000 { |
724 | compatible = "qcom,apss-wdt-sdx55", "qcom,kpss-wdt"; | |
725 | reg = <0x17817000 0x1000>; | |
726 | clocks = <&sleep_clk>; | |
727 | }; | |
728 | ||
9d038b2e MS |
729 | timer@17820000 { |
730 | #address-cells = <1>; | |
731 | #size-cells = <1>; | |
732 | ranges; | |
733 | compatible = "arm,armv7-timer-mem"; | |
734 | reg = <0x17820000 0x1000>; | |
735 | clock-frequency = <19200000>; | |
736 | ||
737 | frame@17821000 { | |
738 | frame-number = <0>; | |
739 | interrupts = <GIC_SPI 7 0x4>, | |
740 | <GIC_SPI 6 0x4>; | |
741 | reg = <0x17821000 0x1000>, | |
742 | <0x17822000 0x1000>; | |
743 | }; | |
744 | ||
745 | frame@17823000 { | |
746 | frame-number = <1>; | |
747 | interrupts = <GIC_SPI 8 0x4>; | |
748 | reg = <0x17823000 0x1000>; | |
749 | status = "disabled"; | |
750 | }; | |
751 | ||
752 | frame@17824000 { | |
753 | frame-number = <2>; | |
754 | interrupts = <GIC_SPI 9 0x4>; | |
755 | reg = <0x17824000 0x1000>; | |
756 | status = "disabled"; | |
757 | }; | |
758 | ||
759 | frame@17825000 { | |
760 | frame-number = <3>; | |
761 | interrupts = <GIC_SPI 10 0x4>; | |
762 | reg = <0x17825000 0x1000>; | |
763 | status = "disabled"; | |
764 | }; | |
765 | ||
766 | frame@17826000 { | |
767 | frame-number = <4>; | |
768 | interrupts = <GIC_SPI 11 0x4>; | |
769 | reg = <0x17826000 0x1000>; | |
770 | status = "disabled"; | |
771 | }; | |
772 | ||
773 | frame@17827000 { | |
774 | frame-number = <5>; | |
775 | interrupts = <GIC_SPI 12 0x4>; | |
776 | reg = <0x17827000 0x1000>; | |
777 | status = "disabled"; | |
778 | }; | |
779 | ||
780 | frame@17828000 { | |
781 | frame-number = <6>; | |
782 | interrupts = <GIC_SPI 13 0x4>; | |
783 | reg = <0x17828000 0x1000>; | |
784 | status = "disabled"; | |
785 | }; | |
786 | ||
787 | frame@17829000 { | |
788 | frame-number = <7>; | |
789 | interrupts = <GIC_SPI 14 0x4>; | |
790 | reg = <0x17829000 0x1000>; | |
791 | status = "disabled"; | |
792 | }; | |
793 | }; | |
794 | ||
795 | apps_rsc: rsc@17840000 { | |
796 | compatible = "qcom,rpmh-rsc"; | |
797 | reg = <0x17830000 0x10000>, <0x17840000 0x10000>; | |
798 | reg-names = "drv-0", "drv-1"; | |
799 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, | |
800 | <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; | |
801 | qcom,tcs-offset = <0xd00>; | |
802 | qcom,drv-id = <1>; | |
803 | qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 2>, | |
804 | <WAKE_TCS 2>, <CONTROL_TCS 1>; | |
805 | ||
806 | rpmhcc: clock-controller { | |
807 | compatible = "qcom,sdx55-rpmh-clk"; | |
808 | #clock-cells = <1>; | |
809 | clock-names = "xo"; | |
810 | clocks = <&xo_board>; | |
811 | }; | |
3cef2d55 VK |
812 | |
813 | rpmhpd: power-controller { | |
814 | compatible = "qcom,sdx55-rpmhpd"; | |
815 | #power-domain-cells = <1>; | |
816 | operating-points-v2 = <&rpmhpd_opp_table>; | |
817 | ||
818 | rpmhpd_opp_table: opp-table { | |
819 | compatible = "operating-points-v2"; | |
820 | ||
821 | rpmhpd_opp_ret: opp1 { | |
822 | opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; | |
823 | }; | |
824 | ||
825 | rpmhpd_opp_min_svs: opp2 { | |
826 | opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; | |
827 | }; | |
828 | ||
829 | rpmhpd_opp_low_svs: opp3 { | |
830 | opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; | |
831 | }; | |
832 | ||
833 | rpmhpd_opp_svs: opp4 { | |
834 | opp-level = <RPMH_REGULATOR_LEVEL_SVS>; | |
835 | }; | |
836 | ||
837 | rpmhpd_opp_svs_l1: opp5 { | |
838 | opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; | |
839 | }; | |
840 | ||
841 | rpmhpd_opp_nom: opp6 { | |
842 | opp-level = <RPMH_REGULATOR_LEVEL_NOM>; | |
843 | }; | |
844 | ||
845 | rpmhpd_opp_nom_l1: opp7 { | |
846 | opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; | |
847 | }; | |
848 | ||
849 | rpmhpd_opp_nom_l2: opp8 { | |
850 | opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; | |
851 | }; | |
852 | ||
853 | rpmhpd_opp_turbo: opp9 { | |
854 | opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; | |
855 | }; | |
856 | ||
857 | rpmhpd_opp_turbo_l1: opp10 { | |
858 | opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; | |
859 | }; | |
860 | }; | |
861 | }; | |
ce5a28d1 | 862 | |
568cd324 | 863 | apps_bcm_voter: bcm-voter { |
ce5a28d1 MS |
864 | compatible = "qcom,bcm-voter"; |
865 | }; | |
9d038b2e MS |
866 | }; |
867 | }; | |
868 | ||
869 | timer { | |
870 | compatible = "arm,armv7-timer"; | |
871 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | |
872 | <GIC_PPI 12 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | |
873 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, | |
874 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; | |
875 | clock-frequency = <19200000>; | |
876 | }; | |
877 | }; |