1// SPDX-License-Identifier: GPL-2.0 2/* 3 * SDM845 SoC device tree source 4 * 5 * Copyright (c) 2018, The Linux Foundation. All rights reserved. 6 */ 7 8#include <dt-bindings/clock/qcom,camcc-sdm845.h> 9#include <dt-bindings/clock/qcom,dispcc-sdm845.h> 10#include <dt-bindings/clock/qcom,gcc-sdm845.h> 11#include <dt-bindings/clock/qcom,gpucc-sdm845.h> 12#include <dt-bindings/clock/qcom,lpass-sdm845.h> 13#include <dt-bindings/clock/qcom,rpmh.h> 14#include <dt-bindings/clock/qcom,videocc-sdm845.h> 15#include <dt-bindings/dma/qcom-gpi.h> 16#include <dt-bindings/gpio/gpio.h> 17#include <dt-bindings/interconnect/qcom,osm-l3.h> 18#include <dt-bindings/interconnect/qcom,sdm845.h> 19#include <dt-bindings/interrupt-controller/arm-gic.h> 20#include <dt-bindings/phy/phy-qcom-qusb2.h> 21#include <dt-bindings/power/qcom-rpmpd.h> 22#include <dt-bindings/reset/qcom,sdm845-aoss.h> 23#include <dt-bindings/reset/qcom,sdm845-pdc.h> 24#include <dt-bindings/soc/qcom,apr.h> 25#include <dt-bindings/soc/qcom,rpmh-rsc.h> 26#include <dt-bindings/clock/qcom,gcc-sdm845.h> 27#include <dt-bindings/thermal/thermal.h> 28 29/ { 30 interrupt-parent = <&intc>; 31 32 #address-cells = <2>; 33 #size-cells = <2>; 34 35 aliases { 36 i2c0 = &i2c0; 37 i2c1 = &i2c1; 38 i2c2 = &i2c2; 39 i2c3 = &i2c3; 40 i2c4 = &i2c4; 41 i2c5 = &i2c5; 42 i2c6 = &i2c6; 43 i2c7 = &i2c7; 44 i2c8 = &i2c8; 45 i2c9 = &i2c9; 46 i2c10 = &i2c10; 47 i2c11 = &i2c11; 48 i2c12 = &i2c12; 49 i2c13 = &i2c13; 50 i2c14 = &i2c14; 51 i2c15 = &i2c15; 52 spi0 = &spi0; 53 spi1 = &spi1; 54 spi2 = &spi2; 55 spi3 = &spi3; 56 spi4 = &spi4; 57 spi5 = &spi5; 58 spi6 = &spi6; 59 spi7 = &spi7; 60 spi8 = &spi8; 61 spi9 = &spi9; 62 spi10 = &spi10; 63 spi11 = &spi11; 64 spi12 = &spi12; 65 spi13 = &spi13; 66 spi14 = &spi14; 67 spi15 = &spi15; 68 }; 69 70 chosen { }; 71 72 memory@80000000 { 73 device_type = "memory"; 74 /* We expect the bootloader to fill in the size */ 75 reg = <0 0x80000000 0 0>; 76 }; 77 78 reserved-memory { 79 #address-cells = <2>; 80 #size-cells = <2>; 81 ranges; 82 83 hyp_mem: hyp-mem@85700000 { 84 reg = <0 0x85700000 0 0x600000>; 85 no-map; 86 }; 87 88 xbl_mem: xbl-mem@85e00000 { 89 reg = <0 0x85e00000 0 0x100000>; 90 no-map; 91 }; 92 93 aop_mem: aop-mem@85fc0000 { 94 reg = <0 0x85fc0000 0 0x20000>; 95 no-map; 96 }; 97 98 aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 { 99 compatible = "qcom,cmd-db"; 100 reg = <0x0 0x85fe0000 0 0x20000>; 101 no-map; 102 }; 103 104 smem@86000000 { 105 compatible = "qcom,smem"; 106 reg = <0x0 0x86000000 0 0x200000>; 107 no-map; 108 hwlocks = <&tcsr_mutex 3>; 109 }; 110 111 tz_mem: tz@86200000 { 112 reg = <0 0x86200000 0 0x2d00000>; 113 no-map; 114 }; 115 116 rmtfs_mem: rmtfs@88f00000 { 117 compatible = "qcom,rmtfs-mem"; 118 reg = <0 0x88f00000 0 0x200000>; 119 no-map; 120 121 qcom,client-id = <1>; 122 qcom,vmid = <15>; 123 }; 124 125 qseecom_mem: qseecom@8ab00000 { 126 reg = <0 0x8ab00000 0 0x1400000>; 127 no-map; 128 }; 129 130 camera_mem: camera-mem@8bf00000 { 131 reg = <0 0x8bf00000 0 0x500000>; 132 no-map; 133 }; 134 135 ipa_fw_mem: ipa-fw@8c400000 { 136 reg = <0 0x8c400000 0 0x10000>; 137 no-map; 138 }; 139 140 ipa_gsi_mem: ipa-gsi@8c410000 { 141 reg = <0 0x8c410000 0 0x5000>; 142 no-map; 143 }; 144 145 gpu_mem: gpu@8c415000 { 146 reg = <0 0x8c415000 0 0x2000>; 147 no-map; 148 }; 149 150 adsp_mem: adsp@8c500000 { 151 reg = <0 0x8c500000 0 0x1a00000>; 152 no-map; 153 }; 154 155 wlan_msa_mem: wlan-msa@8df00000 { 156 reg = <0 0x8df00000 0 0x100000>; 157 no-map; 158 }; 159 160 mpss_region: mpss@8e000000 { 161 reg = <0 0x8e000000 0 0x7800000>; 162 no-map; 163 }; 164 165 venus_mem: venus@95800000 { 166 reg = <0 0x95800000 0 0x500000>; 167 no-map; 168 }; 169 170 cdsp_mem: cdsp@95d00000 { 171 reg = <0 0x95d00000 0 0x800000>; 172 no-map; 173 }; 174 175 mba_region: mba@96500000 { 176 reg = <0 0x96500000 0 0x200000>; 177 no-map; 178 }; 179 180 slpi_mem: slpi@96700000 { 181 reg = <0 0x96700000 0 0x1400000>; 182 no-map; 183 }; 184 185 spss_mem: spss@97b00000 { 186 reg = <0 0x97b00000 0 0x100000>; 187 no-map; 188 }; 189 }; 190 191 cpus: cpus { 192 #address-cells = <2>; 193 #size-cells = <0>; 194 195 CPU0: cpu@0 { 196 device_type = "cpu"; 197 compatible = "qcom,kryo385"; 198 reg = <0x0 0x0>; 199 enable-method = "psci"; 200 capacity-dmips-mhz = <611>; 201 dynamic-power-coefficient = <290>; 202 qcom,freq-domain = <&cpufreq_hw 0>; 203 operating-points-v2 = <&cpu0_opp_table>; 204 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>, 205 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 206 power-domains = <&CPU_PD0>; 207 power-domain-names = "psci"; 208 #cooling-cells = <2>; 209 next-level-cache = <&L2_0>; 210 L2_0: l2-cache { 211 compatible = "cache"; 212 next-level-cache = <&L3_0>; 213 L3_0: l3-cache { 214 compatible = "cache"; 215 }; 216 }; 217 }; 218 219 CPU1: cpu@100 { 220 device_type = "cpu"; 221 compatible = "qcom,kryo385"; 222 reg = <0x0 0x100>; 223 enable-method = "psci"; 224 capacity-dmips-mhz = <611>; 225 dynamic-power-coefficient = <290>; 226 qcom,freq-domain = <&cpufreq_hw 0>; 227 operating-points-v2 = <&cpu0_opp_table>; 228 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>, 229 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 230 power-domains = <&CPU_PD1>; 231 power-domain-names = "psci"; 232 #cooling-cells = <2>; 233 next-level-cache = <&L2_100>; 234 L2_100: l2-cache { 235 compatible = "cache"; 236 next-level-cache = <&L3_0>; 237 }; 238 }; 239 240 CPU2: cpu@200 { 241 device_type = "cpu"; 242 compatible = "qcom,kryo385"; 243 reg = <0x0 0x200>; 244 enable-method = "psci"; 245 capacity-dmips-mhz = <611>; 246 dynamic-power-coefficient = <290>; 247 qcom,freq-domain = <&cpufreq_hw 0>; 248 operating-points-v2 = <&cpu0_opp_table>; 249 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>, 250 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 251 power-domains = <&CPU_PD2>; 252 power-domain-names = "psci"; 253 #cooling-cells = <2>; 254 next-level-cache = <&L2_200>; 255 L2_200: l2-cache { 256 compatible = "cache"; 257 next-level-cache = <&L3_0>; 258 }; 259 }; 260 261 CPU3: cpu@300 { 262 device_type = "cpu"; 263 compatible = "qcom,kryo385"; 264 reg = <0x0 0x300>; 265 enable-method = "psci"; 266 capacity-dmips-mhz = <611>; 267 dynamic-power-coefficient = <290>; 268 qcom,freq-domain = <&cpufreq_hw 0>; 269 operating-points-v2 = <&cpu0_opp_table>; 270 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>, 271 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 272 #cooling-cells = <2>; 273 power-domains = <&CPU_PD3>; 274 power-domain-names = "psci"; 275 next-level-cache = <&L2_300>; 276 L2_300: l2-cache { 277 compatible = "cache"; 278 next-level-cache = <&L3_0>; 279 }; 280 }; 281 282 CPU4: cpu@400 { 283 device_type = "cpu"; 284 compatible = "qcom,kryo385"; 285 reg = <0x0 0x400>; 286 enable-method = "psci"; 287 capacity-dmips-mhz = <1024>; 288 dynamic-power-coefficient = <442>; 289 qcom,freq-domain = <&cpufreq_hw 1>; 290 operating-points-v2 = <&cpu4_opp_table>; 291 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>, 292 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 293 power-domains = <&CPU_PD4>; 294 power-domain-names = "psci"; 295 #cooling-cells = <2>; 296 next-level-cache = <&L2_400>; 297 L2_400: l2-cache { 298 compatible = "cache"; 299 next-level-cache = <&L3_0>; 300 }; 301 }; 302 303 CPU5: cpu@500 { 304 device_type = "cpu"; 305 compatible = "qcom,kryo385"; 306 reg = <0x0 0x500>; 307 enable-method = "psci"; 308 capacity-dmips-mhz = <1024>; 309 dynamic-power-coefficient = <442>; 310 qcom,freq-domain = <&cpufreq_hw 1>; 311 operating-points-v2 = <&cpu4_opp_table>; 312 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>, 313 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 314 power-domains = <&CPU_PD5>; 315 power-domain-names = "psci"; 316 #cooling-cells = <2>; 317 next-level-cache = <&L2_500>; 318 L2_500: l2-cache { 319 compatible = "cache"; 320 next-level-cache = <&L3_0>; 321 }; 322 }; 323 324 CPU6: cpu@600 { 325 device_type = "cpu"; 326 compatible = "qcom,kryo385"; 327 reg = <0x0 0x600>; 328 enable-method = "psci"; 329 capacity-dmips-mhz = <1024>; 330 dynamic-power-coefficient = <442>; 331 qcom,freq-domain = <&cpufreq_hw 1>; 332 operating-points-v2 = <&cpu4_opp_table>; 333 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>, 334 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 335 power-domains = <&CPU_PD6>; 336 power-domain-names = "psci"; 337 #cooling-cells = <2>; 338 next-level-cache = <&L2_600>; 339 L2_600: l2-cache { 340 compatible = "cache"; 341 next-level-cache = <&L3_0>; 342 }; 343 }; 344 345 CPU7: cpu@700 { 346 device_type = "cpu"; 347 compatible = "qcom,kryo385"; 348 reg = <0x0 0x700>; 349 enable-method = "psci"; 350 capacity-dmips-mhz = <1024>; 351 dynamic-power-coefficient = <442>; 352 qcom,freq-domain = <&cpufreq_hw 1>; 353 operating-points-v2 = <&cpu4_opp_table>; 354 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_EBI1 3>, 355 <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 356 power-domains = <&CPU_PD7>; 357 power-domain-names = "psci"; 358 #cooling-cells = <2>; 359 next-level-cache = <&L2_700>; 360 L2_700: l2-cache { 361 compatible = "cache"; 362 next-level-cache = <&L3_0>; 363 }; 364 }; 365 366 cpu-map { 367 cluster0 { 368 core0 { 369 cpu = <&CPU0>; 370 }; 371 372 core1 { 373 cpu = <&CPU1>; 374 }; 375 376 core2 { 377 cpu = <&CPU2>; 378 }; 379 380 core3 { 381 cpu = <&CPU3>; 382 }; 383 384 core4 { 385 cpu = <&CPU4>; 386 }; 387 388 core5 { 389 cpu = <&CPU5>; 390 }; 391 392 core6 { 393 cpu = <&CPU6>; 394 }; 395 396 core7 { 397 cpu = <&CPU7>; 398 }; 399 }; 400 }; 401 402 cpu_idle_states: idle-states { 403 entry-method = "psci"; 404 405 LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { 406 compatible = "arm,idle-state"; 407 idle-state-name = "little-rail-power-collapse"; 408 arm,psci-suspend-param = <0x40000004>; 409 entry-latency-us = <350>; 410 exit-latency-us = <461>; 411 min-residency-us = <1890>; 412 local-timer-stop; 413 }; 414 415 BIG_CPU_SLEEP_0: cpu-sleep-1-0 { 416 compatible = "arm,idle-state"; 417 idle-state-name = "big-rail-power-collapse"; 418 arm,psci-suspend-param = <0x40000004>; 419 entry-latency-us = <264>; 420 exit-latency-us = <621>; 421 min-residency-us = <952>; 422 local-timer-stop; 423 }; 424 }; 425 426 domain-idle-states { 427 CLUSTER_SLEEP_0: cluster-sleep-0 { 428 compatible = "domain-idle-state"; 429 idle-state-name = "cluster-power-collapse"; 430 arm,psci-suspend-param = <0x4100c244>; 431 entry-latency-us = <3263>; 432 exit-latency-us = <6562>; 433 min-residency-us = <9987>; 434 local-timer-stop; 435 }; 436 }; 437 }; 438 439 cpu0_opp_table: opp-table-cpu0 { 440 compatible = "operating-points-v2"; 441 opp-shared; 442 443 cpu0_opp1: opp-300000000 { 444 opp-hz = /bits/ 64 <300000000>; 445 opp-peak-kBps = <800000 4800000>; 446 }; 447 448 cpu0_opp2: opp-403200000 { 449 opp-hz = /bits/ 64 <403200000>; 450 opp-peak-kBps = <800000 4800000>; 451 }; 452 453 cpu0_opp3: opp-480000000 { 454 opp-hz = /bits/ 64 <480000000>; 455 opp-peak-kBps = <800000 6451200>; 456 }; 457 458 cpu0_opp4: opp-576000000 { 459 opp-hz = /bits/ 64 <576000000>; 460 opp-peak-kBps = <800000 6451200>; 461 }; 462 463 cpu0_opp5: opp-652800000 { 464 opp-hz = /bits/ 64 <652800000>; 465 opp-peak-kBps = <800000 7680000>; 466 }; 467 468 cpu0_opp6: opp-748800000 { 469 opp-hz = /bits/ 64 <748800000>; 470 opp-peak-kBps = <1804000 9216000>; 471 }; 472 473 cpu0_opp7: opp-825600000 { 474 opp-hz = /bits/ 64 <825600000>; 475 opp-peak-kBps = <1804000 9216000>; 476 }; 477 478 cpu0_opp8: opp-902400000 { 479 opp-hz = /bits/ 64 <902400000>; 480 opp-peak-kBps = <1804000 10444800>; 481 }; 482 483 cpu0_opp9: opp-979200000 { 484 opp-hz = /bits/ 64 <979200000>; 485 opp-peak-kBps = <1804000 11980800>; 486 }; 487 488 cpu0_opp10: opp-1056000000 { 489 opp-hz = /bits/ 64 <1056000000>; 490 opp-peak-kBps = <1804000 11980800>; 491 }; 492 493 cpu0_opp11: opp-1132800000 { 494 opp-hz = /bits/ 64 <1132800000>; 495 opp-peak-kBps = <2188000 13516800>; 496 }; 497 498 cpu0_opp12: opp-1228800000 { 499 opp-hz = /bits/ 64 <1228800000>; 500 opp-peak-kBps = <2188000 15052800>; 501 }; 502 503 cpu0_opp13: opp-1324800000 { 504 opp-hz = /bits/ 64 <1324800000>; 505 opp-peak-kBps = <2188000 16588800>; 506 }; 507 508 cpu0_opp14: opp-1420800000 { 509 opp-hz = /bits/ 64 <1420800000>; 510 opp-peak-kBps = <3072000 18124800>; 511 }; 512 513 cpu0_opp15: opp-1516800000 { 514 opp-hz = /bits/ 64 <1516800000>; 515 opp-peak-kBps = <3072000 19353600>; 516 }; 517 518 cpu0_opp16: opp-1612800000 { 519 opp-hz = /bits/ 64 <1612800000>; 520 opp-peak-kBps = <4068000 19353600>; 521 }; 522 523 cpu0_opp17: opp-1689600000 { 524 opp-hz = /bits/ 64 <1689600000>; 525 opp-peak-kBps = <4068000 20889600>; 526 }; 527 528 cpu0_opp18: opp-1766400000 { 529 opp-hz = /bits/ 64 <1766400000>; 530 opp-peak-kBps = <4068000 22425600>; 531 }; 532 }; 533 534 cpu4_opp_table: opp-table-cpu4 { 535 compatible = "operating-points-v2"; 536 opp-shared; 537 538 cpu4_opp1: opp-300000000 { 539 opp-hz = /bits/ 64 <300000000>; 540 opp-peak-kBps = <800000 4800000>; 541 }; 542 543 cpu4_opp2: opp-403200000 { 544 opp-hz = /bits/ 64 <403200000>; 545 opp-peak-kBps = <800000 4800000>; 546 }; 547 548 cpu4_opp3: opp-480000000 { 549 opp-hz = /bits/ 64 <480000000>; 550 opp-peak-kBps = <1804000 4800000>; 551 }; 552 553 cpu4_opp4: opp-576000000 { 554 opp-hz = /bits/ 64 <576000000>; 555 opp-peak-kBps = <1804000 4800000>; 556 }; 557 558 cpu4_opp5: opp-652800000 { 559 opp-hz = /bits/ 64 <652800000>; 560 opp-peak-kBps = <1804000 4800000>; 561 }; 562 563 cpu4_opp6: opp-748800000 { 564 opp-hz = /bits/ 64 <748800000>; 565 opp-peak-kBps = <1804000 4800000>; 566 }; 567 568 cpu4_opp7: opp-825600000 { 569 opp-hz = /bits/ 64 <825600000>; 570 opp-peak-kBps = <2188000 9216000>; 571 }; 572 573 cpu4_opp8: opp-902400000 { 574 opp-hz = /bits/ 64 <902400000>; 575 opp-peak-kBps = <2188000 9216000>; 576 }; 577 578 cpu4_opp9: opp-979200000 { 579 opp-hz = /bits/ 64 <979200000>; 580 opp-peak-kBps = <2188000 9216000>; 581 }; 582 583 cpu4_opp10: opp-1056000000 { 584 opp-hz = /bits/ 64 <1056000000>; 585 opp-peak-kBps = <3072000 9216000>; 586 }; 587 588 cpu4_opp11: opp-1132800000 { 589 opp-hz = /bits/ 64 <1132800000>; 590 opp-peak-kBps = <3072000 11980800>; 591 }; 592 593 cpu4_opp12: opp-1209600000 { 594 opp-hz = /bits/ 64 <1209600000>; 595 opp-peak-kBps = <4068000 11980800>; 596 }; 597 598 cpu4_opp13: opp-1286400000 { 599 opp-hz = /bits/ 64 <1286400000>; 600 opp-peak-kBps = <4068000 11980800>; 601 }; 602 603 cpu4_opp14: opp-1363200000 { 604 opp-hz = /bits/ 64 <1363200000>; 605 opp-peak-kBps = <4068000 15052800>; 606 }; 607 608 cpu4_opp15: opp-1459200000 { 609 opp-hz = /bits/ 64 <1459200000>; 610 opp-peak-kBps = <4068000 15052800>; 611 }; 612 613 cpu4_opp16: opp-1536000000 { 614 opp-hz = /bits/ 64 <1536000000>; 615 opp-peak-kBps = <5412000 15052800>; 616 }; 617 618 cpu4_opp17: opp-1612800000 { 619 opp-hz = /bits/ 64 <1612800000>; 620 opp-peak-kBps = <5412000 15052800>; 621 }; 622 623 cpu4_opp18: opp-1689600000 { 624 opp-hz = /bits/ 64 <1689600000>; 625 opp-peak-kBps = <5412000 19353600>; 626 }; 627 628 cpu4_opp19: opp-1766400000 { 629 opp-hz = /bits/ 64 <1766400000>; 630 opp-peak-kBps = <6220000 19353600>; 631 }; 632 633 cpu4_opp20: opp-1843200000 { 634 opp-hz = /bits/ 64 <1843200000>; 635 opp-peak-kBps = <6220000 19353600>; 636 }; 637 638 cpu4_opp21: opp-1920000000 { 639 opp-hz = /bits/ 64 <1920000000>; 640 opp-peak-kBps = <7216000 19353600>; 641 }; 642 643 cpu4_opp22: opp-1996800000 { 644 opp-hz = /bits/ 64 <1996800000>; 645 opp-peak-kBps = <7216000 20889600>; 646 }; 647 648 cpu4_opp23: opp-2092800000 { 649 opp-hz = /bits/ 64 <2092800000>; 650 opp-peak-kBps = <7216000 20889600>; 651 }; 652 653 cpu4_opp24: opp-2169600000 { 654 opp-hz = /bits/ 64 <2169600000>; 655 opp-peak-kBps = <7216000 20889600>; 656 }; 657 658 cpu4_opp25: opp-2246400000 { 659 opp-hz = /bits/ 64 <2246400000>; 660 opp-peak-kBps = <7216000 20889600>; 661 }; 662 663 cpu4_opp26: opp-2323200000 { 664 opp-hz = /bits/ 64 <2323200000>; 665 opp-peak-kBps = <7216000 20889600>; 666 }; 667 668 cpu4_opp27: opp-2400000000 { 669 opp-hz = /bits/ 64 <2400000000>; 670 opp-peak-kBps = <7216000 22425600>; 671 }; 672 673 cpu4_opp28: opp-2476800000 { 674 opp-hz = /bits/ 64 <2476800000>; 675 opp-peak-kBps = <7216000 22425600>; 676 }; 677 678 cpu4_opp29: opp-2553600000 { 679 opp-hz = /bits/ 64 <2553600000>; 680 opp-peak-kBps = <7216000 22425600>; 681 }; 682 683 cpu4_opp30: opp-2649600000 { 684 opp-hz = /bits/ 64 <2649600000>; 685 opp-peak-kBps = <7216000 22425600>; 686 }; 687 688 cpu4_opp31: opp-2745600000 { 689 opp-hz = /bits/ 64 <2745600000>; 690 opp-peak-kBps = <7216000 25497600>; 691 }; 692 693 cpu4_opp32: opp-2803200000 { 694 opp-hz = /bits/ 64 <2803200000>; 695 opp-peak-kBps = <7216000 25497600>; 696 }; 697 }; 698 699 pmu { 700 compatible = "arm,armv8-pmuv3"; 701 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>; 702 }; 703 704 timer { 705 compatible = "arm,armv8-timer"; 706 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>, 707 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>, 708 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>, 709 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>; 710 }; 711 712 clocks { 713 xo_board: xo-board { 714 compatible = "fixed-clock"; 715 #clock-cells = <0>; 716 clock-frequency = <38400000>; 717 clock-output-names = "xo_board"; 718 }; 719 720 sleep_clk: sleep-clk { 721 compatible = "fixed-clock"; 722 #clock-cells = <0>; 723 clock-frequency = <32764>; 724 }; 725 }; 726 727 firmware { 728 scm { 729 compatible = "qcom,scm-sdm845", "qcom,scm"; 730 }; 731 }; 732 733 adsp_pas: remoteproc-adsp { 734 compatible = "qcom,sdm845-adsp-pas"; 735 736 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, 737 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 738 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 739 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 740 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 741 interrupt-names = "wdog", "fatal", "ready", 742 "handover", "stop-ack"; 743 744 clocks = <&rpmhcc RPMH_CXO_CLK>; 745 clock-names = "xo"; 746 747 memory-region = <&adsp_mem>; 748 749 qcom,qmp = <&aoss_qmp>; 750 751 qcom,smem-states = <&adsp_smp2p_out 0>; 752 qcom,smem-state-names = "stop"; 753 754 status = "disabled"; 755 756 glink-edge { 757 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>; 758 label = "lpass"; 759 qcom,remote-pid = <2>; 760 mboxes = <&apss_shared 8>; 761 762 apr { 763 compatible = "qcom,apr-v2"; 764 qcom,glink-channels = "apr_audio_svc"; 765 qcom,domain = <APR_DOMAIN_ADSP>; 766 #address-cells = <1>; 767 #size-cells = <0>; 768 qcom,intents = <512 20>; 769 770 apr-service@3 { 771 reg = <APR_SVC_ADSP_CORE>; 772 compatible = "qcom,q6core"; 773 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 774 }; 775 776 q6afe: apr-service@4 { 777 compatible = "qcom,q6afe"; 778 reg = <APR_SVC_AFE>; 779 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 780 q6afedai: dais { 781 compatible = "qcom,q6afe-dais"; 782 #address-cells = <1>; 783 #size-cells = <0>; 784 #sound-dai-cells = <1>; 785 }; 786 }; 787 788 q6asm: apr-service@7 { 789 compatible = "qcom,q6asm"; 790 reg = <APR_SVC_ASM>; 791 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 792 q6asmdai: dais { 793 compatible = "qcom,q6asm-dais"; 794 #address-cells = <1>; 795 #size-cells = <0>; 796 #sound-dai-cells = <1>; 797 iommus = <&apps_smmu 0x1821 0x0>; 798 }; 799 }; 800 801 q6adm: apr-service@8 { 802 compatible = "qcom,q6adm"; 803 reg = <APR_SVC_ADM>; 804 qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; 805 q6routing: routing { 806 compatible = "qcom,q6adm-routing"; 807 #sound-dai-cells = <0>; 808 }; 809 }; 810 }; 811 812 fastrpc { 813 compatible = "qcom,fastrpc"; 814 qcom,glink-channels = "fastrpcglink-apps-dsp"; 815 label = "adsp"; 816 qcom,non-secure-domain; 817 #address-cells = <1>; 818 #size-cells = <0>; 819 820 compute-cb@3 { 821 compatible = "qcom,fastrpc-compute-cb"; 822 reg = <3>; 823 iommus = <&apps_smmu 0x1823 0x0>; 824 }; 825 826 compute-cb@4 { 827 compatible = "qcom,fastrpc-compute-cb"; 828 reg = <4>; 829 iommus = <&apps_smmu 0x1824 0x0>; 830 }; 831 }; 832 }; 833 }; 834 835 cdsp_pas: remoteproc-cdsp { 836 compatible = "qcom,sdm845-cdsp-pas"; 837 838 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, 839 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 840 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 841 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 842 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 843 interrupt-names = "wdog", "fatal", "ready", 844 "handover", "stop-ack"; 845 846 clocks = <&rpmhcc RPMH_CXO_CLK>; 847 clock-names = "xo"; 848 849 memory-region = <&cdsp_mem>; 850 851 qcom,qmp = <&aoss_qmp>; 852 853 qcom,smem-states = <&cdsp_smp2p_out 0>; 854 qcom,smem-state-names = "stop"; 855 856 status = "disabled"; 857 858 glink-edge { 859 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>; 860 label = "turing"; 861 qcom,remote-pid = <5>; 862 mboxes = <&apss_shared 4>; 863 fastrpc { 864 compatible = "qcom,fastrpc"; 865 qcom,glink-channels = "fastrpcglink-apps-dsp"; 866 label = "cdsp"; 867 qcom,non-secure-domain; 868 #address-cells = <1>; 869 #size-cells = <0>; 870 871 compute-cb@1 { 872 compatible = "qcom,fastrpc-compute-cb"; 873 reg = <1>; 874 iommus = <&apps_smmu 0x1401 0x30>; 875 }; 876 877 compute-cb@2 { 878 compatible = "qcom,fastrpc-compute-cb"; 879 reg = <2>; 880 iommus = <&apps_smmu 0x1402 0x30>; 881 }; 882 883 compute-cb@3 { 884 compatible = "qcom,fastrpc-compute-cb"; 885 reg = <3>; 886 iommus = <&apps_smmu 0x1403 0x30>; 887 }; 888 889 compute-cb@4 { 890 compatible = "qcom,fastrpc-compute-cb"; 891 reg = <4>; 892 iommus = <&apps_smmu 0x1404 0x30>; 893 }; 894 895 compute-cb@5 { 896 compatible = "qcom,fastrpc-compute-cb"; 897 reg = <5>; 898 iommus = <&apps_smmu 0x1405 0x30>; 899 }; 900 901 compute-cb@6 { 902 compatible = "qcom,fastrpc-compute-cb"; 903 reg = <6>; 904 iommus = <&apps_smmu 0x1406 0x30>; 905 }; 906 907 compute-cb@7 { 908 compatible = "qcom,fastrpc-compute-cb"; 909 reg = <7>; 910 iommus = <&apps_smmu 0x1407 0x30>; 911 }; 912 913 compute-cb@8 { 914 compatible = "qcom,fastrpc-compute-cb"; 915 reg = <8>; 916 iommus = <&apps_smmu 0x1408 0x30>; 917 }; 918 }; 919 }; 920 }; 921 922 smp2p-cdsp { 923 compatible = "qcom,smp2p"; 924 qcom,smem = <94>, <432>; 925 926 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>; 927 928 mboxes = <&apss_shared 6>; 929 930 qcom,local-pid = <0>; 931 qcom,remote-pid = <5>; 932 933 cdsp_smp2p_out: master-kernel { 934 qcom,entry-name = "master-kernel"; 935 #qcom,smem-state-cells = <1>; 936 }; 937 938 cdsp_smp2p_in: slave-kernel { 939 qcom,entry-name = "slave-kernel"; 940 941 interrupt-controller; 942 #interrupt-cells = <2>; 943 }; 944 }; 945 946 smp2p-lpass { 947 compatible = "qcom,smp2p"; 948 qcom,smem = <443>, <429>; 949 950 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>; 951 952 mboxes = <&apss_shared 10>; 953 954 qcom,local-pid = <0>; 955 qcom,remote-pid = <2>; 956 957 adsp_smp2p_out: master-kernel { 958 qcom,entry-name = "master-kernel"; 959 #qcom,smem-state-cells = <1>; 960 }; 961 962 adsp_smp2p_in: slave-kernel { 963 qcom,entry-name = "slave-kernel"; 964 965 interrupt-controller; 966 #interrupt-cells = <2>; 967 }; 968 }; 969 970 smp2p-mpss { 971 compatible = "qcom,smp2p"; 972 qcom,smem = <435>, <428>; 973 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>; 974 mboxes = <&apss_shared 14>; 975 qcom,local-pid = <0>; 976 qcom,remote-pid = <1>; 977 978 modem_smp2p_out: master-kernel { 979 qcom,entry-name = "master-kernel"; 980 #qcom,smem-state-cells = <1>; 981 }; 982 983 modem_smp2p_in: slave-kernel { 984 qcom,entry-name = "slave-kernel"; 985 interrupt-controller; 986 #interrupt-cells = <2>; 987 }; 988 989 ipa_smp2p_out: ipa-ap-to-modem { 990 qcom,entry-name = "ipa"; 991 #qcom,smem-state-cells = <1>; 992 }; 993 994 ipa_smp2p_in: ipa-modem-to-ap { 995 qcom,entry-name = "ipa"; 996 interrupt-controller; 997 #interrupt-cells = <2>; 998 }; 999 }; 1000 1001 smp2p-slpi { 1002 compatible = "qcom,smp2p"; 1003 qcom,smem = <481>, <430>; 1004 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>; 1005 mboxes = <&apss_shared 26>; 1006 qcom,local-pid = <0>; 1007 qcom,remote-pid = <3>; 1008 1009 slpi_smp2p_out: master-kernel { 1010 qcom,entry-name = "master-kernel"; 1011 #qcom,smem-state-cells = <1>; 1012 }; 1013 1014 slpi_smp2p_in: slave-kernel { 1015 qcom,entry-name = "slave-kernel"; 1016 interrupt-controller; 1017 #interrupt-cells = <2>; 1018 }; 1019 }; 1020 1021 psci: psci { 1022 compatible = "arm,psci-1.0"; 1023 method = "smc"; 1024 1025 CPU_PD0: power-domain-cpu0 { 1026 #power-domain-cells = <0>; 1027 power-domains = <&CLUSTER_PD>; 1028 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 1029 }; 1030 1031 CPU_PD1: power-domain-cpu1 { 1032 #power-domain-cells = <0>; 1033 power-domains = <&CLUSTER_PD>; 1034 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 1035 }; 1036 1037 CPU_PD2: power-domain-cpu2 { 1038 #power-domain-cells = <0>; 1039 power-domains = <&CLUSTER_PD>; 1040 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 1041 }; 1042 1043 CPU_PD3: power-domain-cpu3 { 1044 #power-domain-cells = <0>; 1045 power-domains = <&CLUSTER_PD>; 1046 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 1047 }; 1048 1049 CPU_PD4: power-domain-cpu4 { 1050 #power-domain-cells = <0>; 1051 power-domains = <&CLUSTER_PD>; 1052 domain-idle-states = <&BIG_CPU_SLEEP_0>; 1053 }; 1054 1055 CPU_PD5: power-domain-cpu5 { 1056 #power-domain-cells = <0>; 1057 power-domains = <&CLUSTER_PD>; 1058 domain-idle-states = <&BIG_CPU_SLEEP_0>; 1059 }; 1060 1061 CPU_PD6: power-domain-cpu6 { 1062 #power-domain-cells = <0>; 1063 power-domains = <&CLUSTER_PD>; 1064 domain-idle-states = <&BIG_CPU_SLEEP_0>; 1065 }; 1066 1067 CPU_PD7: power-domain-cpu7 { 1068 #power-domain-cells = <0>; 1069 power-domains = <&CLUSTER_PD>; 1070 domain-idle-states = <&BIG_CPU_SLEEP_0>; 1071 }; 1072 1073 CLUSTER_PD: power-domain-cluster { 1074 #power-domain-cells = <0>; 1075 domain-idle-states = <&CLUSTER_SLEEP_0>; 1076 }; 1077 }; 1078 1079 soc: soc@0 { 1080 #address-cells = <2>; 1081 #size-cells = <2>; 1082 ranges = <0 0 0 0 0x10 0>; 1083 dma-ranges = <0 0 0 0 0x10 0>; 1084 compatible = "simple-bus"; 1085 1086 gcc: clock-controller@100000 { 1087 compatible = "qcom,gcc-sdm845"; 1088 reg = <0 0x00100000 0 0x1f0000>; 1089 clocks = <&rpmhcc RPMH_CXO_CLK>, 1090 <&rpmhcc RPMH_CXO_CLK_A>, 1091 <&sleep_clk>, 1092 <&pcie0_lane>, 1093 <&pcie1_lane>; 1094 clock-names = "bi_tcxo", 1095 "bi_tcxo_ao", 1096 "sleep_clk", 1097 "pcie_0_pipe_clk", 1098 "pcie_1_pipe_clk"; 1099 #clock-cells = <1>; 1100 #reset-cells = <1>; 1101 #power-domain-cells = <1>; 1102 }; 1103 1104 qfprom@784000 { 1105 compatible = "qcom,sdm845-qfprom", "qcom,qfprom"; 1106 reg = <0 0x00784000 0 0x8ff>; 1107 #address-cells = <1>; 1108 #size-cells = <1>; 1109 1110 qusb2p_hstx_trim: hstx-trim-primary@1eb { 1111 reg = <0x1eb 0x1>; 1112 bits = <1 4>; 1113 }; 1114 1115 qusb2s_hstx_trim: hstx-trim-secondary@1eb { 1116 reg = <0x1eb 0x2>; 1117 bits = <6 4>; 1118 }; 1119 }; 1120 1121 rng: rng@793000 { 1122 compatible = "qcom,prng-ee"; 1123 reg = <0 0x00793000 0 0x1000>; 1124 clocks = <&gcc GCC_PRNG_AHB_CLK>; 1125 clock-names = "core"; 1126 }; 1127 1128 qup_opp_table: opp-table-qup { 1129 compatible = "operating-points-v2"; 1130 1131 opp-50000000 { 1132 opp-hz = /bits/ 64 <50000000>; 1133 required-opps = <&rpmhpd_opp_min_svs>; 1134 }; 1135 1136 opp-75000000 { 1137 opp-hz = /bits/ 64 <75000000>; 1138 required-opps = <&rpmhpd_opp_low_svs>; 1139 }; 1140 1141 opp-100000000 { 1142 opp-hz = /bits/ 64 <100000000>; 1143 required-opps = <&rpmhpd_opp_svs>; 1144 }; 1145 1146 opp-128000000 { 1147 opp-hz = /bits/ 64 <128000000>; 1148 required-opps = <&rpmhpd_opp_nom>; 1149 }; 1150 }; 1151 1152 gpi_dma0: dma-controller@800000 { 1153 #dma-cells = <3>; 1154 compatible = "qcom,sdm845-gpi-dma"; 1155 reg = <0 0x00800000 0 0x60000>; 1156 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 1157 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 1158 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>, 1159 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, 1160 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 1161 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, 1162 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, 1163 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 1164 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 1165 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 1166 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 1167 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>, 1168 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>; 1169 dma-channels = <13>; 1170 dma-channel-mask = <0xfa>; 1171 iommus = <&apps_smmu 0x0016 0x0>; 1172 status = "disabled"; 1173 }; 1174 1175 qupv3_id_0: geniqup@8c0000 { 1176 compatible = "qcom,geni-se-qup"; 1177 reg = <0 0x008c0000 0 0x6000>; 1178 clock-names = "m-ahb", "s-ahb"; 1179 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 1180 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 1181 iommus = <&apps_smmu 0x3 0x0>; 1182 #address-cells = <2>; 1183 #size-cells = <2>; 1184 ranges; 1185 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>; 1186 interconnect-names = "qup-core"; 1187 status = "disabled"; 1188 1189 i2c0: i2c@880000 { 1190 compatible = "qcom,geni-i2c"; 1191 reg = <0 0x00880000 0 0x4000>; 1192 clock-names = "se"; 1193 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 1194 pinctrl-names = "default"; 1195 pinctrl-0 = <&qup_i2c0_default>; 1196 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 1197 #address-cells = <1>; 1198 #size-cells = <0>; 1199 power-domains = <&rpmhpd SDM845_CX>; 1200 operating-points-v2 = <&qup_opp_table>; 1201 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1202 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>, 1203 <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>; 1204 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1205 dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, 1206 <&gpi_dma0 1 0 QCOM_GPI_I2C>; 1207 dma-names = "tx", "rx"; 1208 status = "disabled"; 1209 }; 1210 1211 spi0: spi@880000 { 1212 compatible = "qcom,geni-spi"; 1213 reg = <0 0x00880000 0 0x4000>; 1214 clock-names = "se"; 1215 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 1216 pinctrl-names = "default"; 1217 pinctrl-0 = <&qup_spi0_default>; 1218 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 1219 #address-cells = <1>; 1220 #size-cells = <0>; 1221 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1222 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1223 interconnect-names = "qup-core", "qup-config"; 1224 dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>, 1225 <&gpi_dma0 1 0 QCOM_GPI_SPI>; 1226 dma-names = "tx", "rx"; 1227 status = "disabled"; 1228 }; 1229 1230 uart0: serial@880000 { 1231 compatible = "qcom,geni-uart"; 1232 reg = <0 0x00880000 0 0x4000>; 1233 clock-names = "se"; 1234 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 1235 pinctrl-names = "default"; 1236 pinctrl-0 = <&qup_uart0_default>; 1237 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 1238 power-domains = <&rpmhpd SDM845_CX>; 1239 operating-points-v2 = <&qup_opp_table>; 1240 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1241 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1242 interconnect-names = "qup-core", "qup-config"; 1243 status = "disabled"; 1244 }; 1245 1246 i2c1: i2c@884000 { 1247 compatible = "qcom,geni-i2c"; 1248 reg = <0 0x00884000 0 0x4000>; 1249 clock-names = "se"; 1250 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 1251 pinctrl-names = "default"; 1252 pinctrl-0 = <&qup_i2c1_default>; 1253 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 1254 #address-cells = <1>; 1255 #size-cells = <0>; 1256 power-domains = <&rpmhpd SDM845_CX>; 1257 operating-points-v2 = <&qup_opp_table>; 1258 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1259 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>, 1260 <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>; 1261 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1262 dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, 1263 <&gpi_dma0 1 1 QCOM_GPI_I2C>; 1264 dma-names = "tx", "rx"; 1265 status = "disabled"; 1266 }; 1267 1268 spi1: spi@884000 { 1269 compatible = "qcom,geni-spi"; 1270 reg = <0 0x00884000 0 0x4000>; 1271 clock-names = "se"; 1272 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 1273 pinctrl-names = "default"; 1274 pinctrl-0 = <&qup_spi1_default>; 1275 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 1276 #address-cells = <1>; 1277 #size-cells = <0>; 1278 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1279 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1280 interconnect-names = "qup-core", "qup-config"; 1281 dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>, 1282 <&gpi_dma0 1 1 QCOM_GPI_SPI>; 1283 dma-names = "tx", "rx"; 1284 status = "disabled"; 1285 }; 1286 1287 uart1: serial@884000 { 1288 compatible = "qcom,geni-uart"; 1289 reg = <0 0x00884000 0 0x4000>; 1290 clock-names = "se"; 1291 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 1292 pinctrl-names = "default"; 1293 pinctrl-0 = <&qup_uart1_default>; 1294 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 1295 power-domains = <&rpmhpd SDM845_CX>; 1296 operating-points-v2 = <&qup_opp_table>; 1297 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1298 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1299 interconnect-names = "qup-core", "qup-config"; 1300 status = "disabled"; 1301 }; 1302 1303 i2c2: i2c@888000 { 1304 compatible = "qcom,geni-i2c"; 1305 reg = <0 0x00888000 0 0x4000>; 1306 clock-names = "se"; 1307 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 1308 pinctrl-names = "default"; 1309 pinctrl-0 = <&qup_i2c2_default>; 1310 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 1311 #address-cells = <1>; 1312 #size-cells = <0>; 1313 power-domains = <&rpmhpd SDM845_CX>; 1314 operating-points-v2 = <&qup_opp_table>; 1315 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1316 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>, 1317 <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>; 1318 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1319 dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, 1320 <&gpi_dma0 1 2 QCOM_GPI_I2C>; 1321 dma-names = "tx", "rx"; 1322 status = "disabled"; 1323 }; 1324 1325 spi2: spi@888000 { 1326 compatible = "qcom,geni-spi"; 1327 reg = <0 0x00888000 0 0x4000>; 1328 clock-names = "se"; 1329 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 1330 pinctrl-names = "default"; 1331 pinctrl-0 = <&qup_spi2_default>; 1332 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 1333 #address-cells = <1>; 1334 #size-cells = <0>; 1335 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1336 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1337 interconnect-names = "qup-core", "qup-config"; 1338 dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>, 1339 <&gpi_dma0 1 2 QCOM_GPI_SPI>; 1340 dma-names = "tx", "rx"; 1341 status = "disabled"; 1342 }; 1343 1344 uart2: serial@888000 { 1345 compatible = "qcom,geni-uart"; 1346 reg = <0 0x00888000 0 0x4000>; 1347 clock-names = "se"; 1348 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 1349 pinctrl-names = "default"; 1350 pinctrl-0 = <&qup_uart2_default>; 1351 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 1352 power-domains = <&rpmhpd SDM845_CX>; 1353 operating-points-v2 = <&qup_opp_table>; 1354 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1355 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1356 interconnect-names = "qup-core", "qup-config"; 1357 status = "disabled"; 1358 }; 1359 1360 i2c3: i2c@88c000 { 1361 compatible = "qcom,geni-i2c"; 1362 reg = <0 0x0088c000 0 0x4000>; 1363 clock-names = "se"; 1364 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 1365 pinctrl-names = "default"; 1366 pinctrl-0 = <&qup_i2c3_default>; 1367 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 1368 #address-cells = <1>; 1369 #size-cells = <0>; 1370 power-domains = <&rpmhpd SDM845_CX>; 1371 operating-points-v2 = <&qup_opp_table>; 1372 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1373 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>, 1374 <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>; 1375 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1376 dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, 1377 <&gpi_dma0 1 3 QCOM_GPI_I2C>; 1378 dma-names = "tx", "rx"; 1379 status = "disabled"; 1380 }; 1381 1382 spi3: spi@88c000 { 1383 compatible = "qcom,geni-spi"; 1384 reg = <0 0x0088c000 0 0x4000>; 1385 clock-names = "se"; 1386 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 1387 pinctrl-names = "default"; 1388 pinctrl-0 = <&qup_spi3_default>; 1389 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 1390 #address-cells = <1>; 1391 #size-cells = <0>; 1392 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1393 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1394 interconnect-names = "qup-core", "qup-config"; 1395 dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>, 1396 <&gpi_dma0 1 3 QCOM_GPI_SPI>; 1397 dma-names = "tx", "rx"; 1398 status = "disabled"; 1399 }; 1400 1401 uart3: serial@88c000 { 1402 compatible = "qcom,geni-uart"; 1403 reg = <0 0x0088c000 0 0x4000>; 1404 clock-names = "se"; 1405 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 1406 pinctrl-names = "default"; 1407 pinctrl-0 = <&qup_uart3_default>; 1408 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 1409 power-domains = <&rpmhpd SDM845_CX>; 1410 operating-points-v2 = <&qup_opp_table>; 1411 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1412 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1413 interconnect-names = "qup-core", "qup-config"; 1414 status = "disabled"; 1415 }; 1416 1417 i2c4: i2c@890000 { 1418 compatible = "qcom,geni-i2c"; 1419 reg = <0 0x00890000 0 0x4000>; 1420 clock-names = "se"; 1421 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1422 pinctrl-names = "default"; 1423 pinctrl-0 = <&qup_i2c4_default>; 1424 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 1425 #address-cells = <1>; 1426 #size-cells = <0>; 1427 power-domains = <&rpmhpd SDM845_CX>; 1428 operating-points-v2 = <&qup_opp_table>; 1429 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1430 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>, 1431 <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>; 1432 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1433 dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, 1434 <&gpi_dma0 1 4 QCOM_GPI_I2C>; 1435 dma-names = "tx", "rx"; 1436 status = "disabled"; 1437 }; 1438 1439 spi4: spi@890000 { 1440 compatible = "qcom,geni-spi"; 1441 reg = <0 0x00890000 0 0x4000>; 1442 clock-names = "se"; 1443 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1444 pinctrl-names = "default"; 1445 pinctrl-0 = <&qup_spi4_default>; 1446 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 1447 #address-cells = <1>; 1448 #size-cells = <0>; 1449 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1450 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1451 interconnect-names = "qup-core", "qup-config"; 1452 dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>, 1453 <&gpi_dma0 1 4 QCOM_GPI_SPI>; 1454 dma-names = "tx", "rx"; 1455 status = "disabled"; 1456 }; 1457 1458 uart4: serial@890000 { 1459 compatible = "qcom,geni-uart"; 1460 reg = <0 0x00890000 0 0x4000>; 1461 clock-names = "se"; 1462 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1463 pinctrl-names = "default"; 1464 pinctrl-0 = <&qup_uart4_default>; 1465 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 1466 power-domains = <&rpmhpd SDM845_CX>; 1467 operating-points-v2 = <&qup_opp_table>; 1468 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1469 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1470 interconnect-names = "qup-core", "qup-config"; 1471 status = "disabled"; 1472 }; 1473 1474 i2c5: i2c@894000 { 1475 compatible = "qcom,geni-i2c"; 1476 reg = <0 0x00894000 0 0x4000>; 1477 clock-names = "se"; 1478 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1479 pinctrl-names = "default"; 1480 pinctrl-0 = <&qup_i2c5_default>; 1481 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1482 #address-cells = <1>; 1483 #size-cells = <0>; 1484 power-domains = <&rpmhpd SDM845_CX>; 1485 operating-points-v2 = <&qup_opp_table>; 1486 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1487 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>, 1488 <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>; 1489 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1490 dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, 1491 <&gpi_dma0 1 5 QCOM_GPI_I2C>; 1492 dma-names = "tx", "rx"; 1493 status = "disabled"; 1494 }; 1495 1496 spi5: spi@894000 { 1497 compatible = "qcom,geni-spi"; 1498 reg = <0 0x00894000 0 0x4000>; 1499 clock-names = "se"; 1500 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1501 pinctrl-names = "default"; 1502 pinctrl-0 = <&qup_spi5_default>; 1503 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1504 #address-cells = <1>; 1505 #size-cells = <0>; 1506 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1507 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1508 interconnect-names = "qup-core", "qup-config"; 1509 dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>, 1510 <&gpi_dma0 1 5 QCOM_GPI_SPI>; 1511 dma-names = "tx", "rx"; 1512 status = "disabled"; 1513 }; 1514 1515 uart5: serial@894000 { 1516 compatible = "qcom,geni-uart"; 1517 reg = <0 0x00894000 0 0x4000>; 1518 clock-names = "se"; 1519 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1520 pinctrl-names = "default"; 1521 pinctrl-0 = <&qup_uart5_default>; 1522 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1523 power-domains = <&rpmhpd SDM845_CX>; 1524 operating-points-v2 = <&qup_opp_table>; 1525 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1526 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1527 interconnect-names = "qup-core", "qup-config"; 1528 status = "disabled"; 1529 }; 1530 1531 i2c6: i2c@898000 { 1532 compatible = "qcom,geni-i2c"; 1533 reg = <0 0x00898000 0 0x4000>; 1534 clock-names = "se"; 1535 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1536 pinctrl-names = "default"; 1537 pinctrl-0 = <&qup_i2c6_default>; 1538 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1539 #address-cells = <1>; 1540 #size-cells = <0>; 1541 power-domains = <&rpmhpd SDM845_CX>; 1542 operating-points-v2 = <&qup_opp_table>; 1543 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1544 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>, 1545 <&aggre1_noc MASTER_QUP_1 0 &mem_noc SLAVE_EBI1 0>; 1546 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1547 dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>, 1548 <&gpi_dma0 1 6 QCOM_GPI_I2C>; 1549 dma-names = "tx", "rx"; 1550 status = "disabled"; 1551 }; 1552 1553 spi6: spi@898000 { 1554 compatible = "qcom,geni-spi"; 1555 reg = <0 0x00898000 0 0x4000>; 1556 clock-names = "se"; 1557 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1558 pinctrl-names = "default"; 1559 pinctrl-0 = <&qup_spi6_default>; 1560 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1561 #address-cells = <1>; 1562 #size-cells = <0>; 1563 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1564 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1565 interconnect-names = "qup-core", "qup-config"; 1566 dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>, 1567 <&gpi_dma0 1 6 QCOM_GPI_SPI>; 1568 dma-names = "tx", "rx"; 1569 status = "disabled"; 1570 }; 1571 1572 uart6: serial@898000 { 1573 compatible = "qcom,geni-uart"; 1574 reg = <0 0x00898000 0 0x4000>; 1575 clock-names = "se"; 1576 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1577 pinctrl-names = "default"; 1578 pinctrl-0 = <&qup_uart6_default>; 1579 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1580 power-domains = <&rpmhpd SDM845_CX>; 1581 operating-points-v2 = <&qup_opp_table>; 1582 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1583 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1584 interconnect-names = "qup-core", "qup-config"; 1585 status = "disabled"; 1586 }; 1587 1588 i2c7: i2c@89c000 { 1589 compatible = "qcom,geni-i2c"; 1590 reg = <0 0x0089c000 0 0x4000>; 1591 clock-names = "se"; 1592 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 1593 pinctrl-names = "default"; 1594 pinctrl-0 = <&qup_i2c7_default>; 1595 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 1596 #address-cells = <1>; 1597 #size-cells = <0>; 1598 power-domains = <&rpmhpd SDM845_CX>; 1599 operating-points-v2 = <&qup_opp_table>; 1600 status = "disabled"; 1601 }; 1602 1603 spi7: spi@89c000 { 1604 compatible = "qcom,geni-spi"; 1605 reg = <0 0x0089c000 0 0x4000>; 1606 clock-names = "se"; 1607 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 1608 pinctrl-names = "default"; 1609 pinctrl-0 = <&qup_spi7_default>; 1610 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 1611 #address-cells = <1>; 1612 #size-cells = <0>; 1613 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1614 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1615 interconnect-names = "qup-core", "qup-config"; 1616 dmas = <&gpi_dma0 0 7 QCOM_GPI_SPI>, 1617 <&gpi_dma0 1 7 QCOM_GPI_SPI>; 1618 dma-names = "tx", "rx"; 1619 status = "disabled"; 1620 }; 1621 1622 uart7: serial@89c000 { 1623 compatible = "qcom,geni-uart"; 1624 reg = <0 0x0089c000 0 0x4000>; 1625 clock-names = "se"; 1626 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 1627 pinctrl-names = "default"; 1628 pinctrl-0 = <&qup_uart7_default>; 1629 interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 1630 power-domains = <&rpmhpd SDM845_CX>; 1631 operating-points-v2 = <&qup_opp_table>; 1632 interconnects = <&aggre1_noc MASTER_QUP_1 0 &config_noc SLAVE_BLSP_1 0>, 1633 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_1 0>; 1634 interconnect-names = "qup-core", "qup-config"; 1635 status = "disabled"; 1636 }; 1637 }; 1638 1639 gpi_dma1: dma-controller@0xa00000 { 1640 #dma-cells = <3>; 1641 compatible = "qcom,sdm845-gpi-dma"; 1642 reg = <0 0x00a00000 0 0x60000>; 1643 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>, 1644 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>, 1645 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>, 1646 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, 1647 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 1648 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>, 1649 <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>, 1650 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>, 1651 <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>, 1652 <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>, 1653 <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>, 1654 <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>, 1655 <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>; 1656 dma-channels = <13>; 1657 dma-channel-mask = <0xfa>; 1658 iommus = <&apps_smmu 0x06d6 0x0>; 1659 status = "disabled"; 1660 }; 1661 1662 qupv3_id_1: geniqup@ac0000 { 1663 compatible = "qcom,geni-se-qup"; 1664 reg = <0 0x00ac0000 0 0x6000>; 1665 clock-names = "m-ahb", "s-ahb"; 1666 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, 1667 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; 1668 iommus = <&apps_smmu 0x6c3 0x0>; 1669 #address-cells = <2>; 1670 #size-cells = <2>; 1671 ranges; 1672 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>; 1673 interconnect-names = "qup-core"; 1674 status = "disabled"; 1675 1676 i2c8: i2c@a80000 { 1677 compatible = "qcom,geni-i2c"; 1678 reg = <0 0x00a80000 0 0x4000>; 1679 clock-names = "se"; 1680 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1681 pinctrl-names = "default"; 1682 pinctrl-0 = <&qup_i2c8_default>; 1683 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1684 #address-cells = <1>; 1685 #size-cells = <0>; 1686 power-domains = <&rpmhpd SDM845_CX>; 1687 operating-points-v2 = <&qup_opp_table>; 1688 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1689 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>, 1690 <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>; 1691 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1692 dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>, 1693 <&gpi_dma1 1 0 QCOM_GPI_I2C>; 1694 dma-names = "tx", "rx"; 1695 status = "disabled"; 1696 }; 1697 1698 spi8: spi@a80000 { 1699 compatible = "qcom,geni-spi"; 1700 reg = <0 0x00a80000 0 0x4000>; 1701 clock-names = "se"; 1702 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1703 pinctrl-names = "default"; 1704 pinctrl-0 = <&qup_spi8_default>; 1705 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1706 #address-cells = <1>; 1707 #size-cells = <0>; 1708 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1709 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1710 interconnect-names = "qup-core", "qup-config"; 1711 dmas = <&gpi_dma1 0 0 QCOM_GPI_SPI>, 1712 <&gpi_dma1 1 0 QCOM_GPI_SPI>; 1713 dma-names = "tx", "rx"; 1714 status = "disabled"; 1715 }; 1716 1717 uart8: serial@a80000 { 1718 compatible = "qcom,geni-uart"; 1719 reg = <0 0x00a80000 0 0x4000>; 1720 clock-names = "se"; 1721 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1722 pinctrl-names = "default"; 1723 pinctrl-0 = <&qup_uart8_default>; 1724 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1725 power-domains = <&rpmhpd SDM845_CX>; 1726 operating-points-v2 = <&qup_opp_table>; 1727 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1728 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1729 interconnect-names = "qup-core", "qup-config"; 1730 status = "disabled"; 1731 }; 1732 1733 i2c9: i2c@a84000 { 1734 compatible = "qcom,geni-i2c"; 1735 reg = <0 0x00a84000 0 0x4000>; 1736 clock-names = "se"; 1737 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1738 pinctrl-names = "default"; 1739 pinctrl-0 = <&qup_i2c9_default>; 1740 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1741 #address-cells = <1>; 1742 #size-cells = <0>; 1743 power-domains = <&rpmhpd SDM845_CX>; 1744 operating-points-v2 = <&qup_opp_table>; 1745 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1746 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>, 1747 <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>; 1748 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1749 dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>, 1750 <&gpi_dma1 1 1 QCOM_GPI_I2C>; 1751 dma-names = "tx", "rx"; 1752 status = "disabled"; 1753 }; 1754 1755 spi9: spi@a84000 { 1756 compatible = "qcom,geni-spi"; 1757 reg = <0 0x00a84000 0 0x4000>; 1758 clock-names = "se"; 1759 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1760 pinctrl-names = "default"; 1761 pinctrl-0 = <&qup_spi9_default>; 1762 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1763 #address-cells = <1>; 1764 #size-cells = <0>; 1765 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1766 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1767 interconnect-names = "qup-core", "qup-config"; 1768 dmas = <&gpi_dma1 0 1 QCOM_GPI_SPI>, 1769 <&gpi_dma1 1 1 QCOM_GPI_SPI>; 1770 dma-names = "tx", "rx"; 1771 status = "disabled"; 1772 }; 1773 1774 uart9: serial@a84000 { 1775 compatible = "qcom,geni-debug-uart"; 1776 reg = <0 0x00a84000 0 0x4000>; 1777 clock-names = "se"; 1778 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1779 pinctrl-names = "default"; 1780 pinctrl-0 = <&qup_uart9_default>; 1781 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1782 power-domains = <&rpmhpd SDM845_CX>; 1783 operating-points-v2 = <&qup_opp_table>; 1784 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1785 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1786 interconnect-names = "qup-core", "qup-config"; 1787 status = "disabled"; 1788 }; 1789 1790 i2c10: i2c@a88000 { 1791 compatible = "qcom,geni-i2c"; 1792 reg = <0 0x00a88000 0 0x4000>; 1793 clock-names = "se"; 1794 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1795 pinctrl-names = "default"; 1796 pinctrl-0 = <&qup_i2c10_default>; 1797 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1798 #address-cells = <1>; 1799 #size-cells = <0>; 1800 power-domains = <&rpmhpd SDM845_CX>; 1801 operating-points-v2 = <&qup_opp_table>; 1802 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1803 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>, 1804 <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>; 1805 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1806 dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>, 1807 <&gpi_dma1 1 2 QCOM_GPI_I2C>; 1808 dma-names = "tx", "rx"; 1809 status = "disabled"; 1810 }; 1811 1812 spi10: spi@a88000 { 1813 compatible = "qcom,geni-spi"; 1814 reg = <0 0x00a88000 0 0x4000>; 1815 clock-names = "se"; 1816 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1817 pinctrl-names = "default"; 1818 pinctrl-0 = <&qup_spi10_default>; 1819 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1820 #address-cells = <1>; 1821 #size-cells = <0>; 1822 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1823 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1824 interconnect-names = "qup-core", "qup-config"; 1825 dmas = <&gpi_dma1 0 2 QCOM_GPI_SPI>, 1826 <&gpi_dma1 1 2 QCOM_GPI_SPI>; 1827 dma-names = "tx", "rx"; 1828 status = "disabled"; 1829 }; 1830 1831 uart10: serial@a88000 { 1832 compatible = "qcom,geni-uart"; 1833 reg = <0 0x00a88000 0 0x4000>; 1834 clock-names = "se"; 1835 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1836 pinctrl-names = "default"; 1837 pinctrl-0 = <&qup_uart10_default>; 1838 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1839 power-domains = <&rpmhpd SDM845_CX>; 1840 operating-points-v2 = <&qup_opp_table>; 1841 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1842 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1843 interconnect-names = "qup-core", "qup-config"; 1844 status = "disabled"; 1845 }; 1846 1847 i2c11: i2c@a8c000 { 1848 compatible = "qcom,geni-i2c"; 1849 reg = <0 0x00a8c000 0 0x4000>; 1850 clock-names = "se"; 1851 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1852 pinctrl-names = "default"; 1853 pinctrl-0 = <&qup_i2c11_default>; 1854 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1855 #address-cells = <1>; 1856 #size-cells = <0>; 1857 power-domains = <&rpmhpd SDM845_CX>; 1858 operating-points-v2 = <&qup_opp_table>; 1859 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1860 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>, 1861 <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>; 1862 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1863 dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>, 1864 <&gpi_dma1 1 3 QCOM_GPI_I2C>; 1865 dma-names = "tx", "rx"; 1866 status = "disabled"; 1867 }; 1868 1869 spi11: spi@a8c000 { 1870 compatible = "qcom,geni-spi"; 1871 reg = <0 0x00a8c000 0 0x4000>; 1872 clock-names = "se"; 1873 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1874 pinctrl-names = "default"; 1875 pinctrl-0 = <&qup_spi11_default>; 1876 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1877 #address-cells = <1>; 1878 #size-cells = <0>; 1879 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1880 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1881 interconnect-names = "qup-core", "qup-config"; 1882 dmas = <&gpi_dma1 0 3 QCOM_GPI_SPI>, 1883 <&gpi_dma1 1 3 QCOM_GPI_SPI>; 1884 dma-names = "tx", "rx"; 1885 status = "disabled"; 1886 }; 1887 1888 uart11: serial@a8c000 { 1889 compatible = "qcom,geni-uart"; 1890 reg = <0 0x00a8c000 0 0x4000>; 1891 clock-names = "se"; 1892 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1893 pinctrl-names = "default"; 1894 pinctrl-0 = <&qup_uart11_default>; 1895 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1896 power-domains = <&rpmhpd SDM845_CX>; 1897 operating-points-v2 = <&qup_opp_table>; 1898 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1899 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1900 interconnect-names = "qup-core", "qup-config"; 1901 status = "disabled"; 1902 }; 1903 1904 i2c12: i2c@a90000 { 1905 compatible = "qcom,geni-i2c"; 1906 reg = <0 0x00a90000 0 0x4000>; 1907 clock-names = "se"; 1908 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1909 pinctrl-names = "default"; 1910 pinctrl-0 = <&qup_i2c12_default>; 1911 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1912 #address-cells = <1>; 1913 #size-cells = <0>; 1914 power-domains = <&rpmhpd SDM845_CX>; 1915 operating-points-v2 = <&qup_opp_table>; 1916 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1917 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>, 1918 <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>; 1919 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1920 dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>, 1921 <&gpi_dma1 1 4 QCOM_GPI_I2C>; 1922 dma-names = "tx", "rx"; 1923 status = "disabled"; 1924 }; 1925 1926 spi12: spi@a90000 { 1927 compatible = "qcom,geni-spi"; 1928 reg = <0 0x00a90000 0 0x4000>; 1929 clock-names = "se"; 1930 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1931 pinctrl-names = "default"; 1932 pinctrl-0 = <&qup_spi12_default>; 1933 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1934 #address-cells = <1>; 1935 #size-cells = <0>; 1936 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1937 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1938 interconnect-names = "qup-core", "qup-config"; 1939 dmas = <&gpi_dma1 0 4 QCOM_GPI_SPI>, 1940 <&gpi_dma1 1 4 QCOM_GPI_SPI>; 1941 dma-names = "tx", "rx"; 1942 status = "disabled"; 1943 }; 1944 1945 uart12: serial@a90000 { 1946 compatible = "qcom,geni-uart"; 1947 reg = <0 0x00a90000 0 0x4000>; 1948 clock-names = "se"; 1949 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1950 pinctrl-names = "default"; 1951 pinctrl-0 = <&qup_uart12_default>; 1952 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1953 power-domains = <&rpmhpd SDM845_CX>; 1954 operating-points-v2 = <&qup_opp_table>; 1955 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1956 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1957 interconnect-names = "qup-core", "qup-config"; 1958 status = "disabled"; 1959 }; 1960 1961 i2c13: i2c@a94000 { 1962 compatible = "qcom,geni-i2c"; 1963 reg = <0 0x00a94000 0 0x4000>; 1964 clock-names = "se"; 1965 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 1966 pinctrl-names = "default"; 1967 pinctrl-0 = <&qup_i2c13_default>; 1968 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1969 #address-cells = <1>; 1970 #size-cells = <0>; 1971 power-domains = <&rpmhpd SDM845_CX>; 1972 operating-points-v2 = <&qup_opp_table>; 1973 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1974 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>, 1975 <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>; 1976 interconnect-names = "qup-core", "qup-config", "qup-memory"; 1977 dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>, 1978 <&gpi_dma1 1 5 QCOM_GPI_I2C>; 1979 dma-names = "tx", "rx"; 1980 status = "disabled"; 1981 }; 1982 1983 spi13: spi@a94000 { 1984 compatible = "qcom,geni-spi"; 1985 reg = <0 0x00a94000 0 0x4000>; 1986 clock-names = "se"; 1987 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 1988 pinctrl-names = "default"; 1989 pinctrl-0 = <&qup_spi13_default>; 1990 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1991 #address-cells = <1>; 1992 #size-cells = <0>; 1993 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 1994 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 1995 interconnect-names = "qup-core", "qup-config"; 1996 dmas = <&gpi_dma1 0 5 QCOM_GPI_SPI>, 1997 <&gpi_dma1 1 5 QCOM_GPI_SPI>; 1998 dma-names = "tx", "rx"; 1999 status = "disabled"; 2000 }; 2001 2002 uart13: serial@a94000 { 2003 compatible = "qcom,geni-uart"; 2004 reg = <0 0x00a94000 0 0x4000>; 2005 clock-names = "se"; 2006 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 2007 pinctrl-names = "default"; 2008 pinctrl-0 = <&qup_uart13_default>; 2009 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 2010 power-domains = <&rpmhpd SDM845_CX>; 2011 operating-points-v2 = <&qup_opp_table>; 2012 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 2013 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 2014 interconnect-names = "qup-core", "qup-config"; 2015 status = "disabled"; 2016 }; 2017 2018 i2c14: i2c@a98000 { 2019 compatible = "qcom,geni-i2c"; 2020 reg = <0 0x00a98000 0 0x4000>; 2021 clock-names = "se"; 2022 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; 2023 pinctrl-names = "default"; 2024 pinctrl-0 = <&qup_i2c14_default>; 2025 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; 2026 #address-cells = <1>; 2027 #size-cells = <0>; 2028 power-domains = <&rpmhpd SDM845_CX>; 2029 operating-points-v2 = <&qup_opp_table>; 2030 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 2031 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>, 2032 <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>; 2033 interconnect-names = "qup-core", "qup-config", "qup-memory"; 2034 dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>, 2035 <&gpi_dma1 1 6 QCOM_GPI_I2C>; 2036 dma-names = "tx", "rx"; 2037 status = "disabled"; 2038 }; 2039 2040 spi14: spi@a98000 { 2041 compatible = "qcom,geni-spi"; 2042 reg = <0 0x00a98000 0 0x4000>; 2043 clock-names = "se"; 2044 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; 2045 pinctrl-names = "default"; 2046 pinctrl-0 = <&qup_spi14_default>; 2047 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; 2048 #address-cells = <1>; 2049 #size-cells = <0>; 2050 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 2051 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 2052 interconnect-names = "qup-core", "qup-config"; 2053 dmas = <&gpi_dma1 0 6 QCOM_GPI_SPI>, 2054 <&gpi_dma1 1 6 QCOM_GPI_SPI>; 2055 dma-names = "tx", "rx"; 2056 status = "disabled"; 2057 }; 2058 2059 uart14: serial@a98000 { 2060 compatible = "qcom,geni-uart"; 2061 reg = <0 0x00a98000 0 0x4000>; 2062 clock-names = "se"; 2063 clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; 2064 pinctrl-names = "default"; 2065 pinctrl-0 = <&qup_uart14_default>; 2066 interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; 2067 power-domains = <&rpmhpd SDM845_CX>; 2068 operating-points-v2 = <&qup_opp_table>; 2069 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 2070 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 2071 interconnect-names = "qup-core", "qup-config"; 2072 status = "disabled"; 2073 }; 2074 2075 i2c15: i2c@a9c000 { 2076 compatible = "qcom,geni-i2c"; 2077 reg = <0 0x00a9c000 0 0x4000>; 2078 clock-names = "se"; 2079 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>; 2080 pinctrl-names = "default"; 2081 pinctrl-0 = <&qup_i2c15_default>; 2082 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 2083 #address-cells = <1>; 2084 #size-cells = <0>; 2085 power-domains = <&rpmhpd SDM845_CX>; 2086 operating-points-v2 = <&qup_opp_table>; 2087 status = "disabled"; 2088 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 2089 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>, 2090 <&aggre2_noc MASTER_QUP_2 0 &mem_noc SLAVE_EBI1 0>; 2091 interconnect-names = "qup-core", "qup-config", "qup-memory"; 2092 dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>, 2093 <&gpi_dma1 1 7 QCOM_GPI_I2C>; 2094 dma-names = "tx", "rx"; 2095 }; 2096 2097 spi15: spi@a9c000 { 2098 compatible = "qcom,geni-spi"; 2099 reg = <0 0x00a9c000 0 0x4000>; 2100 clock-names = "se"; 2101 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>; 2102 pinctrl-names = "default"; 2103 pinctrl-0 = <&qup_spi15_default>; 2104 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 2105 #address-cells = <1>; 2106 #size-cells = <0>; 2107 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 2108 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 2109 interconnect-names = "qup-core", "qup-config"; 2110 dmas = <&gpi_dma1 0 7 QCOM_GPI_SPI>, 2111 <&gpi_dma1 1 7 QCOM_GPI_SPI>; 2112 dma-names = "tx", "rx"; 2113 status = "disabled"; 2114 }; 2115 2116 uart15: serial@a9c000 { 2117 compatible = "qcom,geni-uart"; 2118 reg = <0 0x00a9c000 0 0x4000>; 2119 clock-names = "se"; 2120 clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>; 2121 pinctrl-names = "default"; 2122 pinctrl-0 = <&qup_uart15_default>; 2123 interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 2124 power-domains = <&rpmhpd SDM845_CX>; 2125 operating-points-v2 = <&qup_opp_table>; 2126 interconnects = <&aggre2_noc MASTER_QUP_2 0 &config_noc SLAVE_BLSP_2 0>, 2127 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_BLSP_2 0>; 2128 interconnect-names = "qup-core", "qup-config"; 2129 status = "disabled"; 2130 }; 2131 }; 2132 2133 llcc: system-cache-controller@1100000 { 2134 compatible = "qcom,sdm845-llcc"; 2135 reg = <0 0x01100000 0 0x31000>, <0 0x01300000 0 0x50000>; 2136 reg-names = "llcc_base", "llcc_broadcast_base"; 2137 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; 2138 }; 2139 2140 pmu@114a000 { 2141 compatible = "qcom,sdm845-llcc-bwmon"; 2142 reg = <0 0x0114a000 0 0x1000>; 2143 interrupts = <GIC_SPI 580 IRQ_TYPE_LEVEL_HIGH>; 2144 interconnects = <&mem_noc MASTER_LLCC 3 &mem_noc SLAVE_EBI1 3>; 2145 2146 operating-points-v2 = <&llcc_bwmon_opp_table>; 2147 2148 llcc_bwmon_opp_table: opp-table { 2149 compatible = "operating-points-v2"; 2150 2151 /* 2152 * The interconnect path bandwidth taken from 2153 * cpu4_opp_table bandwidth for gladiator_noc-mem_noc 2154 * interconnect. This also matches the 2155 * bandwidth table of qcom,llccbw (qcom,bw-tbl, 2156 * bus width: 4 bytes) from msm-4.9 downstream 2157 * kernel. 2158 */ 2159 opp-0 { 2160 opp-peak-kBps = <800000>; 2161 }; 2162 opp-1 { 2163 opp-peak-kBps = <1804000>; 2164 }; 2165 opp-2 { 2166 opp-peak-kBps = <3072000>; 2167 }; 2168 opp-3 { 2169 opp-peak-kBps = <5412000>; 2170 }; 2171 opp-4 { 2172 opp-peak-kBps = <7216000>; 2173 }; 2174 }; 2175 }; 2176 2177 pmu@1436400 { 2178 compatible = "qcom,sdm845-bwmon", "qcom,msm8998-bwmon"; 2179 reg = <0 0x01436400 0 0x600>; 2180 interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>; 2181 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_LLCC 3>; 2182 2183 operating-points-v2 = <&cpu_bwmon_opp_table>; 2184 2185 cpu_bwmon_opp_table: opp-table { 2186 compatible = "operating-points-v2"; 2187 2188 /* 2189 * The interconnect path bandwidth taken from 2190 * cpu4_opp_table bandwidth for OSM L3 2191 * interconnect. This also matches the OSM L3 2192 * from bandwidth table of qcom,cpu4-l3lat-mon 2193 * (qcom,core-dev-table, bus width: 16 bytes) 2194 * from msm-4.9 downstream kernel. 2195 */ 2196 opp-0 { 2197 opp-peak-kBps = <4800000>; 2198 }; 2199 opp-1 { 2200 opp-peak-kBps = <9216000>; 2201 }; 2202 opp-2 { 2203 opp-peak-kBps = <15052800>; 2204 }; 2205 opp-3 { 2206 opp-peak-kBps = <20889600>; 2207 }; 2208 opp-4 { 2209 opp-peak-kBps = <25497600>; 2210 }; 2211 }; 2212 }; 2213 2214 pcie0: pci@1c00000 { 2215 compatible = "qcom,pcie-sdm845"; 2216 reg = <0 0x01c00000 0 0x2000>, 2217 <0 0x60000000 0 0xf1d>, 2218 <0 0x60000f20 0 0xa8>, 2219 <0 0x60100000 0 0x100000>; 2220 reg-names = "parf", "dbi", "elbi", "config"; 2221 device_type = "pci"; 2222 linux,pci-domain = <0>; 2223 bus-range = <0x00 0xff>; 2224 num-lanes = <1>; 2225 2226 #address-cells = <3>; 2227 #size-cells = <2>; 2228 2229 ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, 2230 <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0xd00000>; 2231 2232 interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; 2233 interrupt-names = "msi"; 2234 #interrupt-cells = <1>; 2235 interrupt-map-mask = <0 0 0 0x7>; 2236 interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 2237 <0 0 0 2 &intc 0 0 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 2238 <0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 2239 <0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 2240 2241 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>, 2242 <&gcc GCC_PCIE_0_AUX_CLK>, 2243 <&gcc GCC_PCIE_0_CFG_AHB_CLK>, 2244 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, 2245 <&gcc GCC_PCIE_0_SLV_AXI_CLK>, 2246 <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>, 2247 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>; 2248 clock-names = "pipe", 2249 "aux", 2250 "cfg", 2251 "bus_master", 2252 "bus_slave", 2253 "slave_q2a", 2254 "tbu"; 2255 2256 iommus = <&apps_smmu 0x1c10 0xf>; 2257 iommu-map = <0x0 &apps_smmu 0x1c10 0x1>, 2258 <0x100 &apps_smmu 0x1c11 0x1>, 2259 <0x200 &apps_smmu 0x1c12 0x1>, 2260 <0x300 &apps_smmu 0x1c13 0x1>, 2261 <0x400 &apps_smmu 0x1c14 0x1>, 2262 <0x500 &apps_smmu 0x1c15 0x1>, 2263 <0x600 &apps_smmu 0x1c16 0x1>, 2264 <0x700 &apps_smmu 0x1c17 0x1>, 2265 <0x800 &apps_smmu 0x1c18 0x1>, 2266 <0x900 &apps_smmu 0x1c19 0x1>, 2267 <0xa00 &apps_smmu 0x1c1a 0x1>, 2268 <0xb00 &apps_smmu 0x1c1b 0x1>, 2269 <0xc00 &apps_smmu 0x1c1c 0x1>, 2270 <0xd00 &apps_smmu 0x1c1d 0x1>, 2271 <0xe00 &apps_smmu 0x1c1e 0x1>, 2272 <0xf00 &apps_smmu 0x1c1f 0x1>; 2273 2274 resets = <&gcc GCC_PCIE_0_BCR>; 2275 reset-names = "pci"; 2276 2277 power-domains = <&gcc PCIE_0_GDSC>; 2278 2279 phys = <&pcie0_lane>; 2280 phy-names = "pciephy"; 2281 2282 status = "disabled"; 2283 }; 2284 2285 pcie0_phy: phy@1c06000 { 2286 compatible = "qcom,sdm845-qmp-pcie-phy"; 2287 reg = <0 0x01c06000 0 0x18c>; 2288 #address-cells = <2>; 2289 #size-cells = <2>; 2290 ranges; 2291 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, 2292 <&gcc GCC_PCIE_0_CFG_AHB_CLK>, 2293 <&gcc GCC_PCIE_0_CLKREF_CLK>, 2294 <&gcc GCC_PCIE_PHY_REFGEN_CLK>; 2295 clock-names = "aux", "cfg_ahb", "ref", "refgen"; 2296 2297 resets = <&gcc GCC_PCIE_0_PHY_BCR>; 2298 reset-names = "phy"; 2299 2300 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>; 2301 assigned-clock-rates = <100000000>; 2302 2303 status = "disabled"; 2304 2305 pcie0_lane: phy@1c06200 { 2306 reg = <0 0x01c06200 0 0x128>, 2307 <0 0x01c06400 0 0x1fc>, 2308 <0 0x01c06800 0 0x218>, 2309 <0 0x01c06600 0 0x70>; 2310 clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; 2311 clock-names = "pipe0"; 2312 2313 #clock-cells = <0>; 2314 #phy-cells = <0>; 2315 clock-output-names = "pcie_0_pipe_clk"; 2316 }; 2317 }; 2318 2319 pcie1: pci@1c08000 { 2320 compatible = "qcom,pcie-sdm845"; 2321 reg = <0 0x01c08000 0 0x2000>, 2322 <0 0x40000000 0 0xf1d>, 2323 <0 0x40000f20 0 0xa8>, 2324 <0 0x40100000 0 0x100000>; 2325 reg-names = "parf", "dbi", "elbi", "config"; 2326 device_type = "pci"; 2327 linux,pci-domain = <1>; 2328 bus-range = <0x00 0xff>; 2329 num-lanes = <1>; 2330 2331 #address-cells = <3>; 2332 #size-cells = <2>; 2333 2334 ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>, 2335 <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; 2336 2337 interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>; 2338 interrupt-names = "msi"; 2339 #interrupt-cells = <1>; 2340 interrupt-map-mask = <0 0 0 0x7>; 2341 interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 2342 <0 0 0 2 &intc 0 0 0 435 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 2343 <0 0 0 3 &intc 0 0 0 438 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 2344 <0 0 0 4 &intc 0 0 0 439 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 2345 2346 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>, 2347 <&gcc GCC_PCIE_1_AUX_CLK>, 2348 <&gcc GCC_PCIE_1_CFG_AHB_CLK>, 2349 <&gcc GCC_PCIE_1_MSTR_AXI_CLK>, 2350 <&gcc GCC_PCIE_1_SLV_AXI_CLK>, 2351 <&gcc GCC_PCIE_1_SLV_Q2A_AXI_CLK>, 2352 <&gcc GCC_PCIE_1_CLKREF_CLK>, 2353 <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>; 2354 clock-names = "pipe", 2355 "aux", 2356 "cfg", 2357 "bus_master", 2358 "bus_slave", 2359 "slave_q2a", 2360 "ref", 2361 "tbu"; 2362 2363 assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>; 2364 assigned-clock-rates = <19200000>; 2365 2366 iommus = <&apps_smmu 0x1c00 0xf>; 2367 iommu-map = <0x0 &apps_smmu 0x1c00 0x1>, 2368 <0x100 &apps_smmu 0x1c01 0x1>, 2369 <0x200 &apps_smmu 0x1c02 0x1>, 2370 <0x300 &apps_smmu 0x1c03 0x1>, 2371 <0x400 &apps_smmu 0x1c04 0x1>, 2372 <0x500 &apps_smmu 0x1c05 0x1>, 2373 <0x600 &apps_smmu 0x1c06 0x1>, 2374 <0x700 &apps_smmu 0x1c07 0x1>, 2375 <0x800 &apps_smmu 0x1c08 0x1>, 2376 <0x900 &apps_smmu 0x1c09 0x1>, 2377 <0xa00 &apps_smmu 0x1c0a 0x1>, 2378 <0xb00 &apps_smmu 0x1c0b 0x1>, 2379 <0xc00 &apps_smmu 0x1c0c 0x1>, 2380 <0xd00 &apps_smmu 0x1c0d 0x1>, 2381 <0xe00 &apps_smmu 0x1c0e 0x1>, 2382 <0xf00 &apps_smmu 0x1c0f 0x1>; 2383 2384 resets = <&gcc GCC_PCIE_1_BCR>; 2385 reset-names = "pci"; 2386 2387 power-domains = <&gcc PCIE_1_GDSC>; 2388 2389 phys = <&pcie1_lane>; 2390 phy-names = "pciephy"; 2391 2392 status = "disabled"; 2393 }; 2394 2395 pcie1_phy: phy@1c0a000 { 2396 compatible = "qcom,sdm845-qhp-pcie-phy"; 2397 reg = <0 0x01c0a000 0 0x800>; 2398 #address-cells = <2>; 2399 #size-cells = <2>; 2400 ranges; 2401 clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, 2402 <&gcc GCC_PCIE_1_CFG_AHB_CLK>, 2403 <&gcc GCC_PCIE_1_CLKREF_CLK>, 2404 <&gcc GCC_PCIE_PHY_REFGEN_CLK>; 2405 clock-names = "aux", "cfg_ahb", "ref", "refgen"; 2406 2407 resets = <&gcc GCC_PCIE_1_PHY_BCR>; 2408 reset-names = "phy"; 2409 2410 assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>; 2411 assigned-clock-rates = <100000000>; 2412 2413 status = "disabled"; 2414 2415 pcie1_lane: phy@1c06200 { 2416 reg = <0 0x01c0a800 0 0x800>, 2417 <0 0x01c0a800 0 0x800>, 2418 <0 0x01c0b800 0 0x400>; 2419 clocks = <&gcc GCC_PCIE_1_PIPE_CLK>; 2420 clock-names = "pipe0"; 2421 2422 #clock-cells = <0>; 2423 #phy-cells = <0>; 2424 clock-output-names = "pcie_1_pipe_clk"; 2425 }; 2426 }; 2427 2428 mem_noc: interconnect@1380000 { 2429 compatible = "qcom,sdm845-mem-noc"; 2430 reg = <0 0x01380000 0 0x27200>; 2431 #interconnect-cells = <2>; 2432 qcom,bcm-voters = <&apps_bcm_voter>; 2433 }; 2434 2435 dc_noc: interconnect@14e0000 { 2436 compatible = "qcom,sdm845-dc-noc"; 2437 reg = <0 0x014e0000 0 0x400>; 2438 #interconnect-cells = <2>; 2439 qcom,bcm-voters = <&apps_bcm_voter>; 2440 }; 2441 2442 config_noc: interconnect@1500000 { 2443 compatible = "qcom,sdm845-config-noc"; 2444 reg = <0 0x01500000 0 0x5080>; 2445 #interconnect-cells = <2>; 2446 qcom,bcm-voters = <&apps_bcm_voter>; 2447 }; 2448 2449 system_noc: interconnect@1620000 { 2450 compatible = "qcom,sdm845-system-noc"; 2451 reg = <0 0x01620000 0 0x18080>; 2452 #interconnect-cells = <2>; 2453 qcom,bcm-voters = <&apps_bcm_voter>; 2454 }; 2455 2456 aggre1_noc: interconnect@16e0000 { 2457 compatible = "qcom,sdm845-aggre1-noc"; 2458 reg = <0 0x016e0000 0 0x15080>; 2459 #interconnect-cells = <2>; 2460 qcom,bcm-voters = <&apps_bcm_voter>; 2461 }; 2462 2463 aggre2_noc: interconnect@1700000 { 2464 compatible = "qcom,sdm845-aggre2-noc"; 2465 reg = <0 0x01700000 0 0x1f300>; 2466 #interconnect-cells = <2>; 2467 qcom,bcm-voters = <&apps_bcm_voter>; 2468 }; 2469 2470 mmss_noc: interconnect@1740000 { 2471 compatible = "qcom,sdm845-mmss-noc"; 2472 reg = <0 0x01740000 0 0x1c100>; 2473 #interconnect-cells = <2>; 2474 qcom,bcm-voters = <&apps_bcm_voter>; 2475 }; 2476 2477 ufs_mem_hc: ufshc@1d84000 { 2478 compatible = "qcom,sdm845-ufshc", "qcom,ufshc", 2479 "jedec,ufs-2.0"; 2480 reg = <0 0x01d84000 0 0x2500>, 2481 <0 0x01d90000 0 0x8000>; 2482 reg-names = "std", "ice"; 2483 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; 2484 phys = <&ufs_mem_phy_lanes>; 2485 phy-names = "ufsphy"; 2486 lanes-per-direction = <2>; 2487 power-domains = <&gcc UFS_PHY_GDSC>; 2488 #reset-cells = <1>; 2489 resets = <&gcc GCC_UFS_PHY_BCR>; 2490 reset-names = "rst"; 2491 2492 iommus = <&apps_smmu 0x100 0xf>; 2493 2494 clock-names = 2495 "core_clk", 2496 "bus_aggr_clk", 2497 "iface_clk", 2498 "core_clk_unipro", 2499 "ref_clk", 2500 "tx_lane0_sync_clk", 2501 "rx_lane0_sync_clk", 2502 "rx_lane1_sync_clk", 2503 "ice_core_clk"; 2504 clocks = 2505 <&gcc GCC_UFS_PHY_AXI_CLK>, 2506 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, 2507 <&gcc GCC_UFS_PHY_AHB_CLK>, 2508 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, 2509 <&rpmhcc RPMH_CXO_CLK>, 2510 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, 2511 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, 2512 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>, 2513 <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; 2514 freq-table-hz = 2515 <50000000 200000000>, 2516 <0 0>, 2517 <0 0>, 2518 <37500000 150000000>, 2519 <0 0>, 2520 <0 0>, 2521 <0 0>, 2522 <0 0>, 2523 <0 300000000>; 2524 2525 status = "disabled"; 2526 }; 2527 2528 ufs_mem_phy: phy@1d87000 { 2529 compatible = "qcom,sdm845-qmp-ufs-phy"; 2530 reg = <0 0x01d87000 0 0x18c>; 2531 #address-cells = <2>; 2532 #size-cells = <2>; 2533 ranges; 2534 clock-names = "ref", 2535 "ref_aux"; 2536 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, 2537 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; 2538 2539 resets = <&ufs_mem_hc 0>; 2540 reset-names = "ufsphy"; 2541 status = "disabled"; 2542 2543 ufs_mem_phy_lanes: phy@1d87400 { 2544 reg = <0 0x01d87400 0 0x108>, 2545 <0 0x01d87600 0 0x1e0>, 2546 <0 0x01d87c00 0 0x1dc>, 2547 <0 0x01d87800 0 0x108>, 2548 <0 0x01d87a00 0 0x1e0>; 2549 #phy-cells = <0>; 2550 }; 2551 }; 2552 2553 cryptobam: dma-controller@1dc4000 { 2554 compatible = "qcom,bam-v1.7.0"; 2555 reg = <0 0x01dc4000 0 0x24000>; 2556 interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>; 2557 clocks = <&rpmhcc RPMH_CE_CLK>; 2558 clock-names = "bam_clk"; 2559 #dma-cells = <1>; 2560 qcom,ee = <0>; 2561 qcom,controlled-remotely; 2562 iommus = <&apps_smmu 0x704 0x1>, 2563 <&apps_smmu 0x706 0x1>, 2564 <&apps_smmu 0x714 0x1>, 2565 <&apps_smmu 0x716 0x1>; 2566 }; 2567 2568 crypto: crypto@1dfa000 { 2569 compatible = "qcom,crypto-v5.4"; 2570 reg = <0 0x01dfa000 0 0x6000>; 2571 clocks = <&gcc GCC_CE1_AHB_CLK>, 2572 <&gcc GCC_CE1_AXI_CLK>, 2573 <&rpmhcc RPMH_CE_CLK>; 2574 clock-names = "iface", "bus", "core"; 2575 dmas = <&cryptobam 6>, <&cryptobam 7>; 2576 dma-names = "rx", "tx"; 2577 iommus = <&apps_smmu 0x704 0x1>, 2578 <&apps_smmu 0x706 0x1>, 2579 <&apps_smmu 0x714 0x1>, 2580 <&apps_smmu 0x716 0x1>; 2581 }; 2582 2583 ipa: ipa@1e40000 { 2584 compatible = "qcom,sdm845-ipa"; 2585 2586 iommus = <&apps_smmu 0x720 0x0>, 2587 <&apps_smmu 0x722 0x0>; 2588 reg = <0 0x1e40000 0 0x7000>, 2589 <0 0x1e47000 0 0x2000>, 2590 <0 0x1e04000 0 0x2c000>; 2591 reg-names = "ipa-reg", 2592 "ipa-shared", 2593 "gsi"; 2594 2595 interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>, 2596 <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>, 2597 <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 2598 <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; 2599 interrupt-names = "ipa", 2600 "gsi", 2601 "ipa-clock-query", 2602 "ipa-setup-ready"; 2603 2604 clocks = <&rpmhcc RPMH_IPA_CLK>; 2605 clock-names = "core"; 2606 2607 interconnects = <&aggre2_noc MASTER_IPA 0 &mem_noc SLAVE_EBI1 0>, 2608 <&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_IMEM 0>, 2609 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_IPA_CFG 0>; 2610 interconnect-names = "memory", 2611 "imem", 2612 "config"; 2613 2614 qcom,smem-states = <&ipa_smp2p_out 0>, 2615 <&ipa_smp2p_out 1>; 2616 qcom,smem-state-names = "ipa-clock-enabled-valid", 2617 "ipa-clock-enabled"; 2618 2619 status = "disabled"; 2620 }; 2621 2622 tcsr_mutex: hwlock@1f40000 { 2623 compatible = "qcom,tcsr-mutex"; 2624 reg = <0 0x01f40000 0 0x20000>; 2625 #hwlock-cells = <1>; 2626 }; 2627 2628 tcsr_regs_1: syscon@1f60000 { 2629 compatible = "qcom,sdm845-tcsr", "syscon"; 2630 reg = <0 0x01f60000 0 0x20000>; 2631 }; 2632 2633 tlmm: pinctrl@3400000 { 2634 compatible = "qcom,sdm845-pinctrl"; 2635 reg = <0 0x03400000 0 0xc00000>; 2636 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 2637 gpio-controller; 2638 #gpio-cells = <2>; 2639 interrupt-controller; 2640 #interrupt-cells = <2>; 2641 gpio-ranges = <&tlmm 0 0 151>; 2642 wakeup-parent = <&pdc_intc>; 2643 2644 cci0_default: cci0-default { 2645 /* SDA, SCL */ 2646 pins = "gpio17", "gpio18"; 2647 function = "cci_i2c"; 2648 2649 bias-pull-up; 2650 drive-strength = <2>; /* 2 mA */ 2651 }; 2652 2653 cci0_sleep: cci0-sleep { 2654 /* SDA, SCL */ 2655 pins = "gpio17", "gpio18"; 2656 function = "cci_i2c"; 2657 2658 drive-strength = <2>; /* 2 mA */ 2659 bias-pull-down; 2660 }; 2661 2662 cci1_default: cci1-default { 2663 /* SDA, SCL */ 2664 pins = "gpio19", "gpio20"; 2665 function = "cci_i2c"; 2666 2667 bias-pull-up; 2668 drive-strength = <2>; /* 2 mA */ 2669 }; 2670 2671 cci1_sleep: cci1-sleep { 2672 /* SDA, SCL */ 2673 pins = "gpio19", "gpio20"; 2674 function = "cci_i2c"; 2675 2676 drive-strength = <2>; /* 2 mA */ 2677 bias-pull-down; 2678 }; 2679 2680 qspi_clk: qspi-clk { 2681 pinmux { 2682 pins = "gpio95"; 2683 function = "qspi_clk"; 2684 }; 2685 }; 2686 2687 qspi_cs0: qspi-cs0 { 2688 pinmux { 2689 pins = "gpio90"; 2690 function = "qspi_cs"; 2691 }; 2692 }; 2693 2694 qspi_cs1: qspi-cs1 { 2695 pinmux { 2696 pins = "gpio89"; 2697 function = "qspi_cs"; 2698 }; 2699 }; 2700 2701 qspi_data01: qspi-data01 { 2702 pinmux-data { 2703 pins = "gpio91", "gpio92"; 2704 function = "qspi_data"; 2705 }; 2706 }; 2707 2708 qspi_data12: qspi-data12 { 2709 pinmux-data { 2710 pins = "gpio93", "gpio94"; 2711 function = "qspi_data"; 2712 }; 2713 }; 2714 2715 qup_i2c0_default: qup-i2c0-default { 2716 pinmux { 2717 pins = "gpio0", "gpio1"; 2718 function = "qup0"; 2719 }; 2720 }; 2721 2722 qup_i2c1_default: qup-i2c1-default { 2723 pinmux { 2724 pins = "gpio17", "gpio18"; 2725 function = "qup1"; 2726 }; 2727 }; 2728 2729 qup_i2c2_default: qup-i2c2-default { 2730 pinmux { 2731 pins = "gpio27", "gpio28"; 2732 function = "qup2"; 2733 }; 2734 }; 2735 2736 qup_i2c3_default: qup-i2c3-default { 2737 pinmux { 2738 pins = "gpio41", "gpio42"; 2739 function = "qup3"; 2740 }; 2741 }; 2742 2743 qup_i2c4_default: qup-i2c4-default { 2744 pinmux { 2745 pins = "gpio89", "gpio90"; 2746 function = "qup4"; 2747 }; 2748 }; 2749 2750 qup_i2c5_default: qup-i2c5-default { 2751 pinmux { 2752 pins = "gpio85", "gpio86"; 2753 function = "qup5"; 2754 }; 2755 }; 2756 2757 qup_i2c6_default: qup-i2c6-default { 2758 pinmux { 2759 pins = "gpio45", "gpio46"; 2760 function = "qup6"; 2761 }; 2762 }; 2763 2764 qup_i2c7_default: qup-i2c7-default { 2765 pinmux { 2766 pins = "gpio93", "gpio94"; 2767 function = "qup7"; 2768 }; 2769 }; 2770 2771 qup_i2c8_default: qup-i2c8-default { 2772 pinmux { 2773 pins = "gpio65", "gpio66"; 2774 function = "qup8"; 2775 }; 2776 }; 2777 2778 qup_i2c9_default: qup-i2c9-default { 2779 pinmux { 2780 pins = "gpio6", "gpio7"; 2781 function = "qup9"; 2782 }; 2783 }; 2784 2785 qup_i2c10_default: qup-i2c10-default { 2786 pinmux { 2787 pins = "gpio55", "gpio56"; 2788 function = "qup10"; 2789 }; 2790 }; 2791 2792 qup_i2c11_default: qup-i2c11-default { 2793 pinmux { 2794 pins = "gpio31", "gpio32"; 2795 function = "qup11"; 2796 }; 2797 }; 2798 2799 qup_i2c12_default: qup-i2c12-default { 2800 pinmux { 2801 pins = "gpio49", "gpio50"; 2802 function = "qup12"; 2803 }; 2804 }; 2805 2806 qup_i2c13_default: qup-i2c13-default { 2807 pinmux { 2808 pins = "gpio105", "gpio106"; 2809 function = "qup13"; 2810 }; 2811 }; 2812 2813 qup_i2c14_default: qup-i2c14-default { 2814 pinmux { 2815 pins = "gpio33", "gpio34"; 2816 function = "qup14"; 2817 }; 2818 }; 2819 2820 qup_i2c15_default: qup-i2c15-default { 2821 pinmux { 2822 pins = "gpio81", "gpio82"; 2823 function = "qup15"; 2824 }; 2825 }; 2826 2827 qup_spi0_default: qup-spi0-default { 2828 pinmux { 2829 pins = "gpio0", "gpio1", 2830 "gpio2", "gpio3"; 2831 function = "qup0"; 2832 }; 2833 2834 config { 2835 pins = "gpio0", "gpio1", 2836 "gpio2", "gpio3"; 2837 drive-strength = <6>; 2838 bias-disable; 2839 }; 2840 }; 2841 2842 qup_spi1_default: qup-spi1-default { 2843 pinmux { 2844 pins = "gpio17", "gpio18", 2845 "gpio19", "gpio20"; 2846 function = "qup1"; 2847 }; 2848 }; 2849 2850 qup_spi2_default: qup-spi2-default { 2851 pinmux { 2852 pins = "gpio27", "gpio28", 2853 "gpio29", "gpio30"; 2854 function = "qup2"; 2855 }; 2856 }; 2857 2858 qup_spi3_default: qup-spi3-default { 2859 pinmux { 2860 pins = "gpio41", "gpio42", 2861 "gpio43", "gpio44"; 2862 function = "qup3"; 2863 }; 2864 }; 2865 2866 qup_spi4_default: qup-spi4-default { 2867 pinmux { 2868 pins = "gpio89", "gpio90", 2869 "gpio91", "gpio92"; 2870 function = "qup4"; 2871 }; 2872 }; 2873 2874 qup_spi5_default: qup-spi5-default { 2875 pinmux { 2876 pins = "gpio85", "gpio86", 2877 "gpio87", "gpio88"; 2878 function = "qup5"; 2879 }; 2880 }; 2881 2882 qup_spi6_default: qup-spi6-default { 2883 pinmux { 2884 pins = "gpio45", "gpio46", 2885 "gpio47", "gpio48"; 2886 function = "qup6"; 2887 }; 2888 }; 2889 2890 qup_spi7_default: qup-spi7-default { 2891 pinmux { 2892 pins = "gpio93", "gpio94", 2893 "gpio95", "gpio96"; 2894 function = "qup7"; 2895 }; 2896 }; 2897 2898 qup_spi8_default: qup-spi8-default { 2899 pinmux { 2900 pins = "gpio65", "gpio66", 2901 "gpio67", "gpio68"; 2902 function = "qup8"; 2903 }; 2904 }; 2905 2906 qup_spi9_default: qup-spi9-default { 2907 pinmux { 2908 pins = "gpio6", "gpio7", 2909 "gpio4", "gpio5"; 2910 function = "qup9"; 2911 }; 2912 }; 2913 2914 qup_spi10_default: qup-spi10-default { 2915 pinmux { 2916 pins = "gpio55", "gpio56", 2917 "gpio53", "gpio54"; 2918 function = "qup10"; 2919 }; 2920 }; 2921 2922 qup_spi11_default: qup-spi11-default { 2923 pinmux { 2924 pins = "gpio31", "gpio32", 2925 "gpio33", "gpio34"; 2926 function = "qup11"; 2927 }; 2928 }; 2929 2930 qup_spi12_default: qup-spi12-default { 2931 pinmux { 2932 pins = "gpio49", "gpio50", 2933 "gpio51", "gpio52"; 2934 function = "qup12"; 2935 }; 2936 }; 2937 2938 qup_spi13_default: qup-spi13-default { 2939 pinmux { 2940 pins = "gpio105", "gpio106", 2941 "gpio107", "gpio108"; 2942 function = "qup13"; 2943 }; 2944 }; 2945 2946 qup_spi14_default: qup-spi14-default { 2947 pinmux { 2948 pins = "gpio33", "gpio34", 2949 "gpio31", "gpio32"; 2950 function = "qup14"; 2951 }; 2952 }; 2953 2954 qup_spi15_default: qup-spi15-default { 2955 pinmux { 2956 pins = "gpio81", "gpio82", 2957 "gpio83", "gpio84"; 2958 function = "qup15"; 2959 }; 2960 }; 2961 2962 qup_uart0_default: qup-uart0-default { 2963 pinmux { 2964 pins = "gpio2", "gpio3"; 2965 function = "qup0"; 2966 }; 2967 }; 2968 2969 qup_uart1_default: qup-uart1-default { 2970 pinmux { 2971 pins = "gpio19", "gpio20"; 2972 function = "qup1"; 2973 }; 2974 }; 2975 2976 qup_uart2_default: qup-uart2-default { 2977 pinmux { 2978 pins = "gpio29", "gpio30"; 2979 function = "qup2"; 2980 }; 2981 }; 2982 2983 qup_uart3_default: qup-uart3-default { 2984 pinmux { 2985 pins = "gpio43", "gpio44"; 2986 function = "qup3"; 2987 }; 2988 }; 2989 2990 qup_uart4_default: qup-uart4-default { 2991 pinmux { 2992 pins = "gpio91", "gpio92"; 2993 function = "qup4"; 2994 }; 2995 }; 2996 2997 qup_uart5_default: qup-uart5-default { 2998 pinmux { 2999 pins = "gpio87", "gpio88"; 3000 function = "qup5"; 3001 }; 3002 }; 3003 3004 qup_uart6_default: qup-uart6-default { 3005 pinmux { 3006 pins = "gpio47", "gpio48"; 3007 function = "qup6"; 3008 }; 3009 }; 3010 3011 qup_uart7_default: qup-uart7-default { 3012 pinmux { 3013 pins = "gpio95", "gpio96"; 3014 function = "qup7"; 3015 }; 3016 }; 3017 3018 qup_uart8_default: qup-uart8-default { 3019 pinmux { 3020 pins = "gpio67", "gpio68"; 3021 function = "qup8"; 3022 }; 3023 }; 3024 3025 qup_uart9_default: qup-uart9-default { 3026 pinmux { 3027 pins = "gpio4", "gpio5"; 3028 function = "qup9"; 3029 }; 3030 }; 3031 3032 qup_uart10_default: qup-uart10-default { 3033 pinmux { 3034 pins = "gpio53", "gpio54"; 3035 function = "qup10"; 3036 }; 3037 }; 3038 3039 qup_uart11_default: qup-uart11-default { 3040 pinmux { 3041 pins = "gpio33", "gpio34"; 3042 function = "qup11"; 3043 }; 3044 }; 3045 3046 qup_uart12_default: qup-uart12-default { 3047 pinmux { 3048 pins = "gpio51", "gpio52"; 3049 function = "qup12"; 3050 }; 3051 }; 3052 3053 qup_uart13_default: qup-uart13-default { 3054 pinmux { 3055 pins = "gpio107", "gpio108"; 3056 function = "qup13"; 3057 }; 3058 }; 3059 3060 qup_uart14_default: qup-uart14-default { 3061 pinmux { 3062 pins = "gpio31", "gpio32"; 3063 function = "qup14"; 3064 }; 3065 }; 3066 3067 qup_uart15_default: qup-uart15-default { 3068 pinmux { 3069 pins = "gpio83", "gpio84"; 3070 function = "qup15"; 3071 }; 3072 }; 3073 3074 quat_mi2s_sleep: quat_mi2s_sleep { 3075 mux { 3076 pins = "gpio58", "gpio59"; 3077 function = "gpio"; 3078 }; 3079 3080 config { 3081 pins = "gpio58", "gpio59"; 3082 drive-strength = <2>; 3083 bias-pull-down; 3084 input-enable; 3085 }; 3086 }; 3087 3088 quat_mi2s_active: quat_mi2s_active { 3089 mux { 3090 pins = "gpio58", "gpio59"; 3091 function = "qua_mi2s"; 3092 }; 3093 3094 config { 3095 pins = "gpio58", "gpio59"; 3096 drive-strength = <8>; 3097 bias-disable; 3098 output-high; 3099 }; 3100 }; 3101 3102 quat_mi2s_sd0_sleep: quat_mi2s_sd0_sleep { 3103 mux { 3104 pins = "gpio60"; 3105 function = "gpio"; 3106 }; 3107 3108 config { 3109 pins = "gpio60"; 3110 drive-strength = <2>; 3111 bias-pull-down; 3112 input-enable; 3113 }; 3114 }; 3115 3116 quat_mi2s_sd0_active: quat_mi2s_sd0_active { 3117 mux { 3118 pins = "gpio60"; 3119 function = "qua_mi2s"; 3120 }; 3121 3122 config { 3123 pins = "gpio60"; 3124 drive-strength = <8>; 3125 bias-disable; 3126 }; 3127 }; 3128 3129 quat_mi2s_sd1_sleep: quat_mi2s_sd1_sleep { 3130 mux { 3131 pins = "gpio61"; 3132 function = "gpio"; 3133 }; 3134 3135 config { 3136 pins = "gpio61"; 3137 drive-strength = <2>; 3138 bias-pull-down; 3139 input-enable; 3140 }; 3141 }; 3142 3143 quat_mi2s_sd1_active: quat_mi2s_sd1_active { 3144 mux { 3145 pins = "gpio61"; 3146 function = "qua_mi2s"; 3147 }; 3148 3149 config { 3150 pins = "gpio61"; 3151 drive-strength = <8>; 3152 bias-disable; 3153 }; 3154 }; 3155 3156 quat_mi2s_sd2_sleep: quat_mi2s_sd2_sleep { 3157 mux { 3158 pins = "gpio62"; 3159 function = "gpio"; 3160 }; 3161 3162 config { 3163 pins = "gpio62"; 3164 drive-strength = <2>; 3165 bias-pull-down; 3166 input-enable; 3167 }; 3168 }; 3169 3170 quat_mi2s_sd2_active: quat_mi2s_sd2_active { 3171 mux { 3172 pins = "gpio62"; 3173 function = "qua_mi2s"; 3174 }; 3175 3176 config { 3177 pins = "gpio62"; 3178 drive-strength = <8>; 3179 bias-disable; 3180 }; 3181 }; 3182 3183 quat_mi2s_sd3_sleep: quat_mi2s_sd3_sleep { 3184 mux { 3185 pins = "gpio63"; 3186 function = "gpio"; 3187 }; 3188 3189 config { 3190 pins = "gpio63"; 3191 drive-strength = <2>; 3192 bias-pull-down; 3193 input-enable; 3194 }; 3195 }; 3196 3197 quat_mi2s_sd3_active: quat_mi2s_sd3_active { 3198 mux { 3199 pins = "gpio63"; 3200 function = "qua_mi2s"; 3201 }; 3202 3203 config { 3204 pins = "gpio63"; 3205 drive-strength = <8>; 3206 bias-disable; 3207 }; 3208 }; 3209 }; 3210 3211 mss_pil: remoteproc@4080000 { 3212 compatible = "qcom,sdm845-mss-pil"; 3213 reg = <0 0x04080000 0 0x408>, <0 0x04180000 0 0x48>; 3214 reg-names = "qdsp6", "rmb"; 3215 3216 interrupts-extended = 3217 <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>, 3218 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 3219 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 3220 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 3221 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, 3222 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; 3223 interrupt-names = "wdog", "fatal", "ready", 3224 "handover", "stop-ack", 3225 "shutdown-ack"; 3226 3227 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, 3228 <&gcc GCC_MSS_Q6_MEMNOC_AXI_CLK>, 3229 <&gcc GCC_BOOT_ROM_AHB_CLK>, 3230 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>, 3231 <&gcc GCC_MSS_SNOC_AXI_CLK>, 3232 <&gcc GCC_MSS_MFAB_AXIS_CLK>, 3233 <&gcc GCC_PRNG_AHB_CLK>, 3234 <&rpmhcc RPMH_CXO_CLK>; 3235 clock-names = "iface", "bus", "mem", "gpll0_mss", 3236 "snoc_axi", "mnoc_axi", "prng", "xo"; 3237 3238 qcom,qmp = <&aoss_qmp>; 3239 3240 qcom,smem-states = <&modem_smp2p_out 0>; 3241 qcom,smem-state-names = "stop"; 3242 3243 resets = <&aoss_reset AOSS_CC_MSS_RESTART>, 3244 <&pdc_reset PDC_MODEM_SYNC_RESET>; 3245 reset-names = "mss_restart", "pdc_reset"; 3246 3247 qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>; 3248 3249 power-domains = <&rpmhpd SDM845_CX>, 3250 <&rpmhpd SDM845_MX>, 3251 <&rpmhpd SDM845_MSS>; 3252 power-domain-names = "cx", "mx", "mss"; 3253 3254 status = "disabled"; 3255 3256 mba { 3257 memory-region = <&mba_region>; 3258 }; 3259 3260 mpss { 3261 memory-region = <&mpss_region>; 3262 }; 3263 3264 glink-edge { 3265 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>; 3266 label = "modem"; 3267 qcom,remote-pid = <1>; 3268 mboxes = <&apss_shared 12>; 3269 }; 3270 }; 3271 3272 gpucc: clock-controller@5090000 { 3273 compatible = "qcom,sdm845-gpucc"; 3274 reg = <0 0x05090000 0 0x9000>; 3275 #clock-cells = <1>; 3276 #reset-cells = <1>; 3277 #power-domain-cells = <1>; 3278 clocks = <&rpmhcc RPMH_CXO_CLK>, 3279 <&gcc GCC_GPU_GPLL0_CLK_SRC>, 3280 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; 3281 clock-names = "bi_tcxo", 3282 "gcc_gpu_gpll0_clk_src", 3283 "gcc_gpu_gpll0_div_clk_src"; 3284 }; 3285 3286 stm@6002000 { 3287 compatible = "arm,coresight-stm", "arm,primecell"; 3288 reg = <0 0x06002000 0 0x1000>, 3289 <0 0x16280000 0 0x180000>; 3290 reg-names = "stm-base", "stm-stimulus-base"; 3291 3292 clocks = <&aoss_qmp>; 3293 clock-names = "apb_pclk"; 3294 3295 out-ports { 3296 port { 3297 stm_out: endpoint { 3298 remote-endpoint = 3299 <&funnel0_in7>; 3300 }; 3301 }; 3302 }; 3303 }; 3304 3305 funnel@6041000 { 3306 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 3307 reg = <0 0x06041000 0 0x1000>; 3308 3309 clocks = <&aoss_qmp>; 3310 clock-names = "apb_pclk"; 3311 3312 out-ports { 3313 port { 3314 funnel0_out: endpoint { 3315 remote-endpoint = 3316 <&merge_funnel_in0>; 3317 }; 3318 }; 3319 }; 3320 3321 in-ports { 3322 #address-cells = <1>; 3323 #size-cells = <0>; 3324 3325 port@7 { 3326 reg = <7>; 3327 funnel0_in7: endpoint { 3328 remote-endpoint = <&stm_out>; 3329 }; 3330 }; 3331 }; 3332 }; 3333 3334 funnel@6043000 { 3335 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 3336 reg = <0 0x06043000 0 0x1000>; 3337 3338 clocks = <&aoss_qmp>; 3339 clock-names = "apb_pclk"; 3340 3341 out-ports { 3342 port { 3343 funnel2_out: endpoint { 3344 remote-endpoint = 3345 <&merge_funnel_in2>; 3346 }; 3347 }; 3348 }; 3349 3350 in-ports { 3351 #address-cells = <1>; 3352 #size-cells = <0>; 3353 3354 port@5 { 3355 reg = <5>; 3356 funnel2_in5: endpoint { 3357 remote-endpoint = 3358 <&apss_merge_funnel_out>; 3359 }; 3360 }; 3361 }; 3362 }; 3363 3364 funnel@6045000 { 3365 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 3366 reg = <0 0x06045000 0 0x1000>; 3367 3368 clocks = <&aoss_qmp>; 3369 clock-names = "apb_pclk"; 3370 3371 out-ports { 3372 port { 3373 merge_funnel_out: endpoint { 3374 remote-endpoint = <&etf_in>; 3375 }; 3376 }; 3377 }; 3378 3379 in-ports { 3380 #address-cells = <1>; 3381 #size-cells = <0>; 3382 3383 port@0 { 3384 reg = <0>; 3385 merge_funnel_in0: endpoint { 3386 remote-endpoint = 3387 <&funnel0_out>; 3388 }; 3389 }; 3390 3391 port@2 { 3392 reg = <2>; 3393 merge_funnel_in2: endpoint { 3394 remote-endpoint = 3395 <&funnel2_out>; 3396 }; 3397 }; 3398 }; 3399 }; 3400 3401 replicator@6046000 { 3402 compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; 3403 reg = <0 0x06046000 0 0x1000>; 3404 3405 clocks = <&aoss_qmp>; 3406 clock-names = "apb_pclk"; 3407 3408 out-ports { 3409 port { 3410 replicator_out: endpoint { 3411 remote-endpoint = <&etr_in>; 3412 }; 3413 }; 3414 }; 3415 3416 in-ports { 3417 port { 3418 replicator_in: endpoint { 3419 remote-endpoint = <&etf_out>; 3420 }; 3421 }; 3422 }; 3423 }; 3424 3425 etf@6047000 { 3426 compatible = "arm,coresight-tmc", "arm,primecell"; 3427 reg = <0 0x06047000 0 0x1000>; 3428 3429 clocks = <&aoss_qmp>; 3430 clock-names = "apb_pclk"; 3431 3432 out-ports { 3433 port { 3434 etf_out: endpoint { 3435 remote-endpoint = 3436 <&replicator_in>; 3437 }; 3438 }; 3439 }; 3440 3441 in-ports { 3442 #address-cells = <1>; 3443 #size-cells = <0>; 3444 3445 port@1 { 3446 reg = <1>; 3447 etf_in: endpoint { 3448 remote-endpoint = 3449 <&merge_funnel_out>; 3450 }; 3451 }; 3452 }; 3453 }; 3454 3455 etr@6048000 { 3456 compatible = "arm,coresight-tmc", "arm,primecell"; 3457 reg = <0 0x06048000 0 0x1000>; 3458 3459 clocks = <&aoss_qmp>; 3460 clock-names = "apb_pclk"; 3461 arm,scatter-gather; 3462 3463 in-ports { 3464 port { 3465 etr_in: endpoint { 3466 remote-endpoint = 3467 <&replicator_out>; 3468 }; 3469 }; 3470 }; 3471 }; 3472 3473 etm@7040000 { 3474 compatible = "arm,coresight-etm4x", "arm,primecell"; 3475 reg = <0 0x07040000 0 0x1000>; 3476 3477 cpu = <&CPU0>; 3478 3479 clocks = <&aoss_qmp>; 3480 clock-names = "apb_pclk"; 3481 arm,coresight-loses-context-with-cpu; 3482 3483 out-ports { 3484 port { 3485 etm0_out: endpoint { 3486 remote-endpoint = 3487 <&apss_funnel_in0>; 3488 }; 3489 }; 3490 }; 3491 }; 3492 3493 etm@7140000 { 3494 compatible = "arm,coresight-etm4x", "arm,primecell"; 3495 reg = <0 0x07140000 0 0x1000>; 3496 3497 cpu = <&CPU1>; 3498 3499 clocks = <&aoss_qmp>; 3500 clock-names = "apb_pclk"; 3501 arm,coresight-loses-context-with-cpu; 3502 3503 out-ports { 3504 port { 3505 etm1_out: endpoint { 3506 remote-endpoint = 3507 <&apss_funnel_in1>; 3508 }; 3509 }; 3510 }; 3511 }; 3512 3513 etm@7240000 { 3514 compatible = "arm,coresight-etm4x", "arm,primecell"; 3515 reg = <0 0x07240000 0 0x1000>; 3516 3517 cpu = <&CPU2>; 3518 3519 clocks = <&aoss_qmp>; 3520 clock-names = "apb_pclk"; 3521 arm,coresight-loses-context-with-cpu; 3522 3523 out-ports { 3524 port { 3525 etm2_out: endpoint { 3526 remote-endpoint = 3527 <&apss_funnel_in2>; 3528 }; 3529 }; 3530 }; 3531 }; 3532 3533 etm@7340000 { 3534 compatible = "arm,coresight-etm4x", "arm,primecell"; 3535 reg = <0 0x07340000 0 0x1000>; 3536 3537 cpu = <&CPU3>; 3538 3539 clocks = <&aoss_qmp>; 3540 clock-names = "apb_pclk"; 3541 arm,coresight-loses-context-with-cpu; 3542 3543 out-ports { 3544 port { 3545 etm3_out: endpoint { 3546 remote-endpoint = 3547 <&apss_funnel_in3>; 3548 }; 3549 }; 3550 }; 3551 }; 3552 3553 etm@7440000 { 3554 compatible = "arm,coresight-etm4x", "arm,primecell"; 3555 reg = <0 0x07440000 0 0x1000>; 3556 3557 cpu = <&CPU4>; 3558 3559 clocks = <&aoss_qmp>; 3560 clock-names = "apb_pclk"; 3561 arm,coresight-loses-context-with-cpu; 3562 3563 out-ports { 3564 port { 3565 etm4_out: endpoint { 3566 remote-endpoint = 3567 <&apss_funnel_in4>; 3568 }; 3569 }; 3570 }; 3571 }; 3572 3573 etm@7540000 { 3574 compatible = "arm,coresight-etm4x", "arm,primecell"; 3575 reg = <0 0x07540000 0 0x1000>; 3576 3577 cpu = <&CPU5>; 3578 3579 clocks = <&aoss_qmp>; 3580 clock-names = "apb_pclk"; 3581 arm,coresight-loses-context-with-cpu; 3582 3583 out-ports { 3584 port { 3585 etm5_out: endpoint { 3586 remote-endpoint = 3587 <&apss_funnel_in5>; 3588 }; 3589 }; 3590 }; 3591 }; 3592 3593 etm@7640000 { 3594 compatible = "arm,coresight-etm4x", "arm,primecell"; 3595 reg = <0 0x07640000 0 0x1000>; 3596 3597 cpu = <&CPU6>; 3598 3599 clocks = <&aoss_qmp>; 3600 clock-names = "apb_pclk"; 3601 arm,coresight-loses-context-with-cpu; 3602 3603 out-ports { 3604 port { 3605 etm6_out: endpoint { 3606 remote-endpoint = 3607 <&apss_funnel_in6>; 3608 }; 3609 }; 3610 }; 3611 }; 3612 3613 etm@7740000 { 3614 compatible = "arm,coresight-etm4x", "arm,primecell"; 3615 reg = <0 0x07740000 0 0x1000>; 3616 3617 cpu = <&CPU7>; 3618 3619 clocks = <&aoss_qmp>; 3620 clock-names = "apb_pclk"; 3621 arm,coresight-loses-context-with-cpu; 3622 3623 out-ports { 3624 port { 3625 etm7_out: endpoint { 3626 remote-endpoint = 3627 <&apss_funnel_in7>; 3628 }; 3629 }; 3630 }; 3631 }; 3632 3633 funnel@7800000 { /* APSS Funnel */ 3634 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 3635 reg = <0 0x07800000 0 0x1000>; 3636 3637 clocks = <&aoss_qmp>; 3638 clock-names = "apb_pclk"; 3639 3640 out-ports { 3641 port { 3642 apss_funnel_out: endpoint { 3643 remote-endpoint = 3644 <&apss_merge_funnel_in>; 3645 }; 3646 }; 3647 }; 3648 3649 in-ports { 3650 #address-cells = <1>; 3651 #size-cells = <0>; 3652 3653 port@0 { 3654 reg = <0>; 3655 apss_funnel_in0: endpoint { 3656 remote-endpoint = 3657 <&etm0_out>; 3658 }; 3659 }; 3660 3661 port@1 { 3662 reg = <1>; 3663 apss_funnel_in1: endpoint { 3664 remote-endpoint = 3665 <&etm1_out>; 3666 }; 3667 }; 3668 3669 port@2 { 3670 reg = <2>; 3671 apss_funnel_in2: endpoint { 3672 remote-endpoint = 3673 <&etm2_out>; 3674 }; 3675 }; 3676 3677 port@3 { 3678 reg = <3>; 3679 apss_funnel_in3: endpoint { 3680 remote-endpoint = 3681 <&etm3_out>; 3682 }; 3683 }; 3684 3685 port@4 { 3686 reg = <4>; 3687 apss_funnel_in4: endpoint { 3688 remote-endpoint = 3689 <&etm4_out>; 3690 }; 3691 }; 3692 3693 port@5 { 3694 reg = <5>; 3695 apss_funnel_in5: endpoint { 3696 remote-endpoint = 3697 <&etm5_out>; 3698 }; 3699 }; 3700 3701 port@6 { 3702 reg = <6>; 3703 apss_funnel_in6: endpoint { 3704 remote-endpoint = 3705 <&etm6_out>; 3706 }; 3707 }; 3708 3709 port@7 { 3710 reg = <7>; 3711 apss_funnel_in7: endpoint { 3712 remote-endpoint = 3713 <&etm7_out>; 3714 }; 3715 }; 3716 }; 3717 }; 3718 3719 funnel@7810000 { 3720 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 3721 reg = <0 0x07810000 0 0x1000>; 3722 3723 clocks = <&aoss_qmp>; 3724 clock-names = "apb_pclk"; 3725 3726 out-ports { 3727 port { 3728 apss_merge_funnel_out: endpoint { 3729 remote-endpoint = 3730 <&funnel2_in5>; 3731 }; 3732 }; 3733 }; 3734 3735 in-ports { 3736 port { 3737 apss_merge_funnel_in: endpoint { 3738 remote-endpoint = 3739 <&apss_funnel_out>; 3740 }; 3741 }; 3742 }; 3743 }; 3744 3745 sdhc_2: mmc@8804000 { 3746 compatible = "qcom,sdm845-sdhci", "qcom,sdhci-msm-v5"; 3747 reg = <0 0x08804000 0 0x1000>; 3748 3749 interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>, 3750 <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>; 3751 interrupt-names = "hc_irq", "pwr_irq"; 3752 3753 clocks = <&gcc GCC_SDCC2_AHB_CLK>, 3754 <&gcc GCC_SDCC2_APPS_CLK>, 3755 <&rpmhcc RPMH_CXO_CLK>; 3756 clock-names = "iface", "core", "xo"; 3757 iommus = <&apps_smmu 0xa0 0xf>; 3758 power-domains = <&rpmhpd SDM845_CX>; 3759 operating-points-v2 = <&sdhc2_opp_table>; 3760 3761 status = "disabled"; 3762 3763 sdhc2_opp_table: opp-table { 3764 compatible = "operating-points-v2"; 3765 3766 opp-9600000 { 3767 opp-hz = /bits/ 64 <9600000>; 3768 required-opps = <&rpmhpd_opp_min_svs>; 3769 }; 3770 3771 opp-19200000 { 3772 opp-hz = /bits/ 64 <19200000>; 3773 required-opps = <&rpmhpd_opp_low_svs>; 3774 }; 3775 3776 opp-100000000 { 3777 opp-hz = /bits/ 64 <100000000>; 3778 required-opps = <&rpmhpd_opp_svs>; 3779 }; 3780 3781 opp-201500000 { 3782 opp-hz = /bits/ 64 <201500000>; 3783 required-opps = <&rpmhpd_opp_svs_l1>; 3784 }; 3785 }; 3786 }; 3787 3788 qspi_opp_table: opp-table-qspi { 3789 compatible = "operating-points-v2"; 3790 3791 opp-19200000 { 3792 opp-hz = /bits/ 64 <19200000>; 3793 required-opps = <&rpmhpd_opp_min_svs>; 3794 }; 3795 3796 opp-100000000 { 3797 opp-hz = /bits/ 64 <100000000>; 3798 required-opps = <&rpmhpd_opp_low_svs>; 3799 }; 3800 3801 opp-150000000 { 3802 opp-hz = /bits/ 64 <150000000>; 3803 required-opps = <&rpmhpd_opp_svs>; 3804 }; 3805 3806 opp-300000000 { 3807 opp-hz = /bits/ 64 <300000000>; 3808 required-opps = <&rpmhpd_opp_nom>; 3809 }; 3810 }; 3811 3812 qspi: spi@88df000 { 3813 compatible = "qcom,sdm845-qspi", "qcom,qspi-v1"; 3814 reg = <0 0x088df000 0 0x600>; 3815 #address-cells = <1>; 3816 #size-cells = <0>; 3817 interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; 3818 clocks = <&gcc GCC_QSPI_CNOC_PERIPH_AHB_CLK>, 3819 <&gcc GCC_QSPI_CORE_CLK>; 3820 clock-names = "iface", "core"; 3821 power-domains = <&rpmhpd SDM845_CX>; 3822 operating-points-v2 = <&qspi_opp_table>; 3823 status = "disabled"; 3824 }; 3825 3826 slim: slim@171c0000 { 3827 compatible = "qcom,slim-ngd-v2.1.0"; 3828 reg = <0 0x171c0000 0 0x2c000>; 3829 interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; 3830 3831 qcom,apps-ch-pipes = <0x780000>; 3832 qcom,ea-pc = <0x270>; 3833 status = "okay"; 3834 dmas = <&slimbam 3>, <&slimbam 4>, 3835 <&slimbam 5>, <&slimbam 6>; 3836 dma-names = "rx", "tx", "tx2", "rx2"; 3837 3838 iommus = <&apps_smmu 0x1806 0x0>; 3839 #address-cells = <1>; 3840 #size-cells = <0>; 3841 3842 ngd@1 { 3843 reg = <1>; 3844 #address-cells = <2>; 3845 #size-cells = <0>; 3846 3847 wcd9340_ifd: ifd@0{ 3848 compatible = "slim217,250"; 3849 reg = <0 0>; 3850 }; 3851 3852 wcd9340: codec@1{ 3853 compatible = "slim217,250"; 3854 reg = <1 0>; 3855 slim-ifc-dev = <&wcd9340_ifd>; 3856 3857 #sound-dai-cells = <1>; 3858 3859 interrupts-extended = <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>; 3860 interrupt-controller; 3861 #interrupt-cells = <1>; 3862 3863 #clock-cells = <0>; 3864 clock-frequency = <9600000>; 3865 clock-output-names = "mclk"; 3866 qcom,micbias1-microvolt = <1800000>; 3867 qcom,micbias2-microvolt = <1800000>; 3868 qcom,micbias3-microvolt = <1800000>; 3869 qcom,micbias4-microvolt = <1800000>; 3870 3871 #address-cells = <1>; 3872 #size-cells = <1>; 3873 3874 wcdgpio: gpio-controller@42 { 3875 compatible = "qcom,wcd9340-gpio"; 3876 gpio-controller; 3877 #gpio-cells = <2>; 3878 reg = <0x42 0x2>; 3879 }; 3880 3881 swm: swm@c85 { 3882 compatible = "qcom,soundwire-v1.3.0"; 3883 reg = <0xc85 0x40>; 3884 interrupts-extended = <&wcd9340 20>; 3885 3886 qcom,dout-ports = <6>; 3887 qcom,din-ports = <2>; 3888 qcom,ports-sinterval-low =/bits/ 8 <0x07 0x1F 0x3F 0x7 0x1F 0x3F 0x0F 0x0F>; 3889 qcom,ports-offset1 = /bits/ 8 <0x01 0x02 0x0C 0x6 0x12 0x0D 0x07 0x0A >; 3890 qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x1F 0x00 0x00 0x1F 0x00 0x00>; 3891 3892 #sound-dai-cells = <1>; 3893 clocks = <&wcd9340>; 3894 clock-names = "iface"; 3895 #address-cells = <2>; 3896 #size-cells = <0>; 3897 3898 3899 }; 3900 }; 3901 }; 3902 }; 3903 3904 lmh_cluster1: lmh@17d70800 { 3905 compatible = "qcom,sdm845-lmh"; 3906 reg = <0 0x17d70800 0 0x400>; 3907 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 3908 cpus = <&CPU4>; 3909 qcom,lmh-temp-arm-millicelsius = <65000>; 3910 qcom,lmh-temp-low-millicelsius = <94500>; 3911 qcom,lmh-temp-high-millicelsius = <95000>; 3912 interrupt-controller; 3913 #interrupt-cells = <1>; 3914 }; 3915 3916 lmh_cluster0: lmh@17d78800 { 3917 compatible = "qcom,sdm845-lmh"; 3918 reg = <0 0x17d78800 0 0x400>; 3919 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 3920 cpus = <&CPU0>; 3921 qcom,lmh-temp-arm-millicelsius = <65000>; 3922 qcom,lmh-temp-low-millicelsius = <94500>; 3923 qcom,lmh-temp-high-millicelsius = <95000>; 3924 interrupt-controller; 3925 #interrupt-cells = <1>; 3926 }; 3927 3928 sound: sound { 3929 }; 3930 3931 usb_1_hsphy: phy@88e2000 { 3932 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy"; 3933 reg = <0 0x088e2000 0 0x400>; 3934 status = "disabled"; 3935 #phy-cells = <0>; 3936 3937 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 3938 <&rpmhcc RPMH_CXO_CLK>; 3939 clock-names = "cfg_ahb", "ref"; 3940 3941 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 3942 3943 nvmem-cells = <&qusb2p_hstx_trim>; 3944 }; 3945 3946 usb_2_hsphy: phy@88e3000 { 3947 compatible = "qcom,sdm845-qusb2-phy", "qcom,qusb2-v2-phy"; 3948 reg = <0 0x088e3000 0 0x400>; 3949 status = "disabled"; 3950 #phy-cells = <0>; 3951 3952 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 3953 <&rpmhcc RPMH_CXO_CLK>; 3954 clock-names = "cfg_ahb", "ref"; 3955 3956 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>; 3957 3958 nvmem-cells = <&qusb2s_hstx_trim>; 3959 }; 3960 3961 usb_1_qmpphy: phy@88e9000 { 3962 compatible = "qcom,sdm845-qmp-usb3-phy"; 3963 reg = <0 0x088e9000 0 0x18c>, 3964 <0 0x088e8000 0 0x10>; 3965 status = "disabled"; 3966 #address-cells = <2>; 3967 #size-cells = <2>; 3968 ranges; 3969 3970 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, 3971 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 3972 <&gcc GCC_USB3_PRIM_CLKREF_CLK>, 3973 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>; 3974 clock-names = "aux", "cfg_ahb", "ref", "com_aux"; 3975 3976 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>, 3977 <&gcc GCC_USB3_PHY_PRIM_BCR>; 3978 reset-names = "phy", "common"; 3979 3980 usb_1_ssphy: phy@88e9200 { 3981 reg = <0 0x088e9200 0 0x128>, 3982 <0 0x088e9400 0 0x200>, 3983 <0 0x088e9c00 0 0x218>, 3984 <0 0x088e9600 0 0x128>, 3985 <0 0x088e9800 0 0x200>, 3986 <0 0x088e9a00 0 0x100>; 3987 #clock-cells = <0>; 3988 #phy-cells = <0>; 3989 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; 3990 clock-names = "pipe0"; 3991 clock-output-names = "usb3_phy_pipe_clk_src"; 3992 }; 3993 }; 3994 3995 usb_2_qmpphy: phy@88eb000 { 3996 compatible = "qcom,sdm845-qmp-usb3-uni-phy"; 3997 reg = <0 0x088eb000 0 0x18c>; 3998 status = "disabled"; 3999 #address-cells = <2>; 4000 #size-cells = <2>; 4001 ranges; 4002 4003 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>, 4004 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 4005 <&gcc GCC_USB3_SEC_CLKREF_CLK>, 4006 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>; 4007 clock-names = "aux", "cfg_ahb", "ref", "com_aux"; 4008 4009 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>, 4010 <&gcc GCC_USB3_PHY_SEC_BCR>; 4011 reset-names = "phy", "common"; 4012 4013 usb_2_ssphy: phy@88eb200 { 4014 reg = <0 0x088eb200 0 0x128>, 4015 <0 0x088eb400 0 0x1fc>, 4016 <0 0x088eb800 0 0x218>, 4017 <0 0x088eb600 0 0x70>; 4018 #clock-cells = <0>; 4019 #phy-cells = <0>; 4020 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; 4021 clock-names = "pipe0"; 4022 clock-output-names = "usb3_uni_phy_pipe_clk_src"; 4023 }; 4024 }; 4025 4026 usb_1: usb@a6f8800 { 4027 compatible = "qcom,sdm845-dwc3", "qcom,dwc3"; 4028 reg = <0 0x0a6f8800 0 0x400>; 4029 status = "disabled"; 4030 #address-cells = <2>; 4031 #size-cells = <2>; 4032 ranges; 4033 dma-ranges; 4034 4035 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 4036 <&gcc GCC_USB30_PRIM_MASTER_CLK>, 4037 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 4038 <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 4039 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; 4040 clock-names = "cfg_noc", 4041 "core", 4042 "iface", 4043 "sleep", 4044 "mock_utmi"; 4045 4046 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 4047 <&gcc GCC_USB30_PRIM_MASTER_CLK>; 4048 assigned-clock-rates = <19200000>, <150000000>; 4049 4050 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 4051 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, 4052 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>, 4053 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>; 4054 interrupt-names = "hs_phy_irq", "ss_phy_irq", 4055 "dm_hs_phy_irq", "dp_hs_phy_irq"; 4056 4057 power-domains = <&gcc USB30_PRIM_GDSC>; 4058 4059 resets = <&gcc GCC_USB30_PRIM_BCR>; 4060 4061 interconnects = <&aggre2_noc MASTER_USB3_0 0 &mem_noc SLAVE_EBI1 0>, 4062 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_0 0>; 4063 interconnect-names = "usb-ddr", "apps-usb"; 4064 4065 usb_1_dwc3: usb@a600000 { 4066 compatible = "snps,dwc3"; 4067 reg = <0 0x0a600000 0 0xcd00>; 4068 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 4069 iommus = <&apps_smmu 0x740 0>; 4070 snps,dis_u2_susphy_quirk; 4071 snps,dis_enblslpm_quirk; 4072 phys = <&usb_1_hsphy>, <&usb_1_ssphy>; 4073 phy-names = "usb2-phy", "usb3-phy"; 4074 }; 4075 }; 4076 4077 usb_2: usb@a8f8800 { 4078 compatible = "qcom,sdm845-dwc3", "qcom,dwc3"; 4079 reg = <0 0x0a8f8800 0 0x400>; 4080 status = "disabled"; 4081 #address-cells = <2>; 4082 #size-cells = <2>; 4083 ranges; 4084 dma-ranges; 4085 4086 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>, 4087 <&gcc GCC_USB30_SEC_MASTER_CLK>, 4088 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>, 4089 <&gcc GCC_USB30_SEC_SLEEP_CLK>, 4090 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>; 4091 clock-names = "cfg_noc", 4092 "core", 4093 "iface", 4094 "sleep", 4095 "mock_utmi"; 4096 4097 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>, 4098 <&gcc GCC_USB30_SEC_MASTER_CLK>; 4099 assigned-clock-rates = <19200000>, <150000000>; 4100 4101 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, 4102 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>, 4103 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>, 4104 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>; 4105 interrupt-names = "hs_phy_irq", "ss_phy_irq", 4106 "dm_hs_phy_irq", "dp_hs_phy_irq"; 4107 4108 power-domains = <&gcc USB30_SEC_GDSC>; 4109 4110 resets = <&gcc GCC_USB30_SEC_BCR>; 4111 4112 interconnects = <&aggre2_noc MASTER_USB3_1 0 &mem_noc SLAVE_EBI1 0>, 4113 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3_1 0>; 4114 interconnect-names = "usb-ddr", "apps-usb"; 4115 4116 usb_2_dwc3: usb@a800000 { 4117 compatible = "snps,dwc3"; 4118 reg = <0 0x0a800000 0 0xcd00>; 4119 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 4120 iommus = <&apps_smmu 0x760 0>; 4121 snps,dis_u2_susphy_quirk; 4122 snps,dis_enblslpm_quirk; 4123 phys = <&usb_2_hsphy>, <&usb_2_ssphy>; 4124 phy-names = "usb2-phy", "usb3-phy"; 4125 }; 4126 }; 4127 4128 venus: video-codec@aa00000 { 4129 compatible = "qcom,sdm845-venus-v2"; 4130 reg = <0 0x0aa00000 0 0xff000>; 4131 interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; 4132 power-domains = <&videocc VENUS_GDSC>, 4133 <&videocc VCODEC0_GDSC>, 4134 <&videocc VCODEC1_GDSC>, 4135 <&rpmhpd SDM845_CX>; 4136 power-domain-names = "venus", "vcodec0", "vcodec1", "cx"; 4137 operating-points-v2 = <&venus_opp_table>; 4138 clocks = <&videocc VIDEO_CC_VENUS_CTL_CORE_CLK>, 4139 <&videocc VIDEO_CC_VENUS_AHB_CLK>, 4140 <&videocc VIDEO_CC_VENUS_CTL_AXI_CLK>, 4141 <&videocc VIDEO_CC_VCODEC0_CORE_CLK>, 4142 <&videocc VIDEO_CC_VCODEC0_AXI_CLK>, 4143 <&videocc VIDEO_CC_VCODEC1_CORE_CLK>, 4144 <&videocc VIDEO_CC_VCODEC1_AXI_CLK>; 4145 clock-names = "core", "iface", "bus", 4146 "vcodec0_core", "vcodec0_bus", 4147 "vcodec1_core", "vcodec1_bus"; 4148 iommus = <&apps_smmu 0x10a0 0x8>, 4149 <&apps_smmu 0x10b0 0x0>; 4150 memory-region = <&venus_mem>; 4151 interconnects = <&mmss_noc MASTER_VIDEO_P0 0 &mem_noc SLAVE_EBI1 0>, 4152 <&gladiator_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_VENUS_CFG 0>; 4153 interconnect-names = "video-mem", "cpu-cfg"; 4154 4155 status = "disabled"; 4156 4157 video-core0 { 4158 compatible = "venus-decoder"; 4159 }; 4160 4161 video-core1 { 4162 compatible = "venus-encoder"; 4163 }; 4164 4165 venus_opp_table: opp-table { 4166 compatible = "operating-points-v2"; 4167 4168 opp-100000000 { 4169 opp-hz = /bits/ 64 <100000000>; 4170 required-opps = <&rpmhpd_opp_min_svs>; 4171 }; 4172 4173 opp-200000000 { 4174 opp-hz = /bits/ 64 <200000000>; 4175 required-opps = <&rpmhpd_opp_low_svs>; 4176 }; 4177 4178 opp-320000000 { 4179 opp-hz = /bits/ 64 <320000000>; 4180 required-opps = <&rpmhpd_opp_svs>; 4181 }; 4182 4183 opp-380000000 { 4184 opp-hz = /bits/ 64 <380000000>; 4185 required-opps = <&rpmhpd_opp_svs_l1>; 4186 }; 4187 4188 opp-444000000 { 4189 opp-hz = /bits/ 64 <444000000>; 4190 required-opps = <&rpmhpd_opp_nom>; 4191 }; 4192 4193 opp-533000097 { 4194 opp-hz = /bits/ 64 <533000097>; 4195 required-opps = <&rpmhpd_opp_turbo>; 4196 }; 4197 }; 4198 }; 4199 4200 videocc: clock-controller@ab00000 { 4201 compatible = "qcom,sdm845-videocc"; 4202 reg = <0 0x0ab00000 0 0x10000>; 4203 clocks = <&rpmhcc RPMH_CXO_CLK>; 4204 clock-names = "bi_tcxo"; 4205 #clock-cells = <1>; 4206 #power-domain-cells = <1>; 4207 #reset-cells = <1>; 4208 }; 4209 4210 camss: camss@a00000 { 4211 compatible = "qcom,sdm845-camss"; 4212 4213 reg = <0 0xacb3000 0 0x1000>, 4214 <0 0xacba000 0 0x1000>, 4215 <0 0xacc8000 0 0x1000>, 4216 <0 0xac65000 0 0x1000>, 4217 <0 0xac66000 0 0x1000>, 4218 <0 0xac67000 0 0x1000>, 4219 <0 0xac68000 0 0x1000>, 4220 <0 0xacaf000 0 0x4000>, 4221 <0 0xacb6000 0 0x4000>, 4222 <0 0xacc4000 0 0x4000>; 4223 reg-names = "csid0", 4224 "csid1", 4225 "csid2", 4226 "csiphy0", 4227 "csiphy1", 4228 "csiphy2", 4229 "csiphy3", 4230 "vfe0", 4231 "vfe1", 4232 "vfe_lite"; 4233 4234 interrupts = <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>, 4235 <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>, 4236 <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>, 4237 <GIC_SPI 477 IRQ_TYPE_LEVEL_HIGH>, 4238 <GIC_SPI 478 IRQ_TYPE_LEVEL_HIGH>, 4239 <GIC_SPI 479 IRQ_TYPE_LEVEL_HIGH>, 4240 <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>, 4241 <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>, 4242 <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>, 4243 <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>; 4244 interrupt-names = "csid0", 4245 "csid1", 4246 "csid2", 4247 "csiphy0", 4248 "csiphy1", 4249 "csiphy2", 4250 "csiphy3", 4251 "vfe0", 4252 "vfe1", 4253 "vfe_lite"; 4254 4255 power-domains = <&clock_camcc IFE_0_GDSC>, 4256 <&clock_camcc IFE_1_GDSC>, 4257 <&clock_camcc TITAN_TOP_GDSC>; 4258 4259 clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, 4260 <&clock_camcc CAM_CC_CPAS_AHB_CLK>, 4261 <&clock_camcc CAM_CC_CPHY_RX_CLK_SRC>, 4262 <&clock_camcc CAM_CC_IFE_0_CSID_CLK>, 4263 <&clock_camcc CAM_CC_IFE_0_CSID_CLK_SRC>, 4264 <&clock_camcc CAM_CC_IFE_1_CSID_CLK>, 4265 <&clock_camcc CAM_CC_IFE_1_CSID_CLK_SRC>, 4266 <&clock_camcc CAM_CC_IFE_LITE_CSID_CLK>, 4267 <&clock_camcc CAM_CC_IFE_LITE_CSID_CLK_SRC>, 4268 <&clock_camcc CAM_CC_CSIPHY0_CLK>, 4269 <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK>, 4270 <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>, 4271 <&clock_camcc CAM_CC_CSIPHY1_CLK>, 4272 <&clock_camcc CAM_CC_CSI1PHYTIMER_CLK>, 4273 <&clock_camcc CAM_CC_CSI1PHYTIMER_CLK_SRC>, 4274 <&clock_camcc CAM_CC_CSIPHY2_CLK>, 4275 <&clock_camcc CAM_CC_CSI2PHYTIMER_CLK>, 4276 <&clock_camcc CAM_CC_CSI2PHYTIMER_CLK_SRC>, 4277 <&clock_camcc CAM_CC_CSIPHY3_CLK>, 4278 <&clock_camcc CAM_CC_CSI3PHYTIMER_CLK>, 4279 <&clock_camcc CAM_CC_CSI3PHYTIMER_CLK_SRC>, 4280 <&gcc GCC_CAMERA_AHB_CLK>, 4281 <&gcc GCC_CAMERA_AXI_CLK>, 4282 <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, 4283 <&clock_camcc CAM_CC_SOC_AHB_CLK>, 4284 <&clock_camcc CAM_CC_IFE_0_AXI_CLK>, 4285 <&clock_camcc CAM_CC_IFE_0_CLK>, 4286 <&clock_camcc CAM_CC_IFE_0_CPHY_RX_CLK>, 4287 <&clock_camcc CAM_CC_IFE_0_CLK_SRC>, 4288 <&clock_camcc CAM_CC_IFE_1_AXI_CLK>, 4289 <&clock_camcc CAM_CC_IFE_1_CLK>, 4290 <&clock_camcc CAM_CC_IFE_1_CPHY_RX_CLK>, 4291 <&clock_camcc CAM_CC_IFE_1_CLK_SRC>, 4292 <&clock_camcc CAM_CC_IFE_LITE_CLK>, 4293 <&clock_camcc CAM_CC_IFE_LITE_CPHY_RX_CLK>, 4294 <&clock_camcc CAM_CC_IFE_LITE_CLK_SRC>; 4295 clock-names = "camnoc_axi", 4296 "cpas_ahb", 4297 "cphy_rx_src", 4298 "csi0", 4299 "csi0_src", 4300 "csi1", 4301 "csi1_src", 4302 "csi2", 4303 "csi2_src", 4304 "csiphy0", 4305 "csiphy0_timer", 4306 "csiphy0_timer_src", 4307 "csiphy1", 4308 "csiphy1_timer", 4309 "csiphy1_timer_src", 4310 "csiphy2", 4311 "csiphy2_timer", 4312 "csiphy2_timer_src", 4313 "csiphy3", 4314 "csiphy3_timer", 4315 "csiphy3_timer_src", 4316 "gcc_camera_ahb", 4317 "gcc_camera_axi", 4318 "slow_ahb_src", 4319 "soc_ahb", 4320 "vfe0_axi", 4321 "vfe0", 4322 "vfe0_cphy_rx", 4323 "vfe0_src", 4324 "vfe1_axi", 4325 "vfe1", 4326 "vfe1_cphy_rx", 4327 "vfe1_src", 4328 "vfe_lite", 4329 "vfe_lite_cphy_rx", 4330 "vfe_lite_src"; 4331 4332 iommus = <&apps_smmu 0x0808 0x0>, 4333 <&apps_smmu 0x0810 0x8>, 4334 <&apps_smmu 0x0c08 0x0>, 4335 <&apps_smmu 0x0c10 0x8>; 4336 4337 status = "disabled"; 4338 4339 ports { 4340 #address-cells = <1>; 4341 #size-cells = <0>; 4342 }; 4343 }; 4344 4345 cci: cci@ac4a000 { 4346 compatible = "qcom,sdm845-cci"; 4347 #address-cells = <1>; 4348 #size-cells = <0>; 4349 4350 reg = <0 0x0ac4a000 0 0x4000>; 4351 interrupts = <GIC_SPI 460 IRQ_TYPE_EDGE_RISING>; 4352 power-domains = <&clock_camcc TITAN_TOP_GDSC>; 4353 4354 clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, 4355 <&clock_camcc CAM_CC_SOC_AHB_CLK>, 4356 <&clock_camcc CAM_CC_SLOW_AHB_CLK_SRC>, 4357 <&clock_camcc CAM_CC_CPAS_AHB_CLK>, 4358 <&clock_camcc CAM_CC_CCI_CLK>, 4359 <&clock_camcc CAM_CC_CCI_CLK_SRC>; 4360 clock-names = "camnoc_axi", 4361 "soc_ahb", 4362 "slow_ahb_src", 4363 "cpas_ahb", 4364 "cci", 4365 "cci_src"; 4366 4367 assigned-clocks = <&clock_camcc CAM_CC_CAMNOC_AXI_CLK>, 4368 <&clock_camcc CAM_CC_CCI_CLK>; 4369 assigned-clock-rates = <80000000>, <37500000>; 4370 4371 pinctrl-names = "default", "sleep"; 4372 pinctrl-0 = <&cci0_default &cci1_default>; 4373 pinctrl-1 = <&cci0_sleep &cci1_sleep>; 4374 4375 status = "disabled"; 4376 4377 cci_i2c0: i2c-bus@0 { 4378 reg = <0>; 4379 clock-frequency = <1000000>; 4380 #address-cells = <1>; 4381 #size-cells = <0>; 4382 }; 4383 4384 cci_i2c1: i2c-bus@1 { 4385 reg = <1>; 4386 clock-frequency = <1000000>; 4387 #address-cells = <1>; 4388 #size-cells = <0>; 4389 }; 4390 }; 4391 4392 clock_camcc: clock-controller@ad00000 { 4393 compatible = "qcom,sdm845-camcc"; 4394 reg = <0 0x0ad00000 0 0x10000>; 4395 #clock-cells = <1>; 4396 #reset-cells = <1>; 4397 #power-domain-cells = <1>; 4398 clocks = <&rpmhcc RPMH_CXO_CLK>; 4399 clock-names = "bi_tcxo"; 4400 }; 4401 4402 dsi_opp_table: opp-table-dsi { 4403 compatible = "operating-points-v2"; 4404 4405 opp-19200000 { 4406 opp-hz = /bits/ 64 <19200000>; 4407 required-opps = <&rpmhpd_opp_min_svs>; 4408 }; 4409 4410 opp-180000000 { 4411 opp-hz = /bits/ 64 <180000000>; 4412 required-opps = <&rpmhpd_opp_low_svs>; 4413 }; 4414 4415 opp-275000000 { 4416 opp-hz = /bits/ 64 <275000000>; 4417 required-opps = <&rpmhpd_opp_svs>; 4418 }; 4419 4420 opp-328580000 { 4421 opp-hz = /bits/ 64 <328580000>; 4422 required-opps = <&rpmhpd_opp_svs_l1>; 4423 }; 4424 4425 opp-358000000 { 4426 opp-hz = /bits/ 64 <358000000>; 4427 required-opps = <&rpmhpd_opp_nom>; 4428 }; 4429 }; 4430 4431 mdss: mdss@ae00000 { 4432 compatible = "qcom,sdm845-mdss"; 4433 reg = <0 0x0ae00000 0 0x1000>; 4434 reg-names = "mdss"; 4435 4436 power-domains = <&dispcc MDSS_GDSC>; 4437 4438 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 4439 <&dispcc DISP_CC_MDSS_MDP_CLK>; 4440 clock-names = "iface", "core"; 4441 4442 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 4443 interrupt-controller; 4444 #interrupt-cells = <1>; 4445 4446 interconnects = <&mmss_noc MASTER_MDP0 0 &mem_noc SLAVE_EBI1 0>, 4447 <&mmss_noc MASTER_MDP1 0 &mem_noc SLAVE_EBI1 0>; 4448 interconnect-names = "mdp0-mem", "mdp1-mem"; 4449 4450 iommus = <&apps_smmu 0x880 0x8>, 4451 <&apps_smmu 0xc80 0x8>; 4452 4453 status = "disabled"; 4454 4455 #address-cells = <2>; 4456 #size-cells = <2>; 4457 ranges; 4458 4459 mdss_mdp: display-controller@ae01000 { 4460 compatible = "qcom,sdm845-dpu"; 4461 reg = <0 0x0ae01000 0 0x8f000>, 4462 <0 0x0aeb0000 0 0x2008>; 4463 reg-names = "mdp", "vbif"; 4464 4465 clocks = <&gcc GCC_DISP_AXI_CLK>, 4466 <&dispcc DISP_CC_MDSS_AHB_CLK>, 4467 <&dispcc DISP_CC_MDSS_AXI_CLK>, 4468 <&dispcc DISP_CC_MDSS_MDP_CLK>, 4469 <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 4470 clock-names = "gcc-bus", "iface", "bus", "core", "vsync"; 4471 4472 assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; 4473 assigned-clock-rates = <19200000>; 4474 operating-points-v2 = <&mdp_opp_table>; 4475 power-domains = <&rpmhpd SDM845_CX>; 4476 4477 interrupt-parent = <&mdss>; 4478 interrupts = <0>; 4479 4480 ports { 4481 #address-cells = <1>; 4482 #size-cells = <0>; 4483 4484 port@0 { 4485 reg = <0>; 4486 dpu_intf1_out: endpoint { 4487 remote-endpoint = <&dsi0_in>; 4488 }; 4489 }; 4490 4491 port@1 { 4492 reg = <1>; 4493 dpu_intf2_out: endpoint { 4494 remote-endpoint = <&dsi1_in>; 4495 }; 4496 }; 4497 }; 4498 4499 mdp_opp_table: opp-table { 4500 compatible = "operating-points-v2"; 4501 4502 opp-19200000 { 4503 opp-hz = /bits/ 64 <19200000>; 4504 required-opps = <&rpmhpd_opp_min_svs>; 4505 }; 4506 4507 opp-171428571 { 4508 opp-hz = /bits/ 64 <171428571>; 4509 required-opps = <&rpmhpd_opp_low_svs>; 4510 }; 4511 4512 opp-344000000 { 4513 opp-hz = /bits/ 64 <344000000>; 4514 required-opps = <&rpmhpd_opp_svs_l1>; 4515 }; 4516 4517 opp-430000000 { 4518 opp-hz = /bits/ 64 <430000000>; 4519 required-opps = <&rpmhpd_opp_nom>; 4520 }; 4521 }; 4522 }; 4523 4524 dsi0: dsi@ae94000 { 4525 compatible = "qcom,mdss-dsi-ctrl"; 4526 reg = <0 0x0ae94000 0 0x400>; 4527 reg-names = "dsi_ctrl"; 4528 4529 interrupt-parent = <&mdss>; 4530 interrupts = <4>; 4531 4532 clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>, 4533 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, 4534 <&dispcc DISP_CC_MDSS_PCLK0_CLK>, 4535 <&dispcc DISP_CC_MDSS_ESC0_CLK>, 4536 <&dispcc DISP_CC_MDSS_AHB_CLK>, 4537 <&dispcc DISP_CC_MDSS_AXI_CLK>; 4538 clock-names = "byte", 4539 "byte_intf", 4540 "pixel", 4541 "core", 4542 "iface", 4543 "bus"; 4544 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; 4545 assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; 4546 4547 operating-points-v2 = <&dsi_opp_table>; 4548 power-domains = <&rpmhpd SDM845_CX>; 4549 4550 phys = <&dsi0_phy>; 4551 phy-names = "dsi"; 4552 4553 status = "disabled"; 4554 4555 #address-cells = <1>; 4556 #size-cells = <0>; 4557 4558 ports { 4559 #address-cells = <1>; 4560 #size-cells = <0>; 4561 4562 port@0 { 4563 reg = <0>; 4564 dsi0_in: endpoint { 4565 remote-endpoint = <&dpu_intf1_out>; 4566 }; 4567 }; 4568 4569 port@1 { 4570 reg = <1>; 4571 dsi0_out: endpoint { 4572 }; 4573 }; 4574 }; 4575 }; 4576 4577 dsi0_phy: dsi-phy@ae94400 { 4578 compatible = "qcom,dsi-phy-10nm"; 4579 reg = <0 0x0ae94400 0 0x200>, 4580 <0 0x0ae94600 0 0x280>, 4581 <0 0x0ae94a00 0 0x1e0>; 4582 reg-names = "dsi_phy", 4583 "dsi_phy_lane", 4584 "dsi_pll"; 4585 4586 #clock-cells = <1>; 4587 #phy-cells = <0>; 4588 4589 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 4590 <&rpmhcc RPMH_CXO_CLK>; 4591 clock-names = "iface", "ref"; 4592 4593 status = "disabled"; 4594 }; 4595 4596 dsi1: dsi@ae96000 { 4597 compatible = "qcom,mdss-dsi-ctrl"; 4598 reg = <0 0x0ae96000 0 0x400>; 4599 reg-names = "dsi_ctrl"; 4600 4601 interrupt-parent = <&mdss>; 4602 interrupts = <5>; 4603 4604 clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>, 4605 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>, 4606 <&dispcc DISP_CC_MDSS_PCLK1_CLK>, 4607 <&dispcc DISP_CC_MDSS_ESC1_CLK>, 4608 <&dispcc DISP_CC_MDSS_AHB_CLK>, 4609 <&dispcc DISP_CC_MDSS_AXI_CLK>; 4610 clock-names = "byte", 4611 "byte_intf", 4612 "pixel", 4613 "core", 4614 "iface", 4615 "bus"; 4616 assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>; 4617 assigned-clock-parents = <&dsi1_phy 0>, <&dsi1_phy 1>; 4618 4619 operating-points-v2 = <&dsi_opp_table>; 4620 power-domains = <&rpmhpd SDM845_CX>; 4621 4622 phys = <&dsi1_phy>; 4623 phy-names = "dsi"; 4624 4625 status = "disabled"; 4626 4627 #address-cells = <1>; 4628 #size-cells = <0>; 4629 4630 ports { 4631 #address-cells = <1>; 4632 #size-cells = <0>; 4633 4634 port@0 { 4635 reg = <0>; 4636 dsi1_in: endpoint { 4637 remote-endpoint = <&dpu_intf2_out>; 4638 }; 4639 }; 4640 4641 port@1 { 4642 reg = <1>; 4643 dsi1_out: endpoint { 4644 }; 4645 }; 4646 }; 4647 }; 4648 4649 dsi1_phy: dsi-phy@ae96400 { 4650 compatible = "qcom,dsi-phy-10nm"; 4651 reg = <0 0x0ae96400 0 0x200>, 4652 <0 0x0ae96600 0 0x280>, 4653 <0 0x0ae96a00 0 0x10e>; 4654 reg-names = "dsi_phy", 4655 "dsi_phy_lane", 4656 "dsi_pll"; 4657 4658 #clock-cells = <1>; 4659 #phy-cells = <0>; 4660 4661 clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, 4662 <&rpmhcc RPMH_CXO_CLK>; 4663 clock-names = "iface", "ref"; 4664 4665 status = "disabled"; 4666 }; 4667 }; 4668 4669 gpu: gpu@5000000 { 4670 compatible = "qcom,adreno-630.2", "qcom,adreno"; 4671 4672 reg = <0 0x5000000 0 0x40000>, <0 0x509e000 0 0x10>; 4673 reg-names = "kgsl_3d0_reg_memory", "cx_mem"; 4674 4675 /* 4676 * Look ma, no clocks! The GPU clocks and power are 4677 * controlled entirely by the GMU 4678 */ 4679 4680 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; 4681 4682 iommus = <&adreno_smmu 0>; 4683 4684 operating-points-v2 = <&gpu_opp_table>; 4685 4686 qcom,gmu = <&gmu>; 4687 4688 interconnects = <&mem_noc MASTER_GFX3D 0 &mem_noc SLAVE_EBI1 0>; 4689 interconnect-names = "gfx-mem"; 4690 4691 status = "disabled"; 4692 4693 gpu_opp_table: opp-table { 4694 compatible = "operating-points-v2"; 4695 4696 opp-710000000 { 4697 opp-hz = /bits/ 64 <710000000>; 4698 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 4699 opp-peak-kBps = <7216000>; 4700 }; 4701 4702 opp-675000000 { 4703 opp-hz = /bits/ 64 <675000000>; 4704 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 4705 opp-peak-kBps = <7216000>; 4706 }; 4707 4708 opp-596000000 { 4709 opp-hz = /bits/ 64 <596000000>; 4710 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 4711 opp-peak-kBps = <6220000>; 4712 }; 4713 4714 opp-520000000 { 4715 opp-hz = /bits/ 64 <520000000>; 4716 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 4717 opp-peak-kBps = <6220000>; 4718 }; 4719 4720 opp-414000000 { 4721 opp-hz = /bits/ 64 <414000000>; 4722 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 4723 opp-peak-kBps = <4068000>; 4724 }; 4725 4726 opp-342000000 { 4727 opp-hz = /bits/ 64 <342000000>; 4728 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 4729 opp-peak-kBps = <2724000>; 4730 }; 4731 4732 opp-257000000 { 4733 opp-hz = /bits/ 64 <257000000>; 4734 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 4735 opp-peak-kBps = <1648000>; 4736 }; 4737 }; 4738 }; 4739 4740 adreno_smmu: iommu@5040000 { 4741 compatible = "qcom,sdm845-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2"; 4742 reg = <0 0x5040000 0 0x10000>; 4743 #iommu-cells = <1>; 4744 #global-interrupts = <2>; 4745 interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 4746 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 4747 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>, 4748 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>, 4749 <GIC_SPI 366 IRQ_TYPE_EDGE_RISING>, 4750 <GIC_SPI 367 IRQ_TYPE_EDGE_RISING>, 4751 <GIC_SPI 368 IRQ_TYPE_EDGE_RISING>, 4752 <GIC_SPI 369 IRQ_TYPE_EDGE_RISING>, 4753 <GIC_SPI 370 IRQ_TYPE_EDGE_RISING>, 4754 <GIC_SPI 371 IRQ_TYPE_EDGE_RISING>; 4755 clocks = <&gcc GCC_GPU_MEMNOC_GFX_CLK>, 4756 <&gcc GCC_GPU_CFG_AHB_CLK>; 4757 clock-names = "bus", "iface"; 4758 4759 power-domains = <&gpucc GPU_CX_GDSC>; 4760 }; 4761 4762 gmu: gmu@506a000 { 4763 compatible = "qcom,adreno-gmu-630.2", "qcom,adreno-gmu"; 4764 4765 reg = <0 0x506a000 0 0x30000>, 4766 <0 0xb280000 0 0x10000>, 4767 <0 0xb480000 0 0x10000>; 4768 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq"; 4769 4770 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, 4771 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; 4772 interrupt-names = "hfi", "gmu"; 4773 4774 clocks = <&gpucc GPU_CC_CX_GMU_CLK>, 4775 <&gpucc GPU_CC_CXO_CLK>, 4776 <&gcc GCC_DDRSS_GPU_AXI_CLK>, 4777 <&gcc GCC_GPU_MEMNOC_GFX_CLK>; 4778 clock-names = "gmu", "cxo", "axi", "memnoc"; 4779 4780 power-domains = <&gpucc GPU_CX_GDSC>, 4781 <&gpucc GPU_GX_GDSC>; 4782 power-domain-names = "cx", "gx"; 4783 4784 iommus = <&adreno_smmu 5>; 4785 4786 operating-points-v2 = <&gmu_opp_table>; 4787 4788 status = "disabled"; 4789 4790 gmu_opp_table: opp-table { 4791 compatible = "operating-points-v2"; 4792 4793 opp-400000000 { 4794 opp-hz = /bits/ 64 <400000000>; 4795 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 4796 }; 4797 4798 opp-200000000 { 4799 opp-hz = /bits/ 64 <200000000>; 4800 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 4801 }; 4802 }; 4803 }; 4804 4805 dispcc: clock-controller@af00000 { 4806 compatible = "qcom,sdm845-dispcc"; 4807 reg = <0 0x0af00000 0 0x10000>; 4808 clocks = <&rpmhcc RPMH_CXO_CLK>, 4809 <&gcc GCC_DISP_GPLL0_CLK_SRC>, 4810 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>, 4811 <&dsi0_phy 0>, 4812 <&dsi0_phy 1>, 4813 <&dsi1_phy 0>, 4814 <&dsi1_phy 1>, 4815 <0>, 4816 <0>; 4817 clock-names = "bi_tcxo", 4818 "gcc_disp_gpll0_clk_src", 4819 "gcc_disp_gpll0_div_clk_src", 4820 "dsi0_phy_pll_out_byteclk", 4821 "dsi0_phy_pll_out_dsiclk", 4822 "dsi1_phy_pll_out_byteclk", 4823 "dsi1_phy_pll_out_dsiclk", 4824 "dp_link_clk_divsel_ten", 4825 "dp_vco_divided_clk_src_mux"; 4826 #clock-cells = <1>; 4827 #reset-cells = <1>; 4828 #power-domain-cells = <1>; 4829 }; 4830 4831 pdc_intc: interrupt-controller@b220000 { 4832 compatible = "qcom,sdm845-pdc", "qcom,pdc"; 4833 reg = <0 0x0b220000 0 0x30000>; 4834 qcom,pdc-ranges = <0 480 94>, <94 609 15>, <115 630 7>; 4835 #interrupt-cells = <2>; 4836 interrupt-parent = <&intc>; 4837 interrupt-controller; 4838 }; 4839 4840 pdc_reset: reset-controller@b2e0000 { 4841 compatible = "qcom,sdm845-pdc-global"; 4842 reg = <0 0x0b2e0000 0 0x20000>; 4843 #reset-cells = <1>; 4844 }; 4845 4846 tsens0: thermal-sensor@c263000 { 4847 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; 4848 reg = <0 0x0c263000 0 0x1ff>, /* TM */ 4849 <0 0x0c222000 0 0x1ff>; /* SROT */ 4850 #qcom,sensors = <13>; 4851 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>, 4852 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>; 4853 interrupt-names = "uplow", "critical"; 4854 #thermal-sensor-cells = <1>; 4855 }; 4856 4857 tsens1: thermal-sensor@c265000 { 4858 compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; 4859 reg = <0 0x0c265000 0 0x1ff>, /* TM */ 4860 <0 0x0c223000 0 0x1ff>; /* SROT */ 4861 #qcom,sensors = <8>; 4862 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>, 4863 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>; 4864 interrupt-names = "uplow", "critical"; 4865 #thermal-sensor-cells = <1>; 4866 }; 4867 4868 aoss_reset: reset-controller@c2a0000 { 4869 compatible = "qcom,sdm845-aoss-cc"; 4870 reg = <0 0x0c2a0000 0 0x31000>; 4871 #reset-cells = <1>; 4872 }; 4873 4874 aoss_qmp: power-controller@c300000 { 4875 compatible = "qcom,sdm845-aoss-qmp", "qcom,aoss-qmp"; 4876 reg = <0 0x0c300000 0 0x400>; 4877 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>; 4878 mboxes = <&apss_shared 0>; 4879 4880 #clock-cells = <0>; 4881 4882 cx_cdev: cx { 4883 #cooling-cells = <2>; 4884 }; 4885 4886 ebi_cdev: ebi { 4887 #cooling-cells = <2>; 4888 }; 4889 }; 4890 4891 sram@c3f0000 { 4892 compatible = "qcom,sdm845-rpmh-stats"; 4893 reg = <0 0x0c3f0000 0 0x400>; 4894 }; 4895 4896 spmi_bus: spmi@c440000 { 4897 compatible = "qcom,spmi-pmic-arb"; 4898 reg = <0 0x0c440000 0 0x1100>, 4899 <0 0x0c600000 0 0x2000000>, 4900 <0 0x0e600000 0 0x100000>, 4901 <0 0x0e700000 0 0xa0000>, 4902 <0 0x0c40a000 0 0x26000>; 4903 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 4904 interrupt-names = "periph_irq"; 4905 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>; 4906 qcom,ee = <0>; 4907 qcom,channel = <0>; 4908 #address-cells = <2>; 4909 #size-cells = <0>; 4910 interrupt-controller; 4911 #interrupt-cells = <4>; 4912 cell-index = <0>; 4913 }; 4914 4915 sram@146bf000 { 4916 compatible = "qcom,sdm845-imem", "syscon", "simple-mfd"; 4917 reg = <0 0x146bf000 0 0x1000>; 4918 4919 #address-cells = <1>; 4920 #size-cells = <1>; 4921 4922 ranges = <0 0 0x146bf000 0x1000>; 4923 4924 pil-reloc@94c { 4925 compatible = "qcom,pil-reloc-info"; 4926 reg = <0x94c 0xc8>; 4927 }; 4928 }; 4929 4930 apps_smmu: iommu@15000000 { 4931 compatible = "qcom,sdm845-smmu-500", "arm,mmu-500"; 4932 reg = <0 0x15000000 0 0x80000>; 4933 #iommu-cells = <2>; 4934 #global-interrupts = <1>; 4935 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 4936 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 4937 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 4938 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 4939 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 4940 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 4941 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 4942 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 4943 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 4944 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 4945 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 4946 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 4947 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 4948 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 4949 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 4950 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 4951 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 4952 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 4953 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 4954 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 4955 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 4956 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 4957 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 4958 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 4959 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, 4960 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, 4961 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, 4962 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 4963 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, 4964 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 4965 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 4966 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 4967 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 4968 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 4969 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 4970 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 4971 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 4972 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 4973 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, 4974 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 4975 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 4976 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 4977 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 4978 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 4979 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 4980 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 4981 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 4982 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 4983 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 4984 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 4985 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 4986 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 4987 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 4988 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 4989 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 4990 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 4991 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 4992 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 4993 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 4994 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 4995 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 4996 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 4997 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 4998 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 4999 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>; 5000 }; 5001 5002 lpasscc: clock-controller@17014000 { 5003 compatible = "qcom,sdm845-lpasscc"; 5004 reg = <0 0x17014000 0 0x1f004>, <0 0x17300000 0 0x200>; 5005 reg-names = "cc", "qdsp6ss"; 5006 #clock-cells = <1>; 5007 status = "disabled"; 5008 }; 5009 5010 gladiator_noc: interconnect@17900000 { 5011 compatible = "qcom,sdm845-gladiator-noc"; 5012 reg = <0 0x17900000 0 0xd080>; 5013 #interconnect-cells = <2>; 5014 qcom,bcm-voters = <&apps_bcm_voter>; 5015 }; 5016 5017 watchdog@17980000 { 5018 compatible = "qcom,apss-wdt-sdm845", "qcom,kpss-wdt"; 5019 reg = <0 0x17980000 0 0x1000>; 5020 clocks = <&sleep_clk>; 5021 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 5022 }; 5023 5024 apss_shared: mailbox@17990000 { 5025 compatible = "qcom,sdm845-apss-shared"; 5026 reg = <0 0x17990000 0 0x1000>; 5027 #mbox-cells = <1>; 5028 }; 5029 5030 apps_rsc: rsc@179c0000 { 5031 label = "apps_rsc"; 5032 compatible = "qcom,rpmh-rsc"; 5033 reg = <0 0x179c0000 0 0x10000>, 5034 <0 0x179d0000 0 0x10000>, 5035 <0 0x179e0000 0 0x10000>; 5036 reg-names = "drv-0", "drv-1", "drv-2"; 5037 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 5038 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 5039 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 5040 qcom,tcs-offset = <0xd00>; 5041 qcom,drv-id = <2>; 5042 qcom,tcs-config = <ACTIVE_TCS 2>, 5043 <SLEEP_TCS 3>, 5044 <WAKE_TCS 3>, 5045 <CONTROL_TCS 1>; 5046 5047 apps_bcm_voter: bcm-voter { 5048 compatible = "qcom,bcm-voter"; 5049 }; 5050 5051 rpmhcc: clock-controller { 5052 compatible = "qcom,sdm845-rpmh-clk"; 5053 #clock-cells = <1>; 5054 clock-names = "xo"; 5055 clocks = <&xo_board>; 5056 }; 5057 5058 rpmhpd: power-controller { 5059 compatible = "qcom,sdm845-rpmhpd"; 5060 #power-domain-cells = <1>; 5061 operating-points-v2 = <&rpmhpd_opp_table>; 5062 5063 rpmhpd_opp_table: opp-table { 5064 compatible = "operating-points-v2"; 5065 5066 rpmhpd_opp_ret: opp1 { 5067 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; 5068 }; 5069 5070 rpmhpd_opp_min_svs: opp2 { 5071 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 5072 }; 5073 5074 rpmhpd_opp_low_svs: opp3 { 5075 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 5076 }; 5077 5078 rpmhpd_opp_svs: opp4 { 5079 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 5080 }; 5081 5082 rpmhpd_opp_svs_l1: opp5 { 5083 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 5084 }; 5085 5086 rpmhpd_opp_nom: opp6 { 5087 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 5088 }; 5089 5090 rpmhpd_opp_nom_l1: opp7 { 5091 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 5092 }; 5093 5094 rpmhpd_opp_nom_l2: opp8 { 5095 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; 5096 }; 5097 5098 rpmhpd_opp_turbo: opp9 { 5099 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 5100 }; 5101 5102 rpmhpd_opp_turbo_l1: opp10 { 5103 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 5104 }; 5105 }; 5106 }; 5107 }; 5108 5109 intc: interrupt-controller@17a00000 { 5110 compatible = "arm,gic-v3"; 5111 #address-cells = <2>; 5112 #size-cells = <2>; 5113 ranges; 5114 #interrupt-cells = <3>; 5115 interrupt-controller; 5116 reg = <0 0x17a00000 0 0x10000>, /* GICD */ 5117 <0 0x17a60000 0 0x100000>; /* GICR * 8 */ 5118 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 5119 5120 msi-controller@17a40000 { 5121 compatible = "arm,gic-v3-its"; 5122 msi-controller; 5123 #msi-cells = <1>; 5124 reg = <0 0x17a40000 0 0x20000>; 5125 status = "disabled"; 5126 }; 5127 }; 5128 5129 slimbam: dma-controller@17184000 { 5130 compatible = "qcom,bam-v1.7.0"; 5131 qcom,controlled-remotely; 5132 reg = <0 0x17184000 0 0x2a000>; 5133 num-channels = <31>; 5134 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 5135 #dma-cells = <1>; 5136 qcom,ee = <1>; 5137 qcom,num-ees = <2>; 5138 iommus = <&apps_smmu 0x1806 0x0>; 5139 }; 5140 5141 timer@17c90000 { 5142 #address-cells = <1>; 5143 #size-cells = <1>; 5144 ranges = <0 0 0 0x20000000>; 5145 compatible = "arm,armv7-timer-mem"; 5146 reg = <0 0x17c90000 0 0x1000>; 5147 5148 frame@17ca0000 { 5149 frame-number = <0>; 5150 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, 5151 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 5152 reg = <0x17ca0000 0x1000>, 5153 <0x17cb0000 0x1000>; 5154 }; 5155 5156 frame@17cc0000 { 5157 frame-number = <1>; 5158 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 5159 reg = <0x17cc0000 0x1000>; 5160 status = "disabled"; 5161 }; 5162 5163 frame@17cd0000 { 5164 frame-number = <2>; 5165 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 5166 reg = <0x17cd0000 0x1000>; 5167 status = "disabled"; 5168 }; 5169 5170 frame@17ce0000 { 5171 frame-number = <3>; 5172 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 5173 reg = <0x17ce0000 0x1000>; 5174 status = "disabled"; 5175 }; 5176 5177 frame@17cf0000 { 5178 frame-number = <4>; 5179 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 5180 reg = <0x17cf0000 0x1000>; 5181 status = "disabled"; 5182 }; 5183 5184 frame@17d00000 { 5185 frame-number = <5>; 5186 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 5187 reg = <0x17d00000 0x1000>; 5188 status = "disabled"; 5189 }; 5190 5191 frame@17d10000 { 5192 frame-number = <6>; 5193 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 5194 reg = <0x17d10000 0x1000>; 5195 status = "disabled"; 5196 }; 5197 }; 5198 5199 osm_l3: interconnect@17d41000 { 5200 compatible = "qcom,sdm845-osm-l3"; 5201 reg = <0 0x17d41000 0 0x1400>; 5202 5203 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 5204 clock-names = "xo", "alternate"; 5205 5206 #interconnect-cells = <1>; 5207 }; 5208 5209 cpufreq_hw: cpufreq@17d43000 { 5210 compatible = "qcom,cpufreq-hw"; 5211 reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>; 5212 reg-names = "freq-domain0", "freq-domain1"; 5213 5214 interrupts-extended = <&lmh_cluster0 0>, <&lmh_cluster1 0>; 5215 5216 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 5217 clock-names = "xo", "alternate"; 5218 5219 #freq-domain-cells = <1>; 5220 }; 5221 5222 wifi: wifi@18800000 { 5223 compatible = "qcom,wcn3990-wifi"; 5224 status = "disabled"; 5225 reg = <0 0x18800000 0 0x800000>; 5226 reg-names = "membase"; 5227 memory-region = <&wlan_msa_mem>; 5228 clock-names = "cxo_ref_clk_pin"; 5229 clocks = <&rpmhcc RPMH_RF_CLK2>; 5230 interrupts = 5231 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>, 5232 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>, 5233 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>, 5234 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>, 5235 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>, 5236 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>, 5237 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>, 5238 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>, 5239 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>, 5240 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>, 5241 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>, 5242 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>; 5243 iommus = <&apps_smmu 0x0040 0x1>; 5244 }; 5245 }; 5246 5247 thermal-zones { 5248 cpu0-thermal { 5249 polling-delay-passive = <250>; 5250 polling-delay = <1000>; 5251 5252 thermal-sensors = <&tsens0 1>; 5253 5254 trips { 5255 cpu0_alert0: trip-point0 { 5256 temperature = <90000>; 5257 hysteresis = <2000>; 5258 type = "passive"; 5259 }; 5260 5261 cpu0_alert1: trip-point1 { 5262 temperature = <95000>; 5263 hysteresis = <2000>; 5264 type = "passive"; 5265 }; 5266 5267 cpu0_crit: cpu_crit { 5268 temperature = <110000>; 5269 hysteresis = <1000>; 5270 type = "critical"; 5271 }; 5272 }; 5273 }; 5274 5275 cpu1-thermal { 5276 polling-delay-passive = <250>; 5277 polling-delay = <1000>; 5278 5279 thermal-sensors = <&tsens0 2>; 5280 5281 trips { 5282 cpu1_alert0: trip-point0 { 5283 temperature = <90000>; 5284 hysteresis = <2000>; 5285 type = "passive"; 5286 }; 5287 5288 cpu1_alert1: trip-point1 { 5289 temperature = <95000>; 5290 hysteresis = <2000>; 5291 type = "passive"; 5292 }; 5293 5294 cpu1_crit: cpu_crit { 5295 temperature = <110000>; 5296 hysteresis = <1000>; 5297 type = "critical"; 5298 }; 5299 }; 5300 }; 5301 5302 cpu2-thermal { 5303 polling-delay-passive = <250>; 5304 polling-delay = <1000>; 5305 5306 thermal-sensors = <&tsens0 3>; 5307 5308 trips { 5309 cpu2_alert0: trip-point0 { 5310 temperature = <90000>; 5311 hysteresis = <2000>; 5312 type = "passive"; 5313 }; 5314 5315 cpu2_alert1: trip-point1 { 5316 temperature = <95000>; 5317 hysteresis = <2000>; 5318 type = "passive"; 5319 }; 5320 5321 cpu2_crit: cpu_crit { 5322 temperature = <110000>; 5323 hysteresis = <1000>; 5324 type = "critical"; 5325 }; 5326 }; 5327 }; 5328 5329 cpu3-thermal { 5330 polling-delay-passive = <250>; 5331 polling-delay = <1000>; 5332 5333 thermal-sensors = <&tsens0 4>; 5334 5335 trips { 5336 cpu3_alert0: trip-point0 { 5337 temperature = <90000>; 5338 hysteresis = <2000>; 5339 type = "passive"; 5340 }; 5341 5342 cpu3_alert1: trip-point1 { 5343 temperature = <95000>; 5344 hysteresis = <2000>; 5345 type = "passive"; 5346 }; 5347 5348 cpu3_crit: cpu_crit { 5349 temperature = <110000>; 5350 hysteresis = <1000>; 5351 type = "critical"; 5352 }; 5353 }; 5354 }; 5355 5356 cpu4-thermal { 5357 polling-delay-passive = <250>; 5358 polling-delay = <1000>; 5359 5360 thermal-sensors = <&tsens0 7>; 5361 5362 trips { 5363 cpu4_alert0: trip-point0 { 5364 temperature = <90000>; 5365 hysteresis = <2000>; 5366 type = "passive"; 5367 }; 5368 5369 cpu4_alert1: trip-point1 { 5370 temperature = <95000>; 5371 hysteresis = <2000>; 5372 type = "passive"; 5373 }; 5374 5375 cpu4_crit: cpu_crit { 5376 temperature = <110000>; 5377 hysteresis = <1000>; 5378 type = "critical"; 5379 }; 5380 }; 5381 }; 5382 5383 cpu5-thermal { 5384 polling-delay-passive = <250>; 5385 polling-delay = <1000>; 5386 5387 thermal-sensors = <&tsens0 8>; 5388 5389 trips { 5390 cpu5_alert0: trip-point0 { 5391 temperature = <90000>; 5392 hysteresis = <2000>; 5393 type = "passive"; 5394 }; 5395 5396 cpu5_alert1: trip-point1 { 5397 temperature = <95000>; 5398 hysteresis = <2000>; 5399 type = "passive"; 5400 }; 5401 5402 cpu5_crit: cpu_crit { 5403 temperature = <110000>; 5404 hysteresis = <1000>; 5405 type = "critical"; 5406 }; 5407 }; 5408 }; 5409 5410 cpu6-thermal { 5411 polling-delay-passive = <250>; 5412 polling-delay = <1000>; 5413 5414 thermal-sensors = <&tsens0 9>; 5415 5416 trips { 5417 cpu6_alert0: trip-point0 { 5418 temperature = <90000>; 5419 hysteresis = <2000>; 5420 type = "passive"; 5421 }; 5422 5423 cpu6_alert1: trip-point1 { 5424 temperature = <95000>; 5425 hysteresis = <2000>; 5426 type = "passive"; 5427 }; 5428 5429 cpu6_crit: cpu_crit { 5430 temperature = <110000>; 5431 hysteresis = <1000>; 5432 type = "critical"; 5433 }; 5434 }; 5435 }; 5436 5437 cpu7-thermal { 5438 polling-delay-passive = <250>; 5439 polling-delay = <1000>; 5440 5441 thermal-sensors = <&tsens0 10>; 5442 5443 trips { 5444 cpu7_alert0: trip-point0 { 5445 temperature = <90000>; 5446 hysteresis = <2000>; 5447 type = "passive"; 5448 }; 5449 5450 cpu7_alert1: trip-point1 { 5451 temperature = <95000>; 5452 hysteresis = <2000>; 5453 type = "passive"; 5454 }; 5455 5456 cpu7_crit: cpu_crit { 5457 temperature = <110000>; 5458 hysteresis = <1000>; 5459 type = "critical"; 5460 }; 5461 }; 5462 }; 5463 5464 aoss0-thermal { 5465 polling-delay-passive = <250>; 5466 polling-delay = <1000>; 5467 5468 thermal-sensors = <&tsens0 0>; 5469 5470 trips { 5471 aoss0_alert0: trip-point0 { 5472 temperature = <90000>; 5473 hysteresis = <2000>; 5474 type = "hot"; 5475 }; 5476 }; 5477 }; 5478 5479 cluster0-thermal { 5480 polling-delay-passive = <250>; 5481 polling-delay = <1000>; 5482 5483 thermal-sensors = <&tsens0 5>; 5484 5485 trips { 5486 cluster0_alert0: trip-point0 { 5487 temperature = <90000>; 5488 hysteresis = <2000>; 5489 type = "hot"; 5490 }; 5491 cluster0_crit: cluster0_crit { 5492 temperature = <110000>; 5493 hysteresis = <2000>; 5494 type = "critical"; 5495 }; 5496 }; 5497 }; 5498 5499 cluster1-thermal { 5500 polling-delay-passive = <250>; 5501 polling-delay = <1000>; 5502 5503 thermal-sensors = <&tsens0 6>; 5504 5505 trips { 5506 cluster1_alert0: trip-point0 { 5507 temperature = <90000>; 5508 hysteresis = <2000>; 5509 type = "hot"; 5510 }; 5511 cluster1_crit: cluster1_crit { 5512 temperature = <110000>; 5513 hysteresis = <2000>; 5514 type = "critical"; 5515 }; 5516 }; 5517 }; 5518 5519 gpu-top-thermal { 5520 polling-delay-passive = <250>; 5521 polling-delay = <1000>; 5522 5523 thermal-sensors = <&tsens0 11>; 5524 5525 trips { 5526 gpu1_alert0: trip-point0 { 5527 temperature = <90000>; 5528 hysteresis = <2000>; 5529 type = "hot"; 5530 }; 5531 }; 5532 }; 5533 5534 gpu-bottom-thermal { 5535 polling-delay-passive = <250>; 5536 polling-delay = <1000>; 5537 5538 thermal-sensors = <&tsens0 12>; 5539 5540 trips { 5541 gpu2_alert0: trip-point0 { 5542 temperature = <90000>; 5543 hysteresis = <2000>; 5544 type = "hot"; 5545 }; 5546 }; 5547 }; 5548 5549 aoss1-thermal { 5550 polling-delay-passive = <250>; 5551 polling-delay = <1000>; 5552 5553 thermal-sensors = <&tsens1 0>; 5554 5555 trips { 5556 aoss1_alert0: trip-point0 { 5557 temperature = <90000>; 5558 hysteresis = <2000>; 5559 type = "hot"; 5560 }; 5561 }; 5562 }; 5563 5564 q6-modem-thermal { 5565 polling-delay-passive = <250>; 5566 polling-delay = <1000>; 5567 5568 thermal-sensors = <&tsens1 1>; 5569 5570 trips { 5571 q6_modem_alert0: trip-point0 { 5572 temperature = <90000>; 5573 hysteresis = <2000>; 5574 type = "hot"; 5575 }; 5576 }; 5577 }; 5578 5579 mem-thermal { 5580 polling-delay-passive = <250>; 5581 polling-delay = <1000>; 5582 5583 thermal-sensors = <&tsens1 2>; 5584 5585 trips { 5586 mem_alert0: trip-point0 { 5587 temperature = <90000>; 5588 hysteresis = <2000>; 5589 type = "hot"; 5590 }; 5591 }; 5592 }; 5593 5594 wlan-thermal { 5595 polling-delay-passive = <250>; 5596 polling-delay = <1000>; 5597 5598 thermal-sensors = <&tsens1 3>; 5599 5600 trips { 5601 wlan_alert0: trip-point0 { 5602 temperature = <90000>; 5603 hysteresis = <2000>; 5604 type = "hot"; 5605 }; 5606 }; 5607 }; 5608 5609 q6-hvx-thermal { 5610 polling-delay-passive = <250>; 5611 polling-delay = <1000>; 5612 5613 thermal-sensors = <&tsens1 4>; 5614 5615 trips { 5616 q6_hvx_alert0: trip-point0 { 5617 temperature = <90000>; 5618 hysteresis = <2000>; 5619 type = "hot"; 5620 }; 5621 }; 5622 }; 5623 5624 camera-thermal { 5625 polling-delay-passive = <250>; 5626 polling-delay = <1000>; 5627 5628 thermal-sensors = <&tsens1 5>; 5629 5630 trips { 5631 camera_alert0: trip-point0 { 5632 temperature = <90000>; 5633 hysteresis = <2000>; 5634 type = "hot"; 5635 }; 5636 }; 5637 }; 5638 5639 video-thermal { 5640 polling-delay-passive = <250>; 5641 polling-delay = <1000>; 5642 5643 thermal-sensors = <&tsens1 6>; 5644 5645 trips { 5646 video_alert0: trip-point0 { 5647 temperature = <90000>; 5648 hysteresis = <2000>; 5649 type = "hot"; 5650 }; 5651 }; 5652 }; 5653 5654 modem-thermal { 5655 polling-delay-passive = <250>; 5656 polling-delay = <1000>; 5657 5658 thermal-sensors = <&tsens1 7>; 5659 5660 trips { 5661 modem_alert0: trip-point0 { 5662 temperature = <90000>; 5663 hysteresis = <2000>; 5664 type = "hot"; 5665 }; 5666 }; 5667 }; 5668 }; 5669}; 5670