1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 5 */ 6 7 #include <dt-bindings/clock/qcom,dispcc-sm8250.h> 8 #include <dt-bindings/clock/qcom,gcc-sc8180x.h> 9 #include <dt-bindings/clock/qcom,gpucc-sm8150.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/interconnect/qcom,icc.h> 12 #include <dt-bindings/interconnect/qcom,osm-l3.h> 13 #include <dt-bindings/interconnect/qcom,sc8180x.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/phy/phy-qcom-qmp.h> 16 #include <dt-bindings/power/qcom-rpmpd.h> 17 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 18 #include <dt-bindings/thermal/thermal.h> 19 20 / { 21 interrupt-parent = <&intc>; 22 23 #address-cells = <2>; 24 #size-cells = <2>; 25 26 clocks { 27 xo_board_clk: xo-board { 28 compatible = "fixed-clock"; 29 #clock-cells = <0>; 30 clock-frequency = <38400000>; 31 }; 32 33 sleep_clk: sleep-clk { 34 compatible = "fixed-clock"; 35 #clock-cells = <0>; 36 clock-frequency = <32764>; 37 clock-output-names = "sleep_clk"; 38 }; 39 }; 40 41 cpus { 42 #address-cells = <2>; 43 #size-cells = <0>; 44 45 CPU0: cpu@0 { 46 device_type = "cpu"; 47 compatible = "qcom,kryo485"; 48 reg = <0x0 0x0>; 49 enable-method = "psci"; 50 capacity-dmips-mhz = <602>; 51 next-level-cache = <&L2_0>; 52 qcom,freq-domain = <&cpufreq_hw 0>; 53 operating-points-v2 = <&cpu0_opp_table>; 54 interconnects = <&gem_noc MASTER_AMPSS_M0 3 &mc_virt SLAVE_EBI_CH0 3>, 55 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 56 power-domains = <&CPU_PD0>; 57 power-domain-names = "psci"; 58 #cooling-cells = <2>; 59 clocks = <&cpufreq_hw 0>; 60 61 L2_0: l2-cache { 62 compatible = "cache"; 63 cache-level = <2>; 64 cache-unified; 65 next-level-cache = <&L3_0>; 66 L3_0: l3-cache { 67 compatible = "cache"; 68 cache-level = <3>; 69 cache-unified; 70 }; 71 }; 72 }; 73 74 CPU1: cpu@100 { 75 device_type = "cpu"; 76 compatible = "qcom,kryo485"; 77 reg = <0x0 0x100>; 78 enable-method = "psci"; 79 capacity-dmips-mhz = <602>; 80 next-level-cache = <&L2_100>; 81 qcom,freq-domain = <&cpufreq_hw 0>; 82 operating-points-v2 = <&cpu0_opp_table>; 83 interconnects = <&gem_noc MASTER_AMPSS_M0 3 &mc_virt SLAVE_EBI_CH0 3>, 84 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 85 power-domains = <&CPU_PD1>; 86 power-domain-names = "psci"; 87 #cooling-cells = <2>; 88 clocks = <&cpufreq_hw 0>; 89 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 99 CPU2: cpu@200 { 100 device_type = "cpu"; 101 compatible = "qcom,kryo485"; 102 reg = <0x0 0x200>; 103 enable-method = "psci"; 104 capacity-dmips-mhz = <602>; 105 next-level-cache = <&L2_200>; 106 qcom,freq-domain = <&cpufreq_hw 0>; 107 operating-points-v2 = <&cpu0_opp_table>; 108 interconnects = <&gem_noc MASTER_AMPSS_M0 3 &mc_virt SLAVE_EBI_CH0 3>, 109 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 110 power-domains = <&CPU_PD2>; 111 power-domain-names = "psci"; 112 #cooling-cells = <2>; 113 clocks = <&cpufreq_hw 0>; 114 115 L2_200: l2-cache { 116 compatible = "cache"; 117 cache-level = <2>; 118 cache-unified; 119 next-level-cache = <&L3_0>; 120 }; 121 }; 122 123 CPU3: cpu@300 { 124 device_type = "cpu"; 125 compatible = "qcom,kryo485"; 126 reg = <0x0 0x300>; 127 enable-method = "psci"; 128 capacity-dmips-mhz = <602>; 129 next-level-cache = <&L2_300>; 130 qcom,freq-domain = <&cpufreq_hw 0>; 131 operating-points-v2 = <&cpu0_opp_table>; 132 interconnects = <&gem_noc MASTER_AMPSS_M0 3 &mc_virt SLAVE_EBI_CH0 3>, 133 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 134 power-domains = <&CPU_PD3>; 135 power-domain-names = "psci"; 136 #cooling-cells = <2>; 137 clocks = <&cpufreq_hw 0>; 138 139 L2_300: l2-cache { 140 compatible = "cache"; 141 cache-unified; 142 cache-level = <2>; 143 next-level-cache = <&L3_0>; 144 }; 145 }; 146 147 CPU4: cpu@400 { 148 device_type = "cpu"; 149 compatible = "qcom,kryo485"; 150 reg = <0x0 0x400>; 151 enable-method = "psci"; 152 capacity-dmips-mhz = <1024>; 153 next-level-cache = <&L2_400>; 154 qcom,freq-domain = <&cpufreq_hw 1>; 155 operating-points-v2 = <&cpu4_opp_table>; 156 interconnects = <&gem_noc MASTER_AMPSS_M0 3 &mc_virt SLAVE_EBI_CH0 3>, 157 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 158 power-domains = <&CPU_PD4>; 159 power-domain-names = "psci"; 160 #cooling-cells = <2>; 161 clocks = <&cpufreq_hw 1>; 162 163 L2_400: l2-cache { 164 compatible = "cache"; 165 cache-unified; 166 cache-level = <2>; 167 next-level-cache = <&L3_0>; 168 }; 169 }; 170 171 CPU5: cpu@500 { 172 device_type = "cpu"; 173 compatible = "qcom,kryo485"; 174 reg = <0x0 0x500>; 175 enable-method = "psci"; 176 capacity-dmips-mhz = <1024>; 177 next-level-cache = <&L2_500>; 178 qcom,freq-domain = <&cpufreq_hw 1>; 179 operating-points-v2 = <&cpu4_opp_table>; 180 interconnects = <&gem_noc MASTER_AMPSS_M0 3 &mc_virt SLAVE_EBI_CH0 3>, 181 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 182 power-domains = <&CPU_PD5>; 183 power-domain-names = "psci"; 184 #cooling-cells = <2>; 185 clocks = <&cpufreq_hw 1>; 186 187 L2_500: l2-cache { 188 compatible = "cache"; 189 cache-unified; 190 cache-level = <2>; 191 next-level-cache = <&L3_0>; 192 }; 193 }; 194 195 CPU6: cpu@600 { 196 device_type = "cpu"; 197 compatible = "qcom,kryo485"; 198 reg = <0x0 0x600>; 199 enable-method = "psci"; 200 capacity-dmips-mhz = <1024>; 201 next-level-cache = <&L2_600>; 202 qcom,freq-domain = <&cpufreq_hw 1>; 203 operating-points-v2 = <&cpu4_opp_table>; 204 interconnects = <&gem_noc MASTER_AMPSS_M0 3 &mc_virt SLAVE_EBI_CH0 3>, 205 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 206 power-domains = <&CPU_PD6>; 207 power-domain-names = "psci"; 208 #cooling-cells = <2>; 209 clocks = <&cpufreq_hw 1>; 210 211 L2_600: l2-cache { 212 compatible = "cache"; 213 cache-unified; 214 cache-level = <2>; 215 next-level-cache = <&L3_0>; 216 }; 217 }; 218 219 CPU7: cpu@700 { 220 device_type = "cpu"; 221 compatible = "qcom,kryo485"; 222 reg = <0x0 0x700>; 223 enable-method = "psci"; 224 capacity-dmips-mhz = <1024>; 225 next-level-cache = <&L2_700>; 226 qcom,freq-domain = <&cpufreq_hw 1>; 227 operating-points-v2 = <&cpu4_opp_table>; 228 interconnects = <&gem_noc MASTER_AMPSS_M0 3 &mc_virt SLAVE_EBI_CH0 3>, 229 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 230 power-domains = <&CPU_PD7>; 231 power-domain-names = "psci"; 232 #cooling-cells = <2>; 233 clocks = <&cpufreq_hw 1>; 234 235 L2_700: l2-cache { 236 compatible = "cache"; 237 cache-unified; 238 cache-level = <2>; 239 next-level-cache = <&L3_0>; 240 }; 241 }; 242 243 cpu-map { 244 cluster0 { 245 core0 { 246 cpu = <&CPU0>; 247 }; 248 249 core1 { 250 cpu = <&CPU1>; 251 }; 252 253 core2 { 254 cpu = <&CPU2>; 255 }; 256 257 core3 { 258 cpu = <&CPU3>; 259 }; 260 261 core4 { 262 cpu = <&CPU4>; 263 }; 264 265 core5 { 266 cpu = <&CPU5>; 267 }; 268 269 core6 { 270 cpu = <&CPU6>; 271 }; 272 273 core7 { 274 cpu = <&CPU7>; 275 }; 276 }; 277 }; 278 279 idle-states { 280 entry-method = "psci"; 281 282 LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { 283 compatible = "arm,idle-state"; 284 arm,psci-suspend-param = <0x40000004>; 285 entry-latency-us = <355>; 286 exit-latency-us = <909>; 287 min-residency-us = <3934>; 288 local-timer-stop; 289 }; 290 291 BIG_CPU_SLEEP_0: cpu-sleep-1-0 { 292 compatible = "arm,idle-state"; 293 arm,psci-suspend-param = <0x40000004>; 294 entry-latency-us = <2411>; 295 exit-latency-us = <1461>; 296 min-residency-us = <4488>; 297 local-timer-stop; 298 }; 299 }; 300 301 domain-idle-states { 302 CLUSTER_SLEEP_APSS_OFF: cluster-sleep-0 { 303 compatible = "domain-idle-state"; 304 arm,psci-suspend-param = <0x41000044>; 305 entry-latency-us = <3300>; 306 exit-latency-us = <3300>; 307 min-residency-us = <6000>; 308 }; 309 310 CLUSTER_SLEEP_AOSS_SLEEP: cluster-sleep-1 { 311 compatible = "domain-idle-state"; 312 arm,psci-suspend-param = <0x4100a344>; 313 entry-latency-us = <3263>; 314 exit-latency-us = <6562>; 315 min-residency-us = <9987>; 316 }; 317 }; 318 }; 319 320 cpu0_opp_table: opp-table-cpu0 { 321 compatible = "operating-points-v2"; 322 opp-shared; 323 324 opp-300000000 { 325 opp-hz = /bits/ 64 <300000000>; 326 opp-peak-kBps = <800000 9600000>; 327 }; 328 329 opp-422400000 { 330 opp-hz = /bits/ 64 <422400000>; 331 opp-peak-kBps = <800000 9600000>; 332 }; 333 334 opp-537600000 { 335 opp-hz = /bits/ 64 <537600000>; 336 opp-peak-kBps = <800000 12902400>; 337 }; 338 339 opp-652800000 { 340 opp-hz = /bits/ 64 <652800000>; 341 opp-peak-kBps = <800000 12902400>; 342 }; 343 344 opp-768000000 { 345 opp-hz = /bits/ 64 <768000000>; 346 opp-peak-kBps = <800000 15974400>; 347 }; 348 349 opp-883200000 { 350 opp-hz = /bits/ 64 <883200000>; 351 opp-peak-kBps = <1804000 19660800>; 352 }; 353 354 opp-998400000 { 355 opp-hz = /bits/ 64 <998400000>; 356 opp-peak-kBps = <1804000 19660800>; 357 }; 358 359 opp-1113600000 { 360 opp-hz = /bits/ 64 <1113600000>; 361 opp-peak-kBps = <1804000 22732800>; 362 }; 363 364 opp-1228800000 { 365 opp-hz = /bits/ 64 <1228800000>; 366 opp-peak-kBps = <1804000 22732800>; 367 }; 368 369 opp-1363200000 { 370 opp-hz = /bits/ 64 <1363200000>; 371 opp-peak-kBps = <2188000 25804800>; 372 }; 373 374 opp-1478400000 { 375 opp-hz = /bits/ 64 <1478400000>; 376 opp-peak-kBps = <2188000 31948800>; 377 }; 378 379 opp-1574400000 { 380 opp-hz = /bits/ 64 <1574400000>; 381 opp-peak-kBps = <3072000 31948800>; 382 }; 383 384 opp-1670400000 { 385 opp-hz = /bits/ 64 <1670400000>; 386 opp-peak-kBps = <3072000 31948800>; 387 }; 388 389 opp-1766400000 { 390 opp-hz = /bits/ 64 <1766400000>; 391 opp-peak-kBps = <3072000 31948800>; 392 }; 393 }; 394 395 cpu4_opp_table: opp-table-cpu4 { 396 compatible = "operating-points-v2"; 397 opp-shared; 398 399 opp-825600000 { 400 opp-hz = /bits/ 64 <825600000>; 401 opp-peak-kBps = <1804000 15974400>; 402 }; 403 404 opp-940800000 { 405 opp-hz = /bits/ 64 <940800000>; 406 opp-peak-kBps = <2188000 19660800>; 407 }; 408 409 opp-1056000000 { 410 opp-hz = /bits/ 64 <1056000000>; 411 opp-peak-kBps = <2188000 22732800>; 412 }; 413 414 opp-1171200000 { 415 opp-hz = /bits/ 64 <1171200000>; 416 opp-peak-kBps = <3072000 25804800>; 417 }; 418 419 opp-1286400000 { 420 opp-hz = /bits/ 64 <1286400000>; 421 opp-peak-kBps = <3072000 31948800>; 422 }; 423 424 opp-1420800000 { 425 opp-hz = /bits/ 64 <1420800000>; 426 opp-peak-kBps = <4068000 31948800>; 427 }; 428 429 opp-1536000000 { 430 opp-hz = /bits/ 64 <1536000000>; 431 opp-peak-kBps = <4068000 31948800>; 432 }; 433 434 opp-1651200000 { 435 opp-hz = /bits/ 64 <1651200000>; 436 opp-peak-kBps = <4068000 40550400>; 437 }; 438 439 opp-1766400000 { 440 opp-hz = /bits/ 64 <1766400000>; 441 opp-peak-kBps = <4068000 40550400>; 442 }; 443 444 opp-1881600000 { 445 opp-hz = /bits/ 64 <1881600000>; 446 opp-peak-kBps = <4068000 43008000>; 447 }; 448 449 opp-1996800000 { 450 opp-hz = /bits/ 64 <1996800000>; 451 opp-peak-kBps = <6220000 43008000>; 452 }; 453 454 opp-2131200000 { 455 opp-hz = /bits/ 64 <2131200000>; 456 opp-peak-kBps = <6220000 49152000>; 457 }; 458 459 opp-2246400000 { 460 opp-hz = /bits/ 64 <2246400000>; 461 opp-peak-kBps = <7216000 49152000>; 462 }; 463 464 opp-2361600000 { 465 opp-hz = /bits/ 64 <2361600000>; 466 opp-peak-kBps = <8368000 49152000>; 467 }; 468 469 opp-2457600000 { 470 opp-hz = /bits/ 64 <2457600000>; 471 opp-peak-kBps = <8368000 51609600>; 472 }; 473 474 opp-2553600000 { 475 opp-hz = /bits/ 64 <2553600000>; 476 opp-peak-kBps = <8368000 51609600>; 477 }; 478 479 opp-2649600000 { 480 opp-hz = /bits/ 64 <2649600000>; 481 opp-peak-kBps = <8368000 51609600>; 482 }; 483 484 opp-2745600000 { 485 opp-hz = /bits/ 64 <2745600000>; 486 opp-peak-kBps = <8368000 51609600>; 487 }; 488 489 opp-2841600000 { 490 opp-hz = /bits/ 64 <2841600000>; 491 opp-peak-kBps = <8368000 51609600>; 492 }; 493 494 opp-2918400000 { 495 opp-hz = /bits/ 64 <2918400000>; 496 opp-peak-kBps = <8368000 51609600>; 497 }; 498 499 opp-2995200000 { 500 opp-hz = /bits/ 64 <2995200000>; 501 opp-peak-kBps = <8368000 51609600>; 502 }; 503 }; 504 505 firmware { 506 scm: scm { 507 compatible = "qcom,scm-sc8180x", "qcom,scm"; 508 }; 509 }; 510 511 camnoc_virt: interconnect-camnoc-virt { 512 compatible = "qcom,sc8180x-camnoc-virt"; 513 #interconnect-cells = <2>; 514 qcom,bcm-voters = <&apps_bcm_voter>; 515 }; 516 517 mc_virt: interconnect-mc-virt { 518 compatible = "qcom,sc8180x-mc-virt"; 519 #interconnect-cells = <2>; 520 qcom,bcm-voters = <&apps_bcm_voter>; 521 }; 522 523 qup_virt: interconnect-qup-virt { 524 compatible = "qcom,sc8180x-qup-virt"; 525 #interconnect-cells = <2>; 526 qcom,bcm-voters = <&apps_bcm_voter>; 527 }; 528 529 memory@80000000 { 530 device_type = "memory"; 531 /* We expect the bootloader to fill in the size */ 532 reg = <0x0 0x80000000 0x0 0x0>; 533 }; 534 535 pmu { 536 compatible = "arm,armv8-pmuv3"; 537 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>; 538 }; 539 540 psci { 541 compatible = "arm,psci-1.0"; 542 method = "smc"; 543 544 CPU_PD0: power-domain-cpu0 { 545 #power-domain-cells = <0>; 546 power-domains = <&CLUSTER_PD>; 547 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 548 }; 549 550 CPU_PD1: power-domain-cpu1 { 551 #power-domain-cells = <0>; 552 power-domains = <&CLUSTER_PD>; 553 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 554 }; 555 556 CPU_PD2: power-domain-cpu2 { 557 #power-domain-cells = <0>; 558 power-domains = <&CLUSTER_PD>; 559 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 560 }; 561 562 CPU_PD3: power-domain-cpu3 { 563 #power-domain-cells = <0>; 564 power-domains = <&CLUSTER_PD>; 565 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 566 }; 567 568 CPU_PD4: power-domain-cpu4 { 569 #power-domain-cells = <0>; 570 power-domains = <&CLUSTER_PD>; 571 domain-idle-states = <&BIG_CPU_SLEEP_0>; 572 }; 573 574 CPU_PD5: power-domain-cpu5 { 575 #power-domain-cells = <0>; 576 power-domains = <&CLUSTER_PD>; 577 domain-idle-states = <&BIG_CPU_SLEEP_0>; 578 }; 579 580 CPU_PD6: power-domain-cpu6 { 581 #power-domain-cells = <0>; 582 power-domains = <&CLUSTER_PD>; 583 domain-idle-states = <&BIG_CPU_SLEEP_0>; 584 }; 585 586 CPU_PD7: power-domain-cpu7 { 587 #power-domain-cells = <0>; 588 power-domains = <&CLUSTER_PD>; 589 domain-idle-states = <&BIG_CPU_SLEEP_0>; 590 }; 591 592 CLUSTER_PD: power-domain-cpu-cluster0 { 593 #power-domain-cells = <0>; 594 domain-idle-states = <&CLUSTER_SLEEP_APSS_OFF &CLUSTER_SLEEP_AOSS_SLEEP>; 595 }; 596 }; 597 598 reserved-memory { 599 #address-cells = <2>; 600 #size-cells = <2>; 601 ranges; 602 603 hyp_mem: hyp@85700000 { 604 reg = <0x0 0x85700000 0x0 0x600000>; 605 no-map; 606 }; 607 608 xbl_mem: xbl@85d00000 { 609 reg = <0x0 0x85d00000 0x0 0x140000>; 610 no-map; 611 }; 612 613 aop_mem: aop@85f00000 { 614 reg = <0x0 0x85f00000 0x0 0x20000>; 615 no-map; 616 }; 617 618 aop_cmd_db: cmd-db@85f20000 { 619 compatible = "qcom,cmd-db"; 620 reg = <0x0 0x85f20000 0x0 0x20000>; 621 no-map; 622 }; 623 624 reserved@85f40000 { 625 reg = <0x0 0x85f40000 0x0 0x10000>; 626 no-map; 627 }; 628 629 smem_mem: smem@86000000 { 630 compatible = "qcom,smem"; 631 reg = <0x0 0x86000000 0x0 0x200000>; 632 no-map; 633 hwlocks = <&tcsr_mutex 3>; 634 }; 635 636 reserved@86200000 { 637 reg = <0x0 0x86200000 0x0 0x3900000>; 638 no-map; 639 }; 640 641 reserved@89b00000 { 642 reg = <0x0 0x89b00000 0x0 0x1c00000>; 643 no-map; 644 }; 645 646 reserved@9d400000 { 647 reg = <0x0 0x9d400000 0x0 0x1000000>; 648 no-map; 649 }; 650 651 reserved@9e400000 { 652 reg = <0x0 0x9e400000 0x0 0x1400000>; 653 no-map; 654 }; 655 656 reserved@9f800000 { 657 reg = <0x0 0x9f800000 0x0 0x800000>; 658 no-map; 659 }; 660 }; 661 662 smp2p-cdsp { 663 compatible = "qcom,smp2p"; 664 qcom,smem = <94>, <432>; 665 666 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>; 667 668 mboxes = <&apss_shared 6>; 669 670 qcom,local-pid = <0>; 671 qcom,remote-pid = <5>; 672 673 cdsp_smp2p_out: master-kernel { 674 qcom,entry-name = "master-kernel"; 675 #qcom,smem-state-cells = <1>; 676 }; 677 678 cdsp_smp2p_in: slave-kernel { 679 qcom,entry-name = "slave-kernel"; 680 681 interrupt-controller; 682 #interrupt-cells = <2>; 683 }; 684 }; 685 686 smp2p-lpass { 687 compatible = "qcom,smp2p"; 688 qcom,smem = <443>, <429>; 689 690 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>; 691 692 mboxes = <&apss_shared 10>; 693 694 qcom,local-pid = <0>; 695 qcom,remote-pid = <2>; 696 697 adsp_smp2p_out: master-kernel { 698 qcom,entry-name = "master-kernel"; 699 #qcom,smem-state-cells = <1>; 700 }; 701 702 adsp_smp2p_in: slave-kernel { 703 qcom,entry-name = "slave-kernel"; 704 705 interrupt-controller; 706 #interrupt-cells = <2>; 707 }; 708 }; 709 710 smp2p-mpss { 711 compatible = "qcom,smp2p"; 712 qcom,smem = <435>, <428>; 713 714 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>; 715 716 mboxes = <&apss_shared 14>; 717 718 qcom,local-pid = <0>; 719 qcom,remote-pid = <1>; 720 721 modem_smp2p_out: master-kernel { 722 qcom,entry-name = "master-kernel"; 723 #qcom,smem-state-cells = <1>; 724 }; 725 726 modem_smp2p_in: slave-kernel { 727 qcom,entry-name = "slave-kernel"; 728 729 interrupt-controller; 730 #interrupt-cells = <2>; 731 }; 732 733 modem_smp2p_ipa_out: ipa-ap-to-modem { 734 qcom,entry-name = "ipa"; 735 #qcom,smem-state-cells = <1>; 736 }; 737 738 modem_smp2p_ipa_in: ipa-modem-to-ap { 739 qcom,entry-name = "ipa"; 740 interrupt-controller; 741 #interrupt-cells = <2>; 742 }; 743 744 modem_smp2p_wlan_in: wlan-wpss-to-ap { 745 qcom,entry-name = "wlan"; 746 interrupt-controller; 747 #interrupt-cells = <2>; 748 }; 749 }; 750 751 smp2p-slpi { 752 compatible = "qcom,smp2p"; 753 qcom,smem = <481>, <430>; 754 755 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>; 756 757 mboxes = <&apss_shared 26>; 758 759 qcom,local-pid = <0>; 760 qcom,remote-pid = <3>; 761 762 slpi_smp2p_out: master-kernel { 763 qcom,entry-name = "master-kernel"; 764 #qcom,smem-state-cells = <1>; 765 }; 766 767 slpi_smp2p_in: slave-kernel { 768 qcom,entry-name = "slave-kernel"; 769 770 interrupt-controller; 771 #interrupt-cells = <2>; 772 }; 773 }; 774 775 soc: soc@0 { 776 compatible = "simple-bus"; 777 #address-cells = <2>; 778 #size-cells = <2>; 779 ranges = <0 0 0 0 0x10 0>; 780 dma-ranges = <0 0 0 0 0x10 0>; 781 782 gcc: clock-controller@100000 { 783 compatible = "qcom,gcc-sc8180x"; 784 reg = <0x0 0x00100000 0x0 0x1f0000>; 785 #clock-cells = <1>; 786 #reset-cells = <1>; 787 #power-domain-cells = <1>; 788 clocks = <&rpmhcc RPMH_CXO_CLK>, 789 <&rpmhcc RPMH_CXO_CLK_A>, 790 <&sleep_clk>; 791 clock-names = "bi_tcxo", 792 "bi_tcxo_ao", 793 "sleep_clk"; 794 power-domains = <&rpmhpd SC8180X_CX>; 795 }; 796 797 qupv3_id_0: geniqup@8c0000 { 798 compatible = "qcom,geni-se-qup"; 799 reg = <0 0x008c0000 0 0x6000>; 800 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 801 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 802 clock-names = "m-ahb", "s-ahb"; 803 #address-cells = <2>; 804 #size-cells = <2>; 805 ranges; 806 iommus = <&apps_smmu 0x4c3 0>; 807 status = "disabled"; 808 809 i2c0: i2c@880000 { 810 compatible = "qcom,geni-i2c"; 811 reg = <0 0x00880000 0 0x4000>; 812 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 813 clock-names = "se"; 814 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 815 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 816 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 817 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>; 818 interconnect-names = "qup-core", "qup-config", "qup-memory"; 819 #address-cells = <1>; 820 #size-cells = <0>; 821 status = "disabled"; 822 }; 823 824 spi0: spi@880000 { 825 compatible = "qcom,geni-spi"; 826 reg = <0 0x00880000 0 0x4000>; 827 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 828 clock-names = "se"; 829 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 830 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 831 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 832 interconnect-names = "qup-core", "qup-config"; 833 #address-cells = <1>; 834 #size-cells = <0>; 835 status = "disabled"; 836 }; 837 838 uart0: serial@880000 { 839 compatible = "qcom,geni-uart"; 840 reg = <0 0x00880000 0 0x4000>; 841 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 842 clock-names = "se"; 843 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 844 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 845 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 846 interconnect-names = "qup-core", "qup-config"; 847 status = "disabled"; 848 }; 849 850 i2c1: i2c@884000 { 851 compatible = "qcom,geni-i2c"; 852 reg = <0 0x00884000 0 0x4000>; 853 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 854 clock-names = "se"; 855 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 856 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 857 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 858 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>; 859 interconnect-names = "qup-core", "qup-config", "qup-memory"; 860 #address-cells = <1>; 861 #size-cells = <0>; 862 status = "disabled"; 863 }; 864 865 spi1: spi@884000 { 866 compatible = "qcom,geni-spi"; 867 reg = <0 0x00884000 0 0x4000>; 868 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 869 clock-names = "se"; 870 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 871 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 872 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 873 interconnect-names = "qup-core", "qup-config"; 874 #address-cells = <1>; 875 #size-cells = <0>; 876 status = "disabled"; 877 }; 878 879 uart1: serial@884000 { 880 compatible = "qcom,geni-uart"; 881 reg = <0 0x00884000 0 0x4000>; 882 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 883 clock-names = "se"; 884 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 885 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 886 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 887 interconnect-names = "qup-core", "qup-config"; 888 status = "disabled"; 889 }; 890 891 i2c2: i2c@888000 { 892 compatible = "qcom,geni-i2c"; 893 reg = <0 0x00888000 0 0x4000>; 894 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 895 clock-names = "se"; 896 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 897 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 898 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 899 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>; 900 interconnect-names = "qup-core", "qup-config", "qup-memory"; 901 #address-cells = <1>; 902 #size-cells = <0>; 903 status = "disabled"; 904 }; 905 906 spi2: spi@888000 { 907 compatible = "qcom,geni-spi"; 908 reg = <0 0x00888000 0 0x4000>; 909 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 910 clock-names = "se"; 911 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 912 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 913 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 914 interconnect-names = "qup-core", "qup-config"; 915 #address-cells = <1>; 916 #size-cells = <0>; 917 status = "disabled"; 918 }; 919 920 uart2: serial@888000 { 921 compatible = "qcom,geni-uart"; 922 reg = <0 0x00888000 0 0x4000>; 923 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 924 clock-names = "se"; 925 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 926 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 927 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 928 interconnect-names = "qup-core", "qup-config"; 929 status = "disabled"; 930 }; 931 932 i2c3: i2c@88c000 { 933 compatible = "qcom,geni-i2c"; 934 reg = <0 0x0088c000 0 0x4000>; 935 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 936 clock-names = "se"; 937 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 938 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 939 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 940 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>; 941 interconnect-names = "qup-core", "qup-config", "qup-memory"; 942 #address-cells = <1>; 943 #size-cells = <0>; 944 status = "disabled"; 945 }; 946 947 spi3: spi@88c000 { 948 compatible = "qcom,geni-spi"; 949 reg = <0 0x0088c000 0 0x4000>; 950 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 951 clock-names = "se"; 952 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 953 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 954 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 955 interconnect-names = "qup-core", "qup-config"; 956 #address-cells = <1>; 957 #size-cells = <0>; 958 status = "disabled"; 959 }; 960 961 uart3: serial@88c000 { 962 compatible = "qcom,geni-uart"; 963 reg = <0 0x0088c000 0 0x4000>; 964 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 965 clock-names = "se"; 966 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 967 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 968 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 969 interconnect-names = "qup-core", "qup-config"; 970 status = "disabled"; 971 }; 972 973 i2c4: i2c@890000 { 974 compatible = "qcom,geni-i2c"; 975 reg = <0 0x00890000 0 0x4000>; 976 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 977 clock-names = "se"; 978 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 979 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 980 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 981 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>; 982 interconnect-names = "qup-core", "qup-config", "qup-memory"; 983 #address-cells = <1>; 984 #size-cells = <0>; 985 status = "disabled"; 986 }; 987 988 spi4: spi@890000 { 989 compatible = "qcom,geni-spi"; 990 reg = <0 0x00890000 0 0x4000>; 991 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 992 clock-names = "se"; 993 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 994 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 995 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 996 interconnect-names = "qup-core", "qup-config"; 997 #address-cells = <1>; 998 #size-cells = <0>; 999 status = "disabled"; 1000 }; 1001 1002 uart4: serial@890000 { 1003 compatible = "qcom,geni-uart"; 1004 reg = <0 0x00890000 0 0x4000>; 1005 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1006 clock-names = "se"; 1007 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 1008 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1009 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 1010 interconnect-names = "qup-core", "qup-config"; 1011 status = "disabled"; 1012 }; 1013 1014 i2c5: i2c@894000 { 1015 compatible = "qcom,geni-i2c"; 1016 reg = <0 0x00894000 0 0x4000>; 1017 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1018 clock-names = "se"; 1019 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1020 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1021 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 1022 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>; 1023 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1024 #address-cells = <1>; 1025 #size-cells = <0>; 1026 status = "disabled"; 1027 }; 1028 1029 spi5: spi@894000 { 1030 compatible = "qcom,geni-spi"; 1031 reg = <0 0x00894000 0 0x4000>; 1032 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1033 clock-names = "se"; 1034 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1035 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1036 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 1037 interconnect-names = "qup-core", "qup-config"; 1038 #address-cells = <1>; 1039 #size-cells = <0>; 1040 status = "disabled"; 1041 }; 1042 1043 uart5: serial@894000 { 1044 compatible = "qcom,geni-uart"; 1045 reg = <0 0x00894000 0 0x4000>; 1046 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1047 clock-names = "se"; 1048 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1049 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1050 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 1051 interconnect-names = "qup-core", "qup-config"; 1052 status = "disabled"; 1053 }; 1054 1055 i2c6: i2c@898000 { 1056 compatible = "qcom,geni-i2c"; 1057 reg = <0 0x00898000 0 0x4000>; 1058 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1059 clock-names = "se"; 1060 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1061 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1062 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 1063 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>; 1064 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1065 #address-cells = <1>; 1066 #size-cells = <0>; 1067 status = "disabled"; 1068 }; 1069 1070 spi6: spi@898000 { 1071 compatible = "qcom,geni-spi"; 1072 reg = <0 0x00898000 0 0x4000>; 1073 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1074 clock-names = "se"; 1075 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1076 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1077 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 1078 interconnect-names = "qup-core", "qup-config"; 1079 #address-cells = <1>; 1080 #size-cells = <0>; 1081 status = "disabled"; 1082 }; 1083 1084 uart6: serial@898000 { 1085 compatible = "qcom,geni-uart"; 1086 reg = <0 0x00898000 0 0x4000>; 1087 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1088 clock-names = "se"; 1089 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1090 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1091 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 1092 interconnect-names = "qup-core", "qup-config"; 1093 status = "disabled"; 1094 }; 1095 1096 i2c7: i2c@89c000 { 1097 compatible = "qcom,geni-i2c"; 1098 reg = <0 0x0089c000 0 0x4000>; 1099 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 1100 clock-names = "se"; 1101 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 1102 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1103 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, 1104 <&aggre2_noc MASTER_QUP_0 0 &mc_virt SLAVE_EBI_CH0 0>; 1105 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1106 #address-cells = <1>; 1107 #size-cells = <0>; 1108 status = "disabled"; 1109 }; 1110 1111 spi7: spi@89c000 { 1112 compatible = "qcom,geni-spi"; 1113 reg = <0 0x0089c000 0 0x4000>; 1114 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 1115 clock-names = "se"; 1116 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 1117 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1118 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 1119 interconnect-names = "qup-core", "qup-config"; 1120 #address-cells = <1>; 1121 #size-cells = <0>; 1122 status = "disabled"; 1123 }; 1124 1125 uart7: serial@89c000 { 1126 compatible = "qcom,geni-uart"; 1127 reg = <0 0x0089c000 0 0x4000>; 1128 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 1129 clock-names = "se"; 1130 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 1131 interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>, 1132 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; 1133 interconnect-names = "qup-core", "qup-config"; 1134 status = "disabled"; 1135 }; 1136 }; 1137 1138 qupv3_id_1: geniqup@ac0000 { 1139 compatible = "qcom,geni-se-qup"; 1140 reg = <0x0 0x00ac0000 0x0 0x6000>; 1141 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, 1142 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; 1143 clock-names = "m-ahb", "s-ahb"; 1144 #address-cells = <2>; 1145 #size-cells = <2>; 1146 ranges; 1147 iommus = <&apps_smmu 0x603 0>; 1148 status = "disabled"; 1149 1150 i2c8: i2c@a80000 { 1151 compatible = "qcom,geni-i2c"; 1152 reg = <0 0x00a80000 0 0x4000>; 1153 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1154 clock-names = "se"; 1155 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1156 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1157 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, 1158 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>; 1159 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1160 #address-cells = <1>; 1161 #size-cells = <0>; 1162 status = "disabled"; 1163 }; 1164 1165 spi8: spi@a80000 { 1166 compatible = "qcom,geni-spi"; 1167 reg = <0 0x00a80000 0 0x4000>; 1168 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1169 clock-names = "se"; 1170 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1171 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1172 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1173 interconnect-names = "qup-core", "qup-config"; 1174 #address-cells = <1>; 1175 #size-cells = <0>; 1176 status = "disabled"; 1177 }; 1178 1179 uart8: serial@a80000 { 1180 compatible = "qcom,geni-uart"; 1181 reg = <0 0x00a80000 0 0x4000>; 1182 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1183 clock-names = "se"; 1184 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1185 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1186 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1187 interconnect-names = "qup-core", "qup-config"; 1188 status = "disabled"; 1189 }; 1190 1191 i2c9: i2c@a84000 { 1192 compatible = "qcom,geni-i2c"; 1193 reg = <0 0x00a84000 0 0x4000>; 1194 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1195 clock-names = "se"; 1196 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1197 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1198 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, 1199 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>; 1200 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1201 #address-cells = <1>; 1202 #size-cells = <0>; 1203 status = "disabled"; 1204 }; 1205 1206 spi9: spi@a84000 { 1207 compatible = "qcom,geni-spi"; 1208 reg = <0 0x00a84000 0 0x4000>; 1209 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1210 clock-names = "se"; 1211 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1212 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1213 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1214 interconnect-names = "qup-core", "qup-config"; 1215 #address-cells = <1>; 1216 #size-cells = <0>; 1217 status = "disabled"; 1218 }; 1219 1220 uart9: serial@a84000 { 1221 compatible = "qcom,geni-debug-uart"; 1222 reg = <0 0x00a84000 0 0x4000>; 1223 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1224 clock-names = "se"; 1225 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1226 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1227 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1228 interconnect-names = "qup-core", "qup-config"; 1229 status = "disabled"; 1230 }; 1231 1232 i2c10: i2c@a88000 { 1233 compatible = "qcom,geni-i2c"; 1234 reg = <0 0x00a88000 0 0x4000>; 1235 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1236 clock-names = "se"; 1237 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1238 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1239 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, 1240 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>; 1241 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1242 #address-cells = <1>; 1243 #size-cells = <0>; 1244 status = "disabled"; 1245 }; 1246 1247 spi10: spi@a88000 { 1248 compatible = "qcom,geni-spi"; 1249 reg = <0 0x00a88000 0 0x4000>; 1250 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1251 clock-names = "se"; 1252 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1253 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1254 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1255 interconnect-names = "qup-core", "qup-config"; 1256 #address-cells = <1>; 1257 #size-cells = <0>; 1258 status = "disabled"; 1259 }; 1260 1261 uart10: serial@a88000 { 1262 compatible = "qcom,geni-uart"; 1263 reg = <0 0x00a88000 0 0x4000>; 1264 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1265 clock-names = "se"; 1266 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1267 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1268 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1269 interconnect-names = "qup-core", "qup-config"; 1270 status = "disabled"; 1271 }; 1272 1273 i2c11: i2c@a8c000 { 1274 compatible = "qcom,geni-i2c"; 1275 reg = <0 0x00a8c000 0 0x4000>; 1276 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1277 clock-names = "se"; 1278 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1279 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1280 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, 1281 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>; 1282 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1283 #address-cells = <1>; 1284 #size-cells = <0>; 1285 status = "disabled"; 1286 }; 1287 1288 spi11: spi@a8c000 { 1289 compatible = "qcom,geni-spi"; 1290 reg = <0 0x00a8c000 0 0x4000>; 1291 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1292 clock-names = "se"; 1293 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1294 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1295 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1296 interconnect-names = "qup-core", "qup-config"; 1297 #address-cells = <1>; 1298 #size-cells = <0>; 1299 status = "disabled"; 1300 }; 1301 1302 uart11: serial@a8c000 { 1303 compatible = "qcom,geni-uart"; 1304 reg = <0 0x00a8c000 0 0x4000>; 1305 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1306 clock-names = "se"; 1307 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1308 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1309 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1310 interconnect-names = "qup-core", "qup-config"; 1311 status = "disabled"; 1312 }; 1313 1314 i2c12: i2c@a90000 { 1315 compatible = "qcom,geni-i2c"; 1316 reg = <0 0x00a90000 0 0x4000>; 1317 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1318 clock-names = "se"; 1319 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1320 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1321 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, 1322 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>; 1323 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1324 #address-cells = <1>; 1325 #size-cells = <0>; 1326 status = "disabled"; 1327 }; 1328 1329 spi12: spi@a90000 { 1330 compatible = "qcom,geni-spi"; 1331 reg = <0 0x00a90000 0 0x4000>; 1332 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1333 clock-names = "se"; 1334 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1335 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1336 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1337 interconnect-names = "qup-core", "qup-config"; 1338 #address-cells = <1>; 1339 #size-cells = <0>; 1340 status = "disabled"; 1341 }; 1342 1343 uart12: serial@a90000 { 1344 compatible = "qcom,geni-uart"; 1345 reg = <0 0x00a90000 0 0x4000>; 1346 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1347 clock-names = "se"; 1348 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1349 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1350 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1351 interconnect-names = "qup-core", "qup-config"; 1352 status = "disabled"; 1353 }; 1354 1355 i2c16: i2c@a94000 { 1356 compatible = "qcom,geni-i2c"; 1357 reg = <0 0x00a94000 0 0x4000>; 1358 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 1359 clock-names = "se"; 1360 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1361 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1362 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, 1363 <&aggre2_noc MASTER_QUP_1 0 &mc_virt SLAVE_EBI_CH0 0>; 1364 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1365 #address-cells = <1>; 1366 #size-cells = <0>; 1367 status = "disabled"; 1368 }; 1369 1370 spi16: spi@a94000 { 1371 compatible = "qcom,geni-spi"; 1372 reg = <0 0x00a94000 0 0x4000>; 1373 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 1374 clock-names = "se"; 1375 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1376 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1377 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1378 interconnect-names = "qup-core", "qup-config"; 1379 #address-cells = <1>; 1380 #size-cells = <0>; 1381 status = "disabled"; 1382 }; 1383 1384 uart16: serial@a94000 { 1385 compatible = "qcom,geni-uart"; 1386 reg = <0 0x00a94000 0 0x4000>; 1387 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 1388 clock-names = "se"; 1389 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1390 interconnects = <&qup_virt MASTER_QUP_CORE_1 0 &qup_virt SLAVE_QUP_CORE_1 0>, 1391 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; 1392 interconnect-names = "qup-core", "qup-config"; 1393 status = "disabled"; 1394 }; 1395 }; 1396 1397 qupv3_id_2: geniqup@cc0000 { 1398 compatible = "qcom,geni-se-qup"; 1399 reg = <0x0 0x00cc0000 0x0 0x6000>; 1400 clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>, 1401 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>; 1402 clock-names = "m-ahb", "s-ahb"; 1403 #address-cells = <2>; 1404 #size-cells = <2>; 1405 ranges; 1406 iommus = <&apps_smmu 0x7a3 0>; 1407 status = "disabled"; 1408 1409 i2c17: i2c@c80000 { 1410 compatible = "qcom,geni-i2c"; 1411 reg = <0 0x00c80000 0 0x4000>; 1412 clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; 1413 clock-names = "se"; 1414 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; 1415 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1416 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>, 1417 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>; 1418 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1419 #address-cells = <1>; 1420 #size-cells = <0>; 1421 status = "disabled"; 1422 }; 1423 1424 spi17: spi@c80000 { 1425 compatible = "qcom,geni-spi"; 1426 reg = <0 0x00c80000 0 0x4000>; 1427 clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; 1428 clock-names = "se"; 1429 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; 1430 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1431 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1432 interconnect-names = "qup-core", "qup-config"; 1433 #address-cells = <1>; 1434 #size-cells = <0>; 1435 status = "disabled"; 1436 }; 1437 1438 uart17: serial@c80000 { 1439 compatible = "qcom,geni-uart"; 1440 reg = <0 0x00c80000 0 0x4000>; 1441 clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; 1442 clock-names = "se"; 1443 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; 1444 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1445 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1446 interconnect-names = "qup-core", "qup-config"; 1447 status = "disabled"; 1448 }; 1449 1450 i2c18: i2c@c84000 { 1451 compatible = "qcom,geni-i2c"; 1452 reg = <0 0x00c84000 0 0x4000>; 1453 clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; 1454 clock-names = "se"; 1455 interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>; 1456 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1457 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>, 1458 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>; 1459 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1460 #address-cells = <1>; 1461 #size-cells = <0>; 1462 status = "disabled"; 1463 }; 1464 1465 spi18: spi@c84000 { 1466 compatible = "qcom,geni-spi"; 1467 reg = <0 0x00c84000 0 0x4000>; 1468 clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; 1469 clock-names = "se"; 1470 interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>; 1471 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1472 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1473 interconnect-names = "qup-core", "qup-config"; 1474 #address-cells = <1>; 1475 #size-cells = <0>; 1476 status = "disabled"; 1477 }; 1478 1479 uart18: serial@c84000 { 1480 compatible = "qcom,geni-uart"; 1481 reg = <0 0x00c84000 0 0x4000>; 1482 clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; 1483 clock-names = "se"; 1484 interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>; 1485 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1486 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1487 interconnect-names = "qup-core", "qup-config"; 1488 status = "disabled"; 1489 }; 1490 1491 i2c19: i2c@c88000 { 1492 compatible = "qcom,geni-i2c"; 1493 reg = <0 0x00c88000 0 0x4000>; 1494 clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; 1495 clock-names = "se"; 1496 interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>; 1497 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1498 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>, 1499 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>; 1500 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1501 #address-cells = <1>; 1502 #size-cells = <0>; 1503 status = "disabled"; 1504 }; 1505 1506 spi19: spi@c88000 { 1507 compatible = "qcom,geni-spi"; 1508 reg = <0 0x00c88000 0 0x4000>; 1509 clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; 1510 clock-names = "se"; 1511 interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>; 1512 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1513 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1514 interconnect-names = "qup-core", "qup-config"; 1515 #address-cells = <1>; 1516 #size-cells = <0>; 1517 status = "disabled"; 1518 }; 1519 1520 uart19: serial@c88000 { 1521 compatible = "qcom,geni-uart"; 1522 reg = <0 0x00c88000 0 0x4000>; 1523 clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; 1524 clock-names = "se"; 1525 interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>; 1526 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1527 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1528 interconnect-names = "qup-core", "qup-config"; 1529 status = "disabled"; 1530 }; 1531 1532 i2c13: i2c@c8c000 { 1533 compatible = "qcom,geni-i2c"; 1534 reg = <0 0x00c8c000 0 0x4000>; 1535 clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; 1536 clock-names = "se"; 1537 interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>; 1538 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1539 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>, 1540 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>; 1541 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1542 #address-cells = <1>; 1543 #size-cells = <0>; 1544 status = "disabled"; 1545 }; 1546 1547 spi13: spi@c8c000 { 1548 compatible = "qcom,geni-spi"; 1549 reg = <0 0x00c8c000 0 0x4000>; 1550 clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; 1551 clock-names = "se"; 1552 interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>; 1553 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1554 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1555 interconnect-names = "qup-core", "qup-config"; 1556 #address-cells = <1>; 1557 #size-cells = <0>; 1558 status = "disabled"; 1559 }; 1560 1561 uart13: serial@c8c000 { 1562 compatible = "qcom,geni-uart"; 1563 reg = <0 0x00c8c000 0 0x4000>; 1564 clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; 1565 clock-names = "se"; 1566 interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>; 1567 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1568 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1569 interconnect-names = "qup-core", "qup-config"; 1570 status = "disabled"; 1571 }; 1572 1573 i2c14: i2c@c90000 { 1574 compatible = "qcom,geni-i2c"; 1575 reg = <0 0x00c90000 0 0x4000>; 1576 clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; 1577 clock-names = "se"; 1578 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>; 1579 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1580 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>, 1581 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>; 1582 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1583 #address-cells = <1>; 1584 #size-cells = <0>; 1585 status = "disabled"; 1586 }; 1587 1588 spi14: spi@c90000 { 1589 compatible = "qcom,geni-spi"; 1590 reg = <0 0x00c90000 0 0x4000>; 1591 clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; 1592 clock-names = "se"; 1593 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>; 1594 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1595 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1596 interconnect-names = "qup-core", "qup-config"; 1597 #address-cells = <1>; 1598 #size-cells = <0>; 1599 status = "disabled"; 1600 }; 1601 1602 uart14: serial@c90000 { 1603 compatible = "qcom,geni-uart"; 1604 reg = <0 0x00c90000 0 0x4000>; 1605 clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; 1606 clock-names = "se"; 1607 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>; 1608 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1609 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1610 interconnect-names = "qup-core", "qup-config"; 1611 status = "disabled"; 1612 }; 1613 1614 i2c15: i2c@c94000 { 1615 compatible = "qcom,geni-i2c"; 1616 reg = <0 0x00c94000 0 0x4000>; 1617 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; 1618 clock-names = "se"; 1619 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>; 1620 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1621 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>, 1622 <&aggre2_noc MASTER_QUP_2 0 &mc_virt SLAVE_EBI_CH0 0>; 1623 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1624 #address-cells = <1>; 1625 #size-cells = <0>; 1626 status = "disabled"; 1627 }; 1628 1629 spi15: spi@c94000 { 1630 compatible = "qcom,geni-spi"; 1631 reg = <0 0x00c94000 0 0x4000>; 1632 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; 1633 clock-names = "se"; 1634 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>; 1635 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1636 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1637 interconnect-names = "qup-core", "qup-config"; 1638 #address-cells = <1>; 1639 #size-cells = <0>; 1640 status = "disabled"; 1641 }; 1642 1643 uart15: serial@c94000 { 1644 compatible = "qcom,geni-uart"; 1645 reg = <0 0x00c94000 0 0x4000>; 1646 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; 1647 clock-names = "se"; 1648 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>; 1649 interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>, 1650 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>; 1651 interconnect-names = "qup-core", "qup-config"; 1652 status = "disabled"; 1653 }; 1654 }; 1655 1656 config_noc: interconnect@1500000 { 1657 compatible = "qcom,sc8180x-config-noc"; 1658 reg = <0 0x01500000 0 0x7400>; 1659 #interconnect-cells = <2>; 1660 qcom,bcm-voters = <&apps_bcm_voter>; 1661 }; 1662 1663 system_noc: interconnect@1620000 { 1664 compatible = "qcom,sc8180x-system-noc"; 1665 reg = <0 0x01620000 0 0x19400>; 1666 #interconnect-cells = <2>; 1667 qcom,bcm-voters = <&apps_bcm_voter>; 1668 }; 1669 1670 aggre1_noc: interconnect@16e0000 { 1671 compatible = "qcom,sc8180x-aggre1-noc"; 1672 reg = <0 0x016e0000 0 0xd080>; 1673 #interconnect-cells = <2>; 1674 qcom,bcm-voters = <&apps_bcm_voter>; 1675 }; 1676 1677 aggre2_noc: interconnect@1700000 { 1678 compatible = "qcom,sc8180x-aggre2-noc"; 1679 reg = <0 0x01700000 0 0x20000>; 1680 #interconnect-cells = <2>; 1681 qcom,bcm-voters = <&apps_bcm_voter>; 1682 }; 1683 1684 compute_noc: interconnect@1720000 { 1685 compatible = "qcom,sc8180x-compute-noc"; 1686 reg = <0 0x01720000 0 0x7000>; 1687 #interconnect-cells = <2>; 1688 qcom,bcm-voters = <&apps_bcm_voter>; 1689 }; 1690 1691 mmss_noc: interconnect@1740000 { 1692 compatible = "qcom,sc8180x-mmss-noc"; 1693 reg = <0 0x01740000 0 0x1c100>; 1694 #interconnect-cells = <2>; 1695 qcom,bcm-voters = <&apps_bcm_voter>; 1696 }; 1697 1698 pcie0: pcie@1c00000 { 1699 compatible = "qcom,pcie-sc8180x"; 1700 reg = <0 0x01c00000 0 0x3000>, 1701 <0 0x60000000 0 0xf1d>, 1702 <0 0x60000f20 0 0xa8>, 1703 <0 0x60001000 0 0x1000>, 1704 <0 0x60100000 0 0x100000>; 1705 reg-names = "parf", 1706 "dbi", 1707 "elbi", 1708 "atu", 1709 "config"; 1710 device_type = "pci"; 1711 linux,pci-domain = <0>; 1712 bus-range = <0x00 0xff>; 1713 num-lanes = <2>; 1714 1715 #address-cells = <3>; 1716 #size-cells = <2>; 1717 1718 ranges = <0x01000000 0x0 0x60200000 0x0 0x60200000 0x0 0x100000>, 1719 <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; 1720 1721 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, 1722 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, 1723 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, 1724 <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, 1725 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, 1726 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, 1727 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, 1728 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; 1729 interrupt-names = "msi0", 1730 "msi1", 1731 "msi2", 1732 "msi3", 1733 "msi4", 1734 "msi5", 1735 "msi6", 1736 "msi7"; 1737 #interrupt-cells = <1>; 1738 interrupt-map-mask = <0 0 0 0x7>; 1739 interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1740 <0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1741 <0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1742 <0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1743 1744 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>, 1745 <&gcc GCC_PCIE_0_AUX_CLK>, 1746 <&gcc GCC_PCIE_0_CFG_AHB_CLK>, 1747 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, 1748 <&gcc GCC_PCIE_0_SLV_AXI_CLK>, 1749 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>, 1750 <&gcc GCC_PCIE_0_CLKREF_CLK>, 1751 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>; 1752 clock-names = "pipe", 1753 "aux", 1754 "cfg", 1755 "bus_master", 1756 "bus_slave", 1757 "slave_q2a", 1758 "ref", 1759 "tbu"; 1760 1761 assigned-clocks = <&gcc GCC_PCIE_0_AUX_CLK>; 1762 assigned-clock-rates = <19200000>; 1763 1764 iommu-map = <0x0 &apps_smmu 0x1d80 0x1>, 1765 <0x100 &apps_smmu 0x1d81 0x1>; 1766 1767 resets = <&gcc GCC_PCIE_0_BCR>; 1768 reset-names = "pci"; 1769 1770 power-domains = <&gcc PCIE_0_GDSC>; 1771 1772 interconnects = <&aggre2_noc MASTER_PCIE 0 &mc_virt SLAVE_EBI_CH0 0>, 1773 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_0 0>; 1774 interconnect-names = "pcie-mem", "cpu-pcie"; 1775 1776 phys = <&pcie0_phy>; 1777 phy-names = "pciephy"; 1778 dma-coherent; 1779 1780 status = "disabled"; 1781 1782 pcie@0 { 1783 device_type = "pci"; 1784 reg = <0x0 0x0 0x0 0x0 0x0>; 1785 bus-range = <0x01 0xff>; 1786 1787 #address-cells = <3>; 1788 #size-cells = <2>; 1789 ranges; 1790 }; 1791 }; 1792 1793 pcie0_phy: phy@1c06000 { 1794 compatible = "qcom,sc8180x-qmp-pcie-phy"; 1795 reg = <0 0x01c06000 0 0x1000>; 1796 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, 1797 <&gcc GCC_PCIE_0_CFG_AHB_CLK>, 1798 <&gcc GCC_PCIE_0_CLKREF_CLK>, 1799 <&gcc GCC_PCIE0_PHY_REFGEN_CLK>, 1800 <&gcc GCC_PCIE_0_PIPE_CLK>; 1801 clock-names = "aux", 1802 "cfg_ahb", 1803 "ref", 1804 "refgen", 1805 "pipe"; 1806 #clock-cells = <0>; 1807 clock-output-names = "pcie_0_pipe_clk"; 1808 #phy-cells = <0>; 1809 1810 resets = <&gcc GCC_PCIE_0_PHY_BCR>; 1811 reset-names = "phy"; 1812 1813 assigned-clocks = <&gcc GCC_PCIE0_PHY_REFGEN_CLK>; 1814 assigned-clock-rates = <100000000>; 1815 1816 status = "disabled"; 1817 }; 1818 1819 pcie3: pcie@1c08000 { 1820 compatible = "qcom,pcie-sc8180x"; 1821 reg = <0 0x01c08000 0 0x3000>, 1822 <0 0x40000000 0 0xf1d>, 1823 <0 0x40000f20 0 0xa8>, 1824 <0 0x40001000 0 0x1000>, 1825 <0 0x40100000 0 0x100000>; 1826 reg-names = "parf", 1827 "dbi", 1828 "elbi", 1829 "atu", 1830 "config"; 1831 device_type = "pci"; 1832 linux,pci-domain = <3>; 1833 bus-range = <0x00 0xff>; 1834 num-lanes = <2>; 1835 1836 #address-cells = <3>; 1837 #size-cells = <2>; 1838 1839 ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>, 1840 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; 1841 1842 interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>, 1843 <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>, 1844 <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>, 1845 <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>, 1846 <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>, 1847 <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>, 1848 <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>, 1849 <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>; 1850 interrupt-names = "msi0", 1851 "msi1", 1852 "msi2", 1853 "msi3", 1854 "msi4", 1855 "msi5", 1856 "msi6", 1857 "msi7"; 1858 #interrupt-cells = <1>; 1859 interrupt-map-mask = <0 0 0 0x7>; 1860 interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1861 <0 0 0 2 &intc 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1862 <0 0 0 3 &intc 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1863 <0 0 0 4 &intc 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1864 1865 clocks = <&gcc GCC_PCIE_3_PIPE_CLK>, 1866 <&gcc GCC_PCIE_3_AUX_CLK>, 1867 <&gcc GCC_PCIE_3_CFG_AHB_CLK>, 1868 <&gcc GCC_PCIE_3_MSTR_AXI_CLK>, 1869 <&gcc GCC_PCIE_3_SLV_AXI_CLK>, 1870 <&gcc GCC_PCIE_3_SLV_Q2A_AXI_CLK>, 1871 <&gcc GCC_PCIE_3_CLKREF_CLK>, 1872 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>; 1873 clock-names = "pipe", 1874 "aux", 1875 "cfg", 1876 "bus_master", 1877 "bus_slave", 1878 "slave_q2a", 1879 "ref", 1880 "tbu"; 1881 1882 assigned-clocks = <&gcc GCC_PCIE_3_AUX_CLK>; 1883 assigned-clock-rates = <19200000>; 1884 1885 iommu-map = <0x0 &apps_smmu 0x1e00 0x1>, 1886 <0x100 &apps_smmu 0x1e01 0x1>; 1887 1888 resets = <&gcc GCC_PCIE_3_BCR>; 1889 reset-names = "pci"; 1890 1891 power-domains = <&gcc PCIE_3_GDSC>; 1892 1893 interconnects = <&aggre2_noc MASTER_PCIE_3 0 &mc_virt SLAVE_EBI_CH0 0>, 1894 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_3 0>; 1895 interconnect-names = "pcie-mem", "cpu-pcie"; 1896 1897 phys = <&pcie3_phy>; 1898 phy-names = "pciephy"; 1899 dma-coherent; 1900 1901 status = "disabled"; 1902 1903 pcie@0 { 1904 device_type = "pci"; 1905 reg = <0x0 0x0 0x0 0x0 0x0>; 1906 bus-range = <0x01 0xff>; 1907 1908 #address-cells = <3>; 1909 #size-cells = <2>; 1910 ranges; 1911 }; 1912 }; 1913 1914 pcie3_phy: phy@1c0c000 { 1915 compatible = "qcom,sc8180x-qmp-pcie-phy"; 1916 reg = <0 0x01c0c000 0 0x1000>; 1917 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, 1918 <&gcc GCC_PCIE_3_CFG_AHB_CLK>, 1919 <&gcc GCC_PCIE_3_CLKREF_CLK>, 1920 <&gcc GCC_PCIE3_PHY_REFGEN_CLK>, 1921 <&gcc GCC_PCIE_3_PIPE_CLK>; 1922 clock-names = "aux", 1923 "cfg_ahb", 1924 "ref", 1925 "refgen", 1926 "pipe"; 1927 #clock-cells = <0>; 1928 clock-output-names = "pcie_3_pipe_clk"; 1929 1930 #phy-cells = <0>; 1931 1932 resets = <&gcc GCC_PCIE_3_PHY_BCR>; 1933 reset-names = "phy"; 1934 1935 assigned-clocks = <&gcc GCC_PCIE3_PHY_REFGEN_CLK>; 1936 assigned-clock-rates = <100000000>; 1937 1938 status = "disabled"; 1939 }; 1940 1941 pcie1: pcie@1c10000 { 1942 compatible = "qcom,pcie-sc8180x"; 1943 reg = <0 0x01c10000 0 0x3000>, 1944 <0 0x68000000 0 0xf1d>, 1945 <0 0x68000f20 0 0xa8>, 1946 <0 0x68001000 0 0x1000>, 1947 <0 0x68100000 0 0x100000>; 1948 reg-names = "parf", 1949 "dbi", 1950 "elbi", 1951 "atu", 1952 "config"; 1953 device_type = "pci"; 1954 linux,pci-domain = <1>; 1955 bus-range = <0x00 0xff>; 1956 num-lanes = <2>; 1957 1958 #address-cells = <3>; 1959 #size-cells = <2>; 1960 1961 ranges = <0x01000000 0x0 0x68200000 0x0 0x68200000 0x0 0x100000>, 1962 <0x02000000 0x0 0x68300000 0x0 0x68300000 0x0 0x3d00000>; 1963 1964 interrupts = <GIC_SPI 756 IRQ_TYPE_LEVEL_HIGH>, 1965 <GIC_SPI 755 IRQ_TYPE_LEVEL_HIGH>, 1966 <GIC_SPI 754 IRQ_TYPE_LEVEL_HIGH>, 1967 <GIC_SPI 753 IRQ_TYPE_LEVEL_HIGH>, 1968 <GIC_SPI 752 IRQ_TYPE_LEVEL_HIGH>, 1969 <GIC_SPI 751 IRQ_TYPE_LEVEL_HIGH>, 1970 <GIC_SPI 750 IRQ_TYPE_LEVEL_HIGH>, 1971 <GIC_SPI 749 IRQ_TYPE_LEVEL_HIGH>; 1972 interrupt-names = "msi0", 1973 "msi1", 1974 "msi2", 1975 "msi3", 1976 "msi4", 1977 "msi5", 1978 "msi6", 1979 "msi7"; 1980 #interrupt-cells = <1>; 1981 interrupt-map-mask = <0 0 0 0x7>; 1982 interrupt-map = <0 0 0 1 &intc 0 747 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 1983 <0 0 0 2 &intc 0 746 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 1984 <0 0 0 3 &intc 0 745 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 1985 <0 0 0 4 &intc 0 744 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 1986 1987 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>, 1988 <&gcc GCC_PCIE_1_AUX_CLK>, 1989 <&gcc GCC_PCIE_1_CFG_AHB_CLK>, 1990 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>, 1991 <&gcc GCC_PCIE_1_SLV_AXI_CLK>, 1992 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>, 1993 <&gcc GCC_PCIE_1_CLKREF_CLK>, 1994 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>; 1995 clock-names = "pipe", 1996 "aux", 1997 "cfg", 1998 "bus_master", 1999 "bus_slave", 2000 "slave_q2a", 2001 "ref", 2002 "tbu"; 2003 2004 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>; 2005 assigned-clock-rates = <19200000>; 2006 2007 iommu-map = <0x0 &apps_smmu 0x1c80 0x1>, 2008 <0x100 &apps_smmu 0x1c81 0x1>; 2009 2010 resets = <&gcc GCC_PCIE_1_BCR>; 2011 reset-names = "pci"; 2012 2013 power-domains = <&gcc PCIE_1_GDSC>; 2014 2015 interconnects = <&aggre2_noc MASTER_PCIE_1 0 &mc_virt SLAVE_EBI_CH0 0>, 2016 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_1 0>; 2017 interconnect-names = "pcie-mem", "cpu-pcie"; 2018 2019 phys = <&pcie1_phy>; 2020 phy-names = "pciephy"; 2021 dma-coherent; 2022 2023 status = "disabled"; 2024 2025 pcie@0 { 2026 device_type = "pci"; 2027 reg = <0x0 0x0 0x0 0x0 0x0>; 2028 bus-range = <0x01 0xff>; 2029 2030 #address-cells = <3>; 2031 #size-cells = <2>; 2032 ranges; 2033 }; 2034 }; 2035 2036 pcie1_phy: phy@1c16000 { 2037 compatible = "qcom,sc8180x-qmp-pcie-phy"; 2038 reg = <0 0x01c16000 0 0x1000>; 2039 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, 2040 <&gcc GCC_PCIE_1_CFG_AHB_CLK>, 2041 <&gcc GCC_PCIE_1_CLKREF_CLK>, 2042 <&gcc GCC_PCIE1_PHY_REFGEN_CLK>, 2043 <&gcc GCC_PCIE_1_PIPE_CLK>; 2044 clock-names = "aux", 2045 "cfg_ahb", 2046 "ref", 2047 "refgen", 2048 "pipe"; 2049 #clock-cells = <0>; 2050 clock-output-names = "pcie_1_pipe_clk"; 2051 2052 #phy-cells = <0>; 2053 2054 resets = <&gcc GCC_PCIE_1_PHY_BCR>; 2055 reset-names = "phy"; 2056 2057 assigned-clocks = <&gcc GCC_PCIE1_PHY_REFGEN_CLK>; 2058 assigned-clock-rates = <100000000>; 2059 2060 status = "disabled"; 2061 }; 2062 2063 pcie2: pcie@1c18000 { 2064 compatible = "qcom,pcie-sc8180x"; 2065 reg = <0 0x01c18000 0 0x3000>, 2066 <0 0x70000000 0 0xf1d>, 2067 <0 0x70000f20 0 0xa8>, 2068 <0 0x70001000 0 0x1000>, 2069 <0 0x70100000 0 0x100000>; 2070 reg-names = "parf", 2071 "dbi", 2072 "elbi", 2073 "atu", 2074 "config"; 2075 device_type = "pci"; 2076 linux,pci-domain = <2>; 2077 bus-range = <0x00 0xff>; 2078 num-lanes = <4>; 2079 2080 #address-cells = <3>; 2081 #size-cells = <2>; 2082 2083 ranges = <0x01000000 0x0 0x70200000 0x0 0x70200000 0x0 0x100000>, 2084 <0x02000000 0x0 0x70300000 0x0 0x70300000 0x0 0x3d00000>; 2085 2086 interrupts = <GIC_SPI 672 IRQ_TYPE_LEVEL_HIGH>, 2087 <GIC_SPI 671 IRQ_TYPE_LEVEL_HIGH>, 2088 <GIC_SPI 670 IRQ_TYPE_LEVEL_HIGH>, 2089 <GIC_SPI 669 IRQ_TYPE_LEVEL_HIGH>, 2090 <GIC_SPI 668 IRQ_TYPE_LEVEL_HIGH>, 2091 <GIC_SPI 667 IRQ_TYPE_LEVEL_HIGH>, 2092 <GIC_SPI 666 IRQ_TYPE_LEVEL_HIGH>, 2093 <GIC_SPI 665 IRQ_TYPE_LEVEL_HIGH>; 2094 interrupt-names = "msi0", 2095 "msi1", 2096 "msi2", 2097 "msi3", 2098 "msi4", 2099 "msi5", 2100 "msi6", 2101 "msi7"; 2102 #interrupt-cells = <1>; 2103 interrupt-map-mask = <0 0 0 0x7>; 2104 interrupt-map = <0 0 0 1 &intc 0 663 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 2105 <0 0 0 2 &intc 0 662 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 2106 <0 0 0 3 &intc 0 661 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 2107 <0 0 0 4 &intc 0 660 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 2108 2109 clocks = <&gcc GCC_PCIE_2_PIPE_CLK>, 2110 <&gcc GCC_PCIE_2_AUX_CLK>, 2111 <&gcc GCC_PCIE_2_CFG_AHB_CLK>, 2112 <&gcc GCC_PCIE_2_MSTR_AXI_CLK>, 2113 <&gcc GCC_PCIE_2_SLV_AXI_CLK>, 2114 <&gcc GCC_PCIE_2_SLV_Q2A_AXI_CLK>, 2115 <&gcc GCC_PCIE_2_CLKREF_CLK>, 2116 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>; 2117 clock-names = "pipe", 2118 "aux", 2119 "cfg", 2120 "bus_master", 2121 "bus_slave", 2122 "slave_q2a", 2123 "ref", 2124 "tbu"; 2125 2126 assigned-clocks = <&gcc GCC_PCIE_2_AUX_CLK>; 2127 assigned-clock-rates = <19200000>; 2128 2129 iommu-map = <0x0 &apps_smmu 0x1d00 0x1>, 2130 <0x100 &apps_smmu 0x1d01 0x1>; 2131 2132 resets = <&gcc GCC_PCIE_2_BCR>; 2133 reset-names = "pci"; 2134 2135 power-domains = <&gcc PCIE_2_GDSC>; 2136 2137 interconnects = <&aggre2_noc MASTER_PCIE_2 0 &mc_virt SLAVE_EBI_CH0 0>, 2138 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_PCIE_2 0>; 2139 interconnect-names = "pcie-mem", "cpu-pcie"; 2140 2141 phys = <&pcie2_phy>; 2142 phy-names = "pciephy"; 2143 dma-coherent; 2144 2145 status = "disabled"; 2146 2147 pcie@0 { 2148 device_type = "pci"; 2149 reg = <0x0 0x0 0x0 0x0 0x0>; 2150 bus-range = <0x01 0xff>; 2151 2152 #address-cells = <3>; 2153 #size-cells = <2>; 2154 ranges; 2155 }; 2156 }; 2157 2158 pcie2_phy: phy@1c1c000 { 2159 compatible = "qcom,sc8180x-qmp-pcie-phy"; 2160 reg = <0 0x01c1c000 0 0x1000>; 2161 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, 2162 <&gcc GCC_PCIE_2_CFG_AHB_CLK>, 2163 <&gcc GCC_PCIE_2_CLKREF_CLK>, 2164 <&gcc GCC_PCIE2_PHY_REFGEN_CLK>, 2165 <&gcc GCC_PCIE_2_PIPE_CLK>; 2166 clock-names = "aux", 2167 "cfg_ahb", 2168 "ref", 2169 "refgen", 2170 "pipe"; 2171 #clock-cells = <0>; 2172 clock-output-names = "pcie_2_pipe_clk"; 2173 2174 #phy-cells = <0>; 2175 2176 resets = <&gcc GCC_PCIE_2_PHY_BCR>; 2177 reset-names = "phy"; 2178 2179 assigned-clocks = <&gcc GCC_PCIE2_PHY_REFGEN_CLK>; 2180 assigned-clock-rates = <100000000>; 2181 2182 status = "disabled"; 2183 }; 2184 2185 ufs_mem_hc: ufshc@1d84000 { 2186 compatible = "qcom,sc8180x-ufshc", "qcom,ufshc", 2187 "jedec,ufs-2.0"; 2188 reg = <0 0x01d84000 0 0x2500>; 2189 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; 2190 phys = <&ufs_mem_phy>; 2191 phy-names = "ufsphy"; 2192 lanes-per-direction = <2>; 2193 #reset-cells = <1>; 2194 resets = <&gcc GCC_UFS_PHY_BCR>; 2195 reset-names = "rst"; 2196 2197 iommus = <&apps_smmu 0x300 0>; 2198 2199 clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, 2200 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, 2201 <&gcc GCC_UFS_PHY_AHB_CLK>, 2202 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, 2203 <&rpmhcc RPMH_CXO_CLK>, 2204 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, 2205 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, 2206 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; 2207 clock-names = "core_clk", 2208 "bus_aggr_clk", 2209 "iface_clk", 2210 "core_clk_unipro", 2211 "ref_clk", 2212 "tx_lane0_sync_clk", 2213 "rx_lane0_sync_clk", 2214 "rx_lane1_sync_clk"; 2215 freq-table-hz = <37500000 300000000>, 2216 <0 0>, 2217 <0 0>, 2218 <37500000 300000000>, 2219 <0 0>, 2220 <0 0>, 2221 <0 0>, 2222 <0 0>; 2223 2224 power-domains = <&gcc UFS_PHY_GDSC>; 2225 2226 interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS 2227 &mc_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>, 2228 <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ALWAYS 2229 &config_noc SLAVE_UFS_MEM_0_CFG QCOM_ICC_TAG_ALWAYS>; 2230 interconnect-names = "ufs-ddr", "cpu-ufs"; 2231 2232 status = "disabled"; 2233 }; 2234 2235 ufs_mem_phy: phy-wrapper@1d87000 { 2236 compatible = "qcom,sc8180x-qmp-ufs-phy"; 2237 reg = <0 0x01d87000 0 0x1000>; 2238 2239 clocks = <&rpmhcc RPMH_CXO_CLK>, 2240 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>, 2241 <&gcc GCC_UFS_MEM_CLKREF_EN>; 2242 clock-names = "ref", 2243 "ref_aux", 2244 "qref"; 2245 2246 resets = <&ufs_mem_hc 0>; 2247 reset-names = "ufsphy"; 2248 2249 power-domains = <&gcc UFS_PHY_GDSC>; 2250 2251 #phy-cells = <0>; 2252 2253 status = "disabled"; 2254 }; 2255 2256 tcsr_mutex: hwlock@1f40000 { 2257 compatible = "qcom,tcsr-mutex"; 2258 reg = <0x0 0x01f40000 0x0 0x40000>; 2259 #hwlock-cells = <1>; 2260 }; 2261 2262 gpu: gpu@2c00000 { 2263 compatible = "qcom,adreno-680.1", "qcom,adreno"; 2264 2265 reg = <0 0x02c00000 0 0x40000>; 2266 reg-names = "kgsl_3d0_reg_memory"; 2267 2268 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; 2269 2270 iommus = <&adreno_smmu 0 0xc01>; 2271 2272 operating-points-v2 = <&gpu_opp_table>; 2273 2274 interconnects = <&gem_noc MASTER_GRAPHICS_3D 0 &mc_virt SLAVE_EBI_CH0 0>; 2275 interconnect-names = "gfx-mem"; 2276 2277 qcom,gmu = <&gmu>; 2278 #cooling-cells = <2>; 2279 2280 status = "disabled"; 2281 2282 gpu_opp_table: opp-table { 2283 compatible = "operating-points-v2"; 2284 2285 opp-514000000 { 2286 opp-hz = /bits/ 64 <514000000>; 2287 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 2288 }; 2289 2290 opp-500000000 { 2291 opp-hz = /bits/ 64 <500000000>; 2292 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 2293 }; 2294 2295 opp-461000000 { 2296 opp-hz = /bits/ 64 <461000000>; 2297 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 2298 }; 2299 2300 opp-405000000 { 2301 opp-hz = /bits/ 64 <405000000>; 2302 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 2303 }; 2304 2305 opp-315000000 { 2306 opp-hz = /bits/ 64 <315000000>; 2307 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 2308 }; 2309 2310 opp-256000000 { 2311 opp-hz = /bits/ 64 <256000000>; 2312 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 2313 }; 2314 2315 opp-177000000 { 2316 opp-hz = /bits/ 64 <177000000>; 2317 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 2318 }; 2319 }; 2320 }; 2321 2322 gmu: gmu@2c6a000 { 2323 compatible = "qcom,adreno-gmu-680.1", "qcom,adreno-gmu"; 2324 2325 reg = <0 0x02c6a000 0 0x30000>, 2326 <0 0x0b290000 0 0x10000>, 2327 <0 0x0b490000 0 0x10000>; 2328 reg-names = "gmu", 2329 "gmu_pdc", 2330 "gmu_pdc_seq"; 2331 2332 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, 2333 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; 2334 interrupt-names = "hfi", "gmu"; 2335 2336 clocks = <&gpucc GPU_CC_AHB_CLK>, 2337 <&gpucc GPU_CC_CX_GMU_CLK>, 2338 <&gpucc GPU_CC_CXO_CLK>, 2339 <&gcc GCC_DDRSS_GPU_AXI_CLK>, 2340 <&gcc GCC_GPU_MEMNOC_GFX_CLK>; 2341 clock-names = "ahb", "gmu", "cxo", "axi", "memnoc"; 2342 2343 power-domains = <&gpucc GPU_CX_GDSC>, 2344 <&gpucc GPU_GX_GDSC>; 2345 power-domain-names = "cx", "gx"; 2346 2347 iommus = <&adreno_smmu 5 0xc00>; 2348 2349 operating-points-v2 = <&gmu_opp_table>; 2350 2351 gmu_opp_table: opp-table { 2352 compatible = "operating-points-v2"; 2353 2354 opp-200000000 { 2355 opp-hz = /bits/ 64 <200000000>; 2356 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 2357 }; 2358 2359 opp-500000000 { 2360 opp-hz = /bits/ 64 <500000000>; 2361 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 2362 }; 2363 }; 2364 }; 2365 2366 gpucc: clock-controller@2c90000 { 2367 compatible = "qcom,sc8180x-gpucc"; 2368 reg = <0 0x02c90000 0 0x9000>; 2369 clocks = <&rpmhcc RPMH_CXO_CLK>, 2370 <&gcc GCC_GPU_GPLL0_CLK_SRC>, 2371 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; 2372 clock-names = "bi_tcxo", 2373 "gcc_gpu_gpll0_clk_src", 2374 "gcc_gpu_gpll0_div_clk_src"; 2375 #clock-cells = <1>; 2376 #reset-cells = <1>; 2377 #power-domain-cells = <1>; 2378 }; 2379 2380 adreno_smmu: iommu@2ca0000 { 2381 compatible = "qcom,sc8180x-smmu-500", "qcom,adreno-smmu", 2382 "qcom,smmu-500", "arm,mmu-500"; 2383 reg = <0 0x02ca0000 0 0x10000>; 2384 #iommu-cells = <2>; 2385 #global-interrupts = <1>; 2386 interrupts = <GIC_SPI 674 IRQ_TYPE_LEVEL_HIGH>, 2387 <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>, 2388 <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>, 2389 <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>, 2390 <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>, 2391 <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>, 2392 <GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH>, 2393 <GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH>, 2394 <GIC_SPI 688 IRQ_TYPE_LEVEL_HIGH>; 2395 clocks = <&gpucc GPU_CC_AHB_CLK>, 2396 <&gcc GCC_GPU_MEMNOC_GFX_CLK>, 2397 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>; 2398 clock-names = "ahb", "bus", "iface"; 2399 2400 power-domains = <&gpucc GPU_CX_GDSC>; 2401 }; 2402 2403 tlmm: pinctrl@3100000 { 2404 compatible = "qcom,sc8180x-tlmm"; 2405 reg = <0 0x03100000 0 0x300000>, 2406 <0 0x03500000 0 0x700000>, 2407 <0 0x03d00000 0 0x300000>; 2408 reg-names = "west", "east", "south"; 2409 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 2410 gpio-controller; 2411 #gpio-cells = <2>; 2412 interrupt-controller; 2413 #interrupt-cells = <2>; 2414 gpio-ranges = <&tlmm 0 0 191>; 2415 wakeup-parent = <&pdc>; 2416 }; 2417 2418 remoteproc_mpss: remoteproc@4080000 { 2419 compatible = "qcom,sc8180x-mpss-pas"; 2420 reg = <0x0 0x04080000 0x0 0x4040>; 2421 2422 interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>, 2423 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 2424 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 2425 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 2426 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, 2427 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; 2428 interrupt-names = "wdog", "fatal", "ready", "handover", 2429 "stop-ack", "shutdown-ack"; 2430 2431 clocks = <&rpmhcc RPMH_CXO_CLK>; 2432 clock-names = "xo"; 2433 2434 power-domains = <&rpmhpd SC8180X_CX>, 2435 <&rpmhpd SC8180X_MSS>; 2436 power-domain-names = "cx", "mss"; 2437 2438 qcom,qmp = <&aoss_qmp>; 2439 2440 qcom,smem-states = <&modem_smp2p_out 0>; 2441 qcom,smem-state-names = "stop"; 2442 2443 glink-edge { 2444 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>; 2445 label = "modem"; 2446 qcom,remote-pid = <1>; 2447 mboxes = <&apss_shared 12>; 2448 }; 2449 }; 2450 2451 remoteproc_cdsp: remoteproc@8300000 { 2452 compatible = "qcom,sc8180x-cdsp-pas"; 2453 reg = <0x0 0x08300000 0x0 0x4040>; 2454 2455 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, 2456 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 2457 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 2458 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 2459 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 2460 interrupt-names = "wdog", "fatal", "ready", 2461 "handover", "stop-ack"; 2462 2463 clocks = <&rpmhcc RPMH_CXO_CLK>; 2464 clock-names = "xo"; 2465 2466 power-domains = <&rpmhpd SC8180X_CX>; 2467 power-domain-names = "cx"; 2468 2469 qcom,qmp = <&aoss_qmp>; 2470 2471 qcom,smem-states = <&cdsp_smp2p_out 0>; 2472 qcom,smem-state-names = "stop"; 2473 2474 status = "disabled"; 2475 2476 glink-edge { 2477 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>; 2478 label = "cdsp"; 2479 qcom,remote-pid = <5>; 2480 mboxes = <&apss_shared 4>; 2481 }; 2482 }; 2483 2484 usb_prim_hsphy: phy@88e2000 { 2485 compatible = "qcom,sc8180x-usb-hs-phy", 2486 "qcom,usb-snps-hs-7nm-phy"; 2487 reg = <0 0x088e2000 0 0x400>; 2488 clocks = <&rpmhcc RPMH_CXO_CLK>; 2489 clock-names = "ref"; 2490 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 2491 2492 #phy-cells = <0>; 2493 2494 status = "disabled"; 2495 }; 2496 2497 usb_sec_hsphy: phy@88e3000 { 2498 compatible = "qcom,sc8180x-usb-hs-phy", 2499 "qcom,usb-snps-hs-7nm-phy"; 2500 reg = <0 0x088e3000 0 0x400>; 2501 clocks = <&rpmhcc RPMH_CXO_CLK>; 2502 clock-names = "ref"; 2503 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>; 2504 2505 #phy-cells = <0>; 2506 2507 status = "disabled"; 2508 }; 2509 2510 usb_prim_qmpphy: phy@88e8000 { 2511 compatible = "qcom,sc8180x-qmp-usb3-dp-phy"; 2512 reg = <0 0x088e8000 0 0x3000>; 2513 2514 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, 2515 <&gcc GCC_USB3_PRIM_CLKREF_CLK>, 2516 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, 2517 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; 2518 clock-names = "aux", 2519 "ref", 2520 "com_aux", 2521 "usb3_pipe"; 2522 2523 resets = <&gcc GCC_USB3_DP_PHY_PRIM_SP0_BCR>, 2524 <&gcc GCC_USB3_PHY_PRIM_SP0_BCR>; 2525 reset-names = "phy", "common"; 2526 2527 #clock-cells = <1>; 2528 #phy-cells = <1>; 2529 2530 status = "disabled"; 2531 2532 ports { 2533 #address-cells = <1>; 2534 #size-cells = <0>; 2535 2536 port@0 { 2537 reg = <0>; 2538 2539 usb_prim_qmpphy_out: endpoint {}; 2540 }; 2541 2542 port@1 { 2543 reg = <1>; 2544 2545 usb_prim_qmpphy_usb_ss_in: endpoint { 2546 remote-endpoint = <&usb_prim_dwc3_ss>; 2547 }; 2548 }; 2549 2550 port@2 { 2551 reg = <2>; 2552 2553 usb_prim_qmpphy_dp_in: endpoint {}; 2554 }; 2555 }; 2556 }; 2557 2558 usb_sec_qmpphy: phy@88ee000 { 2559 compatible = "qcom,sc8180x-qmp-usb3-dp-phy"; 2560 reg = <0 0x088ed000 0 0x3000>; 2561 2562 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>, 2563 <&gcc GCC_USB3_SEC_CLKREF_CLK>, 2564 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>, 2565 <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; 2566 clock-names = "aux", 2567 "ref", 2568 "com_aux", 2569 "usb3_pipe"; 2570 resets = <&gcc GCC_USB3_DP_PHY_SEC_BCR>, 2571 <&gcc GCC_USB3_PHY_SEC_BCR>; 2572 reset-names = "phy", "common"; 2573 2574 #clock-cells = <1>; 2575 #phy-cells = <1>; 2576 2577 status = "disabled"; 2578 2579 ports { 2580 #address-cells = <1>; 2581 #size-cells = <0>; 2582 2583 port@0 { 2584 reg = <0>; 2585 2586 usb_sec_qmpphy_out: endpoint {}; 2587 }; 2588 2589 port@1 { 2590 reg = <1>; 2591 2592 usb_sec_qmpphy_usb_ss_in: endpoint { 2593 remote-endpoint = <&usb_sec_dwc3_ss>; 2594 }; 2595 }; 2596 2597 port@2 { 2598 reg = <2>; 2599 2600 usb_sec_qmpphy_dp_in: endpoint {}; 2601 }; 2602 }; 2603 }; 2604 2605 system-cache-controller@9200000 { 2606 compatible = "qcom,sc8180x-llcc"; 2607 reg = <0 0x09200000 0 0x58000>, <0 0x09280000 0 0x58000>, 2608 <0 0x09300000 0 0x58000>, <0 0x09380000 0 0x58000>, 2609 <0 0x09400000 0 0x58000>, <0 0x09480000 0 0x58000>, 2610 <0 0x09500000 0 0x58000>, <0 0x09580000 0 0x58000>, 2611 <0 0x09600000 0 0x58000>; 2612 reg-names = "llcc0_base", "llcc1_base", "llcc2_base", 2613 "llcc3_base", "llcc4_base", "llcc5_base", 2614 "llcc6_base", "llcc7_base", "llcc_broadcast_base"; 2615 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; 2616 }; 2617 2618 gem_noc: interconnect@9680000 { 2619 compatible = "qcom,sc8180x-gem-noc"; 2620 reg = <0 0x09680000 0 0x58200>; 2621 #interconnect-cells = <2>; 2622 qcom,bcm-voters = <&apps_bcm_voter>; 2623 }; 2624 2625 usb_prim: usb@a6f8800 { 2626 compatible = "qcom,sc8180x-dwc3", "qcom,dwc3"; 2627 reg = <0 0x0a6f8800 0 0x400>; 2628 interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 2629 <&pdc 6 IRQ_TYPE_LEVEL_HIGH>, 2630 <&pdc 8 IRQ_TYPE_EDGE_BOTH>, 2631 <&pdc 9 IRQ_TYPE_EDGE_BOTH>; 2632 interrupt-names = "hs_phy_irq", 2633 "ss_phy_irq", 2634 "dm_hs_phy_irq", 2635 "dp_hs_phy_irq"; 2636 2637 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 2638 <&gcc GCC_USB30_PRIM_MASTER_CLK>, 2639 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 2640 <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 2641 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 2642 <&gcc GCC_USB3_SEC_CLKREF_CLK>; 2643 clock-names = "cfg_noc", 2644 "core", 2645 "iface", 2646 "sleep", 2647 "mock_utmi", 2648 "xo"; 2649 resets = <&gcc GCC_USB30_PRIM_BCR>; 2650 power-domains = <&gcc USB30_PRIM_GDSC>; 2651 2652 interconnects = <&aggre1_noc MASTER_USB3 0 &mc_virt SLAVE_EBI_CH0 0>, 2653 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>; 2654 interconnect-names = "usb-ddr", "apps-usb"; 2655 2656 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 2657 <&gcc GCC_USB30_PRIM_MASTER_CLK>; 2658 assigned-clock-rates = <19200000>, <200000000>; 2659 2660 #address-cells = <2>; 2661 #size-cells = <2>; 2662 ranges; 2663 dma-ranges; 2664 2665 status = "disabled"; 2666 2667 usb_prim_dwc3: usb@a600000 { 2668 compatible = "snps,dwc3"; 2669 reg = <0 0x0a600000 0 0xcd00>; 2670 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 2671 iommus = <&apps_smmu 0x140 0>; 2672 snps,dis_u2_susphy_quirk; 2673 snps,dis_enblslpm_quirk; 2674 phys = <&usb_prim_hsphy>, <&usb_prim_qmpphy QMP_USB43DP_USB3_PHY>; 2675 phy-names = "usb2-phy", "usb3-phy"; 2676 2677 ports { 2678 #address-cells = <1>; 2679 #size-cells = <0>; 2680 2681 port@0 { 2682 reg = <0>; 2683 2684 usb_prim_dwc3_hs: endpoint { 2685 }; 2686 }; 2687 2688 port@1 { 2689 reg = <1>; 2690 2691 usb_prim_dwc3_ss: endpoint { 2692 remote-endpoint = <&usb_prim_qmpphy_usb_ss_in>; 2693 }; 2694 }; 2695 }; 2696 }; 2697 }; 2698 2699 usb_sec: usb@a8f8800 { 2700 compatible = "qcom,sc8180x-dwc3", "qcom,dwc3"; 2701 reg = <0 0x0a8f8800 0 0x400>; 2702 2703 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>, 2704 <&gcc GCC_USB30_SEC_MASTER_CLK>, 2705 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>, 2706 <&gcc GCC_USB30_SEC_SLEEP_CLK>, 2707 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>, 2708 <&gcc GCC_USB3_SEC_CLKREF_CLK>; 2709 clock-names = "cfg_noc", 2710 "core", 2711 "iface", 2712 "sleep", 2713 "mock_utmi", 2714 "xo"; 2715 resets = <&gcc GCC_USB30_SEC_BCR>; 2716 power-domains = <&gcc USB30_SEC_GDSC>; 2717 interrupts-extended = <&intc GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, 2718 <&pdc 40 IRQ_TYPE_LEVEL_HIGH>, 2719 <&pdc 10 IRQ_TYPE_EDGE_BOTH>, 2720 <&pdc 11 IRQ_TYPE_EDGE_BOTH>; 2721 interrupt-names = "hs_phy_irq", "ss_phy_irq", 2722 "dm_hs_phy_irq", "dp_hs_phy_irq"; 2723 2724 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>, 2725 <&gcc GCC_USB30_SEC_MASTER_CLK>; 2726 assigned-clock-rates = <19200000>, <200000000>; 2727 2728 interconnects = <&aggre1_noc MASTER_USB3_1 0 &mc_virt SLAVE_EBI_CH0 0>, 2729 <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3_1 0>; 2730 interconnect-names = "usb-ddr", "apps-usb"; 2731 2732 #address-cells = <2>; 2733 #size-cells = <2>; 2734 ranges; 2735 dma-ranges; 2736 2737 status = "disabled"; 2738 2739 usb_sec_dwc3: usb@a800000 { 2740 compatible = "snps,dwc3"; 2741 reg = <0 0x0a800000 0 0xcd00>; 2742 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 2743 iommus = <&apps_smmu 0x160 0>; 2744 snps,dis_u2_susphy_quirk; 2745 snps,dis_enblslpm_quirk; 2746 phys = <&usb_sec_hsphy>, <&usb_sec_qmpphy QMP_USB43DP_USB3_PHY>; 2747 phy-names = "usb2-phy", "usb3-phy"; 2748 2749 ports { 2750 #address-cells = <1>; 2751 #size-cells = <0>; 2752 2753 port@0 { 2754 reg = <0>; 2755 2756 usb_sec_dwc3_hs: endpoint { 2757 }; 2758 }; 2759 2760 port@1 { 2761 reg = <1>; 2762 2763 usb_sec_dwc3_ss: endpoint { 2764 remote-endpoint = <&usb_sec_qmpphy_usb_ss_in>; 2765 }; 2766 }; 2767 }; 2768 }; 2769 }; 2770 2771 mdss: mdss@ae00000 { 2772 compatible = "qcom,sc8180x-mdss"; 2773 reg = <0 0x0ae00000 0 0x1000>; 2774 reg-names = "mdss"; 2775 2776 power-domains = <&dispcc MDSS_GDSC>; 2777 2778 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 2779 <&gcc GCC_DISP_HF_AXI_CLK>, 2780 <&gcc GCC_DISP_SF_AXI_CLK>, 2781 <&dispcc DISP_CC_MDSS_MDP_CLK>; 2782 clock-names = "iface", 2783 "bus", 2784 "nrt_bus", 2785 "core"; 2786 2787 resets = <&dispcc DISP_CC_MDSS_CORE_BCR>; 2788 2789 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 2790 interrupt-controller; 2791 #interrupt-cells = <1>; 2792 2793 interconnects = <&mmss_noc MASTER_MDP_PORT0 QCOM_ICC_TAG_ALWAYS 2794 &mc_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>, 2795 <&mmss_noc MASTER_MDP_PORT1 QCOM_ICC_TAG_ALWAYS 2796 &mc_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>, 2797 <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ALWAYS 2798 &config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ALWAYS>; 2799 interconnect-names = "mdp0-mem", 2800 "mdp1-mem", 2801 "cpu-cfg"; 2802 2803 iommus = <&apps_smmu 0x800 0x420>; 2804 2805 #address-cells = <2>; 2806 #size-cells = <2>; 2807 ranges; 2808 2809 status = "disabled"; 2810 2811 mdss_mdp: mdp@ae01000 { 2812 compatible = "qcom,sc8180x-dpu"; 2813 reg = <0 0x0ae01000 0 0x8f000>, 2814 <0 0x0aeb0000 0 0x2008>; 2815 reg-names = "mdp", "vbif"; 2816 2817 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 2818 <&gcc GCC_DISP_HF_AXI_CLK>, 2819 <&dispcc DISP_CC_MDSS_MDP_CLK>, 2820 <&dispcc DISP_CC_MDSS_VSYNC_CLK>, 2821 <&dispcc DISP_CC_MDSS_ROT_CLK>, 2822 <&dispcc DISP_CC_MDSS_MDP_LUT_CLK>; 2823 clock-names = "iface", 2824 "bus", 2825 "core", 2826 "vsync", 2827 "rot", 2828 "lut"; 2829 2830 assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 2831 assigned-clock-rates = <19200000>; 2832 2833 operating-points-v2 = <&mdp_opp_table>; 2834 power-domains = <&rpmhpd SC8180X_MMCX>; 2835 2836 interrupt-parent = <&mdss>; 2837 interrupts = <0>; 2838 2839 ports { 2840 #address-cells = <1>; 2841 #size-cells = <0>; 2842 2843 port@0 { 2844 reg = <0>; 2845 dpu_intf0_out: endpoint { 2846 remote-endpoint = <&dp0_in>; 2847 }; 2848 }; 2849 2850 port@1 { 2851 reg = <1>; 2852 dpu_intf1_out: endpoint { 2853 remote-endpoint = <&mdss_dsi0_in>; 2854 }; 2855 }; 2856 2857 port@2 { 2858 reg = <2>; 2859 dpu_intf2_out: endpoint { 2860 remote-endpoint = <&mdss_dsi1_in>; 2861 }; 2862 }; 2863 2864 port@4 { 2865 reg = <4>; 2866 dpu_intf4_out: endpoint { 2867 remote-endpoint = <&dp1_in>; 2868 }; 2869 }; 2870 2871 port@5 { 2872 reg = <5>; 2873 dpu_intf5_out: endpoint { 2874 remote-endpoint = <&edp_in>; 2875 }; 2876 }; 2877 }; 2878 2879 mdp_opp_table: opp-table { 2880 compatible = "operating-points-v2"; 2881 2882 opp-200000000 { 2883 opp-hz = /bits/ 64 <200000000>; 2884 required-opps = <&rpmhpd_opp_low_svs>; 2885 }; 2886 2887 opp-300000000 { 2888 opp-hz = /bits/ 64 <300000000>; 2889 required-opps = <&rpmhpd_opp_svs>; 2890 }; 2891 2892 opp-345000000 { 2893 opp-hz = /bits/ 64 <345000000>; 2894 required-opps = <&rpmhpd_opp_svs_l1>; 2895 }; 2896 2897 opp-460000000 { 2898 opp-hz = /bits/ 64 <460000000>; 2899 required-opps = <&rpmhpd_opp_nom>; 2900 }; 2901 }; 2902 }; 2903 2904 mdss_dsi0: dsi@ae94000 { 2905 compatible = "qcom,mdss-dsi-ctrl"; 2906 reg = <0 0x0ae94000 0 0x400>; 2907 reg-names = "dsi_ctrl"; 2908 2909 interrupt-parent = <&mdss>; 2910 interrupts = <4>; 2911 2912 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>, 2913 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, 2914 <&dispcc DISP_CC_MDSS_PCLK0_CLK>, 2915 <&dispcc DISP_CC_MDSS_ESC0_CLK>, 2916 <&dispcc DISP_CC_MDSS_AHB_CLK>, 2917 <&gcc GCC_DISP_HF_AXI_CLK>; 2918 clock-names = "byte", 2919 "byte_intf", 2920 "pixel", 2921 "core", 2922 "iface", 2923 "bus"; 2924 2925 operating-points-v2 = <&dsi_opp_table>; 2926 power-domains = <&rpmhpd SC8180X_MMCX>; 2927 2928 phys = <&mdss_dsi0_phy>; 2929 phy-names = "dsi"; 2930 2931 status = "disabled"; 2932 2933 ports { 2934 #address-cells = <1>; 2935 #size-cells = <0>; 2936 2937 port@0 { 2938 reg = <0>; 2939 mdss_dsi0_in: endpoint { 2940 remote-endpoint = <&dpu_intf1_out>; 2941 }; 2942 }; 2943 2944 port@1 { 2945 reg = <1>; 2946 mdss_dsi0_out: endpoint { 2947 }; 2948 }; 2949 }; 2950 2951 dsi_opp_table: opp-table { 2952 compatible = "operating-points-v2"; 2953 2954 opp-187500000 { 2955 opp-hz = /bits/ 64 <187500000>; 2956 required-opps = <&rpmhpd_opp_low_svs>; 2957 }; 2958 2959 opp-300000000 { 2960 opp-hz = /bits/ 64 <300000000>; 2961 required-opps = <&rpmhpd_opp_svs>; 2962 }; 2963 2964 opp-358000000 { 2965 opp-hz = /bits/ 64 <358000000>; 2966 required-opps = <&rpmhpd_opp_svs_l1>; 2967 }; 2968 }; 2969 }; 2970 2971 mdss_dsi0_phy: dsi-phy@ae94400 { 2972 compatible = "qcom,dsi-phy-7nm"; 2973 reg = <0 0x0ae94400 0 0x200>, 2974 <0 0x0ae94600 0 0x280>, 2975 <0 0x0ae94900 0 0x260>; 2976 reg-names = "dsi_phy", 2977 "dsi_phy_lane", 2978 "dsi_pll"; 2979 2980 #clock-cells = <1>; 2981 #phy-cells = <0>; 2982 2983 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 2984 <&rpmhcc RPMH_CXO_CLK>; 2985 clock-names = "iface", "ref"; 2986 2987 status = "disabled"; 2988 }; 2989 2990 mdss_dsi1: dsi@ae96000 { 2991 compatible = "qcom,mdss-dsi-ctrl"; 2992 reg = <0 0x0ae96000 0 0x400>; 2993 reg-names = "dsi_ctrl"; 2994 2995 interrupt-parent = <&mdss>; 2996 interrupts = <5>; 2997 2998 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>, 2999 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>, 3000 <&dispcc DISP_CC_MDSS_PCLK1_CLK>, 3001 <&dispcc DISP_CC_MDSS_ESC1_CLK>, 3002 <&dispcc DISP_CC_MDSS_AHB_CLK>, 3003 <&gcc GCC_DISP_HF_AXI_CLK>; 3004 clock-names = "byte", 3005 "byte_intf", 3006 "pixel", 3007 "core", 3008 "iface", 3009 "bus"; 3010 3011 operating-points-v2 = <&dsi_opp_table>; 3012 power-domains = <&rpmhpd SC8180X_MMCX>; 3013 3014 phys = <&mdss_dsi1_phy>; 3015 phy-names = "dsi"; 3016 3017 status = "disabled"; 3018 3019 ports { 3020 #address-cells = <1>; 3021 #size-cells = <0>; 3022 3023 port@0 { 3024 reg = <0>; 3025 mdss_dsi1_in: endpoint { 3026 remote-endpoint = <&dpu_intf2_out>; 3027 }; 3028 }; 3029 3030 port@1 { 3031 reg = <1>; 3032 mdss_dsi1_out: endpoint { 3033 }; 3034 }; 3035 }; 3036 }; 3037 3038 mdss_dsi1_phy: dsi-phy@ae96400 { 3039 compatible = "qcom,dsi-phy-7nm"; 3040 reg = <0 0x0ae96400 0 0x200>, 3041 <0 0x0ae96600 0 0x280>, 3042 <0 0x0ae96900 0 0x260>; 3043 reg-names = "dsi_phy", 3044 "dsi_phy_lane", 3045 "dsi_pll"; 3046 3047 #clock-cells = <1>; 3048 #phy-cells = <0>; 3049 3050 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 3051 <&rpmhcc RPMH_CXO_CLK>; 3052 clock-names = "iface", "ref"; 3053 3054 status = "disabled"; 3055 }; 3056 3057 mdss_dp0: displayport-controller@ae90000 { 3058 compatible = "qcom,sc8180x-dp"; 3059 reg = <0 0xae90000 0 0x200>, 3060 <0 0xae90200 0 0x200>, 3061 <0 0xae90400 0 0x600>, 3062 <0 0xae90a00 0 0x400>, 3063 <0 0xae91000 0 0x400>; 3064 interrupt-parent = <&mdss>; 3065 interrupts = <12>; 3066 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 3067 <&dispcc DISP_CC_MDSS_DP_AUX_CLK>, 3068 <&dispcc DISP_CC_MDSS_DP_LINK_CLK>, 3069 <&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>, 3070 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>; 3071 clock-names = "core_iface", 3072 "core_aux", 3073 "ctrl_link", 3074 "ctrl_link_iface", 3075 "stream_pixel"; 3076 3077 assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, 3078 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; 3079 assigned-clock-parents = <&usb_prim_qmpphy QMP_USB43DP_DP_LINK_CLK>, 3080 <&usb_prim_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; 3081 3082 phys = <&usb_prim_qmpphy QMP_USB43DP_DP_PHY>; 3083 phy-names = "dp"; 3084 3085 #sound-dai-cells = <0>; 3086 3087 operating-points-v2 = <&dp0_opp_table>; 3088 power-domains = <&rpmhpd SC8180X_MMCX>; 3089 3090 status = "disabled"; 3091 3092 ports { 3093 #address-cells = <1>; 3094 #size-cells = <0>; 3095 3096 port@0 { 3097 reg = <0>; 3098 dp0_in: endpoint { 3099 remote-endpoint = <&dpu_intf0_out>; 3100 }; 3101 }; 3102 3103 port@1 { 3104 reg = <1>; 3105 mdss_dp0_out: endpoint { 3106 }; 3107 }; 3108 }; 3109 3110 dp0_opp_table: opp-table { 3111 compatible = "operating-points-v2"; 3112 3113 opp-160000000 { 3114 opp-hz = /bits/ 64 <160000000>; 3115 required-opps = <&rpmhpd_opp_low_svs>; 3116 }; 3117 3118 opp-270000000 { 3119 opp-hz = /bits/ 64 <270000000>; 3120 required-opps = <&rpmhpd_opp_svs>; 3121 }; 3122 3123 opp-540000000 { 3124 opp-hz = /bits/ 64 <540000000>; 3125 required-opps = <&rpmhpd_opp_svs_l1>; 3126 }; 3127 3128 opp-810000000 { 3129 opp-hz = /bits/ 64 <810000000>; 3130 required-opps = <&rpmhpd_opp_nom>; 3131 }; 3132 }; 3133 }; 3134 3135 mdss_dp1: displayport-controller@ae98000 { 3136 compatible = "qcom,sc8180x-dp"; 3137 reg = <0 0xae98000 0 0x200>, 3138 <0 0xae98200 0 0x200>, 3139 <0 0xae98400 0 0x600>, 3140 <0 0xae98a00 0 0x400>, 3141 <0 0xae99000 0 0x400>; 3142 interrupt-parent = <&mdss>; 3143 interrupts = <13>; 3144 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 3145 <&dispcc DISP_CC_MDSS_DP_AUX1_CLK>, 3146 <&dispcc DISP_CC_MDSS_DP_LINK1_CLK>, 3147 <&dispcc DISP_CC_MDSS_DP_LINK1_INTF_CLK>, 3148 <&dispcc DISP_CC_MDSS_DP_PIXEL2_CLK>; 3149 clock-names = "core_iface", 3150 "core_aux", 3151 "ctrl_link", 3152 "ctrl_link_iface", 3153 "stream_pixel"; 3154 3155 assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK1_CLK_SRC>, 3156 <&dispcc DISP_CC_MDSS_DP_PIXEL2_CLK_SRC>; 3157 assigned-clock-parents = <&usb_sec_qmpphy QMP_USB43DP_DP_LINK_CLK>, 3158 <&usb_sec_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; 3159 3160 phys = <&usb_sec_qmpphy QMP_USB43DP_DP_PHY>; 3161 phy-names = "dp"; 3162 3163 #sound-dai-cells = <0>; 3164 3165 operating-points-v2 = <&dp0_opp_table>; 3166 power-domains = <&rpmhpd SC8180X_MMCX>; 3167 3168 status = "disabled"; 3169 3170 ports { 3171 #address-cells = <1>; 3172 #size-cells = <0>; 3173 3174 port@0 { 3175 reg = <0>; 3176 dp1_in: endpoint { 3177 remote-endpoint = <&dpu_intf4_out>; 3178 }; 3179 }; 3180 3181 port@1 { 3182 reg = <1>; 3183 mdss_dp1_out: endpoint { 3184 }; 3185 }; 3186 }; 3187 3188 dp1_opp_table: opp-table { 3189 compatible = "operating-points-v2"; 3190 3191 opp-160000000 { 3192 opp-hz = /bits/ 64 <160000000>; 3193 required-opps = <&rpmhpd_opp_low_svs>; 3194 }; 3195 3196 opp-270000000 { 3197 opp-hz = /bits/ 64 <270000000>; 3198 required-opps = <&rpmhpd_opp_svs>; 3199 }; 3200 3201 opp-540000000 { 3202 opp-hz = /bits/ 64 <540000000>; 3203 required-opps = <&rpmhpd_opp_svs_l1>; 3204 }; 3205 3206 opp-810000000 { 3207 opp-hz = /bits/ 64 <810000000>; 3208 required-opps = <&rpmhpd_opp_nom>; 3209 }; 3210 }; 3211 }; 3212 3213 mdss_edp: displayport-controller@ae9a000 { 3214 compatible = "qcom,sc8180x-edp"; 3215 reg = <0 0xae9a000 0 0x200>, 3216 <0 0xae9a200 0 0x200>, 3217 <0 0xae9a400 0 0x600>, 3218 <0 0xae9aa00 0 0x400>; 3219 interrupt-parent = <&mdss>; 3220 interrupts = <14>; 3221 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 3222 <&dispcc DISP_CC_MDSS_EDP_AUX_CLK>, 3223 <&dispcc DISP_CC_MDSS_EDP_LINK_CLK>, 3224 <&dispcc DISP_CC_MDSS_EDP_LINK_INTF_CLK>, 3225 <&dispcc DISP_CC_MDSS_EDP_PIXEL_CLK>; 3226 clock-names = "core_iface", 3227 "core_aux", 3228 "ctrl_link", 3229 "ctrl_link_iface", 3230 "stream_pixel"; 3231 3232 assigned-clocks = <&dispcc DISP_CC_MDSS_EDP_LINK_CLK_SRC>, 3233 <&dispcc DISP_CC_MDSS_EDP_PIXEL_CLK_SRC>; 3234 assigned-clock-parents = <&edp_phy 0>, <&edp_phy 1>; 3235 3236 phys = <&edp_phy>; 3237 phy-names = "dp"; 3238 3239 operating-points-v2 = <&edp_opp_table>; 3240 power-domains = <&rpmhpd SC8180X_MMCX>; 3241 3242 status = "disabled"; 3243 3244 ports { 3245 #address-cells = <1>; 3246 #size-cells = <0>; 3247 3248 port@0 { 3249 reg = <0>; 3250 edp_in: endpoint { 3251 remote-endpoint = <&dpu_intf5_out>; 3252 }; 3253 }; 3254 }; 3255 3256 edp_opp_table: opp-table { 3257 compatible = "operating-points-v2"; 3258 3259 opp-160000000 { 3260 opp-hz = /bits/ 64 <160000000>; 3261 required-opps = <&rpmhpd_opp_low_svs>; 3262 }; 3263 3264 opp-270000000 { 3265 opp-hz = /bits/ 64 <270000000>; 3266 required-opps = <&rpmhpd_opp_svs>; 3267 }; 3268 3269 opp-540000000 { 3270 opp-hz = /bits/ 64 <540000000>; 3271 required-opps = <&rpmhpd_opp_svs_l1>; 3272 }; 3273 3274 opp-810000000 { 3275 opp-hz = /bits/ 64 <810000000>; 3276 required-opps = <&rpmhpd_opp_nom>; 3277 }; 3278 }; 3279 }; 3280 }; 3281 3282 edp_phy: phy@aec2a00 { 3283 compatible = "qcom,sc8180x-edp-phy"; 3284 reg = <0 0x0aec2a00 0 0x1c0>, 3285 <0 0x0aec2200 0 0xa0>, 3286 <0 0x0aec2600 0 0xa0>, 3287 <0 0x0aec2000 0 0x19c>; 3288 3289 clocks = <&dispcc DISP_CC_MDSS_EDP_AUX_CLK>, 3290 <&dispcc DISP_CC_MDSS_AHB_CLK>; 3291 clock-names = "aux", "cfg_ahb"; 3292 3293 power-domains = <&rpmhpd SC8180X_MX>; 3294 3295 #clock-cells = <1>; 3296 #phy-cells = <0>; 3297 }; 3298 3299 dispcc: clock-controller@af00000 { 3300 compatible = "qcom,sc8180x-dispcc"; 3301 reg = <0 0x0af00000 0 0x20000>; 3302 clocks = <&rpmhcc RPMH_CXO_CLK>, 3303 <&mdss_dsi0_phy 0>, 3304 <&mdss_dsi0_phy 1>, 3305 <&mdss_dsi1_phy 0>, 3306 <&mdss_dsi1_phy 1>, 3307 <&usb_prim_qmpphy QMP_USB43DP_DP_LINK_CLK>, 3308 <&usb_prim_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>, 3309 <&edp_phy 0>, 3310 <&edp_phy 1>, 3311 <&usb_sec_qmpphy QMP_USB43DP_DP_LINK_CLK>, 3312 <&usb_sec_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; 3313 clock-names = "bi_tcxo", 3314 "dsi0_phy_pll_out_byteclk", 3315 "dsi0_phy_pll_out_dsiclk", 3316 "dsi1_phy_pll_out_byteclk", 3317 "dsi1_phy_pll_out_dsiclk", 3318 "dp_phy_pll_link_clk", 3319 "dp_phy_pll_vco_div_clk", 3320 "edp_phy_pll_link_clk", 3321 "edp_phy_pll_vco_div_clk", 3322 "dptx1_phy_pll_link_clk", 3323 "dptx1_phy_pll_vco_div_clk"; 3324 power-domains = <&rpmhpd SC8180X_MMCX>; 3325 required-opps = <&rpmhpd_opp_low_svs>; 3326 #clock-cells = <1>; 3327 #reset-cells = <1>; 3328 #power-domain-cells = <1>; 3329 }; 3330 3331 pdc: interrupt-controller@b220000 { 3332 compatible = "qcom,sc8180x-pdc", "qcom,pdc"; 3333 reg = <0 0x0b220000 0 0x30000>; 3334 qcom,pdc-ranges = <0 480 94>, <94 609 31>; 3335 #interrupt-cells = <2>; 3336 interrupt-parent = <&intc>; 3337 interrupt-controller; 3338 }; 3339 3340 tsens0: thermal-sensor@c263000 { 3341 compatible = "qcom,sc8180x-tsens", "qcom,tsens-v2"; 3342 reg = <0 0x0c263000 0 0x1ff>, /* TM */ 3343 <0 0x0c222000 0 0x1ff>; /* SROT */ 3344 #qcom,sensors = <16>; 3345 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>, 3346 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>; 3347 interrupt-names = "uplow", "critical"; 3348 #thermal-sensor-cells = <1>; 3349 }; 3350 3351 tsens1: thermal-sensor@c265000 { 3352 compatible = "qcom,sc8180x-tsens", "qcom,tsens-v2"; 3353 reg = <0 0x0c265000 0 0x1ff>, /* TM */ 3354 <0 0x0c223000 0 0x1ff>; /* SROT */ 3355 #qcom,sensors = <9>; 3356 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>, 3357 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>; 3358 interrupt-names = "uplow", "critical"; 3359 #thermal-sensor-cells = <1>; 3360 }; 3361 3362 aoss_qmp: power-controller@c300000 { 3363 compatible = "qcom,sc8180x-aoss-qmp", "qcom,aoss-qmp"; 3364 reg = <0x0 0x0c300000 0x0 0x400>; 3365 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>; 3366 mboxes = <&apss_shared 0>; 3367 3368 #clock-cells = <0>; 3369 }; 3370 3371 sram@c3f0000 { 3372 compatible = "qcom,rpmh-stats"; 3373 reg = <0x0 0x0c3f0000 0x0 0x400>; 3374 }; 3375 3376 spmi_bus: spmi@c440000 { 3377 compatible = "qcom,spmi-pmic-arb"; 3378 reg = <0x0 0x0c440000 0x0 0x0001100>, 3379 <0x0 0x0c600000 0x0 0x2000000>, 3380 <0x0 0x0e600000 0x0 0x0100000>, 3381 <0x0 0x0e700000 0x0 0x00a0000>, 3382 <0x0 0x0c40a000 0x0 0x0026000>; 3383 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 3384 interrupt-names = "periph_irq"; 3385 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>; 3386 qcom,ee = <0>; 3387 qcom,channel = <0>; 3388 #address-cells = <2>; 3389 #size-cells = <0>; 3390 interrupt-controller; 3391 #interrupt-cells = <4>; 3392 }; 3393 3394 apps_smmu: iommu@15000000 { 3395 compatible = "qcom,sc8180x-smmu-500", "arm,mmu-500"; 3396 reg = <0 0x15000000 0 0x100000>; 3397 #iommu-cells = <2>; 3398 #global-interrupts = <1>; 3399 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 3400 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 3401 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 3402 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 3403 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 3404 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 3405 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 3406 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 3407 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 3408 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 3409 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 3410 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 3411 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 3412 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 3413 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 3414 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 3415 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 3416 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 3417 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 3418 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 3419 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 3420 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 3421 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 3422 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, 3423 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, 3424 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, 3425 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 3426 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, 3427 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 3428 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 3429 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 3430 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 3431 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 3432 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 3433 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 3434 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 3435 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 3436 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, 3437 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 3438 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 3439 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 3440 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 3441 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 3442 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 3443 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 3444 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 3445 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 3446 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 3447 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 3448 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 3449 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 3450 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 3451 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 3452 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 3453 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 3454 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 3455 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 3456 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 3457 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 3458 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 3459 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 3460 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 3461 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 3462 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>, 3463 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>, 3464 <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, 3465 <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>, 3466 <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>, 3467 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>, 3468 <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>, 3469 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>, 3470 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>, 3471 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, 3472 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, 3473 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, 3474 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>, 3475 <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>, 3476 <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>, 3477 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>, 3478 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>, 3479 <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>, 3480 <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>, 3481 <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>, 3482 <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>, 3483 <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>, 3484 <GIC_SPI 706 IRQ_TYPE_LEVEL_HIGH>, 3485 <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>, 3486 <GIC_SPI 708 IRQ_TYPE_LEVEL_HIGH>, 3487 <GIC_SPI 709 IRQ_TYPE_LEVEL_HIGH>, 3488 <GIC_SPI 710 IRQ_TYPE_LEVEL_HIGH>, 3489 <GIC_SPI 711 IRQ_TYPE_LEVEL_HIGH>, 3490 <GIC_SPI 712 IRQ_TYPE_LEVEL_HIGH>, 3491 <GIC_SPI 713 IRQ_TYPE_LEVEL_HIGH>, 3492 <GIC_SPI 714 IRQ_TYPE_LEVEL_HIGH>, 3493 <GIC_SPI 715 IRQ_TYPE_LEVEL_HIGH>, 3494 <GIC_SPI 643 IRQ_TYPE_LEVEL_HIGH>, 3495 <GIC_SPI 642 IRQ_TYPE_LEVEL_HIGH>, 3496 <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>, 3497 <GIC_SPI 640 IRQ_TYPE_LEVEL_HIGH>, 3498 <GIC_SPI 768 IRQ_TYPE_LEVEL_HIGH>, 3499 <GIC_SPI 769 IRQ_TYPE_LEVEL_HIGH>, 3500 <GIC_SPI 770 IRQ_TYPE_LEVEL_HIGH>, 3501 <GIC_SPI 771 IRQ_TYPE_LEVEL_HIGH>, 3502 <GIC_SPI 772 IRQ_TYPE_LEVEL_HIGH>, 3503 <GIC_SPI 773 IRQ_TYPE_LEVEL_HIGH>, 3504 <GIC_SPI 774 IRQ_TYPE_LEVEL_HIGH>, 3505 <GIC_SPI 775 IRQ_TYPE_LEVEL_HIGH>; 3506 3507 }; 3508 3509 remoteproc_adsp: remoteproc@17300000 { 3510 compatible = "qcom,sc8180x-adsp-pas"; 3511 reg = <0x0 0x17300000 0x0 0x4040>; 3512 3513 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, 3514 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 3515 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 3516 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 3517 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 3518 interrupt-names = "wdog", "fatal", "ready", 3519 "handover", "stop-ack"; 3520 3521 clocks = <&rpmhcc RPMH_CXO_CLK>; 3522 clock-names = "xo"; 3523 3524 power-domains = <&rpmhpd SC8180X_CX>; 3525 power-domain-names = "cx"; 3526 3527 qcom,qmp = <&aoss_qmp>; 3528 3529 qcom,smem-states = <&adsp_smp2p_out 0>; 3530 qcom,smem-state-names = "stop"; 3531 3532 status = "disabled"; 3533 3534 remoteproc_adsp_glink: glink-edge { 3535 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>; 3536 label = "lpass"; 3537 qcom,remote-pid = <2>; 3538 mboxes = <&apss_shared 8>; 3539 }; 3540 }; 3541 3542 intc: interrupt-controller@17a00000 { 3543 compatible = "arm,gic-v3"; 3544 interrupt-controller; 3545 #interrupt-cells = <3>; 3546 reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */ 3547 <0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */ 3548 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 3549 #redistributor-regions = <1>; 3550 redistributor-stride = <0 0x20000>; 3551 }; 3552 3553 apss_shared: mailbox@17c00000 { 3554 compatible = "qcom,sc8180x-apss-shared", "qcom,sdm845-apss-shared"; 3555 reg = <0x0 0x17c00000 0x0 0x1000>; 3556 #mbox-cells = <1>; 3557 }; 3558 3559 timer@17c20000 { 3560 compatible = "arm,armv7-timer-mem"; 3561 reg = <0x0 0x17c20000 0x0 0x1000>; 3562 3563 #address-cells = <1>; 3564 #size-cells = <1>; 3565 ranges = <0 0 0 0x20000000>; 3566 3567 frame@17c21000 { 3568 reg = <0x17c21000 0x1000>, 3569 <0x17c22000 0x1000>; 3570 frame-number = <0>; 3571 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 3572 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 3573 }; 3574 3575 frame@17c23000 { 3576 reg = <0x17c23000 0x1000>; 3577 frame-number = <1>; 3578 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 3579 status = "disabled"; 3580 }; 3581 3582 frame@17c25000 { 3583 reg = <0x17c25000 0x1000>; 3584 frame-number = <2>; 3585 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 3586 status = "disabled"; 3587 }; 3588 3589 frame@17c27000 { 3590 reg = <0x17c26000 0x1000>; 3591 frame-number = <3>; 3592 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 3593 status = "disabled"; 3594 }; 3595 3596 frame@17c29000 { 3597 reg = <0x17c29000 0x1000>; 3598 frame-number = <4>; 3599 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 3600 status = "disabled"; 3601 }; 3602 3603 frame@17c2b000 { 3604 reg = <0x17c2b000 0x1000>; 3605 frame-number = <5>; 3606 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 3607 status = "disabled"; 3608 }; 3609 3610 frame@17c2d000 { 3611 reg = <0x17c2d000 0x1000>; 3612 frame-number = <6>; 3613 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 3614 status = "disabled"; 3615 }; 3616 }; 3617 3618 apps_rsc: rsc@18200000 { 3619 compatible = "qcom,rpmh-rsc"; 3620 reg = <0x0 0x18200000 0x0 0x10000>, 3621 <0x0 0x18210000 0x0 0x10000>, 3622 <0x0 0x18220000 0x0 0x10000>; 3623 reg-names = "drv-0", "drv-1", "drv-2"; 3624 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 3625 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 3626 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 3627 qcom,tcs-offset = <0xd00>; 3628 qcom,drv-id = <2>; 3629 qcom,tcs-config = <ACTIVE_TCS 2>, 3630 <SLEEP_TCS 1>, 3631 <WAKE_TCS 1>, 3632 <CONTROL_TCS 0>; 3633 label = "apps_rsc"; 3634 power-domains = <&CLUSTER_PD>; 3635 3636 apps_bcm_voter: bcm-voter { 3637 compatible = "qcom,bcm-voter"; 3638 }; 3639 3640 rpmhcc: clock-controller { 3641 compatible = "qcom,sc8180x-rpmh-clk"; 3642 #clock-cells = <1>; 3643 clock-names = "xo"; 3644 clocks = <&xo_board_clk>; 3645 }; 3646 3647 rpmhpd: power-controller { 3648 compatible = "qcom,sc8180x-rpmhpd"; 3649 #power-domain-cells = <1>; 3650 operating-points-v2 = <&rpmhpd_opp_table>; 3651 3652 rpmhpd_opp_table: opp-table { 3653 compatible = "operating-points-v2"; 3654 3655 rpmhpd_opp_ret: opp1 { 3656 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; 3657 }; 3658 3659 rpmhpd_opp_min_svs: opp2 { 3660 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 3661 }; 3662 3663 rpmhpd_opp_low_svs: opp3 { 3664 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 3665 }; 3666 3667 rpmhpd_opp_svs: opp4 { 3668 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 3669 }; 3670 3671 rpmhpd_opp_svs_l1: opp5 { 3672 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 3673 }; 3674 3675 rpmhpd_opp_nom: opp6 { 3676 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 3677 }; 3678 3679 rpmhpd_opp_nom_l1: opp7 { 3680 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 3681 }; 3682 3683 rpmhpd_opp_nom_l2: opp8 { 3684 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; 3685 }; 3686 3687 rpmhpd_opp_turbo: opp9 { 3688 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 3689 }; 3690 3691 rpmhpd_opp_turbo_l1: opp10 { 3692 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 3693 }; 3694 }; 3695 }; 3696 }; 3697 3698 osm_l3: interconnect@18321000 { 3699 compatible = "qcom,sc8180x-osm-l3", "qcom,osm-l3"; 3700 reg = <0 0x18321000 0 0x1400>; 3701 3702 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 3703 clock-names = "xo", "alternate"; 3704 3705 #interconnect-cells = <1>; 3706 }; 3707 3708 lmh@18350800 { 3709 compatible = "qcom,sc8180x-lmh"; 3710 reg = <0 0x18350800 0 0x400>; 3711 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 3712 cpus = <&CPU4>; 3713 qcom,lmh-temp-arm-millicelsius = <65000>; 3714 qcom,lmh-temp-low-millicelsius = <94500>; 3715 qcom,lmh-temp-high-millicelsius = <95000>; 3716 interrupt-controller; 3717 #interrupt-cells = <1>; 3718 }; 3719 3720 lmh@18358800 { 3721 compatible = "qcom,sc8180x-lmh"; 3722 reg = <0 0x18358800 0 0x400>; 3723 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 3724 cpus = <&CPU0>; 3725 qcom,lmh-temp-arm-millicelsius = <65000>; 3726 qcom,lmh-temp-low-millicelsius = <94500>; 3727 qcom,lmh-temp-high-millicelsius = <95000>; 3728 interrupt-controller; 3729 #interrupt-cells = <1>; 3730 }; 3731 3732 cpufreq_hw: cpufreq@18323000 { 3733 compatible = "qcom,cpufreq-hw"; 3734 reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>; 3735 reg-names = "freq-domain0", "freq-domain1"; 3736 3737 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 3738 clock-names = "xo", "alternate"; 3739 3740 #freq-domain-cells = <1>; 3741 #clock-cells = <1>; 3742 }; 3743 3744 wifi: wifi@18800000 { 3745 compatible = "qcom,wcn3990-wifi"; 3746 reg = <0 0x18800000 0 0x800000>; 3747 reg-names = "membase"; 3748 clock-names = "cxo_ref_clk_pin"; 3749 clocks = <&rpmhcc RPMH_RF_CLK2>; 3750 interrupts = <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>, 3751 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>, 3752 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>, 3753 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>, 3754 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>, 3755 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>, 3756 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>, 3757 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>, 3758 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>, 3759 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>, 3760 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>, 3761 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>; 3762 iommus = <&apps_smmu 0x0640 0x1>; 3763 qcom,msa-fixed-perm; 3764 status = "disabled"; 3765 }; 3766 }; 3767 3768 thermal-zones { 3769 cpu0-thermal { 3770 polling-delay-passive = <250>; 3771 3772 thermal-sensors = <&tsens0 1>; 3773 3774 trips { 3775 cpu-crit { 3776 temperature = <110000>; 3777 hysteresis = <1000>; 3778 type = "critical"; 3779 }; 3780 }; 3781 }; 3782 3783 cpu1-thermal { 3784 polling-delay-passive = <250>; 3785 3786 thermal-sensors = <&tsens0 2>; 3787 3788 trips { 3789 cpu-crit { 3790 temperature = <110000>; 3791 hysteresis = <1000>; 3792 type = "critical"; 3793 }; 3794 }; 3795 }; 3796 3797 cpu2-thermal { 3798 polling-delay-passive = <250>; 3799 3800 thermal-sensors = <&tsens0 3>; 3801 3802 trips { 3803 cpu-crit { 3804 temperature = <110000>; 3805 hysteresis = <1000>; 3806 type = "critical"; 3807 }; 3808 }; 3809 }; 3810 3811 cpu3-thermal { 3812 polling-delay-passive = <250>; 3813 3814 thermal-sensors = <&tsens0 4>; 3815 3816 trips { 3817 cpu-crit { 3818 temperature = <110000>; 3819 hysteresis = <1000>; 3820 type = "critical"; 3821 }; 3822 }; 3823 }; 3824 3825 cpu4-top-thermal { 3826 polling-delay-passive = <250>; 3827 3828 thermal-sensors = <&tsens0 7>; 3829 3830 trips { 3831 cpu-crit { 3832 temperature = <110000>; 3833 hysteresis = <1000>; 3834 type = "critical"; 3835 }; 3836 }; 3837 }; 3838 3839 cpu5-top-thermal { 3840 polling-delay-passive = <250>; 3841 3842 thermal-sensors = <&tsens0 8>; 3843 3844 trips { 3845 cpu-crit { 3846 temperature = <110000>; 3847 hysteresis = <1000>; 3848 type = "critical"; 3849 }; 3850 }; 3851 }; 3852 3853 cpu6-top-thermal { 3854 polling-delay-passive = <250>; 3855 3856 thermal-sensors = <&tsens0 9>; 3857 3858 trips { 3859 cpu-crit { 3860 temperature = <110000>; 3861 hysteresis = <1000>; 3862 type = "critical"; 3863 }; 3864 }; 3865 }; 3866 3867 cpu7-top-thermal { 3868 polling-delay-passive = <250>; 3869 3870 thermal-sensors = <&tsens0 10>; 3871 3872 trips { 3873 cpu-crit { 3874 temperature = <110000>; 3875 hysteresis = <1000>; 3876 type = "critical"; 3877 }; 3878 }; 3879 }; 3880 3881 cpu4-bottom-thermal { 3882 polling-delay-passive = <250>; 3883 3884 thermal-sensors = <&tsens0 11>; 3885 3886 trips { 3887 cpu-crit { 3888 temperature = <110000>; 3889 hysteresis = <1000>; 3890 type = "critical"; 3891 }; 3892 }; 3893 }; 3894 3895 cpu5-bottom-thermal { 3896 polling-delay-passive = <250>; 3897 3898 thermal-sensors = <&tsens0 12>; 3899 3900 trips { 3901 cpu-crit { 3902 temperature = <110000>; 3903 hysteresis = <1000>; 3904 type = "critical"; 3905 }; 3906 }; 3907 }; 3908 3909 cpu6-bottom-thermal { 3910 polling-delay-passive = <250>; 3911 3912 thermal-sensors = <&tsens0 13>; 3913 3914 trips { 3915 cpu-crit { 3916 temperature = <110000>; 3917 hysteresis = <1000>; 3918 type = "critical"; 3919 }; 3920 }; 3921 }; 3922 3923 cpu7-bottom-thermal { 3924 polling-delay-passive = <250>; 3925 3926 thermal-sensors = <&tsens0 14>; 3927 3928 trips { 3929 cpu-crit { 3930 temperature = <110000>; 3931 hysteresis = <1000>; 3932 type = "critical"; 3933 }; 3934 }; 3935 }; 3936 3937 aoss0-thermal { 3938 polling-delay-passive = <250>; 3939 3940 thermal-sensors = <&tsens0 0>; 3941 3942 trips { 3943 trip-point0 { 3944 temperature = <90000>; 3945 hysteresis = <2000>; 3946 type = "hot"; 3947 }; 3948 }; 3949 }; 3950 3951 cluster0-thermal { 3952 polling-delay-passive = <250>; 3953 3954 thermal-sensors = <&tsens0 5>; 3955 3956 trips { 3957 cluster-crit { 3958 temperature = <110000>; 3959 hysteresis = <2000>; 3960 type = "critical"; 3961 }; 3962 }; 3963 }; 3964 3965 cluster1-thermal { 3966 polling-delay-passive = <250>; 3967 3968 thermal-sensors = <&tsens0 6>; 3969 3970 trips { 3971 cluster-crit { 3972 temperature = <110000>; 3973 hysteresis = <2000>; 3974 type = "critical"; 3975 }; 3976 }; 3977 }; 3978 3979 gpu-top-thermal { 3980 polling-delay-passive = <250>; 3981 3982 thermal-sensors = <&tsens0 15>; 3983 3984 cooling-maps { 3985 map0 { 3986 trip = <&gpu_top_alert0>; 3987 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 3988 }; 3989 }; 3990 3991 trips { 3992 gpu_top_alert0: trip-point0 { 3993 temperature = <85000>; 3994 hysteresis = <1000>; 3995 type = "passive"; 3996 }; 3997 3998 trip-point1 { 3999 temperature = <90000>; 4000 hysteresis = <1000>; 4001 type = "hot"; 4002 }; 4003 4004 trip-point2 { 4005 temperature = <110000>; 4006 hysteresis = <1000>; 4007 type = "critical"; 4008 }; 4009 }; 4010 }; 4011 4012 aoss1-thermal { 4013 polling-delay-passive = <250>; 4014 4015 thermal-sensors = <&tsens1 0>; 4016 4017 trips { 4018 trip-point0 { 4019 temperature = <90000>; 4020 hysteresis = <2000>; 4021 type = "hot"; 4022 }; 4023 }; 4024 }; 4025 4026 wlan-thermal { 4027 polling-delay-passive = <250>; 4028 4029 thermal-sensors = <&tsens1 1>; 4030 4031 trips { 4032 trip-point0 { 4033 temperature = <90000>; 4034 hysteresis = <2000>; 4035 type = "hot"; 4036 }; 4037 }; 4038 }; 4039 4040 video-thermal { 4041 polling-delay-passive = <250>; 4042 4043 thermal-sensors = <&tsens1 2>; 4044 4045 trips { 4046 trip-point0 { 4047 temperature = <90000>; 4048 hysteresis = <2000>; 4049 type = "hot"; 4050 }; 4051 }; 4052 }; 4053 4054 mem-thermal { 4055 polling-delay-passive = <250>; 4056 4057 thermal-sensors = <&tsens1 3>; 4058 4059 trips { 4060 trip-point0 { 4061 temperature = <90000>; 4062 hysteresis = <2000>; 4063 type = "hot"; 4064 }; 4065 }; 4066 }; 4067 4068 q6-hvx-thermal { 4069 polling-delay-passive = <250>; 4070 4071 thermal-sensors = <&tsens1 4>; 4072 4073 trips { 4074 trip-point0 { 4075 temperature = <90000>; 4076 hysteresis = <2000>; 4077 type = "hot"; 4078 }; 4079 }; 4080 }; 4081 4082 camera-thermal { 4083 polling-delay-passive = <250>; 4084 4085 thermal-sensors = <&tsens1 5>; 4086 4087 trips { 4088 trip-point0 { 4089 temperature = <90000>; 4090 hysteresis = <2000>; 4091 type = "hot"; 4092 }; 4093 }; 4094 }; 4095 4096 compute-thermal { 4097 polling-delay-passive = <250>; 4098 4099 thermal-sensors = <&tsens1 6>; 4100 4101 trips { 4102 trip-point0 { 4103 temperature = <90000>; 4104 hysteresis = <2000>; 4105 type = "hot"; 4106 }; 4107 }; 4108 }; 4109 4110 mdm-dsp-thermal { 4111 polling-delay-passive = <250>; 4112 4113 thermal-sensors = <&tsens1 7>; 4114 4115 trips { 4116 trip-point0 { 4117 temperature = <90000>; 4118 hysteresis = <2000>; 4119 type = "hot"; 4120 }; 4121 }; 4122 }; 4123 4124 npu-thermal { 4125 polling-delay-passive = <250>; 4126 4127 thermal-sensors = <&tsens1 8>; 4128 4129 trips { 4130 trip-point0 { 4131 temperature = <90000>; 4132 hysteresis = <2000>; 4133 type = "hot"; 4134 }; 4135 }; 4136 }; 4137 4138 gpu-bottom-thermal { 4139 polling-delay-passive = <250>; 4140 4141 thermal-sensors = <&tsens1 11>; 4142 4143 cooling-maps { 4144 map0 { 4145 trip = <&gpu_bottom_alert0>; 4146 cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4147 }; 4148 }; 4149 4150 trips { 4151 gpu_bottom_alert0: trip-point0 { 4152 temperature = <85000>; 4153 hysteresis = <1000>; 4154 type = "passive"; 4155 }; 4156 4157 trip-point1 { 4158 temperature = <90000>; 4159 hysteresis = <1000>; 4160 type = "hot"; 4161 }; 4162 4163 trip-point2 { 4164 temperature = <110000>; 4165 hysteresis = <1000>; 4166 type = "critical"; 4167 }; 4168 }; 4169 }; 4170 }; 4171 4172 timer { 4173 compatible = "arm,armv8-timer"; 4174 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>, 4175 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>, 4176 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>, 4177 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>; 4178 }; 4179 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.