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