1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2021, Linaro Limited 4 */ 5 6#include <dt-bindings/interrupt-controller/arm-gic.h> 7#include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 8#include <dt-bindings/clock/qcom,gcc-sm8450.h> 9#include <dt-bindings/clock/qcom,rpmh.h> 10#include <dt-bindings/clock/qcom,sm8450-camcc.h> 11#include <dt-bindings/clock/qcom,sm8450-dispcc.h> 12#include <dt-bindings/clock/qcom,sm8450-gpucc.h> 13#include <dt-bindings/clock/qcom,sm8450-videocc.h> 14#include <dt-bindings/dma/qcom-gpi.h> 15#include <dt-bindings/firmware/qcom,scm.h> 16#include <dt-bindings/gpio/gpio.h> 17#include <dt-bindings/mailbox/qcom-ipcc.h> 18#include <dt-bindings/phy/phy-qcom-qmp.h> 19#include <dt-bindings/power/qcom,rpmhpd.h> 20#include <dt-bindings/power/qcom-rpmpd.h> 21#include <dt-bindings/interconnect/qcom,icc.h> 22#include <dt-bindings/interconnect/qcom,sm8450.h> 23#include <dt-bindings/reset/qcom,sm8450-gpucc.h> 24#include <dt-bindings/soc/qcom,gpr.h> 25#include <dt-bindings/soc/qcom,rpmh-rsc.h> 26#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h> 27#include <dt-bindings/thermal/thermal.h> 28 29/ { 30 interrupt-parent = <&intc>; 31 32 #address-cells = <2>; 33 #size-cells = <2>; 34 35 chosen { }; 36 37 clocks { 38 xo_board: xo-board { 39 compatible = "fixed-clock"; 40 #clock-cells = <0>; 41 clock-frequency = <76800000>; 42 }; 43 44 sleep_clk: sleep-clk { 45 compatible = "fixed-clock"; 46 #clock-cells = <0>; 47 clock-frequency = <32764>; 48 }; 49 }; 50 51 cpus { 52 #address-cells = <2>; 53 #size-cells = <0>; 54 55 cpu0: cpu@0 { 56 device_type = "cpu"; 57 compatible = "qcom,kryo780"; 58 reg = <0x0 0x0>; 59 enable-method = "psci"; 60 next-level-cache = <&l2_0>; 61 power-domains = <&cpu_pd0>; 62 power-domain-names = "psci"; 63 qcom,freq-domain = <&cpufreq_hw 0>; 64 #cooling-cells = <2>; 65 clocks = <&cpufreq_hw 0>; 66 l2_0: l2-cache { 67 compatible = "cache"; 68 cache-level = <2>; 69 cache-unified; 70 next-level-cache = <&l3_0>; 71 l3_0: l3-cache { 72 compatible = "cache"; 73 cache-level = <3>; 74 cache-unified; 75 }; 76 }; 77 }; 78 79 cpu1: cpu@100 { 80 device_type = "cpu"; 81 compatible = "qcom,kryo780"; 82 reg = <0x0 0x100>; 83 enable-method = "psci"; 84 next-level-cache = <&l2_100>; 85 power-domains = <&cpu_pd1>; 86 power-domain-names = "psci"; 87 qcom,freq-domain = <&cpufreq_hw 0>; 88 #cooling-cells = <2>; 89 clocks = <&cpufreq_hw 0>; 90 l2_100: l2-cache { 91 compatible = "cache"; 92 cache-level = <2>; 93 cache-unified; 94 next-level-cache = <&l3_0>; 95 }; 96 }; 97 98 cpu2: cpu@200 { 99 device_type = "cpu"; 100 compatible = "qcom,kryo780"; 101 reg = <0x0 0x200>; 102 enable-method = "psci"; 103 next-level-cache = <&l2_200>; 104 power-domains = <&cpu_pd2>; 105 power-domain-names = "psci"; 106 qcom,freq-domain = <&cpufreq_hw 0>; 107 #cooling-cells = <2>; 108 clocks = <&cpufreq_hw 0>; 109 l2_200: l2-cache { 110 compatible = "cache"; 111 cache-level = <2>; 112 cache-unified; 113 next-level-cache = <&l3_0>; 114 }; 115 }; 116 117 cpu3: cpu@300 { 118 device_type = "cpu"; 119 compatible = "qcom,kryo780"; 120 reg = <0x0 0x300>; 121 enable-method = "psci"; 122 next-level-cache = <&l2_300>; 123 power-domains = <&cpu_pd3>; 124 power-domain-names = "psci"; 125 qcom,freq-domain = <&cpufreq_hw 0>; 126 #cooling-cells = <2>; 127 clocks = <&cpufreq_hw 0>; 128 l2_300: l2-cache { 129 compatible = "cache"; 130 cache-level = <2>; 131 cache-unified; 132 next-level-cache = <&l3_0>; 133 }; 134 }; 135 136 cpu4: cpu@400 { 137 device_type = "cpu"; 138 compatible = "qcom,kryo780"; 139 reg = <0x0 0x400>; 140 enable-method = "psci"; 141 next-level-cache = <&l2_400>; 142 power-domains = <&cpu_pd4>; 143 power-domain-names = "psci"; 144 qcom,freq-domain = <&cpufreq_hw 1>; 145 #cooling-cells = <2>; 146 clocks = <&cpufreq_hw 1>; 147 l2_400: l2-cache { 148 compatible = "cache"; 149 cache-level = <2>; 150 cache-unified; 151 next-level-cache = <&l3_0>; 152 }; 153 }; 154 155 cpu5: cpu@500 { 156 device_type = "cpu"; 157 compatible = "qcom,kryo780"; 158 reg = <0x0 0x500>; 159 enable-method = "psci"; 160 next-level-cache = <&l2_500>; 161 power-domains = <&cpu_pd5>; 162 power-domain-names = "psci"; 163 qcom,freq-domain = <&cpufreq_hw 1>; 164 #cooling-cells = <2>; 165 clocks = <&cpufreq_hw 1>; 166 l2_500: l2-cache { 167 compatible = "cache"; 168 cache-level = <2>; 169 cache-unified; 170 next-level-cache = <&l3_0>; 171 }; 172 }; 173 174 cpu6: cpu@600 { 175 device_type = "cpu"; 176 compatible = "qcom,kryo780"; 177 reg = <0x0 0x600>; 178 enable-method = "psci"; 179 next-level-cache = <&l2_600>; 180 power-domains = <&cpu_pd6>; 181 power-domain-names = "psci"; 182 qcom,freq-domain = <&cpufreq_hw 1>; 183 #cooling-cells = <2>; 184 clocks = <&cpufreq_hw 1>; 185 l2_600: l2-cache { 186 compatible = "cache"; 187 cache-level = <2>; 188 cache-unified; 189 next-level-cache = <&l3_0>; 190 }; 191 }; 192 193 cpu7: cpu@700 { 194 device_type = "cpu"; 195 compatible = "qcom,kryo780"; 196 reg = <0x0 0x700>; 197 enable-method = "psci"; 198 next-level-cache = <&l2_700>; 199 power-domains = <&cpu_pd7>; 200 power-domain-names = "psci"; 201 qcom,freq-domain = <&cpufreq_hw 2>; 202 #cooling-cells = <2>; 203 clocks = <&cpufreq_hw 2>; 204 l2_700: l2-cache { 205 compatible = "cache"; 206 cache-level = <2>; 207 cache-unified; 208 next-level-cache = <&l3_0>; 209 }; 210 }; 211 212 cpu-map { 213 cluster0 { 214 core0 { 215 cpu = <&cpu0>; 216 }; 217 218 core1 { 219 cpu = <&cpu1>; 220 }; 221 222 core2 { 223 cpu = <&cpu2>; 224 }; 225 226 core3 { 227 cpu = <&cpu3>; 228 }; 229 230 core4 { 231 cpu = <&cpu4>; 232 }; 233 234 core5 { 235 cpu = <&cpu5>; 236 }; 237 238 core6 { 239 cpu = <&cpu6>; 240 }; 241 242 core7 { 243 cpu = <&cpu7>; 244 }; 245 }; 246 }; 247 248 idle-states { 249 entry-method = "psci"; 250 251 little_cpu_sleep_0: cpu-sleep-0-0 { 252 compatible = "arm,idle-state"; 253 idle-state-name = "silver-rail-power-collapse"; 254 arm,psci-suspend-param = <0x40000004>; 255 entry-latency-us = <800>; 256 exit-latency-us = <750>; 257 min-residency-us = <4090>; 258 local-timer-stop; 259 }; 260 261 big_cpu_sleep_0: cpu-sleep-1-0 { 262 compatible = "arm,idle-state"; 263 idle-state-name = "gold-rail-power-collapse"; 264 arm,psci-suspend-param = <0x40000004>; 265 entry-latency-us = <600>; 266 exit-latency-us = <1550>; 267 min-residency-us = <4791>; 268 local-timer-stop; 269 }; 270 }; 271 272 domain-idle-states { 273 cluster_sleep_0: cluster-sleep-0 { 274 compatible = "domain-idle-state"; 275 arm,psci-suspend-param = <0x41000044>; 276 entry-latency-us = <1050>; 277 exit-latency-us = <2500>; 278 min-residency-us = <5309>; 279 }; 280 281 cluster_sleep_1: cluster-sleep-1 { 282 compatible = "domain-idle-state"; 283 arm,psci-suspend-param = <0x4100c344>; 284 entry-latency-us = <2700>; 285 exit-latency-us = <3500>; 286 min-residency-us = <13959>; 287 }; 288 }; 289 }; 290 291 ete-0 { 292 compatible = "arm,embedded-trace-extension"; 293 cpu = <&cpu0>; 294 295 out-ports { 296 port { 297 ete0_out_funnel_ete: endpoint { 298 remote-endpoint = <&funnel_ete_in_ete0>; 299 }; 300 }; 301 }; 302 }; 303 304 ete-1 { 305 compatible = "arm,embedded-trace-extension"; 306 cpu = <&cpu1>; 307 308 out-ports { 309 port { 310 ete1_out_funnel_ete: endpoint { 311 remote-endpoint = <&funnel_ete_in_ete1>; 312 }; 313 }; 314 }; 315 }; 316 317 ete-2 { 318 compatible = "arm,embedded-trace-extension"; 319 cpu = <&cpu2>; 320 321 out-ports { 322 port { 323 ete2_out_funnel_ete: endpoint { 324 remote-endpoint = <&funnel_ete_in_ete2>; 325 }; 326 }; 327 }; 328 }; 329 330 ete-3 { 331 compatible = "arm,embedded-trace-extension"; 332 cpu = <&cpu3>; 333 334 out-ports { 335 port { 336 ete3_out_funnel_ete: endpoint { 337 remote-endpoint = <&funnel_ete_in_ete3>; 338 }; 339 }; 340 }; 341 }; 342 343 ete-4 { 344 compatible = "arm,embedded-trace-extension"; 345 cpu = <&cpu4>; 346 347 out-ports { 348 port { 349 ete4_out_funnel_ete: endpoint { 350 remote-endpoint = <&funnel_ete_in_ete4>; 351 }; 352 }; 353 }; 354 }; 355 356 ete-5 { 357 compatible = "arm,embedded-trace-extension"; 358 cpu = <&cpu5>; 359 360 out-ports { 361 port { 362 ete5_out_funnel_ete: endpoint { 363 remote-endpoint = <&funnel_ete_in_ete5>; 364 }; 365 }; 366 }; 367 }; 368 369 ete-6 { 370 compatible = "arm,embedded-trace-extension"; 371 cpu = <&cpu6>; 372 373 out-ports { 374 port { 375 ete6_out_funnel_ete: endpoint { 376 remote-endpoint = <&funnel_ete_in_ete6>; 377 }; 378 }; 379 }; 380 }; 381 382 ete-7 { 383 compatible = "arm,embedded-trace-extension"; 384 cpu = <&cpu7>; 385 386 out-ports { 387 port { 388 ete7_out_funnel_ete: endpoint { 389 remote-endpoint = <&funnel_ete_in_ete7>; 390 }; 391 }; 392 }; 393 }; 394 395 funnel-ete { 396 compatible = "arm,coresight-static-funnel"; 397 398 out-ports { 399 port { 400 funnel_ete_out_funnel_apss: endpoint { 401 remote-endpoint = 402 <&funnel_apss_in_funnel_ete>; 403 }; 404 }; 405 }; 406 407 in-ports { 408 #address-cells = <1>; 409 #size-cells = <0>; 410 411 port@0 { 412 reg = <0>; 413 funnel_ete_in_ete0: endpoint { 414 remote-endpoint = 415 <&ete0_out_funnel_ete>; 416 }; 417 }; 418 419 port@1 { 420 reg = <1>; 421 funnel_ete_in_ete1: endpoint { 422 remote-endpoint = 423 <&ete1_out_funnel_ete>; 424 }; 425 }; 426 427 port@2 { 428 reg = <2>; 429 funnel_ete_in_ete2: endpoint { 430 remote-endpoint = 431 <&ete2_out_funnel_ete>; 432 }; 433 }; 434 435 port@3 { 436 reg = <3>; 437 funnel_ete_in_ete3: endpoint { 438 remote-endpoint = 439 <&ete3_out_funnel_ete>; 440 }; 441 }; 442 443 port@4 { 444 reg = <4>; 445 funnel_ete_in_ete4: endpoint { 446 remote-endpoint = 447 <&ete4_out_funnel_ete>; 448 }; 449 }; 450 451 port@5 { 452 reg = <5>; 453 funnel_ete_in_ete5: endpoint { 454 remote-endpoint = 455 <&ete5_out_funnel_ete>; 456 }; 457 }; 458 459 port@6 { 460 reg = <6>; 461 funnel_ete_in_ete6: endpoint { 462 remote-endpoint = 463 <&ete6_out_funnel_ete>; 464 }; 465 }; 466 467 port@7 { 468 reg = <7>; 469 funnel_ete_in_ete7: endpoint { 470 remote-endpoint = 471 <&ete7_out_funnel_ete>; 472 }; 473 }; 474 }; 475 }; 476 477 firmware { 478 scm: scm { 479 compatible = "qcom,scm-sm8450", "qcom,scm"; 480 qcom,dload-mode = <&tcsr 0x13000>; 481 interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; 482 #reset-cells = <1>; 483 }; 484 }; 485 486 clk_virt: interconnect-0 { 487 compatible = "qcom,sm8450-clk-virt"; 488 #interconnect-cells = <2>; 489 qcom,bcm-voters = <&apps_bcm_voter>; 490 }; 491 492 mc_virt: interconnect-1 { 493 compatible = "qcom,sm8450-mc-virt"; 494 #interconnect-cells = <2>; 495 qcom,bcm-voters = <&apps_bcm_voter>; 496 }; 497 498 memory@a0000000 { 499 device_type = "memory"; 500 /* We expect the bootloader to fill in the size */ 501 reg = <0x0 0xa0000000 0x0 0x0>; 502 }; 503 504 pmu { 505 compatible = "arm,armv8-pmuv3"; 506 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>; 507 }; 508 509 psci { 510 compatible = "arm,psci-1.0"; 511 method = "smc"; 512 513 cpu_pd0: power-domain-cpu0 { 514 #power-domain-cells = <0>; 515 power-domains = <&cluster_pd>; 516 domain-idle-states = <&little_cpu_sleep_0>; 517 }; 518 519 cpu_pd1: power-domain-cpu1 { 520 #power-domain-cells = <0>; 521 power-domains = <&cluster_pd>; 522 domain-idle-states = <&little_cpu_sleep_0>; 523 }; 524 525 cpu_pd2: power-domain-cpu2 { 526 #power-domain-cells = <0>; 527 power-domains = <&cluster_pd>; 528 domain-idle-states = <&little_cpu_sleep_0>; 529 }; 530 531 cpu_pd3: power-domain-cpu3 { 532 #power-domain-cells = <0>; 533 power-domains = <&cluster_pd>; 534 domain-idle-states = <&little_cpu_sleep_0>; 535 }; 536 537 cpu_pd4: power-domain-cpu4 { 538 #power-domain-cells = <0>; 539 power-domains = <&cluster_pd>; 540 domain-idle-states = <&big_cpu_sleep_0>; 541 }; 542 543 cpu_pd5: power-domain-cpu5 { 544 #power-domain-cells = <0>; 545 power-domains = <&cluster_pd>; 546 domain-idle-states = <&big_cpu_sleep_0>; 547 }; 548 549 cpu_pd6: power-domain-cpu6 { 550 #power-domain-cells = <0>; 551 power-domains = <&cluster_pd>; 552 domain-idle-states = <&big_cpu_sleep_0>; 553 }; 554 555 cpu_pd7: power-domain-cpu7 { 556 #power-domain-cells = <0>; 557 power-domains = <&cluster_pd>; 558 domain-idle-states = <&big_cpu_sleep_0>; 559 }; 560 561 cluster_pd: power-domain-cpu-cluster0 { 562 #power-domain-cells = <0>; 563 domain-idle-states = <&cluster_sleep_0>, <&cluster_sleep_1>; 564 }; 565 }; 566 567 qup_opp_table_100mhz: opp-table-qup { 568 compatible = "operating-points-v2"; 569 570 opp-50000000 { 571 opp-hz = /bits/ 64 <50000000>; 572 required-opps = <&rpmhpd_opp_min_svs>; 573 }; 574 575 opp-75000000 { 576 opp-hz = /bits/ 64 <75000000>; 577 required-opps = <&rpmhpd_opp_low_svs>; 578 }; 579 580 opp-100000000 { 581 opp-hz = /bits/ 64 <100000000>; 582 required-opps = <&rpmhpd_opp_svs>; 583 }; 584 }; 585 586 reserved_memory: reserved-memory { 587 #address-cells = <2>; 588 #size-cells = <2>; 589 ranges; 590 591 hyp_mem: memory@80000000 { 592 reg = <0x0 0x80000000 0x0 0x600000>; 593 no-map; 594 }; 595 596 xbl_dt_log_mem: memory@80600000 { 597 reg = <0x0 0x80600000 0x0 0x40000>; 598 no-map; 599 }; 600 601 xbl_ramdump_mem: memory@80640000 { 602 reg = <0x0 0x80640000 0x0 0x180000>; 603 no-map; 604 }; 605 606 xbl_sc_mem: memory@807c0000 { 607 reg = <0x0 0x807c0000 0x0 0x40000>; 608 no-map; 609 }; 610 611 aop_image_mem: memory@80800000 { 612 reg = <0x0 0x80800000 0x0 0x60000>; 613 no-map; 614 }; 615 616 aop_cmd_db_mem: memory@80860000 { 617 compatible = "qcom,cmd-db"; 618 reg = <0x0 0x80860000 0x0 0x20000>; 619 no-map; 620 }; 621 622 aop_config_mem: memory@80880000 { 623 reg = <0x0 0x80880000 0x0 0x20000>; 624 no-map; 625 }; 626 627 tme_crash_dump_mem: memory@808a0000 { 628 reg = <0x0 0x808a0000 0x0 0x40000>; 629 no-map; 630 }; 631 632 tme_log_mem: memory@808e0000 { 633 reg = <0x0 0x808e0000 0x0 0x4000>; 634 no-map; 635 }; 636 637 uefi_log_mem: memory@808e4000 { 638 reg = <0x0 0x808e4000 0x0 0x10000>; 639 no-map; 640 }; 641 642 /* secdata region can be reused by apps */ 643 smem: memory@80900000 { 644 compatible = "qcom,smem"; 645 reg = <0x0 0x80900000 0x0 0x200000>; 646 hwlocks = <&tcsr_mutex 3>; 647 no-map; 648 }; 649 650 cpucp_fw_mem: memory@80b00000 { 651 reg = <0x0 0x80b00000 0x0 0x100000>; 652 no-map; 653 }; 654 655 cdsp_secure_heap: memory@80c00000 { 656 reg = <0x0 0x80c00000 0x0 0x4600000>; 657 no-map; 658 }; 659 660 video_mem: memory@85700000 { 661 reg = <0x0 0x85700000 0x0 0x700000>; 662 no-map; 663 }; 664 665 adsp_mem: memory@85e00000 { 666 reg = <0x0 0x85e00000 0x0 0x2100000>; 667 no-map; 668 }; 669 670 slpi_mem: memory@88000000 { 671 reg = <0x0 0x88000000 0x0 0x1900000>; 672 no-map; 673 }; 674 675 cdsp_mem: memory@89900000 { 676 reg = <0x0 0x89900000 0x0 0x2000000>; 677 no-map; 678 }; 679 680 ipa_fw_mem: memory@8b900000 { 681 reg = <0x0 0x8b900000 0x0 0x10000>; 682 no-map; 683 }; 684 685 ipa_gsi_mem: memory@8b910000 { 686 reg = <0x0 0x8b910000 0x0 0xa000>; 687 no-map; 688 }; 689 690 gpu_micro_code_mem: memory@8b91a000 { 691 reg = <0x0 0x8b91a000 0x0 0x2000>; 692 no-map; 693 }; 694 695 spss_region_mem: memory@8ba00000 { 696 reg = <0x0 0x8ba00000 0x0 0x180000>; 697 no-map; 698 }; 699 700 /* First part of the "SPU secure shared memory" region */ 701 spu_tz_shared_mem: memory@8bb80000 { 702 reg = <0x0 0x8bb80000 0x0 0x60000>; 703 no-map; 704 }; 705 706 /* Second part of the "SPU secure shared memory" region */ 707 spu_modem_shared_mem: memory@8bbe0000 { 708 reg = <0x0 0x8bbe0000 0x0 0x20000>; 709 no-map; 710 }; 711 712 mpss_mem: memory@8bc00000 { 713 reg = <0x0 0x8bc00000 0x0 0x13200000>; 714 no-map; 715 }; 716 717 cvp_mem: memory@9ee00000 { 718 reg = <0x0 0x9ee00000 0x0 0x700000>; 719 no-map; 720 }; 721 722 camera_mem: memory@9f500000 { 723 reg = <0x0 0x9f500000 0x0 0x800000>; 724 no-map; 725 }; 726 727 rmtfs_mem: memory@9fd00000 { 728 compatible = "qcom,rmtfs-mem"; 729 reg = <0x0 0x9fd00000 0x0 0x280000>; 730 no-map; 731 732 qcom,client-id = <1>; 733 qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>; 734 }; 735 736 xbl_sc_mem2: memory@a6e00000 { 737 reg = <0x0 0xa6e00000 0x0 0x40000>; 738 no-map; 739 }; 740 741 global_sync_mem: memory@a6f00000 { 742 reg = <0x0 0xa6f00000 0x0 0x100000>; 743 no-map; 744 }; 745 746 /* uefi region can be reused by APPS */ 747 748 /* Linux kernel image is loaded at 0xa0000000 */ 749 750 oem_vm_mem: memory@bb000000 { 751 reg = <0x0 0xbb000000 0x0 0x5000000>; 752 no-map; 753 }; 754 755 mte_mem: memory@c0000000 { 756 reg = <0x0 0xc0000000 0x0 0x20000000>; 757 no-map; 758 }; 759 760 qheebsp_reserved_mem: memory@e0000000 { 761 reg = <0x0 0xe0000000 0x0 0x600000>; 762 no-map; 763 }; 764 765 cpusys_vm_mem: memory@e0600000 { 766 reg = <0x0 0xe0600000 0x0 0x400000>; 767 no-map; 768 }; 769 770 hyp_reserved_mem: memory@e0a00000 { 771 reg = <0x0 0xe0a00000 0x0 0x100000>; 772 no-map; 773 }; 774 775 trust_ui_vm_mem: memory@e0b00000 { 776 reg = <0x0 0xe0b00000 0x0 0x4af3000>; 777 no-map; 778 }; 779 780 trust_ui_vm_qrtr: memory@e55f3000 { 781 reg = <0x0 0xe55f3000 0x0 0x9000>; 782 no-map; 783 }; 784 785 trust_ui_vm_vblk0_ring: memory@e55fc000 { 786 reg = <0x0 0xe55fc000 0x0 0x4000>; 787 no-map; 788 }; 789 790 trust_ui_vm_swiotlb: memory@e5600000 { 791 reg = <0x0 0xe5600000 0x0 0x100000>; 792 no-map; 793 }; 794 795 tz_stat_mem: memory@e8800000 { 796 reg = <0x0 0xe8800000 0x0 0x100000>; 797 no-map; 798 }; 799 800 tags_mem: memory@e8900000 { 801 reg = <0x0 0xe8900000 0x0 0x1200000>; 802 no-map; 803 }; 804 805 qtee_mem: memory@e9b00000 { 806 reg = <0x0 0xe9b00000 0x0 0x500000>; 807 no-map; 808 }; 809 810 trusted_apps_mem: memory@ea000000 { 811 reg = <0x0 0xea000000 0x0 0x3900000>; 812 no-map; 813 }; 814 815 trusted_apps_ext_mem: memory@ed900000 { 816 reg = <0x0 0xed900000 0x0 0x3b00000>; 817 no-map; 818 }; 819 }; 820 821 smp2p-adsp { 822 compatible = "qcom,smp2p"; 823 qcom,smem = <443>, <429>; 824 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS 825 IPCC_MPROC_SIGNAL_SMP2P 826 IRQ_TYPE_EDGE_RISING>; 827 mboxes = <&ipcc IPCC_CLIENT_LPASS 828 IPCC_MPROC_SIGNAL_SMP2P>; 829 830 qcom,local-pid = <0>; 831 qcom,remote-pid = <2>; 832 833 smp2p_adsp_out: master-kernel { 834 qcom,entry-name = "master-kernel"; 835 #qcom,smem-state-cells = <1>; 836 }; 837 838 smp2p_adsp_in: slave-kernel { 839 qcom,entry-name = "slave-kernel"; 840 interrupt-controller; 841 #interrupt-cells = <2>; 842 }; 843 }; 844 845 smp2p-cdsp { 846 compatible = "qcom,smp2p"; 847 qcom,smem = <94>, <432>; 848 interrupts-extended = <&ipcc IPCC_CLIENT_CDSP 849 IPCC_MPROC_SIGNAL_SMP2P 850 IRQ_TYPE_EDGE_RISING>; 851 mboxes = <&ipcc IPCC_CLIENT_CDSP 852 IPCC_MPROC_SIGNAL_SMP2P>; 853 854 qcom,local-pid = <0>; 855 qcom,remote-pid = <5>; 856 857 smp2p_cdsp_out: master-kernel { 858 qcom,entry-name = "master-kernel"; 859 #qcom,smem-state-cells = <1>; 860 }; 861 862 smp2p_cdsp_in: slave-kernel { 863 qcom,entry-name = "slave-kernel"; 864 interrupt-controller; 865 #interrupt-cells = <2>; 866 }; 867 }; 868 869 smp2p-modem { 870 compatible = "qcom,smp2p"; 871 qcom,smem = <435>, <428>; 872 interrupts-extended = <&ipcc IPCC_CLIENT_MPSS 873 IPCC_MPROC_SIGNAL_SMP2P 874 IRQ_TYPE_EDGE_RISING>; 875 mboxes = <&ipcc IPCC_CLIENT_MPSS 876 IPCC_MPROC_SIGNAL_SMP2P>; 877 878 qcom,local-pid = <0>; 879 qcom,remote-pid = <1>; 880 881 smp2p_modem_out: master-kernel { 882 qcom,entry-name = "master-kernel"; 883 #qcom,smem-state-cells = <1>; 884 }; 885 886 smp2p_modem_in: slave-kernel { 887 qcom,entry-name = "slave-kernel"; 888 interrupt-controller; 889 #interrupt-cells = <2>; 890 }; 891 892 ipa_smp2p_out: ipa-ap-to-modem { 893 qcom,entry-name = "ipa"; 894 #qcom,smem-state-cells = <1>; 895 }; 896 897 ipa_smp2p_in: ipa-modem-to-ap { 898 qcom,entry-name = "ipa"; 899 interrupt-controller; 900 #interrupt-cells = <2>; 901 }; 902 }; 903 904 smp2p-slpi { 905 compatible = "qcom,smp2p"; 906 qcom,smem = <481>, <430>; 907 interrupts-extended = <&ipcc IPCC_CLIENT_SLPI 908 IPCC_MPROC_SIGNAL_SMP2P 909 IRQ_TYPE_EDGE_RISING>; 910 mboxes = <&ipcc IPCC_CLIENT_SLPI 911 IPCC_MPROC_SIGNAL_SMP2P>; 912 913 qcom,local-pid = <0>; 914 qcom,remote-pid = <3>; 915 916 smp2p_slpi_out: master-kernel { 917 qcom,entry-name = "master-kernel"; 918 #qcom,smem-state-cells = <1>; 919 }; 920 921 smp2p_slpi_in: slave-kernel { 922 qcom,entry-name = "slave-kernel"; 923 interrupt-controller; 924 #interrupt-cells = <2>; 925 }; 926 }; 927 928 soc: soc@0 { 929 #address-cells = <2>; 930 #size-cells = <2>; 931 ranges = <0 0 0 0 0x10 0>; 932 dma-ranges = <0 0 0 0 0x10 0>; 933 compatible = "simple-bus"; 934 935 gcc: clock-controller@100000 { 936 compatible = "qcom,gcc-sm8450"; 937 reg = <0x0 0x00100000 0x0 0x1f4200>; 938 #clock-cells = <1>; 939 #reset-cells = <1>; 940 #power-domain-cells = <1>; 941 clocks = <&rpmhcc RPMH_CXO_CLK>, 942 <&sleep_clk>, 943 <&pcie0_phy>, 944 <&pcie1_phy QMP_PCIE_PIPE_CLK>, 945 <&pcie1_phy QMP_PCIE_PHY_AUX_CLK>, 946 <&ufs_mem_phy 0>, 947 <&ufs_mem_phy 1>, 948 <&ufs_mem_phy 2>, 949 <&usb_1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>; 950 clock-names = "bi_tcxo", 951 "sleep_clk", 952 "pcie_0_pipe_clk", 953 "pcie_1_pipe_clk", 954 "pcie_1_phy_aux_clk", 955 "ufs_phy_rx_symbol_0_clk", 956 "ufs_phy_rx_symbol_1_clk", 957 "ufs_phy_tx_symbol_0_clk", 958 "usb3_phy_wrapper_gcc_usb30_pipe_clk"; 959 }; 960 961 gpi_dma2: dma-controller@800000 { 962 compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; 963 #dma-cells = <3>; 964 reg = <0 0x00800000 0 0x60000>; 965 interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>, 966 <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>, 967 <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>, 968 <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>, 969 <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>, 970 <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>, 971 <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>, 972 <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>, 973 <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>, 974 <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>, 975 <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>, 976 <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH>; 977 dma-channels = <12>; 978 dma-channel-mask = <0x7e>; 979 iommus = <&apps_smmu 0x496 0x0>; 980 status = "disabled"; 981 }; 982 983 qupv3_id_2: geniqup@8c0000 { 984 compatible = "qcom,geni-se-qup"; 985 reg = <0x0 0x008c0000 0x0 0x2000>; 986 clock-names = "m-ahb", "s-ahb"; 987 clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>, 988 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>; 989 iommus = <&apps_smmu 0x483 0x0>; 990 #address-cells = <2>; 991 #size-cells = <2>; 992 ranges; 993 status = "disabled"; 994 995 i2c15: i2c@880000 { 996 compatible = "qcom,geni-i2c"; 997 reg = <0x0 0x00880000 0x0 0x4000>; 998 clock-names = "se"; 999 clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; 1000 pinctrl-names = "default"; 1001 pinctrl-0 = <&qup_i2c15_data_clk>; 1002 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; 1003 #address-cells = <1>; 1004 #size-cells = <0>; 1005 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1006 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1007 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>; 1008 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1009 dmas = <&gpi_dma2 0 0 QCOM_GPI_I2C>, 1010 <&gpi_dma2 1 0 QCOM_GPI_I2C>; 1011 dma-names = "tx", "rx"; 1012 status = "disabled"; 1013 }; 1014 1015 spi15: spi@880000 { 1016 compatible = "qcom,geni-spi"; 1017 reg = <0x0 0x00880000 0x0 0x4000>; 1018 clock-names = "se"; 1019 clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; 1020 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; 1021 pinctrl-names = "default"; 1022 pinctrl-0 = <&qup_spi15_data_clk>, <&qup_spi15_cs>; 1023 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1024 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>; 1025 interconnect-names = "qup-core", "qup-config"; 1026 dmas = <&gpi_dma2 0 0 QCOM_GPI_SPI>, 1027 <&gpi_dma2 1 0 QCOM_GPI_SPI>; 1028 dma-names = "tx", "rx"; 1029 #address-cells = <1>; 1030 #size-cells = <0>; 1031 status = "disabled"; 1032 }; 1033 1034 i2c16: i2c@884000 { 1035 compatible = "qcom,geni-i2c"; 1036 reg = <0x0 0x00884000 0x0 0x4000>; 1037 clock-names = "se"; 1038 clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; 1039 pinctrl-names = "default"; 1040 pinctrl-0 = <&qup_i2c16_data_clk>; 1041 interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>; 1042 #address-cells = <1>; 1043 #size-cells = <0>; 1044 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1045 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1046 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>; 1047 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1048 dmas = <&gpi_dma2 0 1 QCOM_GPI_I2C>, 1049 <&gpi_dma2 1 1 QCOM_GPI_I2C>; 1050 dma-names = "tx", "rx"; 1051 status = "disabled"; 1052 }; 1053 1054 spi16: spi@884000 { 1055 compatible = "qcom,geni-spi"; 1056 reg = <0x0 0x00884000 0x0 0x4000>; 1057 clock-names = "se"; 1058 clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; 1059 interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>; 1060 pinctrl-names = "default"; 1061 pinctrl-0 = <&qup_spi16_data_clk>, <&qup_spi16_cs>; 1062 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1063 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>; 1064 interconnect-names = "qup-core", "qup-config"; 1065 dmas = <&gpi_dma2 0 1 QCOM_GPI_SPI>, 1066 <&gpi_dma2 1 1 QCOM_GPI_SPI>; 1067 dma-names = "tx", "rx"; 1068 #address-cells = <1>; 1069 #size-cells = <0>; 1070 status = "disabled"; 1071 }; 1072 1073 i2c17: i2c@888000 { 1074 compatible = "qcom,geni-i2c"; 1075 reg = <0x0 0x00888000 0x0 0x4000>; 1076 clock-names = "se"; 1077 clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; 1078 pinctrl-names = "default"; 1079 pinctrl-0 = <&qup_i2c17_data_clk>; 1080 interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>; 1081 #address-cells = <1>; 1082 #size-cells = <0>; 1083 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1084 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1085 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>; 1086 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1087 dmas = <&gpi_dma2 0 2 QCOM_GPI_I2C>, 1088 <&gpi_dma2 1 2 QCOM_GPI_I2C>; 1089 dma-names = "tx", "rx"; 1090 status = "disabled"; 1091 }; 1092 1093 spi17: spi@888000 { 1094 compatible = "qcom,geni-spi"; 1095 reg = <0x0 0x00888000 0x0 0x4000>; 1096 clock-names = "se"; 1097 clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; 1098 interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>; 1099 pinctrl-names = "default"; 1100 pinctrl-0 = <&qup_spi17_data_clk>, <&qup_spi17_cs>; 1101 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1102 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>; 1103 interconnect-names = "qup-core", "qup-config"; 1104 dmas = <&gpi_dma2 0 2 QCOM_GPI_SPI>, 1105 <&gpi_dma2 1 2 QCOM_GPI_SPI>; 1106 dma-names = "tx", "rx"; 1107 #address-cells = <1>; 1108 #size-cells = <0>; 1109 status = "disabled"; 1110 }; 1111 1112 i2c18: i2c@88c000 { 1113 compatible = "qcom,geni-i2c"; 1114 reg = <0x0 0x0088c000 0x0 0x4000>; 1115 clock-names = "se"; 1116 clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; 1117 pinctrl-names = "default"; 1118 pinctrl-0 = <&qup_i2c18_data_clk>; 1119 interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>; 1120 #address-cells = <1>; 1121 #size-cells = <0>; 1122 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1123 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1124 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>; 1125 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1126 dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>, 1127 <&gpi_dma2 1 3 QCOM_GPI_I2C>; 1128 dma-names = "tx", "rx"; 1129 status = "disabled"; 1130 }; 1131 1132 spi18: spi@88c000 { 1133 compatible = "qcom,geni-spi"; 1134 reg = <0 0x0088c000 0 0x4000>; 1135 clock-names = "se"; 1136 clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; 1137 interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>; 1138 pinctrl-names = "default"; 1139 pinctrl-0 = <&qup_spi18_data_clk>, <&qup_spi18_cs>; 1140 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1141 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>; 1142 interconnect-names = "qup-core", "qup-config"; 1143 dmas = <&gpi_dma2 0 3 QCOM_GPI_I2C>, 1144 <&gpi_dma2 1 3 QCOM_GPI_I2C>; 1145 dma-names = "tx", "rx"; 1146 #address-cells = <1>; 1147 #size-cells = <0>; 1148 status = "disabled"; 1149 }; 1150 1151 i2c19: i2c@890000 { 1152 compatible = "qcom,geni-i2c"; 1153 reg = <0x0 0x00890000 0x0 0x4000>; 1154 clock-names = "se"; 1155 clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; 1156 pinctrl-names = "default"; 1157 pinctrl-0 = <&qup_i2c19_data_clk>; 1158 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>; 1159 #address-cells = <1>; 1160 #size-cells = <0>; 1161 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1162 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1163 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>; 1164 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1165 dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>, 1166 <&gpi_dma2 1 4 QCOM_GPI_I2C>; 1167 dma-names = "tx", "rx"; 1168 status = "disabled"; 1169 }; 1170 1171 spi19: spi@890000 { 1172 compatible = "qcom,geni-spi"; 1173 reg = <0 0x00890000 0 0x4000>; 1174 clock-names = "se"; 1175 clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; 1176 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>; 1177 pinctrl-names = "default"; 1178 pinctrl-0 = <&qup_spi19_data_clk>, <&qup_spi19_cs>; 1179 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1180 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>; 1181 interconnect-names = "qup-core", "qup-config"; 1182 dmas = <&gpi_dma2 0 4 QCOM_GPI_I2C>, 1183 <&gpi_dma2 1 4 QCOM_GPI_I2C>; 1184 dma-names = "tx", "rx"; 1185 #address-cells = <1>; 1186 #size-cells = <0>; 1187 status = "disabled"; 1188 }; 1189 1190 i2c20: i2c@894000 { 1191 compatible = "qcom,geni-i2c"; 1192 reg = <0x0 0x00894000 0x0 0x4000>; 1193 clock-names = "se"; 1194 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; 1195 pinctrl-names = "default"; 1196 pinctrl-0 = <&qup_i2c20_data_clk>; 1197 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>; 1198 #address-cells = <1>; 1199 #size-cells = <0>; 1200 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1201 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1202 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>; 1203 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1204 dmas = <&gpi_dma2 0 5 QCOM_GPI_I2C>, 1205 <&gpi_dma2 1 5 QCOM_GPI_I2C>; 1206 dma-names = "tx", "rx"; 1207 status = "disabled"; 1208 }; 1209 1210 uart20: serial@894000 { 1211 compatible = "qcom,geni-uart"; 1212 reg = <0 0x00894000 0 0x4000>; 1213 clock-names = "se"; 1214 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; 1215 pinctrl-names = "default"; 1216 pinctrl-0 = <&qup_uart20_default>; 1217 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>; 1218 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS 1219 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, 1220 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS 1221 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; 1222 interconnect-names = "qup-core", 1223 "qup-config"; 1224 status = "disabled"; 1225 }; 1226 1227 spi20: spi@894000 { 1228 compatible = "qcom,geni-spi"; 1229 reg = <0 0x00894000 0 0x4000>; 1230 clock-names = "se"; 1231 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; 1232 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>; 1233 pinctrl-names = "default"; 1234 pinctrl-0 = <&qup_spi20_data_clk>, <&qup_spi20_cs>; 1235 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1236 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>; 1237 interconnect-names = "qup-core", "qup-config"; 1238 dmas = <&gpi_dma2 0 5 QCOM_GPI_SPI>, 1239 <&gpi_dma2 1 5 QCOM_GPI_SPI>; 1240 dma-names = "tx", "rx"; 1241 #address-cells = <1>; 1242 #size-cells = <0>; 1243 status = "disabled"; 1244 }; 1245 1246 i2c21: i2c@898000 { 1247 compatible = "qcom,geni-i2c"; 1248 reg = <0x0 0x00898000 0x0 0x4000>; 1249 clock-names = "se"; 1250 clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>; 1251 pinctrl-names = "default"; 1252 pinctrl-0 = <&qup_i2c21_data_clk>; 1253 interrupts = <GIC_SPI 579 IRQ_TYPE_LEVEL_HIGH>; 1254 #address-cells = <1>; 1255 #size-cells = <0>; 1256 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1257 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1258 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI1 0>; 1259 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1260 dmas = <&gpi_dma2 0 6 QCOM_GPI_I2C>, 1261 <&gpi_dma2 1 6 QCOM_GPI_I2C>; 1262 dma-names = "tx", "rx"; 1263 status = "disabled"; 1264 }; 1265 1266 spi21: spi@898000 { 1267 compatible = "qcom,geni-spi"; 1268 reg = <0 0x00898000 0 0x4000>; 1269 clock-names = "se"; 1270 clocks = <&gcc GCC_QUPV3_WRAP2_S6_CLK>; 1271 interrupts = <GIC_SPI 579 IRQ_TYPE_LEVEL_HIGH>; 1272 pinctrl-names = "default"; 1273 pinctrl-0 = <&qup_spi21_data_clk>, <&qup_spi21_cs>; 1274 interconnects = <&clk_virt MASTER_QUP_CORE_2 0 &clk_virt SLAVE_QUP_CORE_2 0>, 1275 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>; 1276 interconnect-names = "qup-core", "qup-config"; 1277 dmas = <&gpi_dma2 0 6 QCOM_GPI_SPI>, 1278 <&gpi_dma2 1 6 QCOM_GPI_SPI>; 1279 dma-names = "tx", "rx"; 1280 #address-cells = <1>; 1281 #size-cells = <0>; 1282 status = "disabled"; 1283 }; 1284 }; 1285 1286 gpi_dma0: dma-controller@900000 { 1287 compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; 1288 #dma-cells = <3>; 1289 reg = <0 0x00900000 0 0x60000>; 1290 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 1291 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 1292 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>, 1293 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, 1294 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 1295 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, 1296 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, 1297 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 1298 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 1299 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 1300 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 1301 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>; 1302 dma-channels = <12>; 1303 dma-channel-mask = <0x7e>; 1304 iommus = <&apps_smmu 0x5b6 0x0>; 1305 status = "disabled"; 1306 }; 1307 1308 qupv3_id_0: geniqup@9c0000 { 1309 compatible = "qcom,geni-se-qup"; 1310 reg = <0x0 0x009c0000 0x0 0x2000>; 1311 clock-names = "m-ahb", "s-ahb"; 1312 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 1313 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 1314 iommus = <&apps_smmu 0x5a3 0x0>; 1315 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>; 1316 interconnect-names = "qup-core"; 1317 #address-cells = <2>; 1318 #size-cells = <2>; 1319 ranges; 1320 status = "disabled"; 1321 1322 i2c0: i2c@980000 { 1323 compatible = "qcom,geni-i2c"; 1324 reg = <0x0 0x00980000 0x0 0x4000>; 1325 clock-names = "se"; 1326 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 1327 pinctrl-names = "default"; 1328 pinctrl-0 = <&qup_i2c0_data_clk>; 1329 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 1330 #address-cells = <1>; 1331 #size-cells = <0>; 1332 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1333 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1334 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1335 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1336 dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, 1337 <&gpi_dma0 1 0 QCOM_GPI_I2C>; 1338 dma-names = "tx", "rx"; 1339 status = "disabled"; 1340 }; 1341 1342 spi0: spi@980000 { 1343 compatible = "qcom,geni-spi"; 1344 reg = <0x0 0x00980000 0x0 0x4000>; 1345 clock-names = "se"; 1346 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 1347 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 1348 pinctrl-names = "default"; 1349 pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs>; 1350 power-domains = <&rpmhpd RPMHPD_CX>; 1351 operating-points-v2 = <&qup_opp_table_100mhz>; 1352 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1353 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1354 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1355 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1356 dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>, 1357 <&gpi_dma0 1 0 QCOM_GPI_SPI>; 1358 dma-names = "tx", "rx"; 1359 #address-cells = <1>; 1360 #size-cells = <0>; 1361 status = "disabled"; 1362 }; 1363 1364 i2c1: i2c@984000 { 1365 compatible = "qcom,geni-i2c"; 1366 reg = <0x0 0x00984000 0x0 0x4000>; 1367 clock-names = "se"; 1368 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 1369 pinctrl-names = "default"; 1370 pinctrl-0 = <&qup_i2c1_data_clk>; 1371 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 1372 #address-cells = <1>; 1373 #size-cells = <0>; 1374 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1375 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1376 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1377 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1378 dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, 1379 <&gpi_dma0 1 1 QCOM_GPI_I2C>; 1380 dma-names = "tx", "rx"; 1381 status = "disabled"; 1382 }; 1383 1384 spi1: spi@984000 { 1385 compatible = "qcom,geni-spi"; 1386 reg = <0x0 0x00984000 0x0 0x4000>; 1387 clock-names = "se"; 1388 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 1389 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 1390 pinctrl-names = "default"; 1391 pinctrl-0 = <&qup_spi1_data_clk>, <&qup_spi1_cs>; 1392 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1393 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1394 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1395 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1396 dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>, 1397 <&gpi_dma0 1 1 QCOM_GPI_SPI>; 1398 dma-names = "tx", "rx"; 1399 #address-cells = <1>; 1400 #size-cells = <0>; 1401 status = "disabled"; 1402 }; 1403 1404 i2c2: i2c@988000 { 1405 compatible = "qcom,geni-i2c"; 1406 reg = <0x0 0x00988000 0x0 0x4000>; 1407 clock-names = "se"; 1408 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 1409 pinctrl-names = "default"; 1410 pinctrl-0 = <&qup_i2c2_data_clk>; 1411 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 1412 #address-cells = <1>; 1413 #size-cells = <0>; 1414 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1415 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1416 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1417 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1418 dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, 1419 <&gpi_dma0 1 2 QCOM_GPI_I2C>; 1420 dma-names = "tx", "rx"; 1421 status = "disabled"; 1422 }; 1423 1424 spi2: spi@988000 { 1425 compatible = "qcom,geni-spi"; 1426 reg = <0x0 0x00988000 0x0 0x4000>; 1427 clock-names = "se"; 1428 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 1429 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 1430 pinctrl-names = "default"; 1431 pinctrl-0 = <&qup_spi2_data_clk>, <&qup_spi2_cs>; 1432 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1433 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1434 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1435 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1436 dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>, 1437 <&gpi_dma0 1 2 QCOM_GPI_SPI>; 1438 dma-names = "tx", "rx"; 1439 #address-cells = <1>; 1440 #size-cells = <0>; 1441 status = "disabled"; 1442 }; 1443 1444 1445 i2c3: i2c@98c000 { 1446 compatible = "qcom,geni-i2c"; 1447 reg = <0x0 0x0098c000 0x0 0x4000>; 1448 clock-names = "se"; 1449 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 1450 pinctrl-names = "default"; 1451 pinctrl-0 = <&qup_i2c3_data_clk>; 1452 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 1453 #address-cells = <1>; 1454 #size-cells = <0>; 1455 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1456 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1457 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1458 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1459 dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, 1460 <&gpi_dma0 1 3 QCOM_GPI_I2C>; 1461 dma-names = "tx", "rx"; 1462 status = "disabled"; 1463 }; 1464 1465 spi3: spi@98c000 { 1466 compatible = "qcom,geni-spi"; 1467 reg = <0x0 0x0098c000 0x0 0x4000>; 1468 clock-names = "se"; 1469 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 1470 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 1471 pinctrl-names = "default"; 1472 pinctrl-0 = <&qup_spi3_data_clk>, <&qup_spi3_cs>; 1473 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1474 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1475 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1476 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1477 dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>, 1478 <&gpi_dma0 1 3 QCOM_GPI_SPI>; 1479 dma-names = "tx", "rx"; 1480 #address-cells = <1>; 1481 #size-cells = <0>; 1482 status = "disabled"; 1483 }; 1484 1485 i2c4: i2c@990000 { 1486 compatible = "qcom,geni-i2c"; 1487 reg = <0x0 0x00990000 0x0 0x4000>; 1488 clock-names = "se"; 1489 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1490 pinctrl-names = "default"; 1491 pinctrl-0 = <&qup_i2c4_data_clk>; 1492 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 1493 #address-cells = <1>; 1494 #size-cells = <0>; 1495 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1496 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1497 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1498 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1499 dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, 1500 <&gpi_dma0 1 4 QCOM_GPI_I2C>; 1501 dma-names = "tx", "rx"; 1502 status = "disabled"; 1503 }; 1504 1505 spi4: spi@990000 { 1506 compatible = "qcom,geni-spi"; 1507 reg = <0x0 0x00990000 0x0 0x4000>; 1508 clock-names = "se"; 1509 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1510 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 1511 pinctrl-names = "default"; 1512 pinctrl-0 = <&qup_spi4_data_clk>, <&qup_spi4_cs>; 1513 power-domains = <&rpmhpd RPMHPD_CX>; 1514 operating-points-v2 = <&qup_opp_table_100mhz>; 1515 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1516 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1517 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1518 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1519 dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>, 1520 <&gpi_dma0 1 4 QCOM_GPI_SPI>; 1521 dma-names = "tx", "rx"; 1522 #address-cells = <1>; 1523 #size-cells = <0>; 1524 status = "disabled"; 1525 }; 1526 1527 i2c5: i2c@994000 { 1528 compatible = "qcom,geni-i2c"; 1529 reg = <0x0 0x00994000 0x0 0x4000>; 1530 clock-names = "se"; 1531 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1532 pinctrl-names = "default"; 1533 pinctrl-0 = <&qup_i2c5_data_clk>; 1534 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1535 #address-cells = <1>; 1536 #size-cells = <0>; 1537 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1538 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1539 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1540 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1541 dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, 1542 <&gpi_dma0 1 5 QCOM_GPI_I2C>; 1543 dma-names = "tx", "rx"; 1544 status = "disabled"; 1545 }; 1546 1547 spi5: spi@994000 { 1548 compatible = "qcom,geni-spi"; 1549 reg = <0x0 0x00994000 0x0 0x4000>; 1550 clock-names = "se"; 1551 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1552 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1553 pinctrl-names = "default"; 1554 pinctrl-0 = <&qup_spi5_data_clk>, <&qup_spi5_cs>; 1555 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1556 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1557 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1558 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1559 dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>, 1560 <&gpi_dma0 1 5 QCOM_GPI_SPI>; 1561 dma-names = "tx", "rx"; 1562 #address-cells = <1>; 1563 #size-cells = <0>; 1564 status = "disabled"; 1565 }; 1566 1567 1568 i2c6: i2c@998000 { 1569 compatible = "qcom,geni-i2c"; 1570 reg = <0x0 0x00998000 0x0 0x4000>; 1571 clock-names = "se"; 1572 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1573 pinctrl-names = "default"; 1574 pinctrl-0 = <&qup_i2c6_data_clk>; 1575 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1576 #address-cells = <1>; 1577 #size-cells = <0>; 1578 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1579 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1580 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1581 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1582 dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>, 1583 <&gpi_dma0 1 6 QCOM_GPI_I2C>; 1584 dma-names = "tx", "rx"; 1585 status = "disabled"; 1586 }; 1587 1588 spi6: spi@998000 { 1589 compatible = "qcom,geni-spi"; 1590 reg = <0x0 0x00998000 0x0 0x4000>; 1591 clock-names = "se"; 1592 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1593 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1594 pinctrl-names = "default"; 1595 pinctrl-0 = <&qup_spi6_data_clk>, <&qup_spi6_cs>; 1596 interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, 1597 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1598 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI1 0>; 1599 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1600 dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>, 1601 <&gpi_dma0 1 6 QCOM_GPI_SPI>; 1602 dma-names = "tx", "rx"; 1603 #address-cells = <1>; 1604 #size-cells = <0>; 1605 status = "disabled"; 1606 }; 1607 1608 uart7: serial@99c000 { 1609 compatible = "qcom,geni-debug-uart"; 1610 reg = <0 0x0099c000 0 0x4000>; 1611 clock-names = "se"; 1612 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 1613 pinctrl-names = "default"; 1614 pinctrl-0 = <&qup_uart7_tx>, <&qup_uart7_rx>; 1615 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 1616 interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS 1617 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>, 1618 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS 1619 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ALWAYS>; 1620 interconnect-names = "qup-core", 1621 "qup-config"; 1622 status = "disabled"; 1623 }; 1624 }; 1625 1626 gpi_dma1: dma-controller@a00000 { 1627 compatible = "qcom,sm8450-gpi-dma", "qcom,sm6350-gpi-dma"; 1628 #dma-cells = <3>; 1629 reg = <0 0x00a00000 0 0x60000>; 1630 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>, 1631 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>, 1632 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>, 1633 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, 1634 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 1635 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>, 1636 <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>, 1637 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>, 1638 <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>, 1639 <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>, 1640 <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>, 1641 <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>; 1642 dma-channels = <12>; 1643 dma-channel-mask = <0x7e>; 1644 iommus = <&apps_smmu 0x56 0x0>; 1645 status = "disabled"; 1646 }; 1647 1648 qupv3_id_1: geniqup@ac0000 { 1649 compatible = "qcom,geni-se-qup"; 1650 reg = <0x0 0x00ac0000 0x0 0x6000>; 1651 clock-names = "m-ahb", "s-ahb"; 1652 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, 1653 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; 1654 iommus = <&apps_smmu 0x43 0x0>; 1655 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>; 1656 interconnect-names = "qup-core"; 1657 #address-cells = <2>; 1658 #size-cells = <2>; 1659 ranges; 1660 status = "disabled"; 1661 1662 i2c8: i2c@a80000 { 1663 compatible = "qcom,geni-i2c"; 1664 reg = <0x0 0x00a80000 0x0 0x4000>; 1665 clock-names = "se"; 1666 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1667 pinctrl-names = "default"; 1668 pinctrl-0 = <&qup_i2c8_data_clk>; 1669 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1670 #address-cells = <1>; 1671 #size-cells = <0>; 1672 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1673 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1674 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1675 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1676 dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>, 1677 <&gpi_dma1 1 0 QCOM_GPI_I2C>; 1678 dma-names = "tx", "rx"; 1679 status = "disabled"; 1680 }; 1681 1682 spi8: spi@a80000 { 1683 compatible = "qcom,geni-spi"; 1684 reg = <0x0 0x00a80000 0x0 0x4000>; 1685 clock-names = "se"; 1686 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1687 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1688 pinctrl-names = "default"; 1689 pinctrl-0 = <&qup_spi8_data_clk>, <&qup_spi8_cs>; 1690 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1691 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1692 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1693 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1694 dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>, 1695 <&gpi_dma1 1 0 QCOM_GPI_SPI>; 1696 dma-names = "tx", "rx"; 1697 #address-cells = <1>; 1698 #size-cells = <0>; 1699 status = "disabled"; 1700 }; 1701 1702 i2c9: i2c@a84000 { 1703 compatible = "qcom,geni-i2c"; 1704 reg = <0x0 0x00a84000 0x0 0x4000>; 1705 clock-names = "se"; 1706 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1707 pinctrl-names = "default"; 1708 pinctrl-0 = <&qup_i2c9_data_clk>; 1709 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1710 #address-cells = <1>; 1711 #size-cells = <0>; 1712 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1713 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1714 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1715 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1716 dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>, 1717 <&gpi_dma1 1 1 QCOM_GPI_I2C>; 1718 dma-names = "tx", "rx"; 1719 status = "disabled"; 1720 }; 1721 1722 spi9: spi@a84000 { 1723 compatible = "qcom,geni-spi"; 1724 reg = <0x0 0x00a84000 0x0 0x4000>; 1725 clock-names = "se"; 1726 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1727 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1728 pinctrl-names = "default"; 1729 pinctrl-0 = <&qup_spi9_data_clk>, <&qup_spi9_cs>; 1730 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1731 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1732 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1733 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1734 dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>, 1735 <&gpi_dma1 1 1 QCOM_GPI_SPI>; 1736 dma-names = "tx", "rx"; 1737 #address-cells = <1>; 1738 #size-cells = <0>; 1739 status = "disabled"; 1740 }; 1741 1742 i2c10: i2c@a88000 { 1743 compatible = "qcom,geni-i2c"; 1744 reg = <0x0 0x00a88000 0x0 0x4000>; 1745 clock-names = "se"; 1746 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1747 pinctrl-names = "default"; 1748 pinctrl-0 = <&qup_i2c10_data_clk>; 1749 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1750 #address-cells = <1>; 1751 #size-cells = <0>; 1752 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1753 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1754 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1755 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1756 dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>, 1757 <&gpi_dma1 1 2 QCOM_GPI_I2C>; 1758 dma-names = "tx", "rx"; 1759 status = "disabled"; 1760 }; 1761 1762 spi10: spi@a88000 { 1763 compatible = "qcom,geni-spi"; 1764 reg = <0x0 0x00a88000 0x0 0x4000>; 1765 clock-names = "se"; 1766 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1767 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1768 pinctrl-names = "default"; 1769 pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs>; 1770 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1771 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1772 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1773 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1774 dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>, 1775 <&gpi_dma1 1 2 QCOM_GPI_SPI>; 1776 dma-names = "tx", "rx"; 1777 #address-cells = <1>; 1778 #size-cells = <0>; 1779 status = "disabled"; 1780 }; 1781 1782 i2c11: i2c@a8c000 { 1783 compatible = "qcom,geni-i2c"; 1784 reg = <0x0 0x00a8c000 0x0 0x4000>; 1785 clock-names = "se"; 1786 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1787 pinctrl-names = "default"; 1788 pinctrl-0 = <&qup_i2c11_data_clk>; 1789 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1790 #address-cells = <1>; 1791 #size-cells = <0>; 1792 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1793 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1794 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1795 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1796 dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>, 1797 <&gpi_dma1 1 3 QCOM_GPI_I2C>; 1798 dma-names = "tx", "rx"; 1799 status = "disabled"; 1800 }; 1801 1802 spi11: spi@a8c000 { 1803 compatible = "qcom,geni-spi"; 1804 reg = <0x0 0x00a8c000 0x0 0x4000>; 1805 clock-names = "se"; 1806 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1807 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1808 pinctrl-names = "default"; 1809 pinctrl-0 = <&qup_spi11_data_clk>, <&qup_spi11_cs>; 1810 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1811 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1812 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1813 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1814 dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>, 1815 <&gpi_dma1 1 3 QCOM_GPI_SPI>; 1816 dma-names = "tx", "rx"; 1817 #address-cells = <1>; 1818 #size-cells = <0>; 1819 status = "disabled"; 1820 }; 1821 1822 i2c12: i2c@a90000 { 1823 compatible = "qcom,geni-i2c"; 1824 reg = <0x0 0x00a90000 0x0 0x4000>; 1825 clock-names = "se"; 1826 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1827 pinctrl-names = "default"; 1828 pinctrl-0 = <&qup_i2c12_data_clk>; 1829 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1830 #address-cells = <1>; 1831 #size-cells = <0>; 1832 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1833 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1834 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1835 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1836 dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>, 1837 <&gpi_dma1 1 4 QCOM_GPI_I2C>; 1838 dma-names = "tx", "rx"; 1839 status = "disabled"; 1840 }; 1841 1842 spi12: spi@a90000 { 1843 compatible = "qcom,geni-spi"; 1844 reg = <0x0 0x00a90000 0x0 0x4000>; 1845 clock-names = "se"; 1846 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1847 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1848 pinctrl-names = "default"; 1849 pinctrl-0 = <&qup_spi12_data_clk>, <&qup_spi12_cs>; 1850 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1851 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1852 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1853 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1854 dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>, 1855 <&gpi_dma1 1 4 QCOM_GPI_SPI>; 1856 dma-names = "tx", "rx"; 1857 #address-cells = <1>; 1858 #size-cells = <0>; 1859 status = "disabled"; 1860 }; 1861 1862 i2c13: i2c@a94000 { 1863 compatible = "qcom,geni-i2c"; 1864 reg = <0 0x00a94000 0 0x4000>; 1865 clock-names = "se"; 1866 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 1867 pinctrl-names = "default"; 1868 pinctrl-0 = <&qup_i2c13_data_clk>; 1869 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1870 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1871 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1872 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1873 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1874 dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>, 1875 <&gpi_dma1 1 5 QCOM_GPI_I2C>; 1876 dma-names = "tx", "rx"; 1877 #address-cells = <1>; 1878 #size-cells = <0>; 1879 status = "disabled"; 1880 }; 1881 1882 spi13: spi@a94000 { 1883 compatible = "qcom,geni-spi"; 1884 reg = <0x0 0x00a94000 0x0 0x4000>; 1885 clock-names = "se"; 1886 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 1887 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1888 pinctrl-names = "default"; 1889 pinctrl-0 = <&qup_spi13_data_clk>, <&qup_spi13_cs>; 1890 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1891 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1892 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1893 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1894 dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>, 1895 <&gpi_dma1 1 5 QCOM_GPI_SPI>; 1896 dma-names = "tx", "rx"; 1897 #address-cells = <1>; 1898 #size-cells = <0>; 1899 status = "disabled"; 1900 }; 1901 1902 i2c14: i2c@a98000 { 1903 compatible = "qcom,geni-i2c"; 1904 reg = <0 0x00a98000 0 0x4000>; 1905 clock-names = "se"; 1906 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; 1907 pinctrl-names = "default"; 1908 pinctrl-0 = <&qup_i2c14_data_clk>; 1909 interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>; 1910 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1911 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1912 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1913 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1914 dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>, 1915 <&gpi_dma1 1 6 QCOM_GPI_I2C>; 1916 dma-names = "tx", "rx"; 1917 #address-cells = <1>; 1918 #size-cells = <0>; 1919 status = "disabled"; 1920 }; 1921 1922 spi14: spi@a98000 { 1923 compatible = "qcom,geni-spi"; 1924 reg = <0x0 0x00a98000 0x0 0x4000>; 1925 clock-names = "se"; 1926 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; 1927 interrupts = <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>; 1928 pinctrl-names = "default"; 1929 pinctrl-0 = <&qup_spi14_data_clk>, <&qup_spi14_cs>; 1930 interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, 1931 <&system_noc MASTER_A2NOC_SNOC 0 &gem_noc SLAVE_LLCC 0>, 1932 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI1 0>; 1933 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1934 dmas = <&gpi_dma1 0 6 QCOM_GPI_SPI>, 1935 <&gpi_dma1 1 6 QCOM_GPI_SPI>; 1936 dma-names = "tx", "rx"; 1937 #address-cells = <1>; 1938 #size-cells = <0>; 1939 status = "disabled"; 1940 }; 1941 }; 1942 1943 rng: rng@10c3000 { 1944 compatible = "qcom,sm8450-trng", "qcom,trng"; 1945 reg = <0 0x010c3000 0 0x1000>; 1946 }; 1947 1948 pcie0: pcie@1c00000 { 1949 compatible = "qcom,pcie-sm8450-pcie0"; 1950 reg = <0 0x01c00000 0 0x3000>, 1951 <0 0x60000000 0 0xf1d>, 1952 <0 0x60000f20 0 0xa8>, 1953 <0 0x60001000 0 0x1000>, 1954 <0 0x60100000 0 0x100000>; 1955 reg-names = "parf", "dbi", "elbi", "atu", "config"; 1956 device_type = "pci"; 1957 linux,pci-domain = <0>; 1958 bus-range = <0x00 0xff>; 1959 num-lanes = <1>; 1960 1961 #address-cells = <3>; 1962 #size-cells = <2>; 1963 1964 ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, 1965 <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; 1966 1967 msi-map = <0x0 &gic_its 0x5980 0x1>, 1968 <0x100 &gic_its 0x5981 0x1>; 1969 msi-map-mask = <0xff00>; 1970 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, 1971 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, 1972 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, 1973 <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, 1974 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, 1975 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, 1976 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, 1977 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, 1978 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 1979 interrupt-names = "msi0", 1980 "msi1", 1981 "msi2", 1982 "msi3", 1983 "msi4", 1984 "msi5", 1985 "msi6", 1986 "msi7", 1987 "global"; 1988 #interrupt-cells = <1>; 1989 interrupt-map-mask = <0 0 0 0x7>; 1990 interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1991 <0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1992 <0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1993 <0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1994 1995 interconnects = <&pcie_noc MASTER_PCIE_0 QCOM_ICC_TAG_ALWAYS 1996 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, 1997 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS 1998 &config_noc SLAVE_PCIE_0 QCOM_ICC_TAG_ALWAYS>; 1999 interconnect-names = "pcie-mem", "cpu-pcie"; 2000 2001 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>, 2002 <&gcc GCC_PCIE_0_PIPE_CLK_SRC>, 2003 <&pcie0_phy>, 2004 <&rpmhcc RPMH_CXO_CLK>, 2005 <&gcc GCC_PCIE_0_AUX_CLK>, 2006 <&gcc GCC_PCIE_0_CFG_AHB_CLK>, 2007 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, 2008 <&gcc GCC_PCIE_0_SLV_AXI_CLK>, 2009 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>, 2010 <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>, 2011 <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>, 2012 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>; 2013 clock-names = "pipe", 2014 "pipe_mux", 2015 "phy_pipe", 2016 "ref", 2017 "aux", 2018 "cfg", 2019 "bus_master", 2020 "bus_slave", 2021 "slave_q2a", 2022 "ddrss_sf_tbu", 2023 "aggre0", 2024 "aggre1"; 2025 2026 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>, 2027 <0x100 &apps_smmu 0x1c01 0x1>; 2028 2029 resets = <&gcc GCC_PCIE_0_BCR>; 2030 reset-names = "pci"; 2031 2032 power-domains = <&gcc PCIE_0_GDSC>; 2033 2034 phys = <&pcie0_phy>; 2035 phy-names = "pciephy"; 2036 2037 perst-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; 2038 wake-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>; 2039 2040 pinctrl-names = "default"; 2041 pinctrl-0 = <&pcie0_default_state>; 2042 2043 operating-points-v2 = <&pcie0_opp_table>; 2044 2045 status = "disabled"; 2046 2047 pcie0_opp_table: opp-table { 2048 compatible = "operating-points-v2"; 2049 2050 /* GEN 1 x1 */ 2051 opp-2500000 { 2052 opp-hz = /bits/ 64 <2500000>; 2053 required-opps = <&rpmhpd_opp_low_svs>; 2054 opp-peak-kBps = <250000 1>; 2055 }; 2056 2057 /* GEN 2 x1 */ 2058 opp-5000000 { 2059 opp-hz = /bits/ 64 <5000000>; 2060 required-opps = <&rpmhpd_opp_low_svs>; 2061 opp-peak-kBps = <500000 1>; 2062 }; 2063 2064 /* GEN 3 x1 */ 2065 opp-8000000 { 2066 opp-hz = /bits/ 64 <8000000>; 2067 required-opps = <&rpmhpd_opp_nom>; 2068 opp-peak-kBps = <984500 1>; 2069 }; 2070 }; 2071 2072 pcieport0: pcie@0 { 2073 device_type = "pci"; 2074 reg = <0x0 0x0 0x0 0x0 0x0>; 2075 bus-range = <0x01 0xff>; 2076 2077 #address-cells = <3>; 2078 #size-cells = <2>; 2079 ranges; 2080 }; 2081 }; 2082 2083 pcie0_phy: phy@1c06000 { 2084 compatible = "qcom,sm8450-qmp-gen3x1-pcie-phy"; 2085 reg = <0 0x01c06000 0 0x2000>; 2086 2087 clocks = <&gcc GCC_PCIE_0_AUX_CLK>, 2088 <&gcc GCC_PCIE_0_CFG_AHB_CLK>, 2089 <&gcc GCC_PCIE_0_CLKREF_EN>, 2090 <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>, 2091 <&gcc GCC_PCIE_0_PIPE_CLK>; 2092 clock-names = "aux", 2093 "cfg_ahb", 2094 "ref", 2095 "rchng", 2096 "pipe"; 2097 2098 clock-output-names = "pcie_0_pipe_clk"; 2099 #clock-cells = <0>; 2100 2101 #phy-cells = <0>; 2102 2103 resets = <&gcc GCC_PCIE_0_PHY_BCR>; 2104 reset-names = "phy"; 2105 2106 assigned-clocks = <&gcc GCC_PCIE_0_PHY_RCHNG_CLK>; 2107 assigned-clock-rates = <100000000>; 2108 2109 status = "disabled"; 2110 }; 2111 2112 pcie1: pcie@1c08000 { 2113 compatible = "qcom,pcie-sm8450-pcie1"; 2114 reg = <0 0x01c08000 0 0x3000>, 2115 <0 0x40000000 0 0xf1d>, 2116 <0 0x40000f20 0 0xa8>, 2117 <0 0x40001000 0 0x1000>, 2118 <0 0x40100000 0 0x100000>; 2119 reg-names = "parf", "dbi", "elbi", "atu", "config"; 2120 device_type = "pci"; 2121 linux,pci-domain = <1>; 2122 bus-range = <0x00 0xff>; 2123 num-lanes = <2>; 2124 2125 #address-cells = <3>; 2126 #size-cells = <2>; 2127 2128 ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, 2129 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; 2130 2131 msi-map = <0x0 &gic_its 0x5a00 0x1>, 2132 <0x100 &gic_its 0x5a01 0x1>; 2133 msi-map-mask = <0xff00>; 2134 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>, 2135 <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>, 2136 <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>, 2137 <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>, 2138 <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>, 2139 <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>, 2140 <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>, 2141 <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>, 2142 <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>; 2143 interrupt-names = "msi0", 2144 "msi1", 2145 "msi2", 2146 "msi3", 2147 "msi4", 2148 "msi5", 2149 "msi6", 2150 "msi7", 2151 "global"; 2152 #interrupt-cells = <1>; 2153 interrupt-map-mask = <0 0 0 0x7>; 2154 interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 2155 <0 0 0 2 &intc 0 0 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 2156 <0 0 0 3 &intc 0 0 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 2157 <0 0 0 4 &intc 0 0 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 2158 2159 interconnects = <&pcie_noc MASTER_PCIE_1 QCOM_ICC_TAG_ALWAYS 2160 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, 2161 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ALWAYS 2162 &config_noc SLAVE_PCIE_1 QCOM_ICC_TAG_ALWAYS>; 2163 interconnect-names = "pcie-mem", "cpu-pcie"; 2164 2165 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>, 2166 <&gcc GCC_PCIE_1_PIPE_CLK_SRC>, 2167 <&pcie1_phy QMP_PCIE_PIPE_CLK>, 2168 <&rpmhcc RPMH_CXO_CLK>, 2169 <&gcc GCC_PCIE_1_AUX_CLK>, 2170 <&gcc GCC_PCIE_1_CFG_AHB_CLK>, 2171 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>, 2172 <&gcc GCC_PCIE_1_SLV_AXI_CLK>, 2173 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>, 2174 <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>, 2175 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>; 2176 clock-names = "pipe", 2177 "pipe_mux", 2178 "phy_pipe", 2179 "ref", 2180 "aux", 2181 "cfg", 2182 "bus_master", 2183 "bus_slave", 2184 "slave_q2a", 2185 "ddrss_sf_tbu", 2186 "aggre1"; 2187 2188 iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, 2189 <0x100 &apps_smmu 0x1c81 0x1>; 2190 2191 resets = <&gcc GCC_PCIE_1_BCR>; 2192 reset-names = "pci"; 2193 2194 power-domains = <&gcc PCIE_1_GDSC>; 2195 2196 phys = <&pcie1_phy>; 2197 phy-names = "pciephy"; 2198 2199 perst-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>; 2200 wake-gpios = <&tlmm 99 GPIO_ACTIVE_HIGH>; 2201 2202 pinctrl-names = "default"; 2203 pinctrl-0 = <&pcie1_default_state>; 2204 2205 operating-points-v2 = <&pcie1_opp_table>; 2206 2207 status = "disabled"; 2208 2209 pcie1_opp_table: opp-table { 2210 compatible = "operating-points-v2"; 2211 2212 /* GEN 1 x1 */ 2213 opp-2500000 { 2214 opp-hz = /bits/ 64 <2500000>; 2215 required-opps = <&rpmhpd_opp_low_svs>; 2216 opp-peak-kBps = <250000 1>; 2217 }; 2218 2219 /* GEN 1 x2 and GEN 2 x1 */ 2220 opp-5000000 { 2221 opp-hz = /bits/ 64 <5000000>; 2222 required-opps = <&rpmhpd_opp_low_svs>; 2223 opp-peak-kBps = <500000 1>; 2224 }; 2225 2226 /* GEN 2 x2 */ 2227 opp-10000000 { 2228 opp-hz = /bits/ 64 <10000000>; 2229 required-opps = <&rpmhpd_opp_low_svs>; 2230 opp-peak-kBps = <1000000 1>; 2231 }; 2232 2233 /* GEN 3 x1 */ 2234 opp-8000000 { 2235 opp-hz = /bits/ 64 <8000000>; 2236 required-opps = <&rpmhpd_opp_nom>; 2237 opp-peak-kBps = <984500 1>; 2238 }; 2239 2240 /* GEN 3 x2 and GEN 4 x1 */ 2241 opp-16000000 { 2242 opp-hz = /bits/ 64 <16000000>; 2243 required-opps = <&rpmhpd_opp_nom>; 2244 opp-peak-kBps = <1969000 1>; 2245 }; 2246 2247 /* GEN 4 x2 */ 2248 opp-32000000 { 2249 opp-hz = /bits/ 64 <32000000>; 2250 required-opps = <&rpmhpd_opp_nom>; 2251 opp-peak-kBps = <3938000 1>; 2252 }; 2253 }; 2254 2255 pcie@0 { 2256 device_type = "pci"; 2257 reg = <0x0 0x0 0x0 0x0 0x0>; 2258 bus-range = <0x01 0xff>; 2259 2260 #address-cells = <3>; 2261 #size-cells = <2>; 2262 ranges; 2263 }; 2264 }; 2265 2266 pcie1_ep: pcie-ep@1c08000 { 2267 compatible = "qcom,sm8450-pcie-ep"; 2268 reg = <0x0 0x01c08000 0x0 0x3000>, 2269 <0x0 0x40000000 0x0 0xf1d>, 2270 <0x0 0x40000f20 0x0 0xa8>, 2271 <0x0 0x40001000 0x0 0x1000>, 2272 <0x0 0x40200000 0x0 0x1000000>, 2273 <0x0 0x01c0b000 0x0 0x1000>, 2274 <0x0 0x40002000 0x0 0x1000>; 2275 reg-names = "parf", 2276 "dbi", 2277 "elbi", 2278 "atu", 2279 "addr_space", 2280 "mmio", 2281 "dma"; 2282 2283 clocks = <&gcc GCC_PCIE_1_AUX_CLK>, 2284 <&gcc GCC_PCIE_1_CFG_AHB_CLK>, 2285 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>, 2286 <&gcc GCC_PCIE_1_SLV_AXI_CLK>, 2287 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>, 2288 <&rpmhcc RPMH_CXO_CLK>, 2289 <&gcc GCC_DDRSS_PCIE_SF_TBU_CLK>, 2290 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>; 2291 clock-names = "aux", 2292 "cfg", 2293 "bus_master", 2294 "bus_slave", 2295 "slave_q2a", 2296 "ref", 2297 "ddrss_sf_tbu", 2298 "aggre_noc_axi"; 2299 2300 interrupts = <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>, 2301 <GIC_SPI 440 IRQ_TYPE_LEVEL_HIGH>, 2302 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 2303 interrupt-names = "global", 2304 "doorbell", 2305 "dma"; 2306 2307 interconnects = <&pcie_noc MASTER_PCIE_1 QCOM_ICC_TAG_ALWAYS 2308 &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, 2309 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY 2310 &config_noc SLAVE_PCIE_1 QCOM_ICC_TAG_ACTIVE_ONLY>; 2311 interconnect-names = "pcie-mem", 2312 "cpu-pcie"; 2313 2314 iommus = <&apps_smmu 0x1c80 0x7f>; 2315 resets = <&gcc GCC_PCIE_1_BCR>; 2316 reset-names = "core"; 2317 power-domains = <&gcc PCIE_1_GDSC>; 2318 phys = <&pcie1_phy>; 2319 phy-names = "pciephy"; 2320 num-lanes = <2>; 2321 2322 pinctrl-names = "default"; 2323 pinctrl-0 = <&pcie1_default_state>; 2324 2325 status = "disabled"; 2326 }; 2327 2328 pcie1_phy: phy@1c0e000 { 2329 compatible = "qcom,sm8450-qmp-gen4x2-pcie-phy"; 2330 reg = <0 0x01c0e000 0 0x2000>; 2331 2332 clocks = <&gcc GCC_PCIE_1_PHY_AUX_CLK>, 2333 <&gcc GCC_PCIE_1_CFG_AHB_CLK>, 2334 <&gcc GCC_PCIE_1_CLKREF_EN>, 2335 <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>, 2336 <&gcc GCC_PCIE_1_PIPE_CLK>; 2337 clock-names = "aux", 2338 "cfg_ahb", 2339 "ref", 2340 "rchng", 2341 "pipe"; 2342 2343 clock-output-names = "pcie_1_pipe_clk"; 2344 #clock-cells = <1>; 2345 2346 #phy-cells = <0>; 2347 2348 resets = <&gcc GCC_PCIE_1_PHY_BCR>; 2349 reset-names = "phy"; 2350 2351 assigned-clocks = <&gcc GCC_PCIE_1_PHY_RCHNG_CLK>; 2352 assigned-clock-rates = <100000000>; 2353 2354 status = "disabled"; 2355 }; 2356 2357 config_noc: interconnect@1500000 { 2358 compatible = "qcom,sm8450-config-noc"; 2359 reg = <0 0x01500000 0 0x1c000>; 2360 #interconnect-cells = <2>; 2361 qcom,bcm-voters = <&apps_bcm_voter>; 2362 }; 2363 2364 system_noc: interconnect@1680000 { 2365 compatible = "qcom,sm8450-system-noc"; 2366 reg = <0 0x01680000 0 0x1e200>; 2367 #interconnect-cells = <2>; 2368 qcom,bcm-voters = <&apps_bcm_voter>; 2369 }; 2370 2371 pcie_noc: interconnect@16c0000 { 2372 compatible = "qcom,sm8450-pcie-anoc"; 2373 reg = <0 0x016c0000 0 0xe280>; 2374 #interconnect-cells = <2>; 2375 qcom,bcm-voters = <&apps_bcm_voter>; 2376 }; 2377 2378 aggre1_noc: interconnect@16e0000 { 2379 compatible = "qcom,sm8450-aggre1-noc"; 2380 reg = <0 0x016e0000 0 0x1c080>; 2381 #interconnect-cells = <2>; 2382 clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, 2383 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>; 2384 qcom,bcm-voters = <&apps_bcm_voter>; 2385 }; 2386 2387 aggre2_noc: interconnect@1700000 { 2388 compatible = "qcom,sm8450-aggre2-noc"; 2389 reg = <0 0x01700000 0 0x31080>; 2390 #interconnect-cells = <2>; 2391 qcom,bcm-voters = <&apps_bcm_voter>; 2392 clocks = <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>, 2393 <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>, 2394 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, 2395 <&rpmhcc RPMH_IPA_CLK>; 2396 }; 2397 2398 mmss_noc: interconnect@1740000 { 2399 compatible = "qcom,sm8450-mmss-noc"; 2400 reg = <0 0x01740000 0 0x1f080>; 2401 #interconnect-cells = <2>; 2402 qcom,bcm-voters = <&apps_bcm_voter>; 2403 }; 2404 2405 tcsr_mutex: hwlock@1f40000 { 2406 compatible = "qcom,tcsr-mutex"; 2407 reg = <0x0 0x01f40000 0x0 0x40000>; 2408 #hwlock-cells = <1>; 2409 }; 2410 2411 tcsr: syscon@1fc0000 { 2412 compatible = "qcom,sm8450-tcsr", "syscon"; 2413 reg = <0x0 0x1fc0000 0x0 0x30000>; 2414 }; 2415 2416 gpu: gpu@3d00000 { 2417 compatible = "qcom,adreno-730.1", "qcom,adreno"; 2418 reg = <0x0 0x03d00000 0x0 0x40000>, 2419 <0x0 0x03d9e000 0x0 0x1000>, 2420 <0x0 0x03d61000 0x0 0x800>; 2421 reg-names = "kgsl_3d0_reg_memory", 2422 "cx_mem", 2423 "cx_dbgc"; 2424 2425 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; 2426 2427 iommus = <&adreno_smmu 0 0x400>, 2428 <&adreno_smmu 1 0x400>; 2429 2430 operating-points-v2 = <&gpu_opp_table>; 2431 2432 qcom,gmu = <&gmu>; 2433 #cooling-cells = <2>; 2434 2435 status = "disabled"; 2436 2437 zap-shader { 2438 memory-region = <&gpu_micro_code_mem>; 2439 }; 2440 2441 gpu_opp_table: opp-table { 2442 compatible = "operating-points-v2"; 2443 2444 opp-818000000 { 2445 opp-hz = /bits/ 64 <818000000>; 2446 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 2447 }; 2448 2449 opp-791000000 { 2450 opp-hz = /bits/ 64 <791000000>; 2451 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 2452 }; 2453 2454 opp-734000000 { 2455 opp-hz = /bits/ 64 <734000000>; 2456 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 2457 }; 2458 2459 opp-640000000 { 2460 opp-hz = /bits/ 64 <640000000>; 2461 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>; 2462 }; 2463 2464 opp-599000000 { 2465 opp-hz = /bits/ 64 <599000000>; 2466 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 2467 }; 2468 2469 opp-545000000 { 2470 opp-hz = /bits/ 64 <545000000>; 2471 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>; 2472 }; 2473 2474 opp-492000000 { 2475 opp-hz = /bits/ 64 <492000000>; 2476 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 2477 }; 2478 2479 opp-421000000 { 2480 opp-hz = /bits/ 64 <421000000>; 2481 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>; 2482 }; 2483 2484 opp-350000000 { 2485 opp-hz = /bits/ 64 <350000000>; 2486 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 2487 }; 2488 2489 opp-317000000 { 2490 opp-hz = /bits/ 64 <317000000>; 2491 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 2492 }; 2493 2494 opp-285000000 { 2495 opp-hz = /bits/ 64 <285000000>; 2496 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>; 2497 }; 2498 2499 opp-220000000 { 2500 opp-hz = /bits/ 64 <220000000>; 2501 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>; 2502 }; 2503 }; 2504 }; 2505 2506 gmu: gmu@3d6a000 { 2507 compatible = "qcom,adreno-gmu-730.1", "qcom,adreno-gmu"; 2508 reg = <0x0 0x03d6a000 0x0 0x35000>, 2509 <0x0 0x03d50000 0x0 0x10000>, 2510 <0x0 0x0b290000 0x0 0x10000>; 2511 reg-names = "gmu", "rscc", "gmu_pdc"; 2512 2513 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, 2514 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; 2515 interrupt-names = "hfi", "gmu"; 2516 2517 clocks = <&gpucc GPU_CC_AHB_CLK>, 2518 <&gpucc GPU_CC_CX_GMU_CLK>, 2519 <&gpucc GPU_CC_CXO_CLK>, 2520 <&gcc GCC_DDRSS_GPU_AXI_CLK>, 2521 <&gcc GCC_GPU_MEMNOC_GFX_CLK>, 2522 <&gpucc GPU_CC_HUB_CX_INT_CLK>, 2523 <&gpucc GPU_CC_DEMET_CLK>; 2524 clock-names = "ahb", 2525 "gmu", 2526 "cxo", 2527 "axi", 2528 "memnoc", 2529 "hub", 2530 "demet"; 2531 2532 power-domains = <&gpucc GPU_CX_GDSC>, 2533 <&gpucc GPU_GX_GDSC>; 2534 power-domain-names = "cx", 2535 "gx"; 2536 2537 iommus = <&adreno_smmu 5 0x400>; 2538 2539 qcom,qmp = <&aoss_qmp>; 2540 2541 operating-points-v2 = <&gmu_opp_table>; 2542 2543 gmu_opp_table: opp-table { 2544 compatible = "operating-points-v2"; 2545 2546 opp-500000000 { 2547 opp-hz = /bits/ 64 <500000000>; 2548 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 2549 }; 2550 2551 opp-200000000 { 2552 opp-hz = /bits/ 64 <200000000>; 2553 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 2554 }; 2555 }; 2556 }; 2557 2558 gpucc: clock-controller@3d90000 { 2559 compatible = "qcom,sm8450-gpucc"; 2560 reg = <0x0 0x03d90000 0x0 0xa000>; 2561 clocks = <&rpmhcc RPMH_CXO_CLK>, 2562 <&gcc GCC_GPU_GPLL0_CLK_SRC>, 2563 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; 2564 #clock-cells = <1>; 2565 #reset-cells = <1>; 2566 #power-domain-cells = <1>; 2567 }; 2568 2569 adreno_smmu: iommu@3da0000 { 2570 compatible = "qcom,sm8450-smmu-500", "qcom,adreno-smmu", 2571 "qcom,smmu-500", "arm,mmu-500"; 2572 reg = <0x0 0x03da0000 0x0 0x40000>; 2573 #iommu-cells = <2>; 2574 #global-interrupts = <1>; 2575 interrupts = <GIC_SPI 673 IRQ_TYPE_LEVEL_HIGH>, 2576 <GIC_SPI 678 IRQ_TYPE_LEVEL_HIGH>, 2577 <GIC_SPI 679 IRQ_TYPE_LEVEL_HIGH>, 2578 <GIC_SPI 680 IRQ_TYPE_LEVEL_HIGH>, 2579 <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>, 2580 <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>, 2581 <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>, 2582 <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>, 2583 <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>, 2584 <GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH>, 2585 <GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH>, 2586 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>, 2587 <GIC_SPI 476 IRQ_TYPE_LEVEL_HIGH>, 2588 <GIC_SPI 574 IRQ_TYPE_LEVEL_HIGH>, 2589 <GIC_SPI 575 IRQ_TYPE_LEVEL_HIGH>, 2590 <GIC_SPI 576 IRQ_TYPE_LEVEL_HIGH>, 2591 <GIC_SPI 577 IRQ_TYPE_LEVEL_HIGH>, 2592 <GIC_SPI 659 IRQ_TYPE_LEVEL_HIGH>, 2593 <GIC_SPI 661 IRQ_TYPE_LEVEL_HIGH>, 2594 <GIC_SPI 664 IRQ_TYPE_LEVEL_HIGH>, 2595 <GIC_SPI 665 IRQ_TYPE_LEVEL_HIGH>, 2596 <GIC_SPI 666 IRQ_TYPE_LEVEL_HIGH>, 2597 <GIC_SPI 668 IRQ_TYPE_LEVEL_HIGH>, 2598 <GIC_SPI 669 IRQ_TYPE_LEVEL_HIGH>, 2599 <GIC_SPI 699 IRQ_TYPE_LEVEL_HIGH>, 2600 <GIC_SPI 700 IRQ_TYPE_LEVEL_HIGH>; 2601 clocks = <&gpucc GPU_CC_CX_GMU_CLK>, 2602 <&gpucc GPU_CC_HUB_CX_INT_CLK>, 2603 <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>, 2604 <&gcc GCC_GPU_MEMNOC_GFX_CLK>, 2605 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>, 2606 <&gpucc GPU_CC_AHB_CLK>; 2607 clock-names = "gmu", 2608 "hub", 2609 "hlos", 2610 "bus", 2611 "iface", 2612 "ahb"; 2613 power-domains = <&gpucc GPU_CX_GDSC>; 2614 dma-coherent; 2615 }; 2616 2617 usb_1_hsphy: phy@88e3000 { 2618 compatible = "qcom,sm8450-usb-hs-phy", 2619 "qcom,usb-snps-hs-7nm-phy"; 2620 reg = <0 0x088e3000 0 0x400>; 2621 status = "disabled"; 2622 #phy-cells = <0>; 2623 2624 clocks = <&rpmhcc RPMH_CXO_CLK>; 2625 clock-names = "ref"; 2626 2627 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 2628 }; 2629 2630 usb_1_qmpphy: phy@88e8000 { 2631 compatible = "qcom,sm8450-qmp-usb3-dp-phy"; 2632 reg = <0 0x088e8000 0 0x3000>; 2633 2634 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, 2635 <&rpmhcc RPMH_CXO_CLK>, 2636 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, 2637 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; 2638 clock-names = "aux", "ref", "com_aux", "usb3_pipe"; 2639 2640 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>, 2641 <&gcc GCC_USB3_PHY_PRIM_BCR>; 2642 reset-names = "phy", "common"; 2643 2644 #clock-cells = <1>; 2645 #phy-cells = <1>; 2646 2647 orientation-switch; 2648 2649 status = "disabled"; 2650 2651 ports { 2652 #address-cells = <1>; 2653 #size-cells = <0>; 2654 2655 port@0 { 2656 reg = <0>; 2657 2658 usb_1_qmpphy_out: endpoint { 2659 }; 2660 }; 2661 2662 port@1 { 2663 reg = <1>; 2664 2665 usb_1_qmpphy_usb_ss_in: endpoint { 2666 remote-endpoint = <&usb_1_dwc3_ss>; 2667 }; 2668 }; 2669 2670 port@2 { 2671 reg = <2>; 2672 2673 usb_1_qmpphy_dp_in: endpoint { 2674 remote-endpoint = <&mdss_dp0_out>; 2675 }; 2676 }; 2677 }; 2678 }; 2679 2680 remoteproc_slpi: remoteproc@2400000 { 2681 compatible = "qcom,sm8450-slpi-pas"; 2682 reg = <0 0x02400000 0 0x4000>; 2683 2684 interrupts-extended = <&pdc 9 IRQ_TYPE_EDGE_RISING>, 2685 <&smp2p_slpi_in 0 IRQ_TYPE_EDGE_RISING>, 2686 <&smp2p_slpi_in 1 IRQ_TYPE_EDGE_RISING>, 2687 <&smp2p_slpi_in 2 IRQ_TYPE_EDGE_RISING>, 2688 <&smp2p_slpi_in 3 IRQ_TYPE_EDGE_RISING>; 2689 interrupt-names = "wdog", "fatal", "ready", 2690 "handover", "stop-ack"; 2691 2692 clocks = <&rpmhcc RPMH_CXO_CLK>; 2693 clock-names = "xo"; 2694 2695 power-domains = <&rpmhpd RPMHPD_LCX>, 2696 <&rpmhpd RPMHPD_LMX>; 2697 power-domain-names = "lcx", "lmx"; 2698 2699 memory-region = <&slpi_mem>; 2700 2701 qcom,qmp = <&aoss_qmp>; 2702 2703 qcom,smem-states = <&smp2p_slpi_out 0>; 2704 qcom,smem-state-names = "stop"; 2705 2706 status = "disabled"; 2707 2708 glink-edge { 2709 interrupts-extended = <&ipcc IPCC_CLIENT_SLPI 2710 IPCC_MPROC_SIGNAL_GLINK_QMP 2711 IRQ_TYPE_EDGE_RISING>; 2712 mboxes = <&ipcc IPCC_CLIENT_SLPI 2713 IPCC_MPROC_SIGNAL_GLINK_QMP>; 2714 2715 label = "slpi"; 2716 qcom,remote-pid = <3>; 2717 2718 fastrpc { 2719 compatible = "qcom,fastrpc"; 2720 qcom,glink-channels = "fastrpcglink-apps-dsp"; 2721 label = "sdsp"; 2722 qcom,non-secure-domain; 2723 #address-cells = <1>; 2724 #size-cells = <0>; 2725 2726 compute-cb@1 { 2727 compatible = "qcom,fastrpc-compute-cb"; 2728 reg = <1>; 2729 iommus = <&apps_smmu 0x0541 0x0>; 2730 }; 2731 2732 compute-cb@2 { 2733 compatible = "qcom,fastrpc-compute-cb"; 2734 reg = <2>; 2735 iommus = <&apps_smmu 0x0542 0x0>; 2736 }; 2737 2738 compute-cb@3 { 2739 compatible = "qcom,fastrpc-compute-cb"; 2740 reg = <3>; 2741 iommus = <&apps_smmu 0x0543 0x0>; 2742 /* note: shared-cb = <4> in downstream */ 2743 }; 2744 }; 2745 }; 2746 }; 2747 2748 remoteproc_adsp: remoteproc@3000000 { 2749 compatible = "qcom,sm8450-adsp-pas"; 2750 reg = <0x0 0x03000000 0x0 0x10000>; 2751 2752 interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>, 2753 <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, 2754 <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, 2755 <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, 2756 <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; 2757 interrupt-names = "wdog", "fatal", "ready", 2758 "handover", "stop-ack"; 2759 2760 clocks = <&rpmhcc RPMH_CXO_CLK>; 2761 clock-names = "xo"; 2762 2763 power-domains = <&rpmhpd RPMHPD_LCX>, 2764 <&rpmhpd RPMHPD_LMX>; 2765 power-domain-names = "lcx", "lmx"; 2766 2767 memory-region = <&adsp_mem>; 2768 2769 qcom,qmp = <&aoss_qmp>; 2770 2771 qcom,smem-states = <&smp2p_adsp_out 0>; 2772 qcom,smem-state-names = "stop"; 2773 2774 status = "disabled"; 2775 2776 remoteproc_adsp_glink: glink-edge { 2777 interrupts-extended = <&ipcc IPCC_CLIENT_LPASS 2778 IPCC_MPROC_SIGNAL_GLINK_QMP 2779 IRQ_TYPE_EDGE_RISING>; 2780 mboxes = <&ipcc IPCC_CLIENT_LPASS 2781 IPCC_MPROC_SIGNAL_GLINK_QMP>; 2782 2783 label = "lpass"; 2784 qcom,remote-pid = <2>; 2785 2786 gpr { 2787 compatible = "qcom,gpr"; 2788 qcom,glink-channels = "adsp_apps"; 2789 qcom,domain = <GPR_DOMAIN_ID_ADSP>; 2790 qcom,intents = <512 20>; 2791 #address-cells = <1>; 2792 #size-cells = <0>; 2793 2794 q6apm: service@1 { 2795 compatible = "qcom,q6apm"; 2796 reg = <GPR_APM_MODULE_IID>; 2797 #sound-dai-cells = <0>; 2798 qcom,protection-domain = "avs/audio", 2799 "msm/adsp/audio_pd"; 2800 2801 q6apmdai: dais { 2802 compatible = "qcom,q6apm-dais"; 2803 iommus = <&apps_smmu 0x1801 0x0>; 2804 }; 2805 2806 q6apmbedai: bedais { 2807 compatible = "qcom,q6apm-lpass-dais"; 2808 #sound-dai-cells = <1>; 2809 }; 2810 }; 2811 2812 q6prm: service@2 { 2813 compatible = "qcom,q6prm"; 2814 reg = <GPR_PRM_MODULE_IID>; 2815 qcom,protection-domain = "avs/audio", 2816 "msm/adsp/audio_pd"; 2817 2818 q6prmcc: clock-controller { 2819 compatible = "qcom,q6prm-lpass-clocks"; 2820 #clock-cells = <2>; 2821 }; 2822 }; 2823 }; 2824 2825 fastrpc { 2826 compatible = "qcom,fastrpc"; 2827 qcom,glink-channels = "fastrpcglink-apps-dsp"; 2828 label = "adsp"; 2829 qcom,non-secure-domain; 2830 #address-cells = <1>; 2831 #size-cells = <0>; 2832 2833 compute-cb@3 { 2834 compatible = "qcom,fastrpc-compute-cb"; 2835 reg = <3>; 2836 iommus = <&apps_smmu 0x1803 0x0>; 2837 }; 2838 2839 compute-cb@4 { 2840 compatible = "qcom,fastrpc-compute-cb"; 2841 reg = <4>; 2842 iommus = <&apps_smmu 0x1804 0x0>; 2843 }; 2844 2845 compute-cb@5 { 2846 compatible = "qcom,fastrpc-compute-cb"; 2847 reg = <5>; 2848 iommus = <&apps_smmu 0x1805 0x0>; 2849 }; 2850 }; 2851 }; 2852 }; 2853 2854 wsa2macro: codec@31e0000 { 2855 compatible = "qcom,sm8450-lpass-wsa-macro"; 2856 reg = <0 0x031e0000 0 0x1000>; 2857 clocks = <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2858 <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_2X_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2859 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2860 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2861 <&vamacro>; 2862 clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; 2863 2864 #clock-cells = <0>; 2865 clock-output-names = "wsa2-mclk"; 2866 #sound-dai-cells = <1>; 2867 }; 2868 2869 swr4: soundwire@31f0000 { 2870 compatible = "qcom,soundwire-v1.7.0"; 2871 reg = <0 0x031f0000 0 0x2000>; 2872 interrupts = <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH>; 2873 clocks = <&wsa2macro>; 2874 clock-names = "iface"; 2875 label = "WSA2"; 2876 2877 pinctrl-0 = <&wsa2_swr_active>; 2878 pinctrl-names = "default"; 2879 2880 qcom,din-ports = <2>; 2881 qcom,dout-ports = <6>; 2882 2883 qcom,ports-sinterval-low = /bits/ 8 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x0f 0x0f>; 2884 qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0c 0x06 0x12 0x0d 0x07 0x0a>; 2885 qcom,ports-offset2 = /bits/ 8 <0xff 0x00 0x1f 0xff 0x00 0x1f 0x00 0x00>; 2886 qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2887 qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2888 qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2889 qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0x01 0xff 0xff 0x01 0xff 0xff>; 2890 qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2891 qcom,ports-lane-control = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2892 2893 #address-cells = <2>; 2894 #size-cells = <0>; 2895 #sound-dai-cells = <1>; 2896 status = "disabled"; 2897 }; 2898 2899 rxmacro: codec@3200000 { 2900 compatible = "qcom,sm8450-lpass-rx-macro"; 2901 reg = <0 0x03200000 0 0x1000>; 2902 clocks = <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2903 <&q6prmcc LPASS_CLK_ID_RX_CORE_MCLK2_2X_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2904 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2905 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2906 <&vamacro>; 2907 clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; 2908 2909 #clock-cells = <0>; 2910 clock-output-names = "mclk"; 2911 #sound-dai-cells = <1>; 2912 }; 2913 2914 swr1: soundwire@3210000 { 2915 compatible = "qcom,soundwire-v1.7.0"; 2916 reg = <0 0x03210000 0 0x2000>; 2917 interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 2918 clocks = <&rxmacro>; 2919 clock-names = "iface"; 2920 label = "RX"; 2921 qcom,din-ports = <0>; 2922 qcom,dout-ports = <5>; 2923 2924 pinctrl-0 = <&rx_swr_active>; 2925 pinctrl-names = "default"; 2926 2927 qcom,ports-sinterval-low = /bits/ 8 <0x03 0x1f 0x1f 0x07 0x00>; 2928 qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0b 0x01 0x00>; 2929 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0b 0x00 0x00>; 2930 qcom,ports-hstart = /bits/ 8 <0xff 0x03 0xff 0xff 0xff>; 2931 qcom,ports-hstop = /bits/ 8 <0xff 0x06 0xff 0xff 0xff>; 2932 qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff>; 2933 qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff>; 2934 qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0x00>; 2935 qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>; 2936 2937 #address-cells = <2>; 2938 #size-cells = <0>; 2939 #sound-dai-cells = <1>; 2940 status = "disabled"; 2941 }; 2942 2943 txmacro: codec@3220000 { 2944 compatible = "qcom,sm8450-lpass-tx-macro"; 2945 reg = <0 0x03220000 0 0x1000>; 2946 clocks = <&q6prmcc LPASS_CLK_ID_RX_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2947 <&q6prmcc LPASS_CLK_ID_RX_CORE_MCLK2_2X_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2948 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2949 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2950 <&vamacro>; 2951 clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; 2952 2953 #clock-cells = <0>; 2954 clock-output-names = "mclk"; 2955 #sound-dai-cells = <1>; 2956 }; 2957 2958 wsamacro: codec@3240000 { 2959 compatible = "qcom,sm8450-lpass-wsa-macro"; 2960 reg = <0 0x03240000 0 0x1000>; 2961 clocks = <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2962 <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_2X_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2963 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2964 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 2965 <&vamacro>; 2966 clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; 2967 2968 #clock-cells = <0>; 2969 clock-output-names = "mclk"; 2970 #sound-dai-cells = <1>; 2971 }; 2972 2973 swr0: soundwire@3250000 { 2974 compatible = "qcom,soundwire-v1.7.0"; 2975 reg = <0 0x03250000 0 0x2000>; 2976 interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>; 2977 clocks = <&wsamacro>; 2978 clock-names = "iface"; 2979 label = "WSA"; 2980 2981 pinctrl-0 = <&wsa_swr_active>; 2982 pinctrl-names = "default"; 2983 2984 qcom,din-ports = <2>; 2985 qcom,dout-ports = <6>; 2986 2987 qcom,ports-sinterval-low = /bits/ 8 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0x0f 0x0f>; 2988 qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0c 0x06 0x12 0x0d 0x07 0x0a>; 2989 qcom,ports-offset2 = /bits/ 8 <0xff 0x00 0x1f 0xff 0x00 0x1f 0x00 0x00>; 2990 qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2991 qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2992 qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2993 qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0x01 0xff 0xff 0x01 0xff 0xff>; 2994 qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2995 qcom,ports-lane-control = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; 2996 2997 #address-cells = <2>; 2998 #size-cells = <0>; 2999 #sound-dai-cells = <1>; 3000 status = "disabled"; 3001 }; 3002 3003 swr2: soundwire@33b0000 { 3004 compatible = "qcom,soundwire-v1.7.0"; 3005 reg = <0 0x033b0000 0 0x2000>; 3006 interrupts = <GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH>, 3007 <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>; 3008 interrupt-names = "core", "wakeup"; 3009 3010 clocks = <&txmacro>; 3011 clock-names = "iface"; 3012 label = "TX"; 3013 3014 pinctrl-0 = <&tx_swr_active>; 3015 pinctrl-names = "default"; 3016 3017 qcom,din-ports = <4>; 3018 qcom,dout-ports = <0>; 3019 qcom,ports-sinterval-low = /bits/ 8 <0x01 0x01 0x03 0x03>; 3020 qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x01 0x01>; 3021 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x00 0x00>; 3022 qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff>; 3023 qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff>; 3024 qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff>; 3025 qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0xff 0xff>; 3026 qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff>; 3027 qcom,ports-lane-control = /bits/ 8 <0x01 0x02 0x00 0x00>; 3028 3029 #address-cells = <2>; 3030 #size-cells = <0>; 3031 #sound-dai-cells = <1>; 3032 status = "disabled"; 3033 }; 3034 3035 vamacro: codec@33f0000 { 3036 compatible = "qcom,sm8450-lpass-va-macro"; 3037 reg = <0 0x033f0000 0 0x1000>; 3038 clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 3039 <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 3040 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 3041 <&q6prmcc LPASS_CLK_ID_RX_CORE_MCLK2_2X_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 3042 clock-names = "mclk", "macro", "dcodec", "npl"; 3043 3044 #clock-cells = <0>; 3045 clock-output-names = "fsgen"; 3046 #sound-dai-cells = <1>; 3047 status = "disabled"; 3048 }; 3049 3050 remoteproc_cdsp: remoteproc@32300000 { 3051 compatible = "qcom,sm8450-cdsp-pas"; 3052 reg = <0 0x32300000 0 0x10000>; 3053 3054 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, 3055 <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>, 3056 <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>, 3057 <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>, 3058 <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>; 3059 interrupt-names = "wdog", "fatal", "ready", 3060 "handover", "stop-ack"; 3061 3062 clocks = <&rpmhcc RPMH_CXO_CLK>; 3063 clock-names = "xo"; 3064 3065 power-domains = <&rpmhpd RPMHPD_CX>, 3066 <&rpmhpd RPMHPD_MXC>; 3067 power-domain-names = "cx", "mxc"; 3068 3069 memory-region = <&cdsp_mem>; 3070 3071 qcom,qmp = <&aoss_qmp>; 3072 3073 qcom,smem-states = <&smp2p_cdsp_out 0>; 3074 qcom,smem-state-names = "stop"; 3075 3076 status = "disabled"; 3077 3078 glink-edge { 3079 interrupts-extended = <&ipcc IPCC_CLIENT_CDSP 3080 IPCC_MPROC_SIGNAL_GLINK_QMP 3081 IRQ_TYPE_EDGE_RISING>; 3082 mboxes = <&ipcc IPCC_CLIENT_CDSP 3083 IPCC_MPROC_SIGNAL_GLINK_QMP>; 3084 3085 label = "cdsp"; 3086 qcom,remote-pid = <5>; 3087 3088 fastrpc { 3089 compatible = "qcom,fastrpc"; 3090 qcom,glink-channels = "fastrpcglink-apps-dsp"; 3091 label = "cdsp"; 3092 qcom,non-secure-domain; 3093 #address-cells = <1>; 3094 #size-cells = <0>; 3095 3096 compute-cb@1 { 3097 compatible = "qcom,fastrpc-compute-cb"; 3098 reg = <1>; 3099 iommus = <&apps_smmu 0x2161 0x0400>, 3100 <&apps_smmu 0x1021 0x1420>; 3101 }; 3102 3103 compute-cb@2 { 3104 compatible = "qcom,fastrpc-compute-cb"; 3105 reg = <2>; 3106 iommus = <&apps_smmu 0x2162 0x0400>, 3107 <&apps_smmu 0x1022 0x1420>; 3108 }; 3109 3110 compute-cb@3 { 3111 compatible = "qcom,fastrpc-compute-cb"; 3112 reg = <3>; 3113 iommus = <&apps_smmu 0x2163 0x0400>, 3114 <&apps_smmu 0x1023 0x1420>; 3115 }; 3116 3117 compute-cb@4 { 3118 compatible = "qcom,fastrpc-compute-cb"; 3119 reg = <4>; 3120 iommus = <&apps_smmu 0x2164 0x0400>, 3121 <&apps_smmu 0x1024 0x1420>; 3122 }; 3123 3124 compute-cb@5 { 3125 compatible = "qcom,fastrpc-compute-cb"; 3126 reg = <5>; 3127 iommus = <&apps_smmu 0x2165 0x0400>, 3128 <&apps_smmu 0x1025 0x1420>; 3129 }; 3130 3131 compute-cb@6 { 3132 compatible = "qcom,fastrpc-compute-cb"; 3133 reg = <6>; 3134 iommus = <&apps_smmu 0x2166 0x0400>, 3135 <&apps_smmu 0x1026 0x1420>; 3136 }; 3137 3138 compute-cb@7 { 3139 compatible = "qcom,fastrpc-compute-cb"; 3140 reg = <7>; 3141 iommus = <&apps_smmu 0x2167 0x0400>, 3142 <&apps_smmu 0x1027 0x1420>; 3143 }; 3144 3145 compute-cb@8 { 3146 compatible = "qcom,fastrpc-compute-cb"; 3147 reg = <8>; 3148 iommus = <&apps_smmu 0x2168 0x0400>, 3149 <&apps_smmu 0x1028 0x1420>; 3150 }; 3151 3152 /* note: secure cb9 in downstream */ 3153 }; 3154 }; 3155 }; 3156 3157 remoteproc_mpss: remoteproc@4080000 { 3158 compatible = "qcom,sm8450-mpss-pas"; 3159 reg = <0x0 0x04080000 0x0 0x10000>; 3160 3161 interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>, 3162 <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>, 3163 <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>, 3164 <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>, 3165 <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>, 3166 <&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>; 3167 interrupt-names = "wdog", "fatal", "ready", "handover", 3168 "stop-ack", "shutdown-ack"; 3169 3170 clocks = <&rpmhcc RPMH_CXO_CLK>; 3171 clock-names = "xo"; 3172 3173 power-domains = <&rpmhpd RPMHPD_CX>, 3174 <&rpmhpd RPMHPD_MSS>; 3175 power-domain-names = "cx", "mss"; 3176 3177 memory-region = <&mpss_mem>; 3178 3179 qcom,qmp = <&aoss_qmp>; 3180 3181 qcom,smem-states = <&smp2p_modem_out 0>; 3182 qcom,smem-state-names = "stop"; 3183 3184 status = "disabled"; 3185 3186 glink-edge { 3187 interrupts-extended = <&ipcc IPCC_CLIENT_MPSS 3188 IPCC_MPROC_SIGNAL_GLINK_QMP 3189 IRQ_TYPE_EDGE_RISING>; 3190 mboxes = <&ipcc IPCC_CLIENT_MPSS 3191 IPCC_MPROC_SIGNAL_GLINK_QMP>; 3192 label = "modem"; 3193 qcom,remote-pid = <1>; 3194 }; 3195 }; 3196 3197 videocc: clock-controller@aaf0000 { 3198 compatible = "qcom,sm8450-videocc"; 3199 reg = <0 0x0aaf0000 0 0x10000>; 3200 clocks = <&rpmhcc RPMH_CXO_CLK>, 3201 <&gcc GCC_VIDEO_AHB_CLK>; 3202 power-domains = <&rpmhpd RPMHPD_MMCX>; 3203 required-opps = <&rpmhpd_opp_low_svs>; 3204 #clock-cells = <1>; 3205 #reset-cells = <1>; 3206 #power-domain-cells = <1>; 3207 }; 3208 3209 cci0: cci@ac15000 { 3210 compatible = "qcom,sm8450-cci", "qcom,msm8996-cci"; 3211 reg = <0 0x0ac15000 0 0x1000>; 3212 interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>; 3213 power-domains = <&camcc TITAN_TOP_GDSC>; 3214 3215 clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, 3216 <&camcc CAM_CC_SLOW_AHB_CLK_SRC>, 3217 <&camcc CAM_CC_CPAS_AHB_CLK>, 3218 <&camcc CAM_CC_CCI_0_CLK>, 3219 <&camcc CAM_CC_CCI_0_CLK_SRC>; 3220 clock-names = "camnoc_axi", 3221 "slow_ahb_src", 3222 "cpas_ahb", 3223 "cci", 3224 "cci_src"; 3225 pinctrl-0 = <&cci0_default &cci1_default>; 3226 pinctrl-1 = <&cci0_sleep &cci1_sleep>; 3227 pinctrl-names = "default", "sleep"; 3228 3229 status = "disabled"; 3230 #address-cells = <1>; 3231 #size-cells = <0>; 3232 3233 cci0_i2c0: i2c-bus@0 { 3234 reg = <0>; 3235 clock-frequency = <1000000>; 3236 #address-cells = <1>; 3237 #size-cells = <0>; 3238 }; 3239 3240 cci0_i2c1: i2c-bus@1 { 3241 reg = <1>; 3242 clock-frequency = <1000000>; 3243 #address-cells = <1>; 3244 #size-cells = <0>; 3245 }; 3246 }; 3247 3248 cci1: cci@ac16000 { 3249 compatible = "qcom,sm8450-cci", "qcom,msm8996-cci"; 3250 reg = <0 0x0ac16000 0 0x1000>; 3251 interrupts = <GIC_SPI 271 IRQ_TYPE_EDGE_RISING>; 3252 power-domains = <&camcc TITAN_TOP_GDSC>; 3253 3254 clocks = <&camcc CAM_CC_CAMNOC_AXI_CLK>, 3255 <&camcc CAM_CC_SLOW_AHB_CLK_SRC>, 3256 <&camcc CAM_CC_CPAS_AHB_CLK>, 3257 <&camcc CAM_CC_CCI_1_CLK>, 3258 <&camcc CAM_CC_CCI_1_CLK_SRC>; 3259 clock-names = "camnoc_axi", 3260 "slow_ahb_src", 3261 "cpas_ahb", 3262 "cci", 3263 "cci_src"; 3264 pinctrl-0 = <&cci2_default &cci3_default>; 3265 pinctrl-1 = <&cci2_sleep &cci3_sleep>; 3266 pinctrl-names = "default", "sleep"; 3267 3268 status = "disabled"; 3269 #address-cells = <1>; 3270 #size-cells = <0>; 3271 3272 cci1_i2c0: i2c-bus@0 { 3273 reg = <0>; 3274 clock-frequency = <1000000>; 3275 #address-cells = <1>; 3276 #size-cells = <0>; 3277 }; 3278 3279 cci1_i2c1: i2c-bus@1 { 3280 reg = <1>; 3281 clock-frequency = <1000000>; 3282 #address-cells = <1>; 3283 #size-cells = <0>; 3284 }; 3285 }; 3286 3287 camcc: clock-controller@ade0000 { 3288 compatible = "qcom,sm8450-camcc"; 3289 reg = <0 0x0ade0000 0 0x20000>; 3290 clocks = <&gcc GCC_CAMERA_AHB_CLK>, 3291 <&rpmhcc RPMH_CXO_CLK>, 3292 <&rpmhcc RPMH_CXO_CLK_A>, 3293 <&sleep_clk>; 3294 power-domains = <&rpmhpd RPMHPD_MMCX>; 3295 required-opps = <&rpmhpd_opp_low_svs>; 3296 #clock-cells = <1>; 3297 #reset-cells = <1>; 3298 #power-domain-cells = <1>; 3299 status = "disabled"; 3300 }; 3301 3302 mdss: display-subsystem@ae00000 { 3303 compatible = "qcom,sm8450-mdss"; 3304 reg = <0 0x0ae00000 0 0x1000>; 3305 reg-names = "mdss"; 3306 3307 /* same path used twice */ 3308 interconnects = <&mmss_noc MASTER_MDP_DISP 0 &mc_virt SLAVE_EBI1_DISP 0>, 3309 <&mmss_noc MASTER_MDP_DISP 0 &mc_virt SLAVE_EBI1_DISP 0>, 3310 <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY 3311 &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; 3312 interconnect-names = "mdp0-mem", 3313 "mdp1-mem", 3314 "cpu-cfg"; 3315 3316 resets = <&dispcc DISP_CC_MDSS_CORE_BCR>; 3317 3318 power-domains = <&dispcc MDSS_GDSC>; 3319 3320 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 3321 <&gcc GCC_DISP_HF_AXI_CLK>, 3322 <&gcc GCC_DISP_SF_AXI_CLK>, 3323 <&dispcc DISP_CC_MDSS_MDP_CLK>; 3324 3325 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 3326 interrupt-controller; 3327 #interrupt-cells = <1>; 3328 3329 iommus = <&apps_smmu 0x2800 0x402>; 3330 3331 #address-cells = <2>; 3332 #size-cells = <2>; 3333 ranges; 3334 3335 status = "disabled"; 3336 3337 mdss_mdp: display-controller@ae01000 { 3338 compatible = "qcom,sm8450-dpu"; 3339 reg = <0 0x0ae01000 0 0x8f000>, 3340 <0 0x0aeb0000 0 0x3000>; 3341 reg-names = "mdp", "vbif"; 3342 3343 clocks = <&gcc GCC_DISP_HF_AXI_CLK>, 3344 <&gcc GCC_DISP_SF_AXI_CLK>, 3345 <&dispcc DISP_CC_MDSS_AHB_CLK>, 3346 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, 3347 <&dispcc DISP_CC_MDSS_MDP_CLK>, 3348 <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 3349 clock-names = "bus", 3350 "nrt_bus", 3351 "iface", 3352 "lut", 3353 "core", 3354 "vsync"; 3355 3356 assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 3357 assigned-clock-rates = <19200000>; 3358 3359 operating-points-v2 = <&mdp_opp_table>; 3360 power-domains = <&rpmhpd RPMHPD_MMCX>; 3361 3362 interrupt-parent = <&mdss>; 3363 interrupts = <0>; 3364 3365 ports { 3366 #address-cells = <1>; 3367 #size-cells = <0>; 3368 3369 port@0 { 3370 reg = <0>; 3371 dpu_intf1_out: endpoint { 3372 remote-endpoint = <&mdss_dsi0_in>; 3373 }; 3374 }; 3375 3376 port@1 { 3377 reg = <1>; 3378 dpu_intf2_out: endpoint { 3379 remote-endpoint = <&mdss_dsi1_in>; 3380 }; 3381 }; 3382 3383 port@2 { 3384 reg = <2>; 3385 dpu_intf0_out: endpoint { 3386 remote-endpoint = <&mdss_dp0_in>; 3387 }; 3388 }; 3389 }; 3390 3391 mdp_opp_table: opp-table { 3392 compatible = "operating-points-v2"; 3393 3394 opp-172000000 { 3395 opp-hz = /bits/ 64 <172000000>; 3396 required-opps = <&rpmhpd_opp_low_svs_d1>; 3397 }; 3398 3399 opp-200000000 { 3400 opp-hz = /bits/ 64 <200000000>; 3401 required-opps = <&rpmhpd_opp_low_svs>; 3402 }; 3403 3404 opp-325000000 { 3405 opp-hz = /bits/ 64 <325000000>; 3406 required-opps = <&rpmhpd_opp_svs>; 3407 }; 3408 3409 opp-375000000 { 3410 opp-hz = /bits/ 64 <375000000>; 3411 required-opps = <&rpmhpd_opp_svs_l1>; 3412 }; 3413 3414 opp-500000000 { 3415 opp-hz = /bits/ 64 <500000000>; 3416 required-opps = <&rpmhpd_opp_nom>; 3417 }; 3418 }; 3419 }; 3420 3421 mdss_dp0: displayport-controller@ae90000 { 3422 compatible = "qcom,sm8450-dp", "qcom,sm8350-dp"; 3423 reg = <0 0xae90000 0 0x200>, 3424 <0 0xae90200 0 0x200>, 3425 <0 0xae90400 0 0xc00>, 3426 <0 0xae91000 0 0x400>, 3427 <0 0xae91400 0 0x400>; 3428 interrupt-parent = <&mdss>; 3429 interrupts = <12>; 3430 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 3431 <&dispcc DISP_CC_MDSS_DPTX0_AUX_CLK>, 3432 <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK>, 3433 <&dispcc DISP_CC_MDSS_DPTX0_LINK_INTF_CLK>, 3434 <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK>; 3435 clock-names = "core_iface", 3436 "core_aux", 3437 "ctrl_link", 3438 "ctrl_link_iface", 3439 "stream_pixel"; 3440 3441 assigned-clocks = <&dispcc DISP_CC_MDSS_DPTX0_LINK_CLK_SRC>, 3442 <&dispcc DISP_CC_MDSS_DPTX0_PIXEL0_CLK_SRC>; 3443 assigned-clock-parents = <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, 3444 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; 3445 3446 phys = <&usb_1_qmpphy QMP_USB43DP_DP_PHY>; 3447 phy-names = "dp"; 3448 3449 #sound-dai-cells = <0>; 3450 3451 operating-points-v2 = <&dp_opp_table>; 3452 power-domains = <&rpmhpd RPMHPD_MMCX>; 3453 3454 status = "disabled"; 3455 3456 ports { 3457 #address-cells = <1>; 3458 #size-cells = <0>; 3459 3460 port@0 { 3461 reg = <0>; 3462 mdss_dp0_in: endpoint { 3463 remote-endpoint = <&dpu_intf0_out>; 3464 }; 3465 }; 3466 3467 port@1 { 3468 reg = <1>; 3469 3470 mdss_dp0_out: endpoint { 3471 remote-endpoint = <&usb_1_qmpphy_dp_in>; 3472 }; 3473 }; 3474 }; 3475 3476 dp_opp_table: opp-table { 3477 compatible = "operating-points-v2"; 3478 3479 opp-160000000 { 3480 opp-hz = /bits/ 64 <160000000>; 3481 required-opps = <&rpmhpd_opp_low_svs>; 3482 }; 3483 3484 opp-270000000 { 3485 opp-hz = /bits/ 64 <270000000>; 3486 required-opps = <&rpmhpd_opp_svs>; 3487 }; 3488 3489 opp-540000000 { 3490 opp-hz = /bits/ 64 <540000000>; 3491 required-opps = <&rpmhpd_opp_svs_l1>; 3492 }; 3493 3494 opp-810000000 { 3495 opp-hz = /bits/ 64 <810000000>; 3496 required-opps = <&rpmhpd_opp_nom>; 3497 }; 3498 }; 3499 }; 3500 3501 mdss_dsi0: dsi@ae94000 { 3502 compatible = "qcom,sm8450-dsi-ctrl", "qcom,mdss-dsi-ctrl"; 3503 reg = <0 0x0ae94000 0 0x400>; 3504 reg-names = "dsi_ctrl"; 3505 3506 interrupt-parent = <&mdss>; 3507 interrupts = <4>; 3508 3509 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>, 3510 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, 3511 <&dispcc DISP_CC_MDSS_PCLK0_CLK>, 3512 <&dispcc DISP_CC_MDSS_ESC0_CLK>, 3513 <&dispcc DISP_CC_MDSS_AHB_CLK>, 3514 <&gcc GCC_DISP_HF_AXI_CLK>; 3515 clock-names = "byte", 3516 "byte_intf", 3517 "pixel", 3518 "core", 3519 "iface", 3520 "bus"; 3521 3522 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, 3523 <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; 3524 assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, 3525 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; 3526 3527 operating-points-v2 = <&mdss_dsi_opp_table>; 3528 power-domains = <&rpmhpd RPMHPD_MMCX>; 3529 3530 phys = <&mdss_dsi0_phy>; 3531 phy-names = "dsi"; 3532 3533 #address-cells = <1>; 3534 #size-cells = <0>; 3535 3536 status = "disabled"; 3537 3538 ports { 3539 #address-cells = <1>; 3540 #size-cells = <0>; 3541 3542 port@0 { 3543 reg = <0>; 3544 mdss_dsi0_in: endpoint { 3545 remote-endpoint = <&dpu_intf1_out>; 3546 }; 3547 }; 3548 3549 port@1 { 3550 reg = <1>; 3551 mdss_dsi0_out: endpoint { 3552 }; 3553 }; 3554 }; 3555 3556 mdss_dsi_opp_table: opp-table { 3557 compatible = "operating-points-v2"; 3558 3559 opp-187500000 { 3560 opp-hz = /bits/ 64 <187500000>; 3561 required-opps = <&rpmhpd_opp_low_svs>; 3562 }; 3563 3564 opp-300000000 { 3565 opp-hz = /bits/ 64 <300000000>; 3566 required-opps = <&rpmhpd_opp_svs>; 3567 }; 3568 3569 opp-358000000 { 3570 opp-hz = /bits/ 64 <358000000>; 3571 required-opps = <&rpmhpd_opp_svs_l1>; 3572 }; 3573 }; 3574 }; 3575 3576 mdss_dsi0_phy: phy@ae94400 { 3577 compatible = "qcom,sm8450-dsi-phy-5nm"; 3578 reg = <0 0x0ae94400 0 0x200>, 3579 <0 0x0ae94600 0 0x280>, 3580 <0 0x0ae94900 0 0x260>; 3581 reg-names = "dsi_phy", 3582 "dsi_phy_lane", 3583 "dsi_pll"; 3584 3585 #clock-cells = <1>; 3586 #phy-cells = <0>; 3587 3588 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 3589 <&rpmhcc RPMH_CXO_CLK>; 3590 clock-names = "iface", "ref"; 3591 3592 status = "disabled"; 3593 }; 3594 3595 mdss_dsi1: dsi@ae96000 { 3596 compatible = "qcom,sm8450-dsi-ctrl", "qcom,mdss-dsi-ctrl"; 3597 reg = <0 0x0ae96000 0 0x400>; 3598 reg-names = "dsi_ctrl"; 3599 3600 interrupt-parent = <&mdss>; 3601 interrupts = <5>; 3602 3603 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>, 3604 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>, 3605 <&dispcc DISP_CC_MDSS_PCLK1_CLK>, 3606 <&dispcc DISP_CC_MDSS_ESC1_CLK>, 3607 <&dispcc DISP_CC_MDSS_AHB_CLK>, 3608 <&gcc GCC_DISP_HF_AXI_CLK>; 3609 clock-names = "byte", 3610 "byte_intf", 3611 "pixel", 3612 "core", 3613 "iface", 3614 "bus"; 3615 3616 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, 3617 <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; 3618 assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, 3619 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>; 3620 3621 operating-points-v2 = <&mdss_dsi_opp_table>; 3622 power-domains = <&rpmhpd RPMHPD_MMCX>; 3623 3624 phys = <&mdss_dsi1_phy>; 3625 phy-names = "dsi"; 3626 3627 #address-cells = <1>; 3628 #size-cells = <0>; 3629 3630 status = "disabled"; 3631 3632 ports { 3633 #address-cells = <1>; 3634 #size-cells = <0>; 3635 3636 port@0 { 3637 reg = <0>; 3638 mdss_dsi1_in: endpoint { 3639 remote-endpoint = <&dpu_intf2_out>; 3640 }; 3641 }; 3642 3643 port@1 { 3644 reg = <1>; 3645 mdss_dsi1_out: endpoint { 3646 }; 3647 }; 3648 }; 3649 }; 3650 3651 mdss_dsi1_phy: phy@ae96400 { 3652 compatible = "qcom,sm8450-dsi-phy-5nm"; 3653 reg = <0 0x0ae96400 0 0x200>, 3654 <0 0x0ae96600 0 0x280>, 3655 <0 0x0ae96900 0 0x260>; 3656 reg-names = "dsi_phy", 3657 "dsi_phy_lane", 3658 "dsi_pll"; 3659 3660 #clock-cells = <1>; 3661 #phy-cells = <0>; 3662 3663 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 3664 <&rpmhcc RPMH_CXO_CLK>; 3665 clock-names = "iface", "ref"; 3666 3667 status = "disabled"; 3668 }; 3669 }; 3670 3671 dispcc: clock-controller@af00000 { 3672 compatible = "qcom,sm8450-dispcc"; 3673 reg = <0 0x0af00000 0 0x20000>; 3674 clocks = <&rpmhcc RPMH_CXO_CLK>, 3675 <&rpmhcc RPMH_CXO_CLK_A>, 3676 <&gcc GCC_DISP_AHB_CLK>, 3677 <&sleep_clk>, 3678 <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, 3679 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, 3680 <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>, 3681 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>, 3682 <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, 3683 <&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, 3684 <0>, /* dp1 */ 3685 <0>, 3686 <0>, /* dp2 */ 3687 <0>, 3688 <0>, /* dp3 */ 3689 <0>; 3690 power-domains = <&rpmhpd RPMHPD_MMCX>; 3691 required-opps = <&rpmhpd_opp_low_svs>; 3692 #clock-cells = <1>; 3693 #reset-cells = <1>; 3694 #power-domain-cells = <1>; 3695 }; 3696 3697 pdc: interrupt-controller@b220000 { 3698 compatible = "qcom,sm8450-pdc", "qcom,pdc"; 3699 reg = <0 0x0b220000 0 0x30000>, <0 0x174000f0 0 0x64>; 3700 qcom,pdc-ranges = <0 480 12>, <14 494 24>, <40 520 54>, 3701 <94 609 31>, <125 63 1>, <126 716 12>; 3702 #interrupt-cells = <2>; 3703 interrupt-parent = <&intc>; 3704 interrupt-controller; 3705 }; 3706 3707 tsens0: thermal-sensor@c263000 { 3708 compatible = "qcom,sm8450-tsens", "qcom,tsens-v2"; 3709 reg = <0 0x0c263000 0 0x1000>, /* TM */ 3710 <0 0x0c222000 0 0x1000>; /* SROT */ 3711 #qcom,sensors = <16>; 3712 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>, 3713 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>; 3714 interrupt-names = "uplow", "critical"; 3715 #thermal-sensor-cells = <1>; 3716 }; 3717 3718 tsens1: thermal-sensor@c265000 { 3719 compatible = "qcom,sm8450-tsens", "qcom,tsens-v2"; 3720 reg = <0 0x0c265000 0 0x1000>, /* TM */ 3721 <0 0x0c223000 0 0x1000>; /* SROT */ 3722 #qcom,sensors = <16>; 3723 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>, 3724 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>; 3725 interrupt-names = "uplow", "critical"; 3726 #thermal-sensor-cells = <1>; 3727 }; 3728 3729 aoss_qmp: power-management@c300000 { 3730 compatible = "qcom,sm8450-aoss-qmp", "qcom,aoss-qmp"; 3731 reg = <0 0x0c300000 0 0x400>; 3732 interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP 3733 IRQ_TYPE_EDGE_RISING>; 3734 mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>; 3735 3736 #clock-cells = <0>; 3737 }; 3738 3739 sram@c3f0000 { 3740 compatible = "qcom,rpmh-stats"; 3741 reg = <0 0x0c3f0000 0 0x400>; 3742 qcom,qmp = <&aoss_qmp>; 3743 }; 3744 3745 spmi_bus: spmi@c400000 { 3746 compatible = "qcom,spmi-pmic-arb"; 3747 reg = <0 0x0c400000 0 0x00003000>, 3748 <0 0x0c500000 0 0x00400000>, 3749 <0 0x0c440000 0 0x00080000>, 3750 <0 0x0c4c0000 0 0x00010000>, 3751 <0 0x0c42d000 0 0x00010000>; 3752 reg-names = "core", 3753 "chnls", 3754 "obsrvr", 3755 "intr", 3756 "cnfg"; 3757 interrupt-names = "periph_irq"; 3758 interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; 3759 qcom,ee = <0>; 3760 qcom,channel = <0>; 3761 interrupt-controller; 3762 #interrupt-cells = <4>; 3763 #address-cells = <2>; 3764 #size-cells = <0>; 3765 }; 3766 3767 ipcc: mailbox@ed18000 { 3768 compatible = "qcom,sm8450-ipcc", "qcom,ipcc"; 3769 reg = <0 0x0ed18000 0 0x1000>; 3770 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; 3771 interrupt-controller; 3772 #interrupt-cells = <3>; 3773 #mbox-cells = <2>; 3774 }; 3775 3776 tlmm: pinctrl@f100000 { 3777 compatible = "qcom,sm8450-tlmm"; 3778 reg = <0 0x0f100000 0 0x300000>; 3779 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 3780 gpio-controller; 3781 #gpio-cells = <2>; 3782 interrupt-controller; 3783 #interrupt-cells = <2>; 3784 gpio-ranges = <&tlmm 0 0 211>; 3785 wakeup-parent = <&pdc>; 3786 3787 sdc2_default_state: sdc2-default-state { 3788 clk-pins { 3789 pins = "sdc2_clk"; 3790 drive-strength = <16>; 3791 bias-disable; 3792 }; 3793 3794 cmd-pins { 3795 pins = "sdc2_cmd"; 3796 drive-strength = <16>; 3797 bias-pull-up; 3798 }; 3799 3800 data-pins { 3801 pins = "sdc2_data"; 3802 drive-strength = <16>; 3803 bias-pull-up; 3804 }; 3805 }; 3806 3807 sdc2_sleep_state: sdc2-sleep-state { 3808 clk-pins { 3809 pins = "sdc2_clk"; 3810 drive-strength = <2>; 3811 bias-disable; 3812 }; 3813 3814 cmd-pins { 3815 pins = "sdc2_cmd"; 3816 drive-strength = <2>; 3817 bias-pull-up; 3818 }; 3819 3820 data-pins { 3821 pins = "sdc2_data"; 3822 drive-strength = <2>; 3823 bias-pull-up; 3824 }; 3825 }; 3826 3827 cci0_default: cci0-default-state { 3828 /* SDA, SCL */ 3829 pins = "gpio110", "gpio111"; 3830 function = "cci_i2c"; 3831 drive-strength = <2>; 3832 bias-pull-up; 3833 }; 3834 3835 cci0_sleep: cci0-sleep-state { 3836 /* SDA, SCL */ 3837 pins = "gpio110", "gpio111"; 3838 function = "cci_i2c"; 3839 drive-strength = <2>; 3840 bias-pull-down; 3841 }; 3842 3843 cci1_default: cci1-default-state { 3844 /* SDA, SCL */ 3845 pins = "gpio112", "gpio113"; 3846 function = "cci_i2c"; 3847 drive-strength = <2>; 3848 bias-pull-up; 3849 }; 3850 3851 cci1_sleep: cci1-sleep-state { 3852 /* SDA, SCL */ 3853 pins = "gpio112", "gpio113"; 3854 function = "cci_i2c"; 3855 drive-strength = <2>; 3856 bias-pull-down; 3857 }; 3858 3859 cci2_default: cci2-default-state { 3860 /* SDA, SCL */ 3861 pins = "gpio114", "gpio115"; 3862 function = "cci_i2c"; 3863 drive-strength = <2>; 3864 bias-pull-up; 3865 }; 3866 3867 cci2_sleep: cci2-sleep-state { 3868 /* SDA, SCL */ 3869 pins = "gpio114", "gpio115"; 3870 function = "cci_i2c"; 3871 drive-strength = <2>; 3872 bias-pull-down; 3873 }; 3874 3875 cci3_default: cci3-default-state { 3876 /* SDA, SCL */ 3877 pins = "gpio208", "gpio209"; 3878 function = "cci_i2c"; 3879 drive-strength = <2>; 3880 bias-pull-up; 3881 }; 3882 3883 cci3_sleep: cci3-sleep-state { 3884 /* SDA, SCL */ 3885 pins = "gpio208", "gpio209"; 3886 function = "cci_i2c"; 3887 drive-strength = <2>; 3888 bias-pull-down; 3889 }; 3890 3891 pcie0_default_state: pcie0-default-state { 3892 perst-pins { 3893 pins = "gpio94"; 3894 function = "gpio"; 3895 drive-strength = <2>; 3896 bias-pull-down; 3897 }; 3898 3899 clkreq-pins { 3900 pins = "gpio95"; 3901 function = "pcie0_clkreqn"; 3902 drive-strength = <2>; 3903 bias-pull-up; 3904 }; 3905 3906 wake-pins { 3907 pins = "gpio96"; 3908 function = "gpio"; 3909 drive-strength = <2>; 3910 bias-pull-up; 3911 }; 3912 }; 3913 3914 pcie1_default_state: pcie1-default-state { 3915 perst-pins { 3916 pins = "gpio97"; 3917 function = "gpio"; 3918 drive-strength = <2>; 3919 bias-pull-down; 3920 }; 3921 3922 clkreq-pins { 3923 pins = "gpio98"; 3924 function = "pcie1_clkreqn"; 3925 drive-strength = <2>; 3926 bias-pull-up; 3927 }; 3928 3929 wake-pins { 3930 pins = "gpio99"; 3931 function = "gpio"; 3932 drive-strength = <2>; 3933 bias-pull-up; 3934 }; 3935 }; 3936 3937 qup_i2c0_data_clk: qup-i2c0-data-clk-state { 3938 pins = "gpio0", "gpio1"; 3939 function = "qup0"; 3940 }; 3941 3942 qup_i2c1_data_clk: qup-i2c1-data-clk-state { 3943 pins = "gpio4", "gpio5"; 3944 function = "qup1"; 3945 }; 3946 3947 qup_i2c2_data_clk: qup-i2c2-data-clk-state { 3948 pins = "gpio8", "gpio9"; 3949 function = "qup2"; 3950 }; 3951 3952 qup_i2c3_data_clk: qup-i2c3-data-clk-state { 3953 pins = "gpio12", "gpio13"; 3954 function = "qup3"; 3955 }; 3956 3957 qup_i2c4_data_clk: qup-i2c4-data-clk-state { 3958 pins = "gpio16", "gpio17"; 3959 function = "qup4"; 3960 }; 3961 3962 qup_i2c5_data_clk: qup-i2c5-data-clk-state { 3963 pins = "gpio206", "gpio207"; 3964 function = "qup5"; 3965 }; 3966 3967 qup_i2c6_data_clk: qup-i2c6-data-clk-state { 3968 pins = "gpio20", "gpio21"; 3969 function = "qup6"; 3970 }; 3971 3972 qup_i2c8_data_clk: qup-i2c8-data-clk-state { 3973 pins = "gpio28", "gpio29"; 3974 function = "qup8"; 3975 }; 3976 3977 qup_i2c9_data_clk: qup-i2c9-data-clk-state { 3978 pins = "gpio32", "gpio33"; 3979 function = "qup9"; 3980 }; 3981 3982 qup_i2c10_data_clk: qup-i2c10-data-clk-state { 3983 pins = "gpio36", "gpio37"; 3984 function = "qup10"; 3985 }; 3986 3987 qup_i2c11_data_clk: qup-i2c11-data-clk-state { 3988 pins = "gpio40", "gpio41"; 3989 function = "qup11"; 3990 }; 3991 3992 qup_i2c12_data_clk: qup-i2c12-data-clk-state { 3993 pins = "gpio44", "gpio45"; 3994 function = "qup12"; 3995 }; 3996 3997 qup_i2c13_data_clk: qup-i2c13-data-clk-state { 3998 pins = "gpio48", "gpio49"; 3999 function = "qup13"; 4000 drive-strength = <2>; 4001 bias-pull-up; 4002 }; 4003 4004 qup_i2c14_data_clk: qup-i2c14-data-clk-state { 4005 pins = "gpio52", "gpio53"; 4006 function = "qup14"; 4007 drive-strength = <2>; 4008 bias-pull-up; 4009 }; 4010 4011 qup_i2c15_data_clk: qup-i2c15-data-clk-state { 4012 pins = "gpio56", "gpio57"; 4013 function = "qup15"; 4014 }; 4015 4016 qup_i2c16_data_clk: qup-i2c16-data-clk-state { 4017 pins = "gpio60", "gpio61"; 4018 function = "qup16"; 4019 }; 4020 4021 qup_i2c17_data_clk: qup-i2c17-data-clk-state { 4022 pins = "gpio64", "gpio65"; 4023 function = "qup17"; 4024 }; 4025 4026 qup_i2c18_data_clk: qup-i2c18-data-clk-state { 4027 pins = "gpio68", "gpio69"; 4028 function = "qup18"; 4029 }; 4030 4031 qup_i2c19_data_clk: qup-i2c19-data-clk-state { 4032 pins = "gpio72", "gpio73"; 4033 function = "qup19"; 4034 }; 4035 4036 qup_i2c20_data_clk: qup-i2c20-data-clk-state { 4037 pins = "gpio76", "gpio77"; 4038 function = "qup20"; 4039 }; 4040 4041 qup_i2c21_data_clk: qup-i2c21-data-clk-state { 4042 pins = "gpio80", "gpio81"; 4043 function = "qup21"; 4044 }; 4045 4046 qup_spi0_cs: qup-spi0-cs-state { 4047 pins = "gpio3"; 4048 function = "qup0"; 4049 }; 4050 4051 qup_spi0_data_clk: qup-spi0-data-clk-state { 4052 pins = "gpio0", "gpio1", "gpio2"; 4053 function = "qup0"; 4054 }; 4055 4056 qup_spi1_cs: qup-spi1-cs-state { 4057 pins = "gpio7"; 4058 function = "qup1"; 4059 }; 4060 4061 qup_spi1_data_clk: qup-spi1-data-clk-state { 4062 pins = "gpio4", "gpio5", "gpio6"; 4063 function = "qup1"; 4064 }; 4065 4066 qup_spi2_cs: qup-spi2-cs-state { 4067 pins = "gpio11"; 4068 function = "qup2"; 4069 }; 4070 4071 qup_spi2_data_clk: qup-spi2-data-clk-state { 4072 pins = "gpio8", "gpio9", "gpio10"; 4073 function = "qup2"; 4074 }; 4075 4076 qup_spi3_cs: qup-spi3-cs-state { 4077 pins = "gpio15"; 4078 function = "qup3"; 4079 }; 4080 4081 qup_spi3_data_clk: qup-spi3-data-clk-state { 4082 pins = "gpio12", "gpio13", "gpio14"; 4083 function = "qup3"; 4084 }; 4085 4086 qup_spi4_cs: qup-spi4-cs-state { 4087 pins = "gpio19"; 4088 function = "qup4"; 4089 drive-strength = <6>; 4090 bias-disable; 4091 }; 4092 4093 qup_spi4_data_clk: qup-spi4-data-clk-state { 4094 pins = "gpio16", "gpio17", "gpio18"; 4095 function = "qup4"; 4096 }; 4097 4098 qup_spi5_cs: qup-spi5-cs-state { 4099 pins = "gpio85"; 4100 function = "qup5"; 4101 }; 4102 4103 qup_spi5_data_clk: qup-spi5-data-clk-state { 4104 pins = "gpio206", "gpio207", "gpio84"; 4105 function = "qup5"; 4106 }; 4107 4108 qup_spi6_cs: qup-spi6-cs-state { 4109 pins = "gpio23"; 4110 function = "qup6"; 4111 }; 4112 4113 qup_spi6_data_clk: qup-spi6-data-clk-state { 4114 pins = "gpio20", "gpio21", "gpio22"; 4115 function = "qup6"; 4116 }; 4117 4118 qup_spi8_cs: qup-spi8-cs-state { 4119 pins = "gpio31"; 4120 function = "qup8"; 4121 }; 4122 4123 qup_spi8_data_clk: qup-spi8-data-clk-state { 4124 pins = "gpio28", "gpio29", "gpio30"; 4125 function = "qup8"; 4126 }; 4127 4128 qup_spi9_cs: qup-spi9-cs-state { 4129 pins = "gpio35"; 4130 function = "qup9"; 4131 }; 4132 4133 qup_spi9_data_clk: qup-spi9-data-clk-state { 4134 pins = "gpio32", "gpio33", "gpio34"; 4135 function = "qup9"; 4136 }; 4137 4138 qup_spi10_cs: qup-spi10-cs-state { 4139 pins = "gpio39"; 4140 function = "qup10"; 4141 }; 4142 4143 qup_spi10_data_clk: qup-spi10-data-clk-state { 4144 pins = "gpio36", "gpio37", "gpio38"; 4145 function = "qup10"; 4146 }; 4147 4148 qup_spi11_cs: qup-spi11-cs-state { 4149 pins = "gpio43"; 4150 function = "qup11"; 4151 }; 4152 4153 qup_spi11_data_clk: qup-spi11-data-clk-state { 4154 pins = "gpio40", "gpio41", "gpio42"; 4155 function = "qup11"; 4156 }; 4157 4158 qup_spi12_cs: qup-spi12-cs-state { 4159 pins = "gpio47"; 4160 function = "qup12"; 4161 }; 4162 4163 qup_spi12_data_clk: qup-spi12-data-clk-state { 4164 pins = "gpio44", "gpio45", "gpio46"; 4165 function = "qup12"; 4166 }; 4167 4168 qup_spi13_cs: qup-spi13-cs-state { 4169 pins = "gpio51"; 4170 function = "qup13"; 4171 }; 4172 4173 qup_spi13_data_clk: qup-spi13-data-clk-state { 4174 pins = "gpio48", "gpio49", "gpio50"; 4175 function = "qup13"; 4176 }; 4177 4178 qup_spi14_cs: qup-spi14-cs-state { 4179 pins = "gpio55"; 4180 function = "qup14"; 4181 }; 4182 4183 qup_spi14_data_clk: qup-spi14-data-clk-state { 4184 pins = "gpio52", "gpio53", "gpio54"; 4185 function = "qup14"; 4186 }; 4187 4188 qup_spi15_cs: qup-spi15-cs-state { 4189 pins = "gpio59"; 4190 function = "qup15"; 4191 }; 4192 4193 qup_spi15_data_clk: qup-spi15-data-clk-state { 4194 pins = "gpio56", "gpio57", "gpio58"; 4195 function = "qup15"; 4196 }; 4197 4198 qup_spi16_cs: qup-spi16-cs-state { 4199 pins = "gpio63"; 4200 function = "qup16"; 4201 }; 4202 4203 qup_spi16_data_clk: qup-spi16-data-clk-state { 4204 pins = "gpio60", "gpio61", "gpio62"; 4205 function = "qup16"; 4206 }; 4207 4208 qup_spi17_cs: qup-spi17-cs-state { 4209 pins = "gpio67"; 4210 function = "qup17"; 4211 }; 4212 4213 qup_spi17_data_clk: qup-spi17-data-clk-state { 4214 pins = "gpio64", "gpio65", "gpio66"; 4215 function = "qup17"; 4216 }; 4217 4218 qup_spi18_cs: qup-spi18-cs-state { 4219 pins = "gpio71"; 4220 function = "qup18"; 4221 drive-strength = <6>; 4222 bias-disable; 4223 }; 4224 4225 qup_spi18_data_clk: qup-spi18-data-clk-state { 4226 pins = "gpio68", "gpio69", "gpio70"; 4227 function = "qup18"; 4228 drive-strength = <6>; 4229 bias-disable; 4230 }; 4231 4232 qup_spi19_cs: qup-spi19-cs-state { 4233 pins = "gpio75"; 4234 function = "qup19"; 4235 drive-strength = <6>; 4236 bias-disable; 4237 }; 4238 4239 qup_spi19_data_clk: qup-spi19-data-clk-state { 4240 pins = "gpio72", "gpio73", "gpio74"; 4241 function = "qup19"; 4242 drive-strength = <6>; 4243 bias-disable; 4244 }; 4245 4246 qup_spi20_cs: qup-spi20-cs-state { 4247 pins = "gpio79"; 4248 function = "qup20"; 4249 }; 4250 4251 qup_spi20_data_clk: qup-spi20-data-clk-state { 4252 pins = "gpio76", "gpio77", "gpio78"; 4253 function = "qup20"; 4254 }; 4255 4256 qup_spi21_cs: qup-spi21-cs-state { 4257 pins = "gpio83"; 4258 function = "qup21"; 4259 }; 4260 4261 qup_spi21_data_clk: qup-spi21-data-clk-state { 4262 pins = "gpio80", "gpio81", "gpio82"; 4263 function = "qup21"; 4264 }; 4265 4266 qup_uart7_rx: qup-uart7-rx-state { 4267 pins = "gpio26"; 4268 function = "qup7"; 4269 drive-strength = <2>; 4270 bias-disable; 4271 }; 4272 4273 qup_uart7_tx: qup-uart7-tx-state { 4274 pins = "gpio27"; 4275 function = "qup7"; 4276 drive-strength = <2>; 4277 bias-disable; 4278 }; 4279 4280 qup_uart20_default: qup-uart20-default-state { 4281 pins = "gpio76", "gpio77", "gpio78", "gpio79"; 4282 function = "qup20"; 4283 }; 4284 }; 4285 4286 lpass_tlmm: pinctrl@3440000 { 4287 compatible = "qcom,sm8450-lpass-lpi-pinctrl"; 4288 reg = <0 0x03440000 0x0 0x20000>, 4289 <0 0x034d0000 0x0 0x10000>; 4290 gpio-controller; 4291 #gpio-cells = <2>; 4292 gpio-ranges = <&lpass_tlmm 0 0 23>; 4293 4294 clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, 4295 <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; 4296 clock-names = "core", "audio"; 4297 4298 tx_swr_active: tx-swr-active-state { 4299 clk-pins { 4300 pins = "gpio0"; 4301 function = "swr_tx_clk"; 4302 drive-strength = <2>; 4303 slew-rate = <1>; 4304 bias-disable; 4305 }; 4306 4307 data-pins { 4308 pins = "gpio1", "gpio2", "gpio14"; 4309 function = "swr_tx_data"; 4310 drive-strength = <2>; 4311 slew-rate = <1>; 4312 bias-bus-hold; 4313 }; 4314 }; 4315 4316 rx_swr_active: rx-swr-active-state { 4317 clk-pins { 4318 pins = "gpio3"; 4319 function = "swr_rx_clk"; 4320 drive-strength = <2>; 4321 slew-rate = <1>; 4322 bias-disable; 4323 }; 4324 4325 data-pins { 4326 pins = "gpio4", "gpio5"; 4327 function = "swr_rx_data"; 4328 drive-strength = <2>; 4329 slew-rate = <1>; 4330 bias-bus-hold; 4331 }; 4332 }; 4333 4334 dmic01_default: dmic01-default-state { 4335 clk-pins { 4336 pins = "gpio6"; 4337 function = "dmic1_clk"; 4338 drive-strength = <8>; 4339 output-high; 4340 }; 4341 4342 data-pins { 4343 pins = "gpio7"; 4344 function = "dmic1_data"; 4345 drive-strength = <8>; 4346 }; 4347 }; 4348 4349 dmic23_default: dmic23-default-state { 4350 clk-pins { 4351 pins = "gpio8"; 4352 function = "dmic2_clk"; 4353 drive-strength = <8>; 4354 output-high; 4355 }; 4356 4357 data-pins { 4358 pins = "gpio9"; 4359 function = "dmic2_data"; 4360 drive-strength = <8>; 4361 }; 4362 }; 4363 4364 wsa_swr_active: wsa-swr-active-state { 4365 clk-pins { 4366 pins = "gpio10"; 4367 function = "wsa_swr_clk"; 4368 drive-strength = <2>; 4369 slew-rate = <1>; 4370 bias-disable; 4371 }; 4372 4373 data-pins { 4374 pins = "gpio11"; 4375 function = "wsa_swr_data"; 4376 drive-strength = <2>; 4377 slew-rate = <1>; 4378 bias-bus-hold; 4379 }; 4380 }; 4381 4382 wsa2_swr_active: wsa2-swr-active-state { 4383 clk-pins { 4384 pins = "gpio15"; 4385 function = "wsa2_swr_clk"; 4386 drive-strength = <2>; 4387 slew-rate = <1>; 4388 bias-disable; 4389 }; 4390 4391 data-pins { 4392 pins = "gpio16"; 4393 function = "wsa2_swr_data"; 4394 drive-strength = <2>; 4395 slew-rate = <1>; 4396 bias-bus-hold; 4397 }; 4398 }; 4399 }; 4400 4401 stm@10002000 { 4402 compatible = "arm,coresight-stm", "arm,primecell"; 4403 reg = <0x0 0x10002000 0x0 0x1000>, 4404 <0x0 0x16280000 0x0 0x180000>; 4405 reg-names = "stm-base", "stm-stimulus-base"; 4406 4407 clocks = <&aoss_qmp>; 4408 clock-names = "apb_pclk"; 4409 4410 out-ports { 4411 port { 4412 stm_out_funnel_in0: endpoint { 4413 remote-endpoint = 4414 <&funnel_in0_in_stm>; 4415 }; 4416 }; 4417 }; 4418 }; 4419 4420 funnel@10041000 { 4421 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 4422 reg = <0x0 0x10041000 0x0 0x1000>; 4423 4424 clocks = <&aoss_qmp>; 4425 clock-names = "apb_pclk"; 4426 4427 in-ports { 4428 #address-cells = <1>; 4429 #size-cells = <0>; 4430 4431 port@7 { 4432 reg = <7>; 4433 funnel_in0_in_stm: endpoint { 4434 remote-endpoint = 4435 <&stm_out_funnel_in0>; 4436 }; 4437 }; 4438 }; 4439 4440 out-ports { 4441 port { 4442 funnel_in0_out_funnel_qdss: endpoint { 4443 remote-endpoint = 4444 <&funnel_qdss_in_funnel_in0>; 4445 }; 4446 }; 4447 }; 4448 }; 4449 4450 funnel@10042000 { 4451 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 4452 4453 reg = <0x0 0x10042000 0x0 0x1000>; 4454 4455 clocks = <&aoss_qmp>; 4456 clock-names = "apb_pclk"; 4457 4458 in-ports { 4459 #address-cells = <1>; 4460 #size-cells = <0>; 4461 4462 port@4 { 4463 reg = <4>; 4464 funnel_in1_in_funnel_apss: endpoint { 4465 remote-endpoint = 4466 <&funnel_apss_out_funnel_in1>; 4467 }; 4468 }; 4469 4470 port@6 { 4471 reg = <6>; 4472 funnel_in1_in_funnel_dl_center: endpoint { 4473 remote-endpoint = 4474 <&funnel_dl_center_out_funnel_in1>; 4475 }; 4476 }; 4477 }; 4478 4479 out-ports { 4480 port { 4481 funnel_in1_out_funnel_qdss: endpoint { 4482 remote-endpoint = 4483 <&funnel_qdss_in_funnel_in1>; 4484 }; 4485 }; 4486 }; 4487 }; 4488 4489 funnel@10045000 { 4490 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 4491 reg = <0x0 0x10045000 0x0 0x1000>; 4492 4493 clocks = <&aoss_qmp>; 4494 clock-names = "apb_pclk"; 4495 4496 in-ports { 4497 #address-cells = <1>; 4498 #size-cells = <0>; 4499 4500 port@0 { 4501 reg = <0>; 4502 funnel_qdss_in_funnel_in0: endpoint { 4503 remote-endpoint = 4504 <&funnel_in0_out_funnel_qdss>; 4505 }; 4506 }; 4507 4508 port@1 { 4509 reg = <1>; 4510 funnel_qdss_in_funnel_in1: endpoint { 4511 remote-endpoint = 4512 <&funnel_in1_out_funnel_qdss>; 4513 }; 4514 }; 4515 }; 4516 4517 out-ports { 4518 port { 4519 funnel_qdss_out_funnel_aoss: endpoint { 4520 remote-endpoint = 4521 <&funnel_aoss_in_funnel_qdss>; 4522 }; 4523 }; 4524 }; 4525 }; 4526 4527 replicator@10046000 { 4528 compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; 4529 reg = <0x0 0x10046000 0x0 0x1000>; 4530 4531 clocks = <&aoss_qmp>; 4532 clock-names = "apb_pclk"; 4533 4534 in-ports { 4535 port { 4536 replicator_qdss_in_replicator_swao: endpoint { 4537 remote-endpoint = 4538 <&replicator_swao_out_replicator_qdss>; 4539 }; 4540 }; 4541 }; 4542 4543 out-ports { 4544 4545 port { 4546 replicator_qdss_out_replicator_etr: endpoint { 4547 remote-endpoint = 4548 <&replicator_etr_in_replicator_qdss>; 4549 }; 4550 }; 4551 }; 4552 }; 4553 4554 tmc_etr: tmc@10048000 { 4555 compatible = "arm,coresight-tmc", "arm,primecell"; 4556 reg = <0x0 0x10048000 0x0 0x1000>; 4557 4558 iommus = <&apps_smmu 0x0600 0>; 4559 arm,buffer-size = <0x10000>; 4560 4561 arm,scatter-gather; 4562 clocks = <&aoss_qmp>; 4563 clock-names = "apb_pclk"; 4564 4565 in-ports { 4566 port { 4567 tmc_etr_in_replicator_etr: endpoint { 4568 remote-endpoint = 4569 <&replicator_etr_out_tmc_etr>; 4570 }; 4571 }; 4572 }; 4573 }; 4574 4575 replicator@1004e000 { 4576 compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; 4577 reg = <0x0 0x1004e000 0x0 0x1000>; 4578 4579 clocks = <&aoss_qmp>; 4580 clock-names = "apb_pclk"; 4581 4582 in-ports { 4583 port { 4584 replicator_etr_in_replicator_qdss: endpoint { 4585 remote-endpoint = 4586 <&replicator_qdss_out_replicator_etr>; 4587 }; 4588 }; 4589 }; 4590 4591 out-ports { 4592 4593 port { 4594 4595 replicator_etr_out_tmc_etr: endpoint { 4596 remote-endpoint = 4597 <&tmc_etr_in_replicator_etr>; 4598 }; 4599 }; 4600 }; 4601 }; 4602 4603 funnel@10b04000 { 4604 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 4605 4606 reg = <0x0 0x10b04000 0x0 0x1000>; 4607 4608 clocks = <&aoss_qmp>; 4609 clock-names = "apb_pclk"; 4610 4611 in-ports { 4612 #address-cells = <1>; 4613 #size-cells = <0>; 4614 4615 port@6 { 4616 reg = <6>; 4617 funnel_aoss_in_tpda_aoss: endpoint { 4618 remote-endpoint = 4619 <&tpda_aoss_out_funnel_aoss>; 4620 }; 4621 }; 4622 4623 port@7 { 4624 reg = <7>; 4625 funnel_aoss_in_funnel_qdss: endpoint { 4626 remote-endpoint = 4627 <&funnel_qdss_out_funnel_aoss>; 4628 }; 4629 }; 4630 }; 4631 4632 out-ports { 4633 port { 4634 funnel_aoss_out_tmc_etf: endpoint { 4635 remote-endpoint = 4636 <&tmc_etf_in_funnel_aoss>; 4637 }; 4638 }; 4639 }; 4640 }; 4641 4642 tmc@10b05000 { 4643 compatible = "arm,coresight-tmc", "arm,primecell"; 4644 reg = <0x0 0x10b05000 0x0 0x1000>; 4645 4646 clocks = <&aoss_qmp>; 4647 clock-names = "apb_pclk"; 4648 4649 in-ports { 4650 port { 4651 tmc_etf_in_funnel_aoss: endpoint { 4652 remote-endpoint = 4653 <&funnel_aoss_out_tmc_etf>; 4654 }; 4655 }; 4656 }; 4657 4658 out-ports { 4659 port { 4660 tmc_etf_out_replicator_swao: endpoint { 4661 remote-endpoint = 4662 <&replicator_swao_in_tmc_etf>; 4663 }; 4664 }; 4665 }; 4666 }; 4667 4668 replicator@10b06000 { 4669 compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; 4670 reg = <0x0 0x10b06000 0x0 0x1000>; 4671 4672 qcom,replicator-loses-context; 4673 clocks = <&aoss_qmp>; 4674 clock-names = "apb_pclk"; 4675 4676 in-ports { 4677 port { 4678 replicator_swao_in_tmc_etf: endpoint { 4679 remote-endpoint = 4680 <&tmc_etf_out_replicator_swao>; 4681 }; 4682 }; 4683 }; 4684 4685 out-ports { 4686 4687 port { 4688 replicator_swao_out_replicator_qdss: endpoint { 4689 remote-endpoint = 4690 <&replicator_qdss_in_replicator_swao>; 4691 }; 4692 }; 4693 }; 4694 }; 4695 4696 tpda@10b08000 { 4697 compatible = "qcom,coresight-tpda", "arm,primecell"; 4698 4699 reg = <0x0 0x10b08000 0x0 0x1000>; 4700 4701 clocks = <&aoss_qmp>; 4702 clock-names = "apb_pclk"; 4703 4704 in-ports { 4705 4706 #address-cells = <1>; 4707 #size-cells = <0>; 4708 4709 port@0 { 4710 reg = <0>; 4711 tpda_aoss_in_tpdm_swao_prio_0: endpoint { 4712 remote-endpoint = 4713 <&tpdm_swao_prio_0_out_tpda_aoss>; 4714 }; 4715 }; 4716 4717 port@4 { 4718 reg = <4>; 4719 tpda_aoss_in_tpdm_swao: endpoint { 4720 remote-endpoint = 4721 <&tpdm_swao_out_tpda_aoss>; 4722 }; 4723 }; 4724 }; 4725 4726 out-ports { 4727 4728 port { 4729 tpda_aoss_out_funnel_aoss: endpoint { 4730 remote-endpoint = 4731 <&funnel_aoss_in_tpda_aoss>; 4732 }; 4733 }; 4734 }; 4735 }; 4736 4737 tpdm@10b09000 { 4738 compatible = "qcom,coresight-tpdm", "arm,primecell"; 4739 reg = <0x0 0x10b09000 0x0 0x1000>; 4740 4741 4742 clocks = <&aoss_qmp>; 4743 clock-names = "apb_pclk"; 4744 4745 out-ports { 4746 port { 4747 tpdm_swao_prio_0_out_tpda_aoss: endpoint { 4748 remote-endpoint = 4749 <&tpda_aoss_in_tpdm_swao_prio_0>; 4750 }; 4751 }; 4752 }; 4753 }; 4754 4755 tpdm@10b0d000 { 4756 compatible = "qcom,coresight-tpdm", "arm,primecell"; 4757 reg = <0x0 0x10b0d000 0x0 0x1000>; 4758 4759 clocks = <&aoss_qmp>; 4760 clock-names = "apb_pclk"; 4761 4762 out-ports { 4763 port { 4764 tpdm_swao_out_tpda_aoss: endpoint { 4765 remote-endpoint = 4766 <&tpda_aoss_in_tpdm_swao>; 4767 }; 4768 }; 4769 }; 4770 }; 4771 4772 tpdm@10c28000 { 4773 compatible = "qcom,coresight-tpdm", "arm,primecell"; 4774 reg = <0x0 0x10c28000 0x0 0x1000>; 4775 4776 clocks = <&aoss_qmp>; 4777 clock-names = "apb_pclk"; 4778 4779 out-ports { 4780 port { 4781 tpdm_dlct_out_tpda_dl_center_26: endpoint { 4782 remote-endpoint = 4783 <&tpda_dl_center_26_in_tpdm_dlct>; 4784 }; 4785 }; 4786 }; 4787 }; 4788 4789 tpdm@10c29000 { 4790 compatible = "qcom,coresight-tpdm", "arm,primecell"; 4791 reg = <0x0 0x10c29000 0x0 0x1000>; 4792 4793 clocks = <&aoss_qmp>; 4794 clock-names = "apb_pclk"; 4795 4796 out-ports { 4797 port { 4798 tpdm_ipcc_out_tpda_dl_center_27: endpoint { 4799 remote-endpoint = 4800 <&tpda_dl_center_27_in_tpdm_ipcc>; 4801 }; 4802 }; 4803 }; 4804 }; 4805 4806 cti@10c2a000 { 4807 compatible = "arm,coresight-cti", "arm,primecell"; 4808 reg = <0x0 0x10c2a000 0x0 0x1000>; 4809 4810 clocks = <&aoss_qmp>; 4811 clock-names = "apb_pclk"; 4812 }; 4813 4814 cti@10c2b000 { 4815 compatible = "arm,coresight-cti", "arm,primecell"; 4816 reg = <0x0 0x10c2b000 0x0 0x1000>; 4817 4818 clocks = <&aoss_qmp>; 4819 clock-names = "apb_pclk"; 4820 }; 4821 4822 tpda@10c2e000 { 4823 compatible = "qcom,coresight-tpda", "arm,primecell"; 4824 reg = <0x0 0x10c2e000 0x0 0x1000>; 4825 4826 clocks = <&aoss_qmp>; 4827 clock-names = "apb_pclk"; 4828 4829 in-ports { 4830 4831 #address-cells = <1>; 4832 #size-cells = <0>; 4833 4834 port@1a { 4835 reg = <26>; 4836 tpda_dl_center_26_in_tpdm_dlct: endpoint { 4837 remote-endpoint = 4838 <&tpdm_dlct_out_tpda_dl_center_26>; 4839 }; 4840 }; 4841 4842 port@1b { 4843 reg = <27>; 4844 tpda_dl_center_27_in_tpdm_ipcc: endpoint { 4845 remote-endpoint = 4846 <&tpdm_ipcc_out_tpda_dl_center_27>; 4847 }; 4848 }; 4849 }; 4850 4851 out-ports { 4852 4853 port { 4854 tpda_dl_center_out_funnel_dl_center: endpoint { 4855 remote-endpoint = 4856 <&funnel_dl_center_in_tpda_dl_center>; 4857 }; 4858 }; 4859 }; 4860 }; 4861 4862 funnel@10c2f000 { 4863 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 4864 reg = <0x0 0x10c2f000 0x0 0x1000>; 4865 4866 clocks = <&aoss_qmp>; 4867 clock-names = "apb_pclk"; 4868 4869 in-ports { 4870 4871 port { 4872 funnel_dl_center_in_tpda_dl_center: endpoint { 4873 remote-endpoint = 4874 <&tpda_dl_center_out_funnel_dl_center>; 4875 }; 4876 }; 4877 }; 4878 4879 out-ports { 4880 port { 4881 funnel_dl_center_out_funnel_in1: endpoint { 4882 remote-endpoint = 4883 <&funnel_in1_in_funnel_dl_center>; 4884 }; 4885 }; 4886 }; 4887 }; 4888 4889 funnel@13810000 { 4890 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 4891 4892 reg = <0x0 0x13810000 0x0 0x1000>; 4893 4894 clocks = <&aoss_qmp>; 4895 clock-names = "apb_pclk"; 4896 4897 in-ports { 4898 4899 port { 4900 funnel_apss_in_funnel_ete: endpoint { 4901 remote-endpoint = 4902 <&funnel_ete_out_funnel_apss>; 4903 }; 4904 }; 4905 }; 4906 4907 out-ports { 4908 port { 4909 funnel_apss_out_funnel_in1: endpoint { 4910 remote-endpoint = 4911 <&funnel_in1_in_funnel_apss>; 4912 }; 4913 }; 4914 }; 4915 }; 4916 4917 cti@138e0000 { 4918 compatible = "arm,coresight-cti", "arm,primecell"; 4919 reg = <0x0 0x138e0000 0x0 0x1000>; 4920 4921 clocks = <&aoss_qmp>; 4922 clock-names = "apb_pclk"; 4923 }; 4924 4925 cti@138f0000 { 4926 compatible = "arm,coresight-cti", "arm,primecell"; 4927 reg = <0x0 0x138f0000 0x0 0x1000>; 4928 4929 clocks = <&aoss_qmp>; 4930 clock-names = "apb_pclk"; 4931 }; 4932 4933 cti@13900000 { 4934 compatible = "arm,coresight-cti", "arm,primecell"; 4935 reg = <0x0 0x13900000 0x0 0x1000>; 4936 4937 clocks = <&aoss_qmp>; 4938 clock-names = "apb_pclk"; 4939 }; 4940 4941 sram@146aa000 { 4942 compatible = "qcom,sm8450-imem", "syscon", "simple-mfd"; 4943 reg = <0 0x146aa000 0 0x1000>; 4944 ranges = <0 0 0x146aa000 0x1000>; 4945 4946 #address-cells = <1>; 4947 #size-cells = <1>; 4948 4949 pil-reloc@94c { 4950 compatible = "qcom,pil-reloc-info"; 4951 reg = <0x94c 0xc8>; 4952 }; 4953 }; 4954 4955 apps_smmu: iommu@15000000 { 4956 compatible = "qcom,sm8450-smmu-500", "arm,mmu-500"; 4957 reg = <0 0x15000000 0 0x100000>; 4958 #iommu-cells = <2>; 4959 #global-interrupts = <1>; 4960 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 4961 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 4962 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 4963 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 4964 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 4965 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 4966 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 4967 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 4968 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 4969 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 4970 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 4971 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 4972 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 4973 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 4974 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 4975 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 4976 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 4977 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 4978 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 4979 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 4980 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 4981 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 4982 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 4983 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, 4984 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, 4985 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, 4986 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 4987 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, 4988 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 4989 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 4990 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 4991 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 4992 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 4993 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 4994 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 4995 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 4996 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 4997 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, 4998 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 4999 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 5000 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 5001 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 5002 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 5003 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 5004 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 5005 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 5006 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 5007 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 5008 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 5009 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 5010 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 5011 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 5012 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 5013 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 5014 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 5015 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 5016 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 5017 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 5018 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 5019 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 5020 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 5021 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 5022 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 5023 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>, 5024 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>, 5025 <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, 5026 <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>, 5027 <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>, 5028 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>, 5029 <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>, 5030 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>, 5031 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>, 5032 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, 5033 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, 5034 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, 5035 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>, 5036 <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>, 5037 <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>, 5038 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>, 5039 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>, 5040 <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>, 5041 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>, 5042 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>, 5043 <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>, 5044 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>, 5045 <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>, 5046 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>, 5047 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>, 5048 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>, 5049 <GIC_SPI 690 IRQ_TYPE_LEVEL_HIGH>, 5050 <GIC_SPI 691 IRQ_TYPE_LEVEL_HIGH>, 5051 <GIC_SPI 692 IRQ_TYPE_LEVEL_HIGH>, 5052 <GIC_SPI 693 IRQ_TYPE_LEVEL_HIGH>, 5053 <GIC_SPI 694 IRQ_TYPE_LEVEL_HIGH>, 5054 <GIC_SPI 695 IRQ_TYPE_LEVEL_HIGH>, 5055 <GIC_SPI 696 IRQ_TYPE_LEVEL_HIGH>, 5056 <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>; 5057 dma-coherent; 5058 }; 5059 5060 intc: interrupt-controller@17100000 { 5061 compatible = "arm,gic-v3"; 5062 #interrupt-cells = <3>; 5063 interrupt-controller; 5064 #redistributor-regions = <1>; 5065 redistributor-stride = <0x0 0x40000>; 5066 reg = <0x0 0x17100000 0x0 0x10000>, /* GICD */ 5067 <0x0 0x17180000 0x0 0x200000>; /* GICR * 8 */ 5068 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 5069 #address-cells = <2>; 5070 #size-cells = <2>; 5071 ranges; 5072 5073 gic_its: msi-controller@17140000 { 5074 compatible = "arm,gic-v3-its"; 5075 reg = <0x0 0x17140000 0x0 0x20000>; 5076 msi-controller; 5077 #msi-cells = <1>; 5078 }; 5079 }; 5080 5081 timer@17420000 { 5082 compatible = "arm,armv7-timer-mem"; 5083 #address-cells = <1>; 5084 #size-cells = <1>; 5085 ranges = <0 0 0 0x20000000>; 5086 reg = <0x0 0x17420000 0x0 0x1000>; 5087 clock-frequency = <19200000>; 5088 5089 frame@17421000 { 5090 frame-number = <0>; 5091 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 5092 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 5093 reg = <0x17421000 0x1000>, 5094 <0x17422000 0x1000>; 5095 }; 5096 5097 frame@17423000 { 5098 frame-number = <1>; 5099 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 5100 reg = <0x17423000 0x1000>; 5101 status = "disabled"; 5102 }; 5103 5104 frame@17425000 { 5105 frame-number = <2>; 5106 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 5107 reg = <0x17425000 0x1000>; 5108 status = "disabled"; 5109 }; 5110 5111 frame@17427000 { 5112 frame-number = <3>; 5113 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 5114 reg = <0x17427000 0x1000>; 5115 status = "disabled"; 5116 }; 5117 5118 frame@17429000 { 5119 frame-number = <4>; 5120 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 5121 reg = <0x17429000 0x1000>; 5122 status = "disabled"; 5123 }; 5124 5125 frame@1742b000 { 5126 frame-number = <5>; 5127 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 5128 reg = <0x1742b000 0x1000>; 5129 status = "disabled"; 5130 }; 5131 5132 frame@1742d000 { 5133 frame-number = <6>; 5134 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 5135 reg = <0x1742d000 0x1000>; 5136 status = "disabled"; 5137 }; 5138 }; 5139 5140 apps_rsc: rsc@17a00000 { 5141 label = "apps_rsc"; 5142 compatible = "qcom,rpmh-rsc"; 5143 reg = <0x0 0x17a00000 0x0 0x10000>, 5144 <0x0 0x17a10000 0x0 0x10000>, 5145 <0x0 0x17a20000 0x0 0x10000>, 5146 <0x0 0x17a30000 0x0 0x10000>; 5147 reg-names = "drv-0", "drv-1", "drv-2", "drv-3"; 5148 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 5149 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 5150 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 5151 qcom,tcs-offset = <0xd00>; 5152 qcom,drv-id = <2>; 5153 qcom,tcs-config = <ACTIVE_TCS 3>, <SLEEP_TCS 2>, 5154 <WAKE_TCS 2>, <CONTROL_TCS 0>; 5155 power-domains = <&cluster_pd>; 5156 5157 apps_bcm_voter: bcm-voter { 5158 compatible = "qcom,bcm-voter"; 5159 }; 5160 5161 rpmhcc: clock-controller { 5162 compatible = "qcom,sm8450-rpmh-clk"; 5163 #clock-cells = <1>; 5164 clock-names = "xo"; 5165 clocks = <&xo_board>; 5166 }; 5167 5168 rpmhpd: power-controller { 5169 compatible = "qcom,sm8450-rpmhpd"; 5170 #power-domain-cells = <1>; 5171 operating-points-v2 = <&rpmhpd_opp_table>; 5172 5173 rpmhpd_opp_table: opp-table { 5174 compatible = "operating-points-v2"; 5175 5176 rpmhpd_opp_ret: opp1 { 5177 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; 5178 }; 5179 5180 rpmhpd_opp_min_svs: opp2 { 5181 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 5182 }; 5183 5184 rpmhpd_opp_low_svs_d1: opp3 { 5185 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_D1>; 5186 }; 5187 5188 rpmhpd_opp_low_svs: opp4 { 5189 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 5190 }; 5191 5192 rpmhpd_opp_low_svs_l1: opp5 { 5193 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS_L1>; 5194 }; 5195 5196 rpmhpd_opp_svs: opp6 { 5197 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 5198 }; 5199 5200 rpmhpd_opp_svs_l0: opp7 { 5201 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L0>; 5202 }; 5203 5204 rpmhpd_opp_svs_l1: opp8 { 5205 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 5206 }; 5207 5208 rpmhpd_opp_svs_l2: opp9 { 5209 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>; 5210 }; 5211 5212 rpmhpd_opp_nom: opp10 { 5213 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 5214 }; 5215 5216 rpmhpd_opp_nom_l1: opp11 { 5217 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 5218 }; 5219 5220 rpmhpd_opp_nom_l2: opp12 { 5221 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; 5222 }; 5223 5224 rpmhpd_opp_turbo: opp13 { 5225 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 5226 }; 5227 5228 rpmhpd_opp_turbo_l1: opp14 { 5229 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 5230 }; 5231 }; 5232 }; 5233 }; 5234 5235 cpufreq_hw: cpufreq@17d91000 { 5236 compatible = "qcom,sm8450-cpufreq-epss", "qcom,cpufreq-epss"; 5237 reg = <0 0x17d91000 0 0x1000>, 5238 <0 0x17d92000 0 0x1000>, 5239 <0 0x17d93000 0 0x1000>; 5240 reg-names = "freq-domain0", "freq-domain1", "freq-domain2"; 5241 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GCC_GPLL0>; 5242 clock-names = "xo", "alternate"; 5243 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>, 5244 <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>, 5245 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 5246 interrupt-names = "dcvsh-irq-0", "dcvsh-irq-1", "dcvsh-irq-2"; 5247 #freq-domain-cells = <1>; 5248 #clock-cells = <1>; 5249 }; 5250 5251 gem_noc: interconnect@19100000 { 5252 compatible = "qcom,sm8450-gem-noc"; 5253 reg = <0 0x19100000 0 0xbb800>; 5254 #interconnect-cells = <2>; 5255 qcom,bcm-voters = <&apps_bcm_voter>; 5256 }; 5257 5258 system-cache-controller@19200000 { 5259 compatible = "qcom,sm8450-llcc"; 5260 reg = <0 0x19200000 0 0x80000>, <0 0x19600000 0 0x80000>, 5261 <0 0x19300000 0 0x80000>, <0 0x19700000 0 0x80000>, 5262 <0 0x19a00000 0 0x80000>, <0 0x19c00000 0 0x80000>; 5263 reg-names = "llcc0_base", "llcc1_base", "llcc2_base", 5264 "llcc3_base", "llcc_broadcast_base", 5265 "llcc_broadcast_and_base"; 5266 interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>; 5267 }; 5268 5269 ufs_mem_hc: ufshc@1d84000 { 5270 compatible = "qcom,sm8450-ufshc", "qcom,ufshc", 5271 "jedec,ufs-2.0"; 5272 reg = <0 0x01d84000 0 0x3000>; 5273 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; 5274 phys = <&ufs_mem_phy>; 5275 phy-names = "ufsphy"; 5276 lanes-per-direction = <2>; 5277 #reset-cells = <1>; 5278 resets = <&gcc GCC_UFS_PHY_BCR>; 5279 reset-names = "rst"; 5280 5281 power-domains = <&gcc UFS_PHY_GDSC>; 5282 5283 iommus = <&apps_smmu 0xe0 0x0>; 5284 dma-coherent; 5285 5286 interconnects = <&aggre1_noc MASTER_UFS_MEM 0 &mc_virt SLAVE_EBI1 0>, 5287 <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_UFS_MEM_CFG 0>; 5288 interconnect-names = "ufs-ddr", "cpu-ufs"; 5289 clock-names = 5290 "core_clk", 5291 "bus_aggr_clk", 5292 "iface_clk", 5293 "core_clk_unipro", 5294 "ref_clk", 5295 "tx_lane0_sync_clk", 5296 "rx_lane0_sync_clk", 5297 "rx_lane1_sync_clk"; 5298 clocks = 5299 <&gcc GCC_UFS_PHY_AXI_CLK>, 5300 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, 5301 <&gcc GCC_UFS_PHY_AHB_CLK>, 5302 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, 5303 <&rpmhcc RPMH_CXO_CLK>, 5304 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, 5305 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, 5306 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; 5307 freq-table-hz = 5308 <75000000 300000000>, 5309 <0 0>, 5310 <0 0>, 5311 <75000000 300000000>, 5312 <75000000 300000000>, 5313 <0 0>, 5314 <0 0>, 5315 <0 0>; 5316 qcom,ice = <&ice>; 5317 5318 status = "disabled"; 5319 }; 5320 5321 ufs_mem_phy: phy@1d87000 { 5322 compatible = "qcom,sm8450-qmp-ufs-phy"; 5323 reg = <0 0x01d87000 0 0x1000>; 5324 5325 clock-names = "ref", "ref_aux", "qref"; 5326 clocks = <&rpmhcc RPMH_CXO_CLK>, 5327 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, 5328 <&gcc GCC_UFS_0_CLKREF_EN>; 5329 5330 power-domains = <&gcc UFS_PHY_GDSC>; 5331 5332 resets = <&ufs_mem_hc 0>; 5333 reset-names = "ufsphy"; 5334 5335 #clock-cells = <1>; 5336 #phy-cells = <0>; 5337 5338 status = "disabled"; 5339 }; 5340 5341 ice: crypto@1d88000 { 5342 compatible = "qcom,sm8450-inline-crypto-engine", 5343 "qcom,inline-crypto-engine"; 5344 reg = <0 0x01d88000 0 0x8000>; 5345 clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; 5346 }; 5347 5348 cryptobam: dma-controller@1dc4000 { 5349 compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; 5350 reg = <0 0x01dc4000 0 0x28000>; 5351 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>; 5352 #dma-cells = <1>; 5353 qcom,ee = <0>; 5354 qcom,num-ees = <4>; 5355 num-channels = <16>; 5356 qcom,controlled-remotely; 5357 iommus = <&apps_smmu 0x584 0x11>, 5358 <&apps_smmu 0x588 0x0>, 5359 <&apps_smmu 0x598 0x5>, 5360 <&apps_smmu 0x59a 0x0>, 5361 <&apps_smmu 0x59f 0x0>; 5362 }; 5363 5364 crypto: crypto@1dfa000 { 5365 compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce"; 5366 reg = <0 0x01dfa000 0 0x6000>; 5367 dmas = <&cryptobam 4>, <&cryptobam 5>; 5368 dma-names = "rx", "tx"; 5369 iommus = <&apps_smmu 0x584 0x11>, 5370 <&apps_smmu 0x588 0x0>, 5371 <&apps_smmu 0x598 0x5>, 5372 <&apps_smmu 0x59a 0x0>, 5373 <&apps_smmu 0x59f 0x0>; 5374 interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; 5375 interconnect-names = "memory"; 5376 }; 5377 5378 sdhc_2: mmc@8804000 { 5379 compatible = "qcom,sm8450-sdhci", "qcom,sdhci-msm-v5"; 5380 reg = <0 0x08804000 0 0x1000>; 5381 5382 interrupts = <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>, 5383 <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>; 5384 interrupt-names = "hc_irq", "pwr_irq"; 5385 5386 clocks = <&gcc GCC_SDCC2_AHB_CLK>, 5387 <&gcc GCC_SDCC2_APPS_CLK>, 5388 <&rpmhcc RPMH_CXO_CLK>; 5389 clock-names = "iface", "core", "xo"; 5390 resets = <&gcc GCC_SDCC2_BCR>; 5391 interconnects = <&aggre2_noc MASTER_SDCC_2 0 &mc_virt SLAVE_EBI1 0>, 5392 <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_SDCC_2 0>; 5393 interconnect-names = "sdhc-ddr","cpu-sdhc"; 5394 iommus = <&apps_smmu 0x4a0 0x0>; 5395 power-domains = <&rpmhpd RPMHPD_CX>; 5396 operating-points-v2 = <&sdhc2_opp_table>; 5397 bus-width = <4>; 5398 dma-coherent; 5399 5400 /* Forbid SDR104/SDR50 - broken hw! */ 5401 sdhci-caps-mask = <0x3 0x0>; 5402 5403 status = "disabled"; 5404 5405 sdhc2_opp_table: opp-table { 5406 compatible = "operating-points-v2"; 5407 5408 opp-100000000 { 5409 opp-hz = /bits/ 64 <100000000>; 5410 required-opps = <&rpmhpd_opp_low_svs>; 5411 }; 5412 5413 opp-202000000 { 5414 opp-hz = /bits/ 64 <202000000>; 5415 required-opps = <&rpmhpd_opp_svs_l1>; 5416 }; 5417 }; 5418 }; 5419 5420 usb_1: usb@a6f8800 { 5421 compatible = "qcom,sm8450-dwc3", "qcom,dwc3"; 5422 reg = <0 0x0a6f8800 0 0x400>; 5423 status = "disabled"; 5424 #address-cells = <2>; 5425 #size-cells = <2>; 5426 ranges; 5427 5428 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 5429 <&gcc GCC_USB30_PRIM_MASTER_CLK>, 5430 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 5431 <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 5432 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 5433 <&gcc GCC_USB3_0_CLKREF_EN>; 5434 clock-names = "cfg_noc", 5435 "core", 5436 "iface", 5437 "sleep", 5438 "mock_utmi", 5439 "xo"; 5440 5441 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 5442 <&gcc GCC_USB30_PRIM_MASTER_CLK>; 5443 assigned-clock-rates = <19200000>, <200000000>; 5444 5445 interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, 5446 <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 5447 <&pdc 14 IRQ_TYPE_EDGE_BOTH>, 5448 <&pdc 15 IRQ_TYPE_EDGE_BOTH>, 5449 <&pdc 17 IRQ_TYPE_LEVEL_HIGH>; 5450 interrupt-names = "pwr_event", 5451 "hs_phy_irq", 5452 "dp_hs_phy_irq", 5453 "dm_hs_phy_irq", 5454 "ss_phy_irq"; 5455 5456 power-domains = <&gcc USB30_PRIM_GDSC>; 5457 5458 resets = <&gcc GCC_USB30_PRIM_BCR>; 5459 5460 interconnects = <&aggre1_noc MASTER_USB3_0 0 &mc_virt SLAVE_EBI1 0>, 5461 <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; 5462 interconnect-names = "usb-ddr", "apps-usb"; 5463 5464 usb_1_dwc3: usb@a600000 { 5465 compatible = "snps,dwc3"; 5466 reg = <0 0x0a600000 0 0xcd00>; 5467 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 5468 iommus = <&apps_smmu 0x0 0x0>; 5469 snps,dis_u2_susphy_quirk; 5470 snps,dis_u3_susphy_quirk; 5471 snps,dis_enblslpm_quirk; 5472 snps,dis-u1-entry-quirk; 5473 snps,dis-u2-entry-quirk; 5474 phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>; 5475 phy-names = "usb2-phy", "usb3-phy"; 5476 5477 ports { 5478 #address-cells = <1>; 5479 #size-cells = <0>; 5480 5481 port@0 { 5482 reg = <0>; 5483 5484 usb_1_dwc3_hs: endpoint { 5485 }; 5486 }; 5487 5488 port@1 { 5489 reg = <1>; 5490 5491 usb_1_dwc3_ss: endpoint { 5492 remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; 5493 }; 5494 }; 5495 }; 5496 }; 5497 }; 5498 5499 nsp_noc: interconnect@320c0000 { 5500 compatible = "qcom,sm8450-nsp-noc"; 5501 reg = <0 0x320c0000 0 0x10000>; 5502 #interconnect-cells = <2>; 5503 qcom,bcm-voters = <&apps_bcm_voter>; 5504 }; 5505 5506 lpass_ag_noc: interconnect@3c40000 { 5507 compatible = "qcom,sm8450-lpass-ag-noc"; 5508 reg = <0 0x03c40000 0 0x17200>; 5509 #interconnect-cells = <2>; 5510 qcom,bcm-voters = <&apps_bcm_voter>; 5511 }; 5512 }; 5513 5514 sound: sound { 5515 }; 5516 5517 thermal-zones { 5518 aoss0-thermal { 5519 thermal-sensors = <&tsens0 0>; 5520 5521 trips { 5522 thermal-engine-config { 5523 temperature = <125000>; 5524 hysteresis = <1000>; 5525 type = "passive"; 5526 }; 5527 5528 reset-mon-cfg { 5529 temperature = <115000>; 5530 hysteresis = <5000>; 5531 type = "passive"; 5532 }; 5533 }; 5534 }; 5535 5536 cpuss0-thermal { 5537 thermal-sensors = <&tsens0 1>; 5538 5539 trips { 5540 thermal-engine-config { 5541 temperature = <125000>; 5542 hysteresis = <1000>; 5543 type = "passive"; 5544 }; 5545 5546 reset-mon-cfg { 5547 temperature = <115000>; 5548 hysteresis = <5000>; 5549 type = "passive"; 5550 }; 5551 }; 5552 }; 5553 5554 cpuss1-thermal { 5555 thermal-sensors = <&tsens0 2>; 5556 5557 trips { 5558 thermal-engine-config { 5559 temperature = <125000>; 5560 hysteresis = <1000>; 5561 type = "passive"; 5562 }; 5563 5564 reset-mon-cfg { 5565 temperature = <115000>; 5566 hysteresis = <5000>; 5567 type = "passive"; 5568 }; 5569 }; 5570 }; 5571 5572 cpuss3-thermal { 5573 thermal-sensors = <&tsens0 3>; 5574 5575 trips { 5576 thermal-engine-config { 5577 temperature = <125000>; 5578 hysteresis = <1000>; 5579 type = "passive"; 5580 }; 5581 5582 reset-mon-cfg { 5583 temperature = <115000>; 5584 hysteresis = <5000>; 5585 type = "passive"; 5586 }; 5587 }; 5588 }; 5589 5590 cpuss4-thermal { 5591 thermal-sensors = <&tsens0 4>; 5592 5593 trips { 5594 thermal-engine-config { 5595 temperature = <125000>; 5596 hysteresis = <1000>; 5597 type = "passive"; 5598 }; 5599 5600 reset-mon-cfg { 5601 temperature = <115000>; 5602 hysteresis = <5000>; 5603 type = "passive"; 5604 }; 5605 }; 5606 }; 5607 5608 cpu4-top-thermal { 5609 thermal-sensors = <&tsens0 5>; 5610 5611 trips { 5612 cpu4_top_alert0: trip-point0 { 5613 temperature = <90000>; 5614 hysteresis = <2000>; 5615 type = "passive"; 5616 }; 5617 5618 cpu4_top_alert1: trip-point1 { 5619 temperature = <95000>; 5620 hysteresis = <2000>; 5621 type = "passive"; 5622 }; 5623 5624 cpu4_top_crit: cpu-crit { 5625 temperature = <110000>; 5626 hysteresis = <1000>; 5627 type = "critical"; 5628 }; 5629 }; 5630 }; 5631 5632 cpu4-bottom-thermal { 5633 thermal-sensors = <&tsens0 6>; 5634 5635 trips { 5636 cpu4_bottom_alert0: trip-point0 { 5637 temperature = <90000>; 5638 hysteresis = <2000>; 5639 type = "passive"; 5640 }; 5641 5642 cpu4_bottom_alert1: trip-point1 { 5643 temperature = <95000>; 5644 hysteresis = <2000>; 5645 type = "passive"; 5646 }; 5647 5648 cpu4_bottom_crit: cpu-crit { 5649 temperature = <110000>; 5650 hysteresis = <1000>; 5651 type = "critical"; 5652 }; 5653 }; 5654 }; 5655 5656 cpu5-top-thermal { 5657 thermal-sensors = <&tsens0 7>; 5658 5659 trips { 5660 cpu5_top_alert0: trip-point0 { 5661 temperature = <90000>; 5662 hysteresis = <2000>; 5663 type = "passive"; 5664 }; 5665 5666 cpu5_top_alert1: trip-point1 { 5667 temperature = <95000>; 5668 hysteresis = <2000>; 5669 type = "passive"; 5670 }; 5671 5672 cpu5_top_crit: cpu-crit { 5673 temperature = <110000>; 5674 hysteresis = <1000>; 5675 type = "critical"; 5676 }; 5677 }; 5678 }; 5679 5680 cpu5-bottom-thermal { 5681 thermal-sensors = <&tsens0 8>; 5682 5683 trips { 5684 cpu5_bottom_alert0: trip-point0 { 5685 temperature = <90000>; 5686 hysteresis = <2000>; 5687 type = "passive"; 5688 }; 5689 5690 cpu5_bottom_alert1: trip-point1 { 5691 temperature = <95000>; 5692 hysteresis = <2000>; 5693 type = "passive"; 5694 }; 5695 5696 cpu5_bottom_crit: cpu-crit { 5697 temperature = <110000>; 5698 hysteresis = <1000>; 5699 type = "critical"; 5700 }; 5701 }; 5702 }; 5703 5704 cpu6-top-thermal { 5705 thermal-sensors = <&tsens0 9>; 5706 5707 trips { 5708 cpu6_top_alert0: trip-point0 { 5709 temperature = <90000>; 5710 hysteresis = <2000>; 5711 type = "passive"; 5712 }; 5713 5714 cpu6_top_alert1: trip-point1 { 5715 temperature = <95000>; 5716 hysteresis = <2000>; 5717 type = "passive"; 5718 }; 5719 5720 cpu6_top_crit: cpu-crit { 5721 temperature = <110000>; 5722 hysteresis = <1000>; 5723 type = "critical"; 5724 }; 5725 }; 5726 }; 5727 5728 cpu6-bottom-thermal { 5729 thermal-sensors = <&tsens0 10>; 5730 5731 trips { 5732 cpu6_bottom_alert0: trip-point0 { 5733 temperature = <90000>; 5734 hysteresis = <2000>; 5735 type = "passive"; 5736 }; 5737 5738 cpu6_bottom_alert1: trip-point1 { 5739 temperature = <95000>; 5740 hysteresis = <2000>; 5741 type = "passive"; 5742 }; 5743 5744 cpu6_bottom_crit: cpu-crit { 5745 temperature = <110000>; 5746 hysteresis = <1000>; 5747 type = "critical"; 5748 }; 5749 }; 5750 }; 5751 5752 cpu7-top-thermal { 5753 thermal-sensors = <&tsens0 11>; 5754 5755 trips { 5756 cpu7_top_alert0: trip-point0 { 5757 temperature = <90000>; 5758 hysteresis = <2000>; 5759 type = "passive"; 5760 }; 5761 5762 cpu7_top_alert1: trip-point1 { 5763 temperature = <95000>; 5764 hysteresis = <2000>; 5765 type = "passive"; 5766 }; 5767 5768 cpu7_top_crit: cpu-crit { 5769 temperature = <110000>; 5770 hysteresis = <1000>; 5771 type = "critical"; 5772 }; 5773 }; 5774 }; 5775 5776 cpu7-middle-thermal { 5777 thermal-sensors = <&tsens0 12>; 5778 5779 trips { 5780 cpu7_middle_alert0: trip-point0 { 5781 temperature = <90000>; 5782 hysteresis = <2000>; 5783 type = "passive"; 5784 }; 5785 5786 cpu7_middle_alert1: trip-point1 { 5787 temperature = <95000>; 5788 hysteresis = <2000>; 5789 type = "passive"; 5790 }; 5791 5792 cpu7_middle_crit: cpu-crit { 5793 temperature = <110000>; 5794 hysteresis = <1000>; 5795 type = "critical"; 5796 }; 5797 }; 5798 }; 5799 5800 cpu7-bottom-thermal { 5801 thermal-sensors = <&tsens0 13>; 5802 5803 trips { 5804 cpu7_bottom_alert0: trip-point0 { 5805 temperature = <90000>; 5806 hysteresis = <2000>; 5807 type = "passive"; 5808 }; 5809 5810 cpu7_bottom_alert1: trip-point1 { 5811 temperature = <95000>; 5812 hysteresis = <2000>; 5813 type = "passive"; 5814 }; 5815 5816 cpu7_bottom_crit: cpu-crit { 5817 temperature = <110000>; 5818 hysteresis = <1000>; 5819 type = "critical"; 5820 }; 5821 }; 5822 }; 5823 5824 gpu-top-thermal { 5825 polling-delay-passive = <10>; 5826 5827 thermal-sensors = <&tsens0 14>; 5828 5829 cooling-maps { 5830 map0 { 5831 trip = <&gpu_top_alert0>; 5832 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 5833 }; 5834 }; 5835 5836 trips { 5837 gpu_top_alert0: trip-point0 { 5838 temperature = <85000>; 5839 hysteresis = <1000>; 5840 type = "passive"; 5841 }; 5842 5843 trip-point1 { 5844 temperature = <90000>; 5845 hysteresis = <1000>; 5846 type = "hot"; 5847 }; 5848 5849 trip-point2 { 5850 temperature = <110000>; 5851 hysteresis = <1000>; 5852 type = "critical"; 5853 }; 5854 }; 5855 }; 5856 5857 gpu-bottom-thermal { 5858 polling-delay-passive = <10>; 5859 5860 thermal-sensors = <&tsens0 15>; 5861 5862 cooling-maps { 5863 map0 { 5864 trip = <&gpu_bottom_alert0>; 5865 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 5866 }; 5867 }; 5868 5869 trips { 5870 gpu_bottom_alert0: trip-point0 { 5871 temperature = <85000>; 5872 hysteresis = <1000>; 5873 type = "passive"; 5874 }; 5875 5876 trip-point1 { 5877 temperature = <90000>; 5878 hysteresis = <1000>; 5879 type = "hot"; 5880 }; 5881 5882 trip-point2 { 5883 temperature = <110000>; 5884 hysteresis = <1000>; 5885 type = "critical"; 5886 }; 5887 }; 5888 }; 5889 5890 aoss1-thermal { 5891 thermal-sensors = <&tsens1 0>; 5892 5893 trips { 5894 thermal-engine-config { 5895 temperature = <125000>; 5896 hysteresis = <1000>; 5897 type = "passive"; 5898 }; 5899 5900 reset-mon-cfg { 5901 temperature = <115000>; 5902 hysteresis = <5000>; 5903 type = "passive"; 5904 }; 5905 }; 5906 }; 5907 5908 cpu0-thermal { 5909 thermal-sensors = <&tsens1 1>; 5910 5911 trips { 5912 cpu0_alert0: trip-point0 { 5913 temperature = <90000>; 5914 hysteresis = <2000>; 5915 type = "passive"; 5916 }; 5917 5918 cpu0_alert1: trip-point1 { 5919 temperature = <95000>; 5920 hysteresis = <2000>; 5921 type = "passive"; 5922 }; 5923 5924 cpu0_crit: cpu-crit { 5925 temperature = <110000>; 5926 hysteresis = <1000>; 5927 type = "critical"; 5928 }; 5929 }; 5930 }; 5931 5932 cpu1-thermal { 5933 thermal-sensors = <&tsens1 2>; 5934 5935 trips { 5936 cpu1_alert0: trip-point0 { 5937 temperature = <90000>; 5938 hysteresis = <2000>; 5939 type = "passive"; 5940 }; 5941 5942 cpu1_alert1: trip-point1 { 5943 temperature = <95000>; 5944 hysteresis = <2000>; 5945 type = "passive"; 5946 }; 5947 5948 cpu1_crit: cpu-crit { 5949 temperature = <110000>; 5950 hysteresis = <1000>; 5951 type = "critical"; 5952 }; 5953 }; 5954 }; 5955 5956 cpu2-thermal { 5957 thermal-sensors = <&tsens1 3>; 5958 5959 trips { 5960 cpu2_alert0: trip-point0 { 5961 temperature = <90000>; 5962 hysteresis = <2000>; 5963 type = "passive"; 5964 }; 5965 5966 cpu2_alert1: trip-point1 { 5967 temperature = <95000>; 5968 hysteresis = <2000>; 5969 type = "passive"; 5970 }; 5971 5972 cpu2_crit: cpu-crit { 5973 temperature = <110000>; 5974 hysteresis = <1000>; 5975 type = "critical"; 5976 }; 5977 }; 5978 }; 5979 5980 cpu3-thermal { 5981 thermal-sensors = <&tsens1 4>; 5982 5983 trips { 5984 cpu3_alert0: trip-point0 { 5985 temperature = <90000>; 5986 hysteresis = <2000>; 5987 type = "passive"; 5988 }; 5989 5990 cpu3_alert1: trip-point1 { 5991 temperature = <95000>; 5992 hysteresis = <2000>; 5993 type = "passive"; 5994 }; 5995 5996 cpu3_crit: cpu-crit { 5997 temperature = <110000>; 5998 hysteresis = <1000>; 5999 type = "critical"; 6000 }; 6001 }; 6002 }; 6003 6004 cdsp0-thermal { 6005 polling-delay-passive = <10>; 6006 6007 thermal-sensors = <&tsens1 5>; 6008 6009 trips { 6010 thermal-engine-config { 6011 temperature = <125000>; 6012 hysteresis = <1000>; 6013 type = "passive"; 6014 }; 6015 6016 thermal-hal-config { 6017 temperature = <125000>; 6018 hysteresis = <1000>; 6019 type = "passive"; 6020 }; 6021 6022 reset-mon-cfg { 6023 temperature = <115000>; 6024 hysteresis = <5000>; 6025 type = "passive"; 6026 }; 6027 6028 cdsp_0_config: junction-config { 6029 temperature = <95000>; 6030 hysteresis = <5000>; 6031 type = "passive"; 6032 }; 6033 }; 6034 }; 6035 6036 cdsp1-thermal { 6037 polling-delay-passive = <10>; 6038 6039 thermal-sensors = <&tsens1 6>; 6040 6041 trips { 6042 thermal-engine-config { 6043 temperature = <125000>; 6044 hysteresis = <1000>; 6045 type = "passive"; 6046 }; 6047 6048 thermal-hal-config { 6049 temperature = <125000>; 6050 hysteresis = <1000>; 6051 type = "passive"; 6052 }; 6053 6054 reset-mon-cfg { 6055 temperature = <115000>; 6056 hysteresis = <5000>; 6057 type = "passive"; 6058 }; 6059 6060 cdsp_1_config: junction-config { 6061 temperature = <95000>; 6062 hysteresis = <5000>; 6063 type = "passive"; 6064 }; 6065 }; 6066 }; 6067 6068 cdsp2-thermal { 6069 polling-delay-passive = <10>; 6070 6071 thermal-sensors = <&tsens1 7>; 6072 6073 trips { 6074 thermal-engine-config { 6075 temperature = <125000>; 6076 hysteresis = <1000>; 6077 type = "passive"; 6078 }; 6079 6080 thermal-hal-config { 6081 temperature = <125000>; 6082 hysteresis = <1000>; 6083 type = "passive"; 6084 }; 6085 6086 reset-mon-cfg { 6087 temperature = <115000>; 6088 hysteresis = <5000>; 6089 type = "passive"; 6090 }; 6091 6092 cdsp_2_config: junction-config { 6093 temperature = <95000>; 6094 hysteresis = <5000>; 6095 type = "passive"; 6096 }; 6097 }; 6098 }; 6099 6100 video-thermal { 6101 thermal-sensors = <&tsens1 8>; 6102 6103 trips { 6104 thermal-engine-config { 6105 temperature = <125000>; 6106 hysteresis = <1000>; 6107 type = "passive"; 6108 }; 6109 6110 reset-mon-cfg { 6111 temperature = <115000>; 6112 hysteresis = <5000>; 6113 type = "passive"; 6114 }; 6115 }; 6116 }; 6117 6118 mem-thermal { 6119 polling-delay-passive = <10>; 6120 6121 thermal-sensors = <&tsens1 9>; 6122 6123 trips { 6124 thermal-engine-config { 6125 temperature = <125000>; 6126 hysteresis = <1000>; 6127 type = "passive"; 6128 }; 6129 6130 ddr_config0: ddr0-config { 6131 temperature = <90000>; 6132 hysteresis = <5000>; 6133 type = "passive"; 6134 }; 6135 6136 reset-mon-cfg { 6137 temperature = <115000>; 6138 hysteresis = <5000>; 6139 type = "passive"; 6140 }; 6141 }; 6142 }; 6143 6144 modem0-thermal { 6145 thermal-sensors = <&tsens1 10>; 6146 6147 trips { 6148 thermal-engine-config { 6149 temperature = <125000>; 6150 hysteresis = <1000>; 6151 type = "passive"; 6152 }; 6153 6154 mdmss0_config0: mdmss0-config0 { 6155 temperature = <102000>; 6156 hysteresis = <3000>; 6157 type = "passive"; 6158 }; 6159 6160 mdmss0_config1: mdmss0-config1 { 6161 temperature = <105000>; 6162 hysteresis = <3000>; 6163 type = "passive"; 6164 }; 6165 6166 reset-mon-cfg { 6167 temperature = <115000>; 6168 hysteresis = <5000>; 6169 type = "passive"; 6170 }; 6171 }; 6172 }; 6173 6174 modem1-thermal { 6175 thermal-sensors = <&tsens1 11>; 6176 6177 trips { 6178 thermal-engine-config { 6179 temperature = <125000>; 6180 hysteresis = <1000>; 6181 type = "passive"; 6182 }; 6183 6184 mdmss1_config0: mdmss1-config0 { 6185 temperature = <102000>; 6186 hysteresis = <3000>; 6187 type = "passive"; 6188 }; 6189 6190 mdmss1_config1: mdmss1-config1 { 6191 temperature = <105000>; 6192 hysteresis = <3000>; 6193 type = "passive"; 6194 }; 6195 6196 reset-mon-cfg { 6197 temperature = <115000>; 6198 hysteresis = <5000>; 6199 type = "passive"; 6200 }; 6201 }; 6202 }; 6203 6204 modem2-thermal { 6205 thermal-sensors = <&tsens1 12>; 6206 6207 trips { 6208 thermal-engine-config { 6209 temperature = <125000>; 6210 hysteresis = <1000>; 6211 type = "passive"; 6212 }; 6213 6214 mdmss2_config0: mdmss2-config0 { 6215 temperature = <102000>; 6216 hysteresis = <3000>; 6217 type = "passive"; 6218 }; 6219 6220 mdmss2_config1: mdmss2-config1 { 6221 temperature = <105000>; 6222 hysteresis = <3000>; 6223 type = "passive"; 6224 }; 6225 6226 reset-mon-cfg { 6227 temperature = <115000>; 6228 hysteresis = <5000>; 6229 type = "passive"; 6230 }; 6231 }; 6232 }; 6233 6234 modem3-thermal { 6235 thermal-sensors = <&tsens1 13>; 6236 6237 trips { 6238 thermal-engine-config { 6239 temperature = <125000>; 6240 hysteresis = <1000>; 6241 type = "passive"; 6242 }; 6243 6244 mdmss3_config0: mdmss3-config0 { 6245 temperature = <102000>; 6246 hysteresis = <3000>; 6247 type = "passive"; 6248 }; 6249 6250 mdmss3_config1: mdmss3-config1 { 6251 temperature = <105000>; 6252 hysteresis = <3000>; 6253 type = "passive"; 6254 }; 6255 6256 reset-mon-cfg { 6257 temperature = <115000>; 6258 hysteresis = <5000>; 6259 type = "passive"; 6260 }; 6261 }; 6262 }; 6263 6264 camera0-thermal { 6265 thermal-sensors = <&tsens1 14>; 6266 6267 trips { 6268 thermal-engine-config { 6269 temperature = <125000>; 6270 hysteresis = <1000>; 6271 type = "passive"; 6272 }; 6273 6274 reset-mon-cfg { 6275 temperature = <115000>; 6276 hysteresis = <5000>; 6277 type = "passive"; 6278 }; 6279 }; 6280 }; 6281 6282 camera1-thermal { 6283 thermal-sensors = <&tsens1 15>; 6284 6285 trips { 6286 thermal-engine-config { 6287 temperature = <125000>; 6288 hysteresis = <1000>; 6289 type = "passive"; 6290 }; 6291 6292 reset-mon-cfg { 6293 temperature = <115000>; 6294 hysteresis = <5000>; 6295 type = "passive"; 6296 }; 6297 }; 6298 }; 6299 }; 6300 6301 timer { 6302 compatible = "arm,armv8-timer"; 6303 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 6304 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 6305 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, 6306 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; 6307 clock-frequency = <19200000>; 6308 }; 6309}; 6310