1b190fb01SKonrad Dybcio// SPDX-License-Identifier: BSD-3-Clause 2b190fb01SKonrad Dybcio/* 35cf69dcbSAngeloGioacchino Del Regno * Copyright (c) 2020, Konrad Dybcio <konradybcio@gmail.com> 45cf69dcbSAngeloGioacchino Del Regno * Copyright (c) 2020, AngeloGioacchino Del Regno <kholk11@gmail.com> 5b190fb01SKonrad Dybcio */ 6b190fb01SKonrad Dybcio 7b190fb01SKonrad Dybcio#include <dt-bindings/clock/qcom,gcc-sdm660.h> 8a64fa0e2SAngeloGioacchino Del Regno#include <dt-bindings/clock/qcom,gpucc-sdm660.h> 9045547a0SKonrad Dybcio#include <dt-bindings/clock/qcom,mmcc-sdm660.h> 10b190fb01SKonrad Dybcio#include <dt-bindings/clock/qcom,rpmcc.h> 113cd1c4f4SDmitry Baryshkov#include <dt-bindings/interconnect/qcom,sdm660.h> 121ce921aeSKonrad Dybcio#include <dt-bindings/power/qcom-rpmpd.h> 13b190fb01SKonrad Dybcio#include <dt-bindings/gpio/gpio.h> 14b190fb01SKonrad Dybcio#include <dt-bindings/interrupt-controller/arm-gic.h> 157ca2ebc9SKonrad Dybcio#include <dt-bindings/soc/qcom,apr.h> 16b190fb01SKonrad Dybcio 17b190fb01SKonrad Dybcio/ { 18b190fb01SKonrad Dybcio interrupt-parent = <&intc>; 19b190fb01SKonrad Dybcio 20b190fb01SKonrad Dybcio #address-cells = <2>; 21b190fb01SKonrad Dybcio #size-cells = <2>; 22b190fb01SKonrad Dybcio 23b1394251SDang Huynh aliases { 24b1394251SDang Huynh mmc1 = &sdhc_1; 25b1394251SDang Huynh mmc2 = &sdhc_2; 26b1394251SDang Huynh }; 27b1394251SDang Huynh 28b190fb01SKonrad Dybcio chosen { }; 29b190fb01SKonrad Dybcio 30b190fb01SKonrad Dybcio clocks { 31639dfdbeSVinod Koul xo_board: xo-board { 32b190fb01SKonrad Dybcio compatible = "fixed-clock"; 33b190fb01SKonrad Dybcio #clock-cells = <0>; 34b190fb01SKonrad Dybcio clock-frequency = <19200000>; 35b190fb01SKonrad Dybcio clock-output-names = "xo_board"; 36b190fb01SKonrad Dybcio }; 37b190fb01SKonrad Dybcio 38639dfdbeSVinod Koul sleep_clk: sleep-clk { 39b190fb01SKonrad Dybcio compatible = "fixed-clock"; 40b190fb01SKonrad Dybcio #clock-cells = <0>; 41b190fb01SKonrad Dybcio clock-frequency = <32764>; 42b190fb01SKonrad Dybcio clock-output-names = "sleep_clk"; 43b190fb01SKonrad Dybcio }; 44b190fb01SKonrad Dybcio }; 45b190fb01SKonrad Dybcio 46b190fb01SKonrad Dybcio cpus { 47b190fb01SKonrad Dybcio #address-cells = <2>; 48b190fb01SKonrad Dybcio #size-cells = <0>; 49b190fb01SKonrad Dybcio 50b190fb01SKonrad Dybcio CPU0: cpu@100 { 51b190fb01SKonrad Dybcio device_type = "cpu"; 52b190fb01SKonrad Dybcio compatible = "arm,cortex-a53"; 53b190fb01SKonrad Dybcio reg = <0x0 0x100>; 54b190fb01SKonrad Dybcio enable-method = "psci"; 55b190fb01SKonrad Dybcio cpu-idle-states = <&PERF_CPU_SLEEP_0 56b190fb01SKonrad Dybcio &PERF_CPU_SLEEP_1 57b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_0 58b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_1 59b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_2>; 60b190fb01SKonrad Dybcio capacity-dmips-mhz = <1126>; 61b190fb01SKonrad Dybcio #cooling-cells = <2>; 62b190fb01SKonrad Dybcio next-level-cache = <&L2_1>; 63b190fb01SKonrad Dybcio L2_1: l2-cache { 64b190fb01SKonrad Dybcio compatible = "cache"; 65b190fb01SKonrad Dybcio cache-level = <2>; 66b190fb01SKonrad Dybcio }; 67b190fb01SKonrad Dybcio }; 68b190fb01SKonrad Dybcio 69b190fb01SKonrad Dybcio CPU1: cpu@101 { 70b190fb01SKonrad Dybcio device_type = "cpu"; 71b190fb01SKonrad Dybcio compatible = "arm,cortex-a53"; 72b190fb01SKonrad Dybcio reg = <0x0 0x101>; 73b190fb01SKonrad Dybcio enable-method = "psci"; 74b190fb01SKonrad Dybcio cpu-idle-states = <&PERF_CPU_SLEEP_0 75b190fb01SKonrad Dybcio &PERF_CPU_SLEEP_1 76b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_0 77b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_1 78b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_2>; 79b190fb01SKonrad Dybcio capacity-dmips-mhz = <1126>; 80b190fb01SKonrad Dybcio #cooling-cells = <2>; 81b190fb01SKonrad Dybcio next-level-cache = <&L2_1>; 82b190fb01SKonrad Dybcio }; 83b190fb01SKonrad Dybcio 84b190fb01SKonrad Dybcio CPU2: cpu@102 { 85b190fb01SKonrad Dybcio device_type = "cpu"; 86b190fb01SKonrad Dybcio compatible = "arm,cortex-a53"; 87b190fb01SKonrad Dybcio reg = <0x0 0x102>; 88b190fb01SKonrad Dybcio enable-method = "psci"; 89b190fb01SKonrad Dybcio cpu-idle-states = <&PERF_CPU_SLEEP_0 90b190fb01SKonrad Dybcio &PERF_CPU_SLEEP_1 91b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_0 92b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_1 93b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_2>; 94b190fb01SKonrad Dybcio capacity-dmips-mhz = <1126>; 95b190fb01SKonrad Dybcio #cooling-cells = <2>; 96b190fb01SKonrad Dybcio next-level-cache = <&L2_1>; 97b190fb01SKonrad Dybcio }; 98b190fb01SKonrad Dybcio 99b190fb01SKonrad Dybcio CPU3: cpu@103 { 100b190fb01SKonrad Dybcio device_type = "cpu"; 101b190fb01SKonrad Dybcio compatible = "arm,cortex-a53"; 102b190fb01SKonrad Dybcio reg = <0x0 0x103>; 103b190fb01SKonrad Dybcio enable-method = "psci"; 104b190fb01SKonrad Dybcio cpu-idle-states = <&PERF_CPU_SLEEP_0 105b190fb01SKonrad Dybcio &PERF_CPU_SLEEP_1 106b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_0 107b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_1 108b190fb01SKonrad Dybcio &PERF_CLUSTER_SLEEP_2>; 109b190fb01SKonrad Dybcio capacity-dmips-mhz = <1126>; 110b190fb01SKonrad Dybcio #cooling-cells = <2>; 111b190fb01SKonrad Dybcio next-level-cache = <&L2_1>; 112b190fb01SKonrad Dybcio }; 113b190fb01SKonrad Dybcio 114b190fb01SKonrad Dybcio CPU4: cpu@0 { 115b190fb01SKonrad Dybcio device_type = "cpu"; 116b190fb01SKonrad Dybcio compatible = "arm,cortex-a53"; 117b190fb01SKonrad Dybcio reg = <0x0 0x0>; 118b190fb01SKonrad Dybcio enable-method = "psci"; 119b190fb01SKonrad Dybcio cpu-idle-states = <&PWR_CPU_SLEEP_0 120b190fb01SKonrad Dybcio &PWR_CPU_SLEEP_1 121b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_0 122b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_1 123b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_2>; 124b190fb01SKonrad Dybcio capacity-dmips-mhz = <1024>; 125b190fb01SKonrad Dybcio #cooling-cells = <2>; 126b190fb01SKonrad Dybcio next-level-cache = <&L2_0>; 127b190fb01SKonrad Dybcio L2_0: l2-cache { 128b190fb01SKonrad Dybcio compatible = "cache"; 129b190fb01SKonrad Dybcio cache-level = <2>; 130b190fb01SKonrad Dybcio }; 131b190fb01SKonrad Dybcio }; 132b190fb01SKonrad Dybcio 133b190fb01SKonrad Dybcio CPU5: cpu@1 { 134b190fb01SKonrad Dybcio device_type = "cpu"; 135b190fb01SKonrad Dybcio compatible = "arm,cortex-a53"; 136b190fb01SKonrad Dybcio reg = <0x0 0x1>; 137b190fb01SKonrad Dybcio enable-method = "psci"; 138b190fb01SKonrad Dybcio cpu-idle-states = <&PWR_CPU_SLEEP_0 139b190fb01SKonrad Dybcio &PWR_CPU_SLEEP_1 140b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_0 141b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_1 142b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_2>; 143b190fb01SKonrad Dybcio capacity-dmips-mhz = <1024>; 144b190fb01SKonrad Dybcio #cooling-cells = <2>; 145b190fb01SKonrad Dybcio next-level-cache = <&L2_0>; 146b190fb01SKonrad Dybcio }; 147b190fb01SKonrad Dybcio 148b190fb01SKonrad Dybcio CPU6: cpu@2 { 149b190fb01SKonrad Dybcio device_type = "cpu"; 150b190fb01SKonrad Dybcio compatible = "arm,cortex-a53"; 151b190fb01SKonrad Dybcio reg = <0x0 0x2>; 152b190fb01SKonrad Dybcio enable-method = "psci"; 153b190fb01SKonrad Dybcio cpu-idle-states = <&PWR_CPU_SLEEP_0 154b190fb01SKonrad Dybcio &PWR_CPU_SLEEP_1 155b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_0 156b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_1 157b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_2>; 158b190fb01SKonrad Dybcio capacity-dmips-mhz = <1024>; 159b190fb01SKonrad Dybcio #cooling-cells = <2>; 160b190fb01SKonrad Dybcio next-level-cache = <&L2_0>; 161b190fb01SKonrad Dybcio }; 162b190fb01SKonrad Dybcio 163b190fb01SKonrad Dybcio CPU7: cpu@3 { 164b190fb01SKonrad Dybcio device_type = "cpu"; 165b190fb01SKonrad Dybcio compatible = "arm,cortex-a53"; 166b190fb01SKonrad Dybcio reg = <0x0 0x3>; 167b190fb01SKonrad Dybcio enable-method = "psci"; 168b190fb01SKonrad Dybcio cpu-idle-states = <&PWR_CPU_SLEEP_0 169b190fb01SKonrad Dybcio &PWR_CPU_SLEEP_1 170b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_0 171b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_1 172b190fb01SKonrad Dybcio &PWR_CLUSTER_SLEEP_2>; 173b190fb01SKonrad Dybcio capacity-dmips-mhz = <1024>; 174b190fb01SKonrad Dybcio #cooling-cells = <2>; 175b190fb01SKonrad Dybcio next-level-cache = <&L2_0>; 176b190fb01SKonrad Dybcio }; 177b190fb01SKonrad Dybcio 178b190fb01SKonrad Dybcio cpu-map { 179b190fb01SKonrad Dybcio cluster0 { 180b190fb01SKonrad Dybcio core0 { 181b190fb01SKonrad Dybcio cpu = <&CPU4>; 182b190fb01SKonrad Dybcio }; 183b190fb01SKonrad Dybcio 184b190fb01SKonrad Dybcio core1 { 185b190fb01SKonrad Dybcio cpu = <&CPU5>; 186b190fb01SKonrad Dybcio }; 187b190fb01SKonrad Dybcio 188b190fb01SKonrad Dybcio core2 { 189b190fb01SKonrad Dybcio cpu = <&CPU6>; 190b190fb01SKonrad Dybcio }; 191b190fb01SKonrad Dybcio 192b190fb01SKonrad Dybcio core3 { 193b190fb01SKonrad Dybcio cpu = <&CPU7>; 194b190fb01SKonrad Dybcio }; 195b190fb01SKonrad Dybcio }; 196b190fb01SKonrad Dybcio 197b190fb01SKonrad Dybcio cluster1 { 198b190fb01SKonrad Dybcio core0 { 199b190fb01SKonrad Dybcio cpu = <&CPU0>; 200b190fb01SKonrad Dybcio }; 201b190fb01SKonrad Dybcio 202b190fb01SKonrad Dybcio core1 { 203b190fb01SKonrad Dybcio cpu = <&CPU1>; 204b190fb01SKonrad Dybcio }; 205b190fb01SKonrad Dybcio 206b190fb01SKonrad Dybcio core2 { 207b190fb01SKonrad Dybcio cpu = <&CPU2>; 208b190fb01SKonrad Dybcio }; 209b190fb01SKonrad Dybcio 210b190fb01SKonrad Dybcio core3 { 211b190fb01SKonrad Dybcio cpu = <&CPU3>; 212b190fb01SKonrad Dybcio }; 213b190fb01SKonrad Dybcio }; 214b190fb01SKonrad Dybcio }; 215b190fb01SKonrad Dybcio 216b190fb01SKonrad Dybcio idle-states { 217b190fb01SKonrad Dybcio entry-method = "psci"; 218b190fb01SKonrad Dybcio 219b190fb01SKonrad Dybcio PWR_CPU_SLEEP_0: cpu-sleep-0-0 { 220b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 221b190fb01SKonrad Dybcio idle-state-name = "pwr-retention"; 222b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x40000002>; 223b190fb01SKonrad Dybcio entry-latency-us = <338>; 224b190fb01SKonrad Dybcio exit-latency-us = <423>; 225b190fb01SKonrad Dybcio min-residency-us = <200>; 226b190fb01SKonrad Dybcio }; 227b190fb01SKonrad Dybcio 228b190fb01SKonrad Dybcio PWR_CPU_SLEEP_1: cpu-sleep-0-1 { 229b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 230b190fb01SKonrad Dybcio idle-state-name = "pwr-power-collapse"; 231b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x40000003>; 232b190fb01SKonrad Dybcio entry-latency-us = <515>; 233b190fb01SKonrad Dybcio exit-latency-us = <1821>; 234b190fb01SKonrad Dybcio min-residency-us = <1000>; 235b190fb01SKonrad Dybcio local-timer-stop; 236b190fb01SKonrad Dybcio }; 237b190fb01SKonrad Dybcio 238b190fb01SKonrad Dybcio PERF_CPU_SLEEP_0: cpu-sleep-1-0 { 239b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 240b190fb01SKonrad Dybcio idle-state-name = "perf-retention"; 241b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x40000002>; 242b190fb01SKonrad Dybcio entry-latency-us = <154>; 243b190fb01SKonrad Dybcio exit-latency-us = <87>; 244b190fb01SKonrad Dybcio min-residency-us = <200>; 245b190fb01SKonrad Dybcio }; 246b190fb01SKonrad Dybcio 247b190fb01SKonrad Dybcio PERF_CPU_SLEEP_1: cpu-sleep-1-1 { 248b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 249b190fb01SKonrad Dybcio idle-state-name = "perf-power-collapse"; 250b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x40000003>; 251b190fb01SKonrad Dybcio entry-latency-us = <262>; 252b190fb01SKonrad Dybcio exit-latency-us = <301>; 253b190fb01SKonrad Dybcio min-residency-us = <1000>; 254b190fb01SKonrad Dybcio local-timer-stop; 255b190fb01SKonrad Dybcio }; 256b190fb01SKonrad Dybcio 257b190fb01SKonrad Dybcio PWR_CLUSTER_SLEEP_0: cluster-sleep-0-0 { 258b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 259b190fb01SKonrad Dybcio idle-state-name = "pwr-cluster-dynamic-retention"; 260b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x400000F2>; 261b190fb01SKonrad Dybcio entry-latency-us = <284>; 262b190fb01SKonrad Dybcio exit-latency-us = <384>; 263b190fb01SKonrad Dybcio min-residency-us = <9987>; 264b190fb01SKonrad Dybcio local-timer-stop; 265b190fb01SKonrad Dybcio }; 266b190fb01SKonrad Dybcio 267b190fb01SKonrad Dybcio PWR_CLUSTER_SLEEP_1: cluster-sleep-0-1 { 268b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 269b190fb01SKonrad Dybcio idle-state-name = "pwr-cluster-retention"; 270b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x400000F3>; 271b190fb01SKonrad Dybcio entry-latency-us = <338>; 272b190fb01SKonrad Dybcio exit-latency-us = <423>; 273b190fb01SKonrad Dybcio min-residency-us = <9987>; 274b190fb01SKonrad Dybcio local-timer-stop; 275b190fb01SKonrad Dybcio }; 276b190fb01SKonrad Dybcio 277b190fb01SKonrad Dybcio PWR_CLUSTER_SLEEP_2: cluster-sleep-0-2 { 278b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 279b190fb01SKonrad Dybcio idle-state-name = "pwr-cluster-retention"; 280b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x400000F4>; 281b190fb01SKonrad Dybcio entry-latency-us = <515>; 282b190fb01SKonrad Dybcio exit-latency-us = <1821>; 283b190fb01SKonrad Dybcio min-residency-us = <9987>; 284b190fb01SKonrad Dybcio local-timer-stop; 285b190fb01SKonrad Dybcio }; 286b190fb01SKonrad Dybcio 287b190fb01SKonrad Dybcio PERF_CLUSTER_SLEEP_0: cluster-sleep-1-0 { 288b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 289b190fb01SKonrad Dybcio idle-state-name = "perf-cluster-dynamic-retention"; 290b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x400000F2>; 291b190fb01SKonrad Dybcio entry-latency-us = <272>; 292b190fb01SKonrad Dybcio exit-latency-us = <329>; 293b190fb01SKonrad Dybcio min-residency-us = <9987>; 294b190fb01SKonrad Dybcio local-timer-stop; 295b190fb01SKonrad Dybcio }; 296b190fb01SKonrad Dybcio 297b190fb01SKonrad Dybcio PERF_CLUSTER_SLEEP_1: cluster-sleep-1-1 { 298b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 299b190fb01SKonrad Dybcio idle-state-name = "perf-cluster-retention"; 300b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x400000F3>; 301b190fb01SKonrad Dybcio entry-latency-us = <332>; 302b190fb01SKonrad Dybcio exit-latency-us = <368>; 303b190fb01SKonrad Dybcio min-residency-us = <9987>; 304b190fb01SKonrad Dybcio local-timer-stop; 305b190fb01SKonrad Dybcio }; 306b190fb01SKonrad Dybcio 307b190fb01SKonrad Dybcio PERF_CLUSTER_SLEEP_2: cluster-sleep-1-2 { 308b190fb01SKonrad Dybcio compatible = "arm,idle-state"; 309b190fb01SKonrad Dybcio idle-state-name = "perf-cluster-retention"; 310b190fb01SKonrad Dybcio arm,psci-suspend-param = <0x400000F4>; 311b190fb01SKonrad Dybcio entry-latency-us = <545>; 312b190fb01SKonrad Dybcio exit-latency-us = <1609>; 313b190fb01SKonrad Dybcio min-residency-us = <9987>; 314b190fb01SKonrad Dybcio local-timer-stop; 315b190fb01SKonrad Dybcio }; 316b190fb01SKonrad Dybcio }; 317b190fb01SKonrad Dybcio }; 318b190fb01SKonrad Dybcio 319b190fb01SKonrad Dybcio firmware { 320b190fb01SKonrad Dybcio scm { 321b190fb01SKonrad Dybcio compatible = "qcom,scm-msm8998", "qcom,scm"; 322b190fb01SKonrad Dybcio }; 323b190fb01SKonrad Dybcio }; 324b190fb01SKonrad Dybcio 325cfdf0c27SVinod Koul memory@80000000 { 326b190fb01SKonrad Dybcio device_type = "memory"; 327b190fb01SKonrad Dybcio /* We expect the bootloader to fill in the reg */ 328cfdf0c27SVinod Koul reg = <0x0 0x80000000 0x0 0x0>; 329b190fb01SKonrad Dybcio }; 330b190fb01SKonrad Dybcio 331a9e76cf1SKrzysztof Kozlowski dsi_opp_table: opp-table-dsi { 332a9e76cf1SKrzysztof Kozlowski compatible = "operating-points-v2"; 333a9e76cf1SKrzysztof Kozlowski 334a9e76cf1SKrzysztof Kozlowski opp-131250000 { 335a9e76cf1SKrzysztof Kozlowski opp-hz = /bits/ 64 <131250000>; 336a9e76cf1SKrzysztof Kozlowski required-opps = <&rpmpd_opp_svs>; 337a9e76cf1SKrzysztof Kozlowski }; 338a9e76cf1SKrzysztof Kozlowski 339a9e76cf1SKrzysztof Kozlowski opp-210000000 { 340a9e76cf1SKrzysztof Kozlowski opp-hz = /bits/ 64 <210000000>; 341a9e76cf1SKrzysztof Kozlowski required-opps = <&rpmpd_opp_svs_plus>; 342a9e76cf1SKrzysztof Kozlowski }; 343a9e76cf1SKrzysztof Kozlowski 344a9e76cf1SKrzysztof Kozlowski opp-262500000 { 345a9e76cf1SKrzysztof Kozlowski opp-hz = /bits/ 64 <262500000>; 346a9e76cf1SKrzysztof Kozlowski required-opps = <&rpmpd_opp_nom>; 347a9e76cf1SKrzysztof Kozlowski }; 348a9e76cf1SKrzysztof Kozlowski }; 349a9e76cf1SKrzysztof Kozlowski 350b190fb01SKonrad Dybcio pmu { 351b190fb01SKonrad Dybcio compatible = "arm,armv8-pmuv3"; 352b190fb01SKonrad Dybcio interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>; 353b190fb01SKonrad Dybcio }; 354b190fb01SKonrad Dybcio 355b190fb01SKonrad Dybcio psci { 356b190fb01SKonrad Dybcio compatible = "arm,psci-1.0"; 357b190fb01SKonrad Dybcio method = "smc"; 358b190fb01SKonrad Dybcio }; 359b190fb01SKonrad Dybcio 360b190fb01SKonrad Dybcio reserved-memory { 361b190fb01SKonrad Dybcio #address-cells = <2>; 362b190fb01SKonrad Dybcio #size-cells = <2>; 363b190fb01SKonrad Dybcio ranges; 364b190fb01SKonrad Dybcio 365b190fb01SKonrad Dybcio wlan_msa_guard: wlan-msa-guard@85600000 { 366b190fb01SKonrad Dybcio reg = <0x0 0x85600000 0x0 0x100000>; 367b190fb01SKonrad Dybcio no-map; 368b190fb01SKonrad Dybcio }; 369b190fb01SKonrad Dybcio 370b190fb01SKonrad Dybcio wlan_msa_mem: wlan-msa-mem@85700000 { 371b190fb01SKonrad Dybcio reg = <0x0 0x85700000 0x0 0x100000>; 372b190fb01SKonrad Dybcio no-map; 373b190fb01SKonrad Dybcio }; 374b190fb01SKonrad Dybcio 375b190fb01SKonrad Dybcio qhee_code: qhee-code@85800000 { 37626e02c98SAngeloGioacchino Del Regno reg = <0x0 0x85800000 0x0 0x600000>; 377b190fb01SKonrad Dybcio no-map; 378b190fb01SKonrad Dybcio }; 379b190fb01SKonrad Dybcio 38026e02c98SAngeloGioacchino Del Regno rmtfs_mem: memory@85e00000 { 38126e02c98SAngeloGioacchino Del Regno compatible = "qcom,rmtfs-mem"; 38226e02c98SAngeloGioacchino Del Regno reg = <0x0 0x85e00000 0x0 0x200000>; 38326e02c98SAngeloGioacchino Del Regno no-map; 38426e02c98SAngeloGioacchino Del Regno 38526e02c98SAngeloGioacchino Del Regno qcom,client-id = <1>; 38626e02c98SAngeloGioacchino Del Regno qcom,vmid = <15>; 38726e02c98SAngeloGioacchino Del Regno }; 38826e02c98SAngeloGioacchino Del Regno 389b190fb01SKonrad Dybcio smem_region: smem-mem@86000000 { 390b190fb01SKonrad Dybcio reg = <0 0x86000000 0 0x200000>; 391b190fb01SKonrad Dybcio no-map; 392b190fb01SKonrad Dybcio }; 393b190fb01SKonrad Dybcio 394b190fb01SKonrad Dybcio tz_mem: memory@86200000 { 395b190fb01SKonrad Dybcio reg = <0x0 0x86200000 0x0 0x3300000>; 396b190fb01SKonrad Dybcio no-map; 397b190fb01SKonrad Dybcio }; 398b190fb01SKonrad Dybcio 39926e02c98SAngeloGioacchino Del Regno mpss_region: mpss@8ac00000 { 400b190fb01SKonrad Dybcio reg = <0x0 0x8ac00000 0x0 0x7e00000>; 401b190fb01SKonrad Dybcio no-map; 402b190fb01SKonrad Dybcio }; 403b190fb01SKonrad Dybcio 40426e02c98SAngeloGioacchino Del Regno adsp_region: adsp@92a00000 { 405b190fb01SKonrad Dybcio reg = <0x0 0x92a00000 0x0 0x1e00000>; 406b190fb01SKonrad Dybcio no-map; 407b190fb01SKonrad Dybcio }; 408b190fb01SKonrad Dybcio 40926e02c98SAngeloGioacchino Del Regno mba_region: mba@94800000 { 410b190fb01SKonrad Dybcio reg = <0x0 0x94800000 0x0 0x200000>; 411b190fb01SKonrad Dybcio no-map; 412b190fb01SKonrad Dybcio }; 413b190fb01SKonrad Dybcio 41426e02c98SAngeloGioacchino Del Regno buffer_mem: tzbuffer@94a00000 { 415b190fb01SKonrad Dybcio reg = <0x0 0x94a00000 0x0 0x100000>; 416b190fb01SKonrad Dybcio no-map; 417b190fb01SKonrad Dybcio }; 418b190fb01SKonrad Dybcio 41926e02c98SAngeloGioacchino Del Regno venus_region: venus@9f800000 { 420b190fb01SKonrad Dybcio reg = <0x0 0x9f800000 0x0 0x800000>; 421b190fb01SKonrad Dybcio no-map; 422b190fb01SKonrad Dybcio }; 423b190fb01SKonrad Dybcio 424b190fb01SKonrad Dybcio adsp_mem: adsp-region@f6000000 { 425b190fb01SKonrad Dybcio reg = <0x0 0xf6000000 0x0 0x800000>; 426b190fb01SKonrad Dybcio no-map; 427b190fb01SKonrad Dybcio }; 428b190fb01SKonrad Dybcio 429b190fb01SKonrad Dybcio qseecom_mem: qseecom-region@f6800000 { 430b190fb01SKonrad Dybcio reg = <0x0 0xf6800000 0x0 0x1400000>; 431b190fb01SKonrad Dybcio no-map; 432b190fb01SKonrad Dybcio }; 433b190fb01SKonrad Dybcio 43426e02c98SAngeloGioacchino Del Regno zap_shader_region: gpu@fed00000 { 43526e02c98SAngeloGioacchino Del Regno compatible = "shared-dma-pool"; 43626e02c98SAngeloGioacchino Del Regno reg = <0x0 0xfed00000 0x0 0xa00000>; 437b190fb01SKonrad Dybcio no-map; 438b190fb01SKonrad Dybcio }; 439b190fb01SKonrad Dybcio }; 440b190fb01SKonrad Dybcio 441b190fb01SKonrad Dybcio rpm-glink { 442b190fb01SKonrad Dybcio compatible = "qcom,glink-rpm"; 443b190fb01SKonrad Dybcio 444b190fb01SKonrad Dybcio interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; 445b190fb01SKonrad Dybcio qcom,rpm-msg-ram = <&rpm_msg_ram>; 446b190fb01SKonrad Dybcio mboxes = <&apcs_glb 0>; 447b190fb01SKonrad Dybcio 448b190fb01SKonrad Dybcio rpm_requests: rpm-requests { 449b190fb01SKonrad Dybcio compatible = "qcom,rpm-sdm660"; 450b190fb01SKonrad Dybcio qcom,glink-channels = "rpm_requests"; 451b190fb01SKonrad Dybcio 452b190fb01SKonrad Dybcio rpmcc: clock-controller { 453b190fb01SKonrad Dybcio compatible = "qcom,rpmcc-sdm660", "qcom,rpmcc"; 454b190fb01SKonrad Dybcio #clock-cells = <1>; 455b190fb01SKonrad Dybcio }; 4561ce921aeSKonrad Dybcio 4571ce921aeSKonrad Dybcio rpmpd: power-controller { 4581ce921aeSKonrad Dybcio compatible = "qcom,sdm660-rpmpd"; 4591ce921aeSKonrad Dybcio #power-domain-cells = <1>; 4601ce921aeSKonrad Dybcio operating-points-v2 = <&rpmpd_opp_table>; 4611ce921aeSKonrad Dybcio 4621ce921aeSKonrad Dybcio rpmpd_opp_table: opp-table { 4631ce921aeSKonrad Dybcio compatible = "operating-points-v2"; 4641ce921aeSKonrad Dybcio 4651ce921aeSKonrad Dybcio rpmpd_opp_ret: opp1 { 4661ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_RETENTION>; 4671ce921aeSKonrad Dybcio }; 4681ce921aeSKonrad Dybcio 4691ce921aeSKonrad Dybcio rpmpd_opp_ret_plus: opp2 { 4701ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>; 4711ce921aeSKonrad Dybcio }; 4721ce921aeSKonrad Dybcio 4731ce921aeSKonrad Dybcio rpmpd_opp_min_svs: opp3 { 4741ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_MIN_SVS>; 4751ce921aeSKonrad Dybcio }; 4761ce921aeSKonrad Dybcio 4771ce921aeSKonrad Dybcio rpmpd_opp_low_svs: opp4 { 4781ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_LOW_SVS>; 4791ce921aeSKonrad Dybcio }; 4801ce921aeSKonrad Dybcio 4811ce921aeSKonrad Dybcio rpmpd_opp_svs: opp5 { 4821ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_SVS>; 4831ce921aeSKonrad Dybcio }; 4841ce921aeSKonrad Dybcio 4851ce921aeSKonrad Dybcio rpmpd_opp_svs_plus: opp6 { 4861ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_SVS_PLUS>; 4871ce921aeSKonrad Dybcio }; 4881ce921aeSKonrad Dybcio 4891ce921aeSKonrad Dybcio rpmpd_opp_nom: opp7 { 4901ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_NOM>; 4911ce921aeSKonrad Dybcio }; 4921ce921aeSKonrad Dybcio 4931ce921aeSKonrad Dybcio rpmpd_opp_nom_plus: opp8 { 4941ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_NOM_PLUS>; 4951ce921aeSKonrad Dybcio }; 4961ce921aeSKonrad Dybcio 4971ce921aeSKonrad Dybcio rpmpd_opp_turbo: opp9 { 4981ce921aeSKonrad Dybcio opp-level = <RPM_SMD_LEVEL_TURBO>; 4991ce921aeSKonrad Dybcio }; 5001ce921aeSKonrad Dybcio }; 5011ce921aeSKonrad Dybcio }; 502b190fb01SKonrad Dybcio }; 503b190fb01SKonrad Dybcio }; 504b190fb01SKonrad Dybcio 505b190fb01SKonrad Dybcio smem: smem { 506b190fb01SKonrad Dybcio compatible = "qcom,smem"; 507b190fb01SKonrad Dybcio memory-region = <&smem_region>; 508b190fb01SKonrad Dybcio hwlocks = <&tcsr_mutex 3>; 509b190fb01SKonrad Dybcio }; 510b190fb01SKonrad Dybcio 511c8236767SKonrad Dybcio smp2p-adsp { 512c8236767SKonrad Dybcio compatible = "qcom,smp2p"; 513c8236767SKonrad Dybcio qcom,smem = <443>, <429>; 514c8236767SKonrad Dybcio interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>; 515c8236767SKonrad Dybcio mboxes = <&apcs_glb 10>; 516c8236767SKonrad Dybcio qcom,local-pid = <0>; 517c8236767SKonrad Dybcio qcom,remote-pid = <2>; 518c8236767SKonrad Dybcio 519c8236767SKonrad Dybcio adsp_smp2p_out: master-kernel { 520c8236767SKonrad Dybcio qcom,entry-name = "master-kernel"; 521c8236767SKonrad Dybcio #qcom,smem-state-cells = <1>; 522c8236767SKonrad Dybcio }; 523c8236767SKonrad Dybcio 524c8236767SKonrad Dybcio adsp_smp2p_in: slave-kernel { 525c8236767SKonrad Dybcio qcom,entry-name = "slave-kernel"; 526c8236767SKonrad Dybcio interrupt-controller; 527c8236767SKonrad Dybcio #interrupt-cells = <2>; 528c8236767SKonrad Dybcio }; 529c8236767SKonrad Dybcio }; 530c8236767SKonrad Dybcio 531c8236767SKonrad Dybcio smp2p-mpss { 532c8236767SKonrad Dybcio compatible = "qcom,smp2p"; 533c8236767SKonrad Dybcio qcom,smem = <435>, <428>; 534c8236767SKonrad Dybcio interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>; 535c8236767SKonrad Dybcio mboxes = <&apcs_glb 14>; 536c8236767SKonrad Dybcio qcom,local-pid = <0>; 537c8236767SKonrad Dybcio qcom,remote-pid = <1>; 538c8236767SKonrad Dybcio 539c8236767SKonrad Dybcio modem_smp2p_out: master-kernel { 540c8236767SKonrad Dybcio qcom,entry-name = "master-kernel"; 541c8236767SKonrad Dybcio #qcom,smem-state-cells = <1>; 542c8236767SKonrad Dybcio }; 543c8236767SKonrad Dybcio 544c8236767SKonrad Dybcio modem_smp2p_in: slave-kernel { 545c8236767SKonrad Dybcio qcom,entry-name = "slave-kernel"; 546c8236767SKonrad Dybcio interrupt-controller; 547c8236767SKonrad Dybcio #interrupt-cells = <2>; 548c8236767SKonrad Dybcio }; 549c8236767SKonrad Dybcio }; 550c8236767SKonrad Dybcio 551*cefb4077SKrzysztof Kozlowski soc@0 { 552b190fb01SKonrad Dybcio #address-cells = <1>; 553b190fb01SKonrad Dybcio #size-cells = <1>; 554b190fb01SKonrad Dybcio ranges = <0 0 0 0xffffffff>; 555b190fb01SKonrad Dybcio compatible = "simple-bus"; 556b190fb01SKonrad Dybcio 557b190fb01SKonrad Dybcio gcc: clock-controller@100000 { 558b190fb01SKonrad Dybcio compatible = "qcom,gcc-sdm630"; 559b190fb01SKonrad Dybcio #clock-cells = <1>; 560b190fb01SKonrad Dybcio #reset-cells = <1>; 561b190fb01SKonrad Dybcio #power-domain-cells = <1>; 562b190fb01SKonrad Dybcio reg = <0x00100000 0x94000>; 563b190fb01SKonrad Dybcio 564b190fb01SKonrad Dybcio clock-names = "xo", "sleep_clk"; 565b190fb01SKonrad Dybcio clocks = <&xo_board>, 566b190fb01SKonrad Dybcio <&sleep_clk>; 567b190fb01SKonrad Dybcio }; 568b190fb01SKonrad Dybcio 569179811beSStephan Gerhold rpm_msg_ram: sram@778000 { 570b190fb01SKonrad Dybcio compatible = "qcom,rpm-msg-ram"; 571b190fb01SKonrad Dybcio reg = <0x00778000 0x7000>; 572b190fb01SKonrad Dybcio }; 573b190fb01SKonrad Dybcio 574b190fb01SKonrad Dybcio qfprom: qfprom@780000 { 575b2eab35bSKrzysztof Kozlowski compatible = "qcom,sdm630-qfprom", "qcom,qfprom"; 576b190fb01SKonrad Dybcio reg = <0x00780000 0x621c>; 577b190fb01SKonrad Dybcio #address-cells = <1>; 578b190fb01SKonrad Dybcio #size-cells = <1>; 579142662f8SAngeloGioacchino Del Regno 580142662f8SAngeloGioacchino Del Regno qusb2_hstx_trim: hstx-trim@240 { 58174b0fbd6SKrzysztof Kozlowski reg = <0x243 0x1>; 58274b0fbd6SKrzysztof Kozlowski bits = <1 3>; 583142662f8SAngeloGioacchino Del Regno }; 584142662f8SAngeloGioacchino Del Regno 585142662f8SAngeloGioacchino Del Regno gpu_speed_bin: gpu-speed-bin@41a0 { 58674b0fbd6SKrzysztof Kozlowski reg = <0x41a2 0x1>; 58774b0fbd6SKrzysztof Kozlowski bits = <5 7>; 588142662f8SAngeloGioacchino Del Regno }; 589b190fb01SKonrad Dybcio }; 590b190fb01SKonrad Dybcio 591b190fb01SKonrad Dybcio rng: rng@793000 { 592b190fb01SKonrad Dybcio compatible = "qcom,prng-ee"; 593b190fb01SKonrad Dybcio reg = <0x00793000 0x1000>; 594b190fb01SKonrad Dybcio clocks = <&gcc GCC_PRNG_AHB_CLK>; 595b190fb01SKonrad Dybcio clock-names = "core"; 596b190fb01SKonrad Dybcio }; 597b190fb01SKonrad Dybcio 598045547a0SKonrad Dybcio bimc: interconnect@1008000 { 599045547a0SKonrad Dybcio compatible = "qcom,sdm660-bimc"; 600045547a0SKonrad Dybcio reg = <0x01008000 0x78000>; 601045547a0SKonrad Dybcio #interconnect-cells = <1>; 602045547a0SKonrad Dybcio clock-names = "bus", "bus_a"; 603045547a0SKonrad Dybcio clocks = <&rpmcc RPM_SMD_BIMC_CLK>, 604045547a0SKonrad Dybcio <&rpmcc RPM_SMD_BIMC_A_CLK>; 605045547a0SKonrad Dybcio }; 606045547a0SKonrad Dybcio 607b190fb01SKonrad Dybcio restart@10ac000 { 608b190fb01SKonrad Dybcio compatible = "qcom,pshold"; 609b190fb01SKonrad Dybcio reg = <0x010ac000 0x4>; 610b190fb01SKonrad Dybcio }; 611b190fb01SKonrad Dybcio 612045547a0SKonrad Dybcio cnoc: interconnect@1500000 { 613045547a0SKonrad Dybcio compatible = "qcom,sdm660-cnoc"; 614045547a0SKonrad Dybcio reg = <0x01500000 0x10000>; 615045547a0SKonrad Dybcio #interconnect-cells = <1>; 616045547a0SKonrad Dybcio clock-names = "bus", "bus_a"; 617045547a0SKonrad Dybcio clocks = <&rpmcc RPM_SMD_CNOC_CLK>, 618045547a0SKonrad Dybcio <&rpmcc RPM_SMD_CNOC_A_CLK>; 619045547a0SKonrad Dybcio }; 620045547a0SKonrad Dybcio 621045547a0SKonrad Dybcio snoc: interconnect@1626000 { 622045547a0SKonrad Dybcio compatible = "qcom,sdm660-snoc"; 623045547a0SKonrad Dybcio reg = <0x01626000 0x7090>; 624045547a0SKonrad Dybcio #interconnect-cells = <1>; 625045547a0SKonrad Dybcio clock-names = "bus", "bus_a"; 626045547a0SKonrad Dybcio clocks = <&rpmcc RPM_SMD_SNOC_CLK>, 627045547a0SKonrad Dybcio <&rpmcc RPM_SMD_SNOC_A_CLK>; 628045547a0SKonrad Dybcio }; 629045547a0SKonrad Dybcio 630b190fb01SKonrad Dybcio anoc2_smmu: iommu@16c0000 { 631b190fb01SKonrad Dybcio compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; 632b190fb01SKonrad Dybcio reg = <0x016c0000 0x40000>; 6336bb717feSAngeloGioacchino Del Regno 6346bb717feSAngeloGioacchino Del Regno assigned-clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; 6356bb717feSAngeloGioacchino Del Regno assigned-clock-rates = <1000>; 6366bb717feSAngeloGioacchino Del Regno clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; 6376bb717feSAngeloGioacchino Del Regno clock-names = "bus"; 6386bb717feSAngeloGioacchino Del Regno #global-interrupts = <2>; 639b190fb01SKonrad Dybcio #iommu-cells = <1>; 640b190fb01SKonrad Dybcio 641b190fb01SKonrad Dybcio interrupts = 642b190fb01SKonrad Dybcio <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 643b190fb01SKonrad Dybcio <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 644b190fb01SKonrad Dybcio 645b190fb01SKonrad Dybcio <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>, 646b190fb01SKonrad Dybcio <GIC_SPI 374 IRQ_TYPE_LEVEL_LOW>, 647b190fb01SKonrad Dybcio <GIC_SPI 375 IRQ_TYPE_LEVEL_LOW>, 648b190fb01SKonrad Dybcio <GIC_SPI 376 IRQ_TYPE_LEVEL_LOW>, 649b190fb01SKonrad Dybcio <GIC_SPI 377 IRQ_TYPE_LEVEL_LOW>, 650b190fb01SKonrad Dybcio <GIC_SPI 378 IRQ_TYPE_LEVEL_LOW>, 651b190fb01SKonrad Dybcio <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>, 652b190fb01SKonrad Dybcio <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>, 653b190fb01SKonrad Dybcio <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>, 654b190fb01SKonrad Dybcio <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>, 655b190fb01SKonrad Dybcio <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>, 656b190fb01SKonrad Dybcio <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>, 657b190fb01SKonrad Dybcio <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>, 658b190fb01SKonrad Dybcio <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>, 659b190fb01SKonrad Dybcio <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>, 660b190fb01SKonrad Dybcio <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>, 661b190fb01SKonrad Dybcio <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>, 662b190fb01SKonrad Dybcio <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>, 663b190fb01SKonrad Dybcio <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>, 664b190fb01SKonrad Dybcio <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, 665b190fb01SKonrad Dybcio <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>, 666b190fb01SKonrad Dybcio <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>, 667b190fb01SKonrad Dybcio <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>, 668b190fb01SKonrad Dybcio <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>, 669b190fb01SKonrad Dybcio <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>, 670b190fb01SKonrad Dybcio <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>, 671b190fb01SKonrad Dybcio <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>, 672b190fb01SKonrad Dybcio <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>, 673b190fb01SKonrad Dybcio <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>; 674326407d2SKonrad Dybcio 675326407d2SKonrad Dybcio status = "disabled"; 676b190fb01SKonrad Dybcio }; 677b190fb01SKonrad Dybcio 678045547a0SKonrad Dybcio a2noc: interconnect@1704000 { 679045547a0SKonrad Dybcio compatible = "qcom,sdm660-a2noc"; 680045547a0SKonrad Dybcio reg = <0x01704000 0xc100>; 681045547a0SKonrad Dybcio #interconnect-cells = <1>; 6821878f4b7SShawn Guo clock-names = "bus", 6831878f4b7SShawn Guo "bus_a", 6841878f4b7SShawn Guo "ipa", 6851878f4b7SShawn Guo "ufs_axi", 6861878f4b7SShawn Guo "aggre2_ufs_axi", 6871878f4b7SShawn Guo "aggre2_usb3_axi", 6881878f4b7SShawn Guo "cfg_noc_usb2_axi"; 689045547a0SKonrad Dybcio clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, 6901878f4b7SShawn Guo <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, 6911878f4b7SShawn Guo <&rpmcc RPM_SMD_IPA_CLK>, 6921878f4b7SShawn Guo <&gcc GCC_UFS_AXI_CLK>, 6931878f4b7SShawn Guo <&gcc GCC_AGGRE2_UFS_AXI_CLK>, 6941878f4b7SShawn Guo <&gcc GCC_AGGRE2_USB3_AXI_CLK>, 6951878f4b7SShawn Guo <&gcc GCC_CFG_NOC_USB2_AXI_CLK>; 696045547a0SKonrad Dybcio }; 697045547a0SKonrad Dybcio 698045547a0SKonrad Dybcio mnoc: interconnect@1745000 { 699045547a0SKonrad Dybcio compatible = "qcom,sdm660-mnoc"; 70054426328SKonrad Dybcio reg = <0x01745000 0xa010>; 701045547a0SKonrad Dybcio #interconnect-cells = <1>; 702045547a0SKonrad Dybcio clock-names = "bus", "bus_a", "iface"; 703045547a0SKonrad Dybcio clocks = <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>, 704045547a0SKonrad Dybcio <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK_A>, 705045547a0SKonrad Dybcio <&mmcc AHB_CLK_SRC>; 706045547a0SKonrad Dybcio }; 707045547a0SKonrad Dybcio 7087c54b82bSKonrad Dybcio tsens: thermal-sensor@10ae000 { 7097c54b82bSKonrad Dybcio compatible = "qcom,sdm630-tsens", "qcom,tsens-v2"; 7107c54b82bSKonrad Dybcio reg = <0x010ae000 0x1000>, /* TM */ 7117c54b82bSKonrad Dybcio <0x010ad000 0x1000>; /* SROT */ 7127c54b82bSKonrad Dybcio #qcom,sensors = <12>; 7137c54b82bSKonrad Dybcio interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 7147c54b82bSKonrad Dybcio <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>; 7157c54b82bSKonrad Dybcio interrupt-names = "uplow", "critical"; 7167c54b82bSKonrad Dybcio #thermal-sensor-cells = <1>; 7177c54b82bSKonrad Dybcio }; 7187c54b82bSKonrad Dybcio 719a4c82270SKrzysztof Kozlowski tcsr_mutex: hwlock@1f40000 { 720a4c82270SKrzysztof Kozlowski compatible = "qcom,tcsr-mutex"; 7210da60338SKrzysztof Kozlowski reg = <0x01f40000 0x20000>; 722a4c82270SKrzysztof Kozlowski #hwlock-cells = <1>; 7230da60338SKrzysztof Kozlowski }; 7240da60338SKrzysztof Kozlowski 725d0909bf4SJohan Hovold tcsr_regs_1: syscon@1f60000 { 7260da60338SKrzysztof Kozlowski compatible = "qcom,sdm630-tcsr", "syscon"; 7270da60338SKrzysztof Kozlowski reg = <0x01f60000 0x20000>; 728b190fb01SKonrad Dybcio }; 729b190fb01SKonrad Dybcio 73036a0d47aSAngeloGioacchino Del Regno tlmm: pinctrl@3100000 { 731b190fb01SKonrad Dybcio compatible = "qcom,sdm630-pinctrl"; 73236a0d47aSAngeloGioacchino Del Regno reg = <0x03100000 0x400000>, 73336a0d47aSAngeloGioacchino Del Regno <0x03500000 0x400000>, 73436a0d47aSAngeloGioacchino Del Regno <0x03900000 0x400000>; 73536a0d47aSAngeloGioacchino Del Regno reg-names = "south", "center", "north"; 736b190fb01SKonrad Dybcio interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 737b190fb01SKonrad Dybcio gpio-controller; 73836a0d47aSAngeloGioacchino Del Regno gpio-ranges = <&tlmm 0 0 114>; 73936a0d47aSAngeloGioacchino Del Regno #gpio-cells = <2>; 740b190fb01SKonrad Dybcio interrupt-controller; 74136a0d47aSAngeloGioacchino Del Regno #interrupt-cells = <2>; 742b190fb01SKonrad Dybcio 743048a765aSKrzysztof Kozlowski blsp1_uart1_default: blsp1-uart1-default-state { 744b190fb01SKonrad Dybcio pins = "gpio0", "gpio1", "gpio2", "gpio3"; 745804ec4daSKrzysztof Kozlowski function = "blsp_uart1"; 746b190fb01SKonrad Dybcio drive-strength = <2>; 747b190fb01SKonrad Dybcio bias-disable; 748b190fb01SKonrad Dybcio }; 749b190fb01SKonrad Dybcio 750048a765aSKrzysztof Kozlowski blsp1_uart1_sleep: blsp1-uart1-sleep-state { 751b190fb01SKonrad Dybcio pins = "gpio0", "gpio1", "gpio2", "gpio3"; 752048a765aSKrzysztof Kozlowski function = "gpio"; 753b190fb01SKonrad Dybcio drive-strength = <2>; 754b190fb01SKonrad Dybcio bias-disable; 755b190fb01SKonrad Dybcio }; 756b190fb01SKonrad Dybcio 757048a765aSKrzysztof Kozlowski blsp1_uart2_default: blsp1-uart2-default-state { 758b190fb01SKonrad Dybcio pins = "gpio4", "gpio5"; 759804ec4daSKrzysztof Kozlowski function = "blsp_uart2"; 760b190fb01SKonrad Dybcio drive-strength = <2>; 761b190fb01SKonrad Dybcio bias-disable; 762b190fb01SKonrad Dybcio }; 763b190fb01SKonrad Dybcio 764048a765aSKrzysztof Kozlowski blsp2_uart1_default: blsp2-uart1-active-state { 765048a765aSKrzysztof Kozlowski tx-rts-pins { 76636a0d47aSAngeloGioacchino Del Regno pins = "gpio16", "gpio19"; 76736a0d47aSAngeloGioacchino Del Regno function = "blsp_uart5"; 768b190fb01SKonrad Dybcio drive-strength = <2>; 769b190fb01SKonrad Dybcio bias-disable; 770b190fb01SKonrad Dybcio }; 771b190fb01SKonrad Dybcio 772048a765aSKrzysztof Kozlowski rx-pins { 77336a0d47aSAngeloGioacchino Del Regno /* 77436a0d47aSAngeloGioacchino Del Regno * Avoid garbage data while BT module 77536a0d47aSAngeloGioacchino Del Regno * is powered off or not driving signal 77636a0d47aSAngeloGioacchino Del Regno */ 77736a0d47aSAngeloGioacchino Del Regno pins = "gpio17"; 77836a0d47aSAngeloGioacchino Del Regno function = "blsp_uart5"; 779b190fb01SKonrad Dybcio drive-strength = <2>; 780b190fb01SKonrad Dybcio bias-pull-up; 781b190fb01SKonrad Dybcio }; 782b190fb01SKonrad Dybcio 783048a765aSKrzysztof Kozlowski cts-pins { 78436a0d47aSAngeloGioacchino Del Regno /* Match the pull of the BT module */ 78536a0d47aSAngeloGioacchino Del Regno pins = "gpio18"; 78636a0d47aSAngeloGioacchino Del Regno function = "blsp_uart5"; 787b190fb01SKonrad Dybcio drive-strength = <2>; 78836a0d47aSAngeloGioacchino Del Regno bias-pull-down; 78936a0d47aSAngeloGioacchino Del Regno }; 790b190fb01SKonrad Dybcio }; 791b190fb01SKonrad Dybcio 792048a765aSKrzysztof Kozlowski blsp2_uart1_sleep: blsp2-uart1-sleep-state { 793048a765aSKrzysztof Kozlowski tx-pins { 79436a0d47aSAngeloGioacchino Del Regno pins = "gpio16"; 79536a0d47aSAngeloGioacchino Del Regno function = "gpio"; 79636a0d47aSAngeloGioacchino Del Regno drive-strength = <2>; 79736a0d47aSAngeloGioacchino Del Regno bias-pull-up; 79836a0d47aSAngeloGioacchino Del Regno }; 79936a0d47aSAngeloGioacchino Del Regno 800048a765aSKrzysztof Kozlowski rx-cts-rts-pins { 80136a0d47aSAngeloGioacchino Del Regno pins = "gpio17", "gpio18", "gpio19"; 80236a0d47aSAngeloGioacchino Del Regno function = "gpio"; 803b190fb01SKonrad Dybcio drive-strength = <2>; 804780f836fSKrzysztof Kozlowski bias-disable; 805b190fb01SKonrad Dybcio }; 806b190fb01SKonrad Dybcio }; 807b190fb01SKonrad Dybcio 808048a765aSKrzysztof Kozlowski i2c1_default: i2c1-default-state { 809b190fb01SKonrad Dybcio pins = "gpio2", "gpio3"; 810536f4428SKonrad Dybcio function = "blsp_i2c1"; 811b190fb01SKonrad Dybcio drive-strength = <2>; 812b190fb01SKonrad Dybcio bias-disable; 813b190fb01SKonrad Dybcio }; 814b190fb01SKonrad Dybcio 815048a765aSKrzysztof Kozlowski i2c1_sleep: i2c1-sleep-state { 816b190fb01SKonrad Dybcio pins = "gpio2", "gpio3"; 817536f4428SKonrad Dybcio function = "blsp_i2c1"; 818b190fb01SKonrad Dybcio drive-strength = <2>; 819b190fb01SKonrad Dybcio bias-pull-up; 820b190fb01SKonrad Dybcio }; 821b190fb01SKonrad Dybcio 822048a765aSKrzysztof Kozlowski i2c2_default: i2c2-default-state { 823b190fb01SKonrad Dybcio pins = "gpio6", "gpio7"; 824536f4428SKonrad Dybcio function = "blsp_i2c2"; 825b190fb01SKonrad Dybcio drive-strength = <2>; 826b190fb01SKonrad Dybcio bias-disable; 827b190fb01SKonrad Dybcio }; 828b190fb01SKonrad Dybcio 829048a765aSKrzysztof Kozlowski i2c2_sleep: i2c2-sleep-state { 830b190fb01SKonrad Dybcio pins = "gpio6", "gpio7"; 831536f4428SKonrad Dybcio function = "blsp_i2c2"; 832b190fb01SKonrad Dybcio drive-strength = <2>; 833b190fb01SKonrad Dybcio bias-pull-up; 834b190fb01SKonrad Dybcio }; 835b190fb01SKonrad Dybcio 836048a765aSKrzysztof Kozlowski i2c3_default: i2c3-default-state { 837b190fb01SKonrad Dybcio pins = "gpio10", "gpio11"; 838536f4428SKonrad Dybcio function = "blsp_i2c3"; 839b190fb01SKonrad Dybcio drive-strength = <2>; 840b190fb01SKonrad Dybcio bias-disable; 841b190fb01SKonrad Dybcio }; 842b190fb01SKonrad Dybcio 843048a765aSKrzysztof Kozlowski i2c3_sleep: i2c3-sleep-state { 844b190fb01SKonrad Dybcio pins = "gpio10", "gpio11"; 845536f4428SKonrad Dybcio function = "blsp_i2c3"; 846b190fb01SKonrad Dybcio drive-strength = <2>; 847b190fb01SKonrad Dybcio bias-pull-up; 848b190fb01SKonrad Dybcio }; 849b190fb01SKonrad Dybcio 850048a765aSKrzysztof Kozlowski i2c4_default: i2c4-default-state { 851b190fb01SKonrad Dybcio pins = "gpio14", "gpio15"; 852536f4428SKonrad Dybcio function = "blsp_i2c4"; 853b190fb01SKonrad Dybcio drive-strength = <2>; 854b190fb01SKonrad Dybcio bias-disable; 855b190fb01SKonrad Dybcio }; 856b190fb01SKonrad Dybcio 857048a765aSKrzysztof Kozlowski i2c4_sleep: i2c4-sleep-state { 858b190fb01SKonrad Dybcio pins = "gpio14", "gpio15"; 859536f4428SKonrad Dybcio function = "blsp_i2c4"; 860b190fb01SKonrad Dybcio drive-strength = <2>; 861b190fb01SKonrad Dybcio bias-pull-up; 862b190fb01SKonrad Dybcio }; 863b190fb01SKonrad Dybcio 864048a765aSKrzysztof Kozlowski i2c5_default: i2c5-default-state { 865b190fb01SKonrad Dybcio pins = "gpio18", "gpio19"; 866536f4428SKonrad Dybcio function = "blsp_i2c5"; 867b190fb01SKonrad Dybcio drive-strength = <2>; 868b190fb01SKonrad Dybcio bias-disable; 869b190fb01SKonrad Dybcio }; 870b190fb01SKonrad Dybcio 871048a765aSKrzysztof Kozlowski i2c5_sleep: i2c5-sleep-state { 872b190fb01SKonrad Dybcio pins = "gpio18", "gpio19"; 873536f4428SKonrad Dybcio function = "blsp_i2c5"; 874b190fb01SKonrad Dybcio drive-strength = <2>; 875b190fb01SKonrad Dybcio bias-pull-up; 876b190fb01SKonrad Dybcio }; 877b190fb01SKonrad Dybcio 878048a765aSKrzysztof Kozlowski i2c6_default: i2c6-default-state { 879b190fb01SKonrad Dybcio pins = "gpio22", "gpio23"; 880536f4428SKonrad Dybcio function = "blsp_i2c6"; 881b190fb01SKonrad Dybcio drive-strength = <2>; 882b190fb01SKonrad Dybcio bias-disable; 883b190fb01SKonrad Dybcio }; 884b190fb01SKonrad Dybcio 885048a765aSKrzysztof Kozlowski i2c6_sleep: i2c6-sleep-state { 886b190fb01SKonrad Dybcio pins = "gpio22", "gpio23"; 887536f4428SKonrad Dybcio function = "blsp_i2c6"; 888b190fb01SKonrad Dybcio drive-strength = <2>; 889b190fb01SKonrad Dybcio bias-pull-up; 890b190fb01SKonrad Dybcio }; 891b190fb01SKonrad Dybcio 892048a765aSKrzysztof Kozlowski i2c7_default: i2c7-default-state { 893b190fb01SKonrad Dybcio pins = "gpio26", "gpio27"; 894536f4428SKonrad Dybcio function = "blsp_i2c7"; 895b190fb01SKonrad Dybcio drive-strength = <2>; 896b190fb01SKonrad Dybcio bias-disable; 897b190fb01SKonrad Dybcio }; 898b190fb01SKonrad Dybcio 899048a765aSKrzysztof Kozlowski i2c7_sleep: i2c7-sleep-state { 900b190fb01SKonrad Dybcio pins = "gpio26", "gpio27"; 901536f4428SKonrad Dybcio function = "blsp_i2c7"; 902b190fb01SKonrad Dybcio drive-strength = <2>; 903b190fb01SKonrad Dybcio bias-pull-up; 904b190fb01SKonrad Dybcio }; 905b190fb01SKonrad Dybcio 906048a765aSKrzysztof Kozlowski i2c8_default: i2c8-default-state { 907b190fb01SKonrad Dybcio pins = "gpio30", "gpio31"; 90806783c3aSKrzysztof Kozlowski function = "blsp_i2c8_a"; 909b190fb01SKonrad Dybcio drive-strength = <2>; 910b190fb01SKonrad Dybcio bias-disable; 911b190fb01SKonrad Dybcio }; 912b190fb01SKonrad Dybcio 913048a765aSKrzysztof Kozlowski i2c8_sleep: i2c8-sleep-state { 914b190fb01SKonrad Dybcio pins = "gpio30", "gpio31"; 91506783c3aSKrzysztof Kozlowski function = "blsp_i2c8_a"; 916b190fb01SKonrad Dybcio drive-strength = <2>; 917b190fb01SKonrad Dybcio bias-pull-up; 918b190fb01SKonrad Dybcio }; 919b190fb01SKonrad Dybcio 920048a765aSKrzysztof Kozlowski cci0_default: cci0-default-state { 921f3d5d3ccSAngeloGioacchino Del Regno pins = "gpio36","gpio37"; 922f3d5d3ccSAngeloGioacchino Del Regno function = "cci_i2c"; 923f3d5d3ccSAngeloGioacchino Del Regno bias-pull-up; 924f3d5d3ccSAngeloGioacchino Del Regno drive-strength = <2>; 925f3d5d3ccSAngeloGioacchino Del Regno }; 926f3d5d3ccSAngeloGioacchino Del Regno 927048a765aSKrzysztof Kozlowski cci1_default: cci1-default-state { 928f3d5d3ccSAngeloGioacchino Del Regno pins = "gpio38","gpio39"; 929f3d5d3ccSAngeloGioacchino Del Regno function = "cci_i2c"; 930f3d5d3ccSAngeloGioacchino Del Regno bias-pull-up; 931f3d5d3ccSAngeloGioacchino Del Regno drive-strength = <2>; 932f3d5d3ccSAngeloGioacchino Del Regno }; 933f3d5d3ccSAngeloGioacchino Del Regno 934048a765aSKrzysztof Kozlowski sdc1_state_on: sdc1-on-state { 935048a765aSKrzysztof Kozlowski clk-pins { 936b190fb01SKonrad Dybcio pins = "sdc1_clk"; 937b190fb01SKonrad Dybcio bias-disable; 938b190fb01SKonrad Dybcio drive-strength = <16>; 939b190fb01SKonrad Dybcio }; 940b190fb01SKonrad Dybcio 941048a765aSKrzysztof Kozlowski cmd-pins { 942b190fb01SKonrad Dybcio pins = "sdc1_cmd"; 943b190fb01SKonrad Dybcio bias-pull-up; 944b190fb01SKonrad Dybcio drive-strength = <10>; 945b190fb01SKonrad Dybcio }; 946b190fb01SKonrad Dybcio 947048a765aSKrzysztof Kozlowski data-pins { 94836a0d47aSAngeloGioacchino Del Regno pins = "sdc1_data"; 94936a0d47aSAngeloGioacchino Del Regno bias-pull-up; 95036a0d47aSAngeloGioacchino Del Regno drive-strength = <10>; 95136a0d47aSAngeloGioacchino Del Regno }; 95236a0d47aSAngeloGioacchino Del Regno 953048a765aSKrzysztof Kozlowski rclk-pins { 95436a0d47aSAngeloGioacchino Del Regno pins = "sdc1_rclk"; 95536a0d47aSAngeloGioacchino Del Regno bias-pull-down; 95636a0d47aSAngeloGioacchino Del Regno }; 95736a0d47aSAngeloGioacchino Del Regno }; 95836a0d47aSAngeloGioacchino Del Regno 959048a765aSKrzysztof Kozlowski sdc1_state_off: sdc1-off-state { 960048a765aSKrzysztof Kozlowski clk-pins { 96136a0d47aSAngeloGioacchino Del Regno pins = "sdc1_clk"; 96236a0d47aSAngeloGioacchino Del Regno bias-disable; 96336a0d47aSAngeloGioacchino Del Regno drive-strength = <2>; 96436a0d47aSAngeloGioacchino Del Regno }; 96536a0d47aSAngeloGioacchino Del Regno 966048a765aSKrzysztof Kozlowski cmd-pins { 967b190fb01SKonrad Dybcio pins = "sdc1_cmd"; 968b190fb01SKonrad Dybcio bias-pull-up; 969b190fb01SKonrad Dybcio drive-strength = <2>; 970b190fb01SKonrad Dybcio }; 971b190fb01SKonrad Dybcio 972048a765aSKrzysztof Kozlowski data-pins { 973b190fb01SKonrad Dybcio pins = "sdc1_data"; 974b190fb01SKonrad Dybcio bias-pull-up; 975b190fb01SKonrad Dybcio drive-strength = <2>; 976b190fb01SKonrad Dybcio }; 977b190fb01SKonrad Dybcio 978048a765aSKrzysztof Kozlowski rclk-pins { 979b190fb01SKonrad Dybcio pins = "sdc1_rclk"; 980b190fb01SKonrad Dybcio bias-pull-down; 981b190fb01SKonrad Dybcio }; 98236a0d47aSAngeloGioacchino Del Regno }; 983b190fb01SKonrad Dybcio 984048a765aSKrzysztof Kozlowski sdc2_state_on: sdc2-on-state { 985048a765aSKrzysztof Kozlowski clk-pins { 98636a0d47aSAngeloGioacchino Del Regno pins = "sdc2_clk"; 98736a0d47aSAngeloGioacchino Del Regno bias-disable; 98836a0d47aSAngeloGioacchino Del Regno drive-strength = <16>; 98936a0d47aSAngeloGioacchino Del Regno }; 99036a0d47aSAngeloGioacchino Del Regno 991048a765aSKrzysztof Kozlowski cmd-pins { 99236a0d47aSAngeloGioacchino Del Regno pins = "sdc2_cmd"; 99336a0d47aSAngeloGioacchino Del Regno bias-pull-up; 99436a0d47aSAngeloGioacchino Del Regno drive-strength = <10>; 99536a0d47aSAngeloGioacchino Del Regno }; 99636a0d47aSAngeloGioacchino Del Regno 997048a765aSKrzysztof Kozlowski data-pins { 99836a0d47aSAngeloGioacchino Del Regno pins = "sdc2_data"; 99936a0d47aSAngeloGioacchino Del Regno bias-pull-up; 100036a0d47aSAngeloGioacchino Del Regno drive-strength = <10>; 100136a0d47aSAngeloGioacchino Del Regno }; 100236a0d47aSAngeloGioacchino Del Regno }; 100336a0d47aSAngeloGioacchino Del Regno 1004048a765aSKrzysztof Kozlowski sdc2_state_off: sdc2-off-state { 1005048a765aSKrzysztof Kozlowski clk-pins { 100636a0d47aSAngeloGioacchino Del Regno pins = "sdc2_clk"; 100736a0d47aSAngeloGioacchino Del Regno bias-disable; 100836a0d47aSAngeloGioacchino Del Regno drive-strength = <2>; 100936a0d47aSAngeloGioacchino Del Regno }; 101036a0d47aSAngeloGioacchino Del Regno 1011048a765aSKrzysztof Kozlowski cmd-pins { 101236a0d47aSAngeloGioacchino Del Regno pins = "sdc2_cmd"; 101336a0d47aSAngeloGioacchino Del Regno bias-pull-up; 101436a0d47aSAngeloGioacchino Del Regno drive-strength = <2>; 101536a0d47aSAngeloGioacchino Del Regno }; 101636a0d47aSAngeloGioacchino Del Regno 1017048a765aSKrzysztof Kozlowski data-pins { 101836a0d47aSAngeloGioacchino Del Regno pins = "sdc2_data"; 101936a0d47aSAngeloGioacchino Del Regno bias-pull-up; 102036a0d47aSAngeloGioacchino Del Regno drive-strength = <2>; 102136a0d47aSAngeloGioacchino Del Regno }; 1022b190fb01SKonrad Dybcio }; 1023b190fb01SKonrad Dybcio }; 1024b190fb01SKonrad Dybcio 10255cf69dcbSAngeloGioacchino Del Regno adreno_gpu: gpu@5000000 { 10265cf69dcbSAngeloGioacchino Del Regno compatible = "qcom,adreno-508.0", "qcom,adreno"; 10275cf69dcbSAngeloGioacchino Del Regno 10285cf69dcbSAngeloGioacchino Del Regno reg = <0x05000000 0x40000>; 10295cf69dcbSAngeloGioacchino Del Regno reg-names = "kgsl_3d0_reg_memory"; 10305cf69dcbSAngeloGioacchino Del Regno 10315cf69dcbSAngeloGioacchino Del Regno interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>; 10325cf69dcbSAngeloGioacchino Del Regno 10335cf69dcbSAngeloGioacchino Del Regno clocks = <&gcc GCC_GPU_CFG_AHB_CLK>, 10345cf69dcbSAngeloGioacchino Del Regno <&gpucc GPUCC_RBBMTIMER_CLK>, 10355cf69dcbSAngeloGioacchino Del Regno <&gcc GCC_BIMC_GFX_CLK>, 10365cf69dcbSAngeloGioacchino Del Regno <&gcc GCC_GPU_BIMC_GFX_CLK>, 10375cf69dcbSAngeloGioacchino Del Regno <&gpucc GPUCC_RBCPR_CLK>, 10385cf69dcbSAngeloGioacchino Del Regno <&gpucc GPUCC_GFX3D_CLK>; 10395cf69dcbSAngeloGioacchino Del Regno 10405cf69dcbSAngeloGioacchino Del Regno clock-names = "iface", 10415cf69dcbSAngeloGioacchino Del Regno "rbbmtimer", 10425cf69dcbSAngeloGioacchino Del Regno "mem", 10435cf69dcbSAngeloGioacchino Del Regno "mem_iface", 10445cf69dcbSAngeloGioacchino Del Regno "rbcpr", 10455cf69dcbSAngeloGioacchino Del Regno "core"; 10465cf69dcbSAngeloGioacchino Del Regno 10475cf69dcbSAngeloGioacchino Del Regno power-domains = <&rpmpd SDM660_VDDMX>; 10485cf69dcbSAngeloGioacchino Del Regno iommus = <&kgsl_smmu 0>; 10495cf69dcbSAngeloGioacchino Del Regno 10505cf69dcbSAngeloGioacchino Del Regno nvmem-cells = <&gpu_speed_bin>; 10515cf69dcbSAngeloGioacchino Del Regno nvmem-cell-names = "speed_bin"; 10525cf69dcbSAngeloGioacchino Del Regno 10533cd1c4f4SDmitry Baryshkov interconnects = <&bimc MASTER_OXILI &bimc SLAVE_EBI>; 10545cf69dcbSAngeloGioacchino Del Regno interconnect-names = "gfx-mem"; 10555cf69dcbSAngeloGioacchino Del Regno 10565cf69dcbSAngeloGioacchino Del Regno operating-points-v2 = <&gpu_sdm630_opp_table>; 10575cf69dcbSAngeloGioacchino Del Regno 10581c047919SDmitry Baryshkov status = "disabled"; 10591c047919SDmitry Baryshkov 10605cf69dcbSAngeloGioacchino Del Regno gpu_sdm630_opp_table: opp-table { 10615cf69dcbSAngeloGioacchino Del Regno compatible = "operating-points-v2"; 10625cf69dcbSAngeloGioacchino Del Regno opp-775000000 { 10635cf69dcbSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <775000000>; 10645cf69dcbSAngeloGioacchino Del Regno opp-level = <RPM_SMD_LEVEL_TURBO>; 10655cf69dcbSAngeloGioacchino Del Regno opp-peak-kBps = <5412000>; 106654426328SKonrad Dybcio opp-supported-hw = <0xa2>; 10675cf69dcbSAngeloGioacchino Del Regno }; 10685cf69dcbSAngeloGioacchino Del Regno opp-647000000 { 10695cf69dcbSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <647000000>; 10705cf69dcbSAngeloGioacchino Del Regno opp-level = <RPM_SMD_LEVEL_NOM_PLUS>; 10715cf69dcbSAngeloGioacchino Del Regno opp-peak-kBps = <4068000>; 107254426328SKonrad Dybcio opp-supported-hw = <0xff>; 10735cf69dcbSAngeloGioacchino Del Regno }; 10745cf69dcbSAngeloGioacchino Del Regno opp-588000000 { 10755cf69dcbSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <588000000>; 10765cf69dcbSAngeloGioacchino Del Regno opp-level = <RPM_SMD_LEVEL_NOM>; 10775cf69dcbSAngeloGioacchino Del Regno opp-peak-kBps = <3072000>; 107854426328SKonrad Dybcio opp-supported-hw = <0xff>; 10795cf69dcbSAngeloGioacchino Del Regno }; 10805cf69dcbSAngeloGioacchino Del Regno opp-465000000 { 10815cf69dcbSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <465000000>; 10825cf69dcbSAngeloGioacchino Del Regno opp-level = <RPM_SMD_LEVEL_SVS_PLUS>; 10835cf69dcbSAngeloGioacchino Del Regno opp-peak-kBps = <2724000>; 108454426328SKonrad Dybcio opp-supported-hw = <0xff>; 10855cf69dcbSAngeloGioacchino Del Regno }; 10865cf69dcbSAngeloGioacchino Del Regno opp-370000000 { 10875cf69dcbSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <370000000>; 10885cf69dcbSAngeloGioacchino Del Regno opp-level = <RPM_SMD_LEVEL_SVS>; 10895cf69dcbSAngeloGioacchino Del Regno opp-peak-kBps = <2188000>; 109054426328SKonrad Dybcio opp-supported-hw = <0xff>; 10915cf69dcbSAngeloGioacchino Del Regno }; 10925cf69dcbSAngeloGioacchino Del Regno opp-240000000 { 10935cf69dcbSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <240000000>; 10945cf69dcbSAngeloGioacchino Del Regno opp-level = <RPM_SMD_LEVEL_LOW_SVS>; 10955cf69dcbSAngeloGioacchino Del Regno opp-peak-kBps = <1648000>; 109654426328SKonrad Dybcio opp-supported-hw = <0xff>; 10975cf69dcbSAngeloGioacchino Del Regno }; 10985cf69dcbSAngeloGioacchino Del Regno opp-160000000 { 10995cf69dcbSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <160000000>; 11005cf69dcbSAngeloGioacchino Del Regno opp-level = <RPM_SMD_LEVEL_MIN_SVS>; 11015cf69dcbSAngeloGioacchino Del Regno opp-peak-kBps = <1200000>; 110254426328SKonrad Dybcio opp-supported-hw = <0xff>; 11035cf69dcbSAngeloGioacchino Del Regno }; 11045cf69dcbSAngeloGioacchino Del Regno }; 11055cf69dcbSAngeloGioacchino Del Regno }; 11065cf69dcbSAngeloGioacchino Del Regno 1107b190fb01SKonrad Dybcio kgsl_smmu: iommu@5040000 { 1108056d4ff8SAngeloGioacchino Del Regno compatible = "qcom,sdm630-smmu-v2", 1109056d4ff8SAngeloGioacchino Del Regno "qcom,adreno-smmu", "qcom,smmu-v2"; 1110b190fb01SKonrad Dybcio reg = <0x05040000 0x10000>; 11116bb717feSAngeloGioacchino Del Regno 11126bb717feSAngeloGioacchino Del Regno /* 11136bb717feSAngeloGioacchino Del Regno * GX GDSC parent is CX. We need to bring up CX for SMMU 11146bb717feSAngeloGioacchino Del Regno * but we need both up for Adreno. On the other hand, we 11156bb717feSAngeloGioacchino Del Regno * need to manage the GX rpmpd domain in the adreno driver. 11166bb717feSAngeloGioacchino Del Regno * Enable CX/GX GDSCs here so that we can manage just the GX 11176bb717feSAngeloGioacchino Del Regno * RPM Power Domain in the Adreno driver. 11186bb717feSAngeloGioacchino Del Regno */ 11196bb717feSAngeloGioacchino Del Regno power-domains = <&gpucc GPU_GX_GDSC>; 11206bb717feSAngeloGioacchino Del Regno clocks = <&gcc GCC_GPU_CFG_AHB_CLK>, 11216bb717feSAngeloGioacchino Del Regno <&gcc GCC_BIMC_GFX_CLK>, 11226bb717feSAngeloGioacchino Del Regno <&gcc GCC_GPU_BIMC_GFX_CLK>; 11236bb717feSAngeloGioacchino Del Regno clock-names = "iface", "mem", "mem_iface"; 11246bb717feSAngeloGioacchino Del Regno #global-interrupts = <2>; 1125b190fb01SKonrad Dybcio #iommu-cells = <1>; 1126b190fb01SKonrad Dybcio 1127b190fb01SKonrad Dybcio interrupts = 1128b190fb01SKonrad Dybcio <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 1129b190fb01SKonrad Dybcio <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 1130b190fb01SKonrad Dybcio 1131b190fb01SKonrad Dybcio <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 1132b190fb01SKonrad Dybcio <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 1133b190fb01SKonrad Dybcio <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 1134b190fb01SKonrad Dybcio <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 1135b190fb01SKonrad Dybcio <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 1136b190fb01SKonrad Dybcio <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 1137b190fb01SKonrad Dybcio <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>, 1138b190fb01SKonrad Dybcio <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>; 1139326407d2SKonrad Dybcio 1140326407d2SKonrad Dybcio status = "disabled"; 1141b190fb01SKonrad Dybcio }; 1142b190fb01SKonrad Dybcio 1143a64fa0e2SAngeloGioacchino Del Regno gpucc: clock-controller@5065000 { 1144a64fa0e2SAngeloGioacchino Del Regno compatible = "qcom,gpucc-sdm630"; 1145a64fa0e2SAngeloGioacchino Del Regno #clock-cells = <1>; 1146a64fa0e2SAngeloGioacchino Del Regno #reset-cells = <1>; 1147a64fa0e2SAngeloGioacchino Del Regno #power-domain-cells = <1>; 1148a64fa0e2SAngeloGioacchino Del Regno reg = <0x05065000 0x9038>; 1149a64fa0e2SAngeloGioacchino Del Regno 1150a64fa0e2SAngeloGioacchino Del Regno clocks = <&xo_board>, 1151a64fa0e2SAngeloGioacchino Del Regno <&gcc GCC_GPU_GPLL0_CLK>, 1152a64fa0e2SAngeloGioacchino Del Regno <&gcc GCC_GPU_GPLL0_DIV_CLK>; 1153a64fa0e2SAngeloGioacchino Del Regno clock-names = "xo", 1154a64fa0e2SAngeloGioacchino Del Regno "gcc_gpu_gpll0_clk", 1155a64fa0e2SAngeloGioacchino Del Regno "gcc_gpu_gpll0_div_clk"; 1156a64fa0e2SAngeloGioacchino Del Regno status = "disabled"; 1157a64fa0e2SAngeloGioacchino Del Regno }; 1158a64fa0e2SAngeloGioacchino Del Regno 1159b190fb01SKonrad Dybcio lpass_smmu: iommu@5100000 { 1160b190fb01SKonrad Dybcio compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; 1161b190fb01SKonrad Dybcio reg = <0x05100000 0x40000>; 1162b190fb01SKonrad Dybcio #iommu-cells = <1>; 1163b190fb01SKonrad Dybcio 1164b190fb01SKonrad Dybcio #global-interrupts = <2>; 1165b190fb01SKonrad Dybcio interrupts = 1166b190fb01SKonrad Dybcio <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 1167b190fb01SKonrad Dybcio <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 1168b190fb01SKonrad Dybcio 1169b190fb01SKonrad Dybcio <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>, 1170b190fb01SKonrad Dybcio <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>, 1171b190fb01SKonrad Dybcio <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>, 1172b190fb01SKonrad Dybcio <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>, 1173b190fb01SKonrad Dybcio <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>, 1174b190fb01SKonrad Dybcio <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>, 1175b190fb01SKonrad Dybcio <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>, 1176b190fb01SKonrad Dybcio <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>, 1177b190fb01SKonrad Dybcio <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>, 1178b190fb01SKonrad Dybcio <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, 1179b190fb01SKonrad Dybcio <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, 1180b190fb01SKonrad Dybcio <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, 1181b190fb01SKonrad Dybcio <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, 1182b190fb01SKonrad Dybcio <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>, 1183b190fb01SKonrad Dybcio <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>, 1184b190fb01SKonrad Dybcio <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>, 1185b190fb01SKonrad Dybcio <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>; 1186326407d2SKonrad Dybcio 1187326407d2SKonrad Dybcio status = "disabled"; 1188b190fb01SKonrad Dybcio }; 1189b190fb01SKonrad Dybcio 1190290bc684SMaulik Shah sram@290000 { 1191290bc684SMaulik Shah compatible = "qcom,rpm-stats"; 1192290bc684SMaulik Shah reg = <0x00290000 0x10000>; 1193290bc684SMaulik Shah }; 1194290bc684SMaulik Shah 1195b190fb01SKonrad Dybcio spmi_bus: spmi@800f000 { 1196b190fb01SKonrad Dybcio compatible = "qcom,spmi-pmic-arb"; 1197b190fb01SKonrad Dybcio reg = <0x0800f000 0x1000>, 1198b190fb01SKonrad Dybcio <0x08400000 0x1000000>, 1199b190fb01SKonrad Dybcio <0x09400000 0x1000000>, 1200b190fb01SKonrad Dybcio <0x0a400000 0x220000>, 1201b190fb01SKonrad Dybcio <0x0800a000 0x3000>; 1202b190fb01SKonrad Dybcio reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 1203b190fb01SKonrad Dybcio interrupt-names = "periph_irq"; 1204b190fb01SKonrad Dybcio interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>; 1205b190fb01SKonrad Dybcio qcom,ee = <0>; 1206b190fb01SKonrad Dybcio qcom,channel = <0>; 1207b190fb01SKonrad Dybcio #address-cells = <2>; 1208b190fb01SKonrad Dybcio #size-cells = <0>; 1209b190fb01SKonrad Dybcio interrupt-controller; 1210b190fb01SKonrad Dybcio #interrupt-cells = <4>; 1211b190fb01SKonrad Dybcio }; 1212b190fb01SKonrad Dybcio 1213c65a4ed2SKonrad Dybcio usb3: usb@a8f8800 { 1214c65a4ed2SKonrad Dybcio compatible = "qcom,sdm660-dwc3", "qcom,dwc3"; 1215c65a4ed2SKonrad Dybcio reg = <0x0a8f8800 0x400>; 1216c65a4ed2SKonrad Dybcio status = "disabled"; 1217c65a4ed2SKonrad Dybcio #address-cells = <1>; 1218c65a4ed2SKonrad Dybcio #size-cells = <1>; 1219c65a4ed2SKonrad Dybcio ranges; 1220c65a4ed2SKonrad Dybcio 1221c65a4ed2SKonrad Dybcio clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>, 1222c65a4ed2SKonrad Dybcio <&gcc GCC_USB30_MASTER_CLK>, 1223c65a4ed2SKonrad Dybcio <&gcc GCC_AGGRE2_USB3_AXI_CLK>, 12248d5fd4e4SKrzysztof Kozlowski <&gcc GCC_USB30_SLEEP_CLK>, 1225c65a4ed2SKonrad Dybcio <&gcc GCC_USB30_MOCK_UTMI_CLK>, 12268d5fd4e4SKrzysztof Kozlowski <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; 12278d5fd4e4SKrzysztof Kozlowski clock-names = "cfg_noc", 12288d5fd4e4SKrzysztof Kozlowski "core", 12298d5fd4e4SKrzysztof Kozlowski "iface", 12308d5fd4e4SKrzysztof Kozlowski "sleep", 12318d5fd4e4SKrzysztof Kozlowski "mock_utmi", 12328d5fd4e4SKrzysztof Kozlowski "bus"; 1233c65a4ed2SKonrad Dybcio 1234c65a4ed2SKonrad Dybcio assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>, 1235c65a4ed2SKonrad Dybcio <&gcc GCC_USB30_MASTER_CLK>, 1236c65a4ed2SKonrad Dybcio <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; 1237c65a4ed2SKonrad Dybcio assigned-clock-rates = <19200000>, <120000000>, 1238c65a4ed2SKonrad Dybcio <19200000>; 1239c65a4ed2SKonrad Dybcio 1240c65a4ed2SKonrad Dybcio interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>, 1241c65a4ed2SKonrad Dybcio <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>; 1242c65a4ed2SKonrad Dybcio interrupt-names = "hs_phy_irq", "ss_phy_irq"; 1243c65a4ed2SKonrad Dybcio 1244c65a4ed2SKonrad Dybcio power-domains = <&gcc USB_30_GDSC>; 1245c65a4ed2SKonrad Dybcio qcom,select-utmi-as-pipe-clk; 1246c65a4ed2SKonrad Dybcio 1247c65a4ed2SKonrad Dybcio resets = <&gcc GCC_USB_30_BCR>; 1248c65a4ed2SKonrad Dybcio 1249c65a4ed2SKonrad Dybcio usb3_dwc3: usb@a800000 { 1250c65a4ed2SKonrad Dybcio compatible = "snps,dwc3"; 1251c65a4ed2SKonrad Dybcio reg = <0x0a800000 0xc8d0>; 1252c65a4ed2SKonrad Dybcio interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; 1253c65a4ed2SKonrad Dybcio snps,dis_u2_susphy_quirk; 1254c65a4ed2SKonrad Dybcio snps,dis_enblslpm_quirk; 1255c65a4ed2SKonrad Dybcio 1256c65a4ed2SKonrad Dybcio /* 1257c65a4ed2SKonrad Dybcio * SDM630 technically supports USB3 but I 1258c65a4ed2SKonrad Dybcio * haven't seen any devices making use of it. 1259c65a4ed2SKonrad Dybcio */ 1260c65a4ed2SKonrad Dybcio maximum-speed = "high-speed"; 1261696dea7eSDmitry Baryshkov phys = <&qusb2phy0>; 1262c65a4ed2SKonrad Dybcio phy-names = "usb2-phy"; 1263c65a4ed2SKonrad Dybcio snps,hird-threshold = /bits/ 8 <0>; 1264c65a4ed2SKonrad Dybcio }; 1265c65a4ed2SKonrad Dybcio }; 1266c65a4ed2SKonrad Dybcio 1267696dea7eSDmitry Baryshkov qusb2phy0: phy@c012000 { 1268c65a4ed2SKonrad Dybcio compatible = "qcom,sdm660-qusb2-phy"; 1269c65a4ed2SKonrad Dybcio reg = <0x0c012000 0x180>; 1270c65a4ed2SKonrad Dybcio #phy-cells = <0>; 1271c65a4ed2SKonrad Dybcio 1272c65a4ed2SKonrad Dybcio clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 1273924bbd8dSDmitry Baryshkov <&gcc GCC_RX0_USB2_CLKREF_CLK>; 1274c65a4ed2SKonrad Dybcio clock-names = "cfg_ahb", "ref"; 1275c65a4ed2SKonrad Dybcio 1276c65a4ed2SKonrad Dybcio resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 1277c65a4ed2SKonrad Dybcio nvmem-cells = <&qusb2_hstx_trim>; 1278c65a4ed2SKonrad Dybcio status = "disabled"; 1279c65a4ed2SKonrad Dybcio }; 1280c65a4ed2SKonrad Dybcio 12818b6da22eSDmitry Baryshkov qusb2phy1: phy@c014000 { 12828b6da22eSDmitry Baryshkov compatible = "qcom,sdm660-qusb2-phy"; 12838b6da22eSDmitry Baryshkov reg = <0x0c014000 0x180>; 12848b6da22eSDmitry Baryshkov #phy-cells = <0>; 12858b6da22eSDmitry Baryshkov 12868b6da22eSDmitry Baryshkov clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 12878b6da22eSDmitry Baryshkov <&gcc GCC_RX1_USB2_CLKREF_CLK>; 12888b6da22eSDmitry Baryshkov clock-names = "cfg_ahb", "ref"; 12898b6da22eSDmitry Baryshkov 12908b6da22eSDmitry Baryshkov resets = <&gcc GCC_QUSB2PHY_SEC_BCR>; 12918b6da22eSDmitry Baryshkov nvmem-cells = <&qusb2_hstx_trim>; 12928b6da22eSDmitry Baryshkov status = "disabled"; 12938b6da22eSDmitry Baryshkov }; 12948b6da22eSDmitry Baryshkov 129596bb736fSBhupesh Sharma sdhc_2: mmc@c084000 { 12960b700aa1SAngeloGioacchino Del Regno compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5"; 12970b700aa1SAngeloGioacchino Del Regno reg = <0x0c084000 0x1000>; 129821857088SDouglas Anderson reg-names = "hc"; 12990b700aa1SAngeloGioacchino Del Regno 13000b700aa1SAngeloGioacchino Del Regno interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 13010b700aa1SAngeloGioacchino Del Regno <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; 13020b700aa1SAngeloGioacchino Del Regno interrupt-names = "hc_irq", "pwr_irq"; 13030b700aa1SAngeloGioacchino Del Regno 13040b700aa1SAngeloGioacchino Del Regno bus-width = <4>; 13054ff12270SBhupesh Sharma 13064ff12270SBhupesh Sharma clocks = <&gcc GCC_SDCC2_AHB_CLK>, 13074ff12270SBhupesh Sharma <&gcc GCC_SDCC2_APPS_CLK>, 13080b700aa1SAngeloGioacchino Del Regno <&xo_board>; 13094ff12270SBhupesh Sharma clock-names = "iface", "core", "xo"; 13104ff12270SBhupesh Sharma 13110b700aa1SAngeloGioacchino Del Regno 13120b700aa1SAngeloGioacchino Del Regno interconnects = <&a2noc 3 &a2noc 10>, 13130b700aa1SAngeloGioacchino Del Regno <&gnoc 0 &cnoc 28>; 131440940823SBhupesh Sharma interconnect-names = "sdhc-ddr","cpu-sdhc"; 13150b700aa1SAngeloGioacchino Del Regno operating-points-v2 = <&sdhc2_opp_table>; 13160b700aa1SAngeloGioacchino Del Regno 13170b700aa1SAngeloGioacchino Del Regno pinctrl-names = "default", "sleep"; 13180b700aa1SAngeloGioacchino Del Regno pinctrl-0 = <&sdc2_state_on>; 13190b700aa1SAngeloGioacchino Del Regno pinctrl-1 = <&sdc2_state_off>; 13200b700aa1SAngeloGioacchino Del Regno power-domains = <&rpmpd SDM660_VDDCX>; 13210b700aa1SAngeloGioacchino Del Regno 13220b700aa1SAngeloGioacchino Del Regno status = "disabled"; 13230b700aa1SAngeloGioacchino Del Regno 13240b700aa1SAngeloGioacchino Del Regno sdhc2_opp_table: opp-table { 13250b700aa1SAngeloGioacchino Del Regno compatible = "operating-points-v2"; 13260b700aa1SAngeloGioacchino Del Regno 13270b700aa1SAngeloGioacchino Del Regno opp-50000000 { 13280b700aa1SAngeloGioacchino Del Regno opp-hz = /bits/ 64 <50000000>; 13290b700aa1SAngeloGioacchino Del Regno required-opps = <&rpmpd_opp_low_svs>; 13300b700aa1SAngeloGioacchino Del Regno opp-peak-kBps = <200000 140000>; 13310b700aa1SAngeloGioacchino Del Regno opp-avg-kBps = <130718 133320>; 13320b700aa1SAngeloGioacchino Del Regno }; 13330b700aa1SAngeloGioacchino Del Regno opp-100000000 { 13340b700aa1SAngeloGioacchino Del Regno opp-hz = /bits/ 64 <100000000>; 13350b700aa1SAngeloGioacchino Del Regno required-opps = <&rpmpd_opp_svs>; 13360b700aa1SAngeloGioacchino Del Regno opp-peak-kBps = <250000 160000>; 13370b700aa1SAngeloGioacchino Del Regno opp-avg-kBps = <196078 150000>; 13380b700aa1SAngeloGioacchino Del Regno }; 13390b700aa1SAngeloGioacchino Del Regno opp-200000000 { 13400b700aa1SAngeloGioacchino Del Regno opp-hz = /bits/ 64 <200000000>; 13410b700aa1SAngeloGioacchino Del Regno required-opps = <&rpmpd_opp_nom>; 13420b700aa1SAngeloGioacchino Del Regno opp-peak-kBps = <4096000 4096000>; 13430b700aa1SAngeloGioacchino Del Regno opp-avg-kBps = <1338562 1338562>; 13440b700aa1SAngeloGioacchino Del Regno }; 13450b700aa1SAngeloGioacchino Del Regno }; 13460b700aa1SAngeloGioacchino Del Regno }; 13470b700aa1SAngeloGioacchino Del Regno 134896bb736fSBhupesh Sharma sdhc_1: mmc@c0c4000 { 1349b190fb01SKonrad Dybcio compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5"; 1350b190fb01SKonrad Dybcio reg = <0x0c0c4000 0x1000>, 1351e49c2912SEric Biggers <0x0c0c5000 0x1000>, 1352e49c2912SEric Biggers <0x0c0c8000 0x8000>; 135321857088SDouglas Anderson reg-names = "hc", "cqhci", "ice"; 1354b190fb01SKonrad Dybcio 1355b190fb01SKonrad Dybcio interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 1356b190fb01SKonrad Dybcio <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 1357b190fb01SKonrad Dybcio interrupt-names = "hc_irq", "pwr_irq"; 1358b190fb01SKonrad Dybcio 13594ff12270SBhupesh Sharma clocks = <&gcc GCC_SDCC1_AHB_CLK>, 13604ff12270SBhupesh Sharma <&gcc GCC_SDCC1_APPS_CLK>, 1361e49c2912SEric Biggers <&xo_board>, 1362e49c2912SEric Biggers <&gcc GCC_SDCC1_ICE_CORE_CLK>; 13634ff12270SBhupesh Sharma clock-names = "iface", "core", "xo", "ice"; 1364b190fb01SKonrad Dybcio 1365738777abSAngeloGioacchino Del Regno interconnects = <&a2noc 2 &a2noc 10>, 1366738777abSAngeloGioacchino Del Regno <&gnoc 0 &cnoc 27>; 136740940823SBhupesh Sharma interconnect-names = "sdhc-ddr", "cpu-sdhc"; 1368738777abSAngeloGioacchino Del Regno operating-points-v2 = <&sdhc1_opp_table>; 1369b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 137036a0d47aSAngeloGioacchino Del Regno pinctrl-0 = <&sdc1_state_on>; 137136a0d47aSAngeloGioacchino Del Regno pinctrl-1 = <&sdc1_state_off>; 1372738777abSAngeloGioacchino Del Regno power-domains = <&rpmpd SDM660_VDDCX>; 1373b190fb01SKonrad Dybcio 1374b190fb01SKonrad Dybcio bus-width = <8>; 1375b190fb01SKonrad Dybcio non-removable; 1376b190fb01SKonrad Dybcio 1377b190fb01SKonrad Dybcio status = "disabled"; 1378738777abSAngeloGioacchino Del Regno 1379738777abSAngeloGioacchino Del Regno sdhc1_opp_table: opp-table { 1380738777abSAngeloGioacchino Del Regno compatible = "operating-points-v2"; 1381738777abSAngeloGioacchino Del Regno 1382738777abSAngeloGioacchino Del Regno opp-50000000 { 1383738777abSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <50000000>; 1384738777abSAngeloGioacchino Del Regno required-opps = <&rpmpd_opp_low_svs>; 1385738777abSAngeloGioacchino Del Regno opp-peak-kBps = <200000 140000>; 1386738777abSAngeloGioacchino Del Regno opp-avg-kBps = <130718 133320>; 1387738777abSAngeloGioacchino Del Regno }; 1388738777abSAngeloGioacchino Del Regno opp-100000000 { 1389738777abSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <100000000>; 1390738777abSAngeloGioacchino Del Regno required-opps = <&rpmpd_opp_svs>; 1391738777abSAngeloGioacchino Del Regno opp-peak-kBps = <250000 160000>; 1392738777abSAngeloGioacchino Del Regno opp-avg-kBps = <196078 150000>; 1393738777abSAngeloGioacchino Del Regno }; 1394738777abSAngeloGioacchino Del Regno opp-384000000 { 1395738777abSAngeloGioacchino Del Regno opp-hz = /bits/ 64 <384000000>; 1396738777abSAngeloGioacchino Del Regno required-opps = <&rpmpd_opp_nom>; 1397738777abSAngeloGioacchino Del Regno opp-peak-kBps = <4096000 4096000>; 1398738777abSAngeloGioacchino Del Regno opp-avg-kBps = <1338562 1338562>; 1399738777abSAngeloGioacchino Del Regno }; 1400738777abSAngeloGioacchino Del Regno }; 1401b190fb01SKonrad Dybcio }; 1402b190fb01SKonrad Dybcio 14038b6da22eSDmitry Baryshkov usb2: usb@c2f8800 { 14048b6da22eSDmitry Baryshkov compatible = "qcom,sdm660-dwc3", "qcom,dwc3"; 14058b6da22eSDmitry Baryshkov reg = <0x0c2f8800 0x400>; 14068b6da22eSDmitry Baryshkov status = "disabled"; 14078b6da22eSDmitry Baryshkov #address-cells = <1>; 14088b6da22eSDmitry Baryshkov #size-cells = <1>; 14098b6da22eSDmitry Baryshkov ranges; 14108b6da22eSDmitry Baryshkov 14118b6da22eSDmitry Baryshkov clocks = <&gcc GCC_CFG_NOC_USB2_AXI_CLK>, 14128b6da22eSDmitry Baryshkov <&gcc GCC_USB20_MASTER_CLK>, 14138b6da22eSDmitry Baryshkov <&gcc GCC_USB20_MOCK_UTMI_CLK>, 14148b6da22eSDmitry Baryshkov <&gcc GCC_USB20_SLEEP_CLK>; 14158b6da22eSDmitry Baryshkov clock-names = "cfg_noc", "core", 14168b6da22eSDmitry Baryshkov "mock_utmi", "sleep"; 14178b6da22eSDmitry Baryshkov 14188b6da22eSDmitry Baryshkov assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>, 14198b6da22eSDmitry Baryshkov <&gcc GCC_USB20_MASTER_CLK>; 14208b6da22eSDmitry Baryshkov assigned-clock-rates = <19200000>, <60000000>; 14218b6da22eSDmitry Baryshkov 14228b6da22eSDmitry Baryshkov interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>; 14238b6da22eSDmitry Baryshkov interrupt-names = "hs_phy_irq"; 14248b6da22eSDmitry Baryshkov 14258b6da22eSDmitry Baryshkov qcom,select-utmi-as-pipe-clk; 14268b6da22eSDmitry Baryshkov 14278b6da22eSDmitry Baryshkov resets = <&gcc GCC_USB_20_BCR>; 14288b6da22eSDmitry Baryshkov 14298b6da22eSDmitry Baryshkov usb2_dwc3: usb@c200000 { 14308b6da22eSDmitry Baryshkov compatible = "snps,dwc3"; 14318b6da22eSDmitry Baryshkov reg = <0x0c200000 0xc8d0>; 14328b6da22eSDmitry Baryshkov interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; 14338b6da22eSDmitry Baryshkov snps,dis_u2_susphy_quirk; 14348b6da22eSDmitry Baryshkov snps,dis_enblslpm_quirk; 14358b6da22eSDmitry Baryshkov 14368b6da22eSDmitry Baryshkov /* This is the HS-only host */ 14378b6da22eSDmitry Baryshkov maximum-speed = "high-speed"; 14388b6da22eSDmitry Baryshkov phys = <&qusb2phy1>; 14398b6da22eSDmitry Baryshkov phy-names = "usb2-phy"; 14408b6da22eSDmitry Baryshkov snps,hird-threshold = /bits/ 8 <0>; 14418b6da22eSDmitry Baryshkov }; 14428b6da22eSDmitry Baryshkov }; 14438b6da22eSDmitry Baryshkov 144401b182d9SKonrad Dybcio mmcc: clock-controller@c8c0000 { 144501b182d9SKonrad Dybcio compatible = "qcom,mmcc-sdm630"; 144601b182d9SKonrad Dybcio reg = <0x0c8c0000 0x40000>; 144701b182d9SKonrad Dybcio #clock-cells = <1>; 144801b182d9SKonrad Dybcio #reset-cells = <1>; 144901b182d9SKonrad Dybcio #power-domain-cells = <1>; 145001b182d9SKonrad Dybcio clock-names = "xo", 145101b182d9SKonrad Dybcio "sleep_clk", 145201b182d9SKonrad Dybcio "gpll0", 145301b182d9SKonrad Dybcio "gpll0_div", 145401b182d9SKonrad Dybcio "dsi0pll", 145501b182d9SKonrad Dybcio "dsi0pllbyte", 145601b182d9SKonrad Dybcio "dsi1pll", 145701b182d9SKonrad Dybcio "dsi1pllbyte", 145801b182d9SKonrad Dybcio "dp_link_2x_clk_divsel_five", 145901b182d9SKonrad Dybcio "dp_vco_divided_clk_src_mux"; 146001b182d9SKonrad Dybcio clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, 146101b182d9SKonrad Dybcio <&sleep_clk>, 146201b182d9SKonrad Dybcio <&gcc GCC_MMSS_GPLL0_CLK>, 146301b182d9SKonrad Dybcio <&gcc GCC_MMSS_GPLL0_DIV_CLK>, 1464b52555d5SKonrad Dybcio <&dsi0_phy 1>, 1465b52555d5SKonrad Dybcio <&dsi0_phy 0>, 146601b182d9SKonrad Dybcio <0>, 146701b182d9SKonrad Dybcio <0>, 146801b182d9SKonrad Dybcio <0>, 146901b182d9SKonrad Dybcio <0>; 147001b182d9SKonrad Dybcio }; 147101b182d9SKonrad Dybcio 1472ecf0f5ffSDmitry Baryshkov mdss: display-subsystem@c900000 { 1473b52555d5SKonrad Dybcio compatible = "qcom,mdss"; 1474b52555d5SKonrad Dybcio reg = <0x0c900000 0x1000>, 1475b52555d5SKonrad Dybcio <0x0c9b0000 0x1040>; 1476b52555d5SKonrad Dybcio reg-names = "mdss_phys", "vbif_phys"; 1477b52555d5SKonrad Dybcio 1478b52555d5SKonrad Dybcio power-domains = <&mmcc MDSS_GDSC>; 1479b52555d5SKonrad Dybcio 1480b52555d5SKonrad Dybcio clocks = <&mmcc MDSS_AHB_CLK>, 1481b52555d5SKonrad Dybcio <&mmcc MDSS_AXI_CLK>, 1482b52555d5SKonrad Dybcio <&mmcc MDSS_VSYNC_CLK>, 1483b52555d5SKonrad Dybcio <&mmcc MDSS_MDP_CLK>; 1484b52555d5SKonrad Dybcio clock-names = "iface", 1485b52555d5SKonrad Dybcio "bus", 1486b52555d5SKonrad Dybcio "vsync", 1487b52555d5SKonrad Dybcio "core"; 1488b52555d5SKonrad Dybcio 1489b52555d5SKonrad Dybcio interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; 1490b52555d5SKonrad Dybcio 1491b52555d5SKonrad Dybcio interrupt-controller; 1492b52555d5SKonrad Dybcio #interrupt-cells = <1>; 1493b52555d5SKonrad Dybcio 1494b52555d5SKonrad Dybcio #address-cells = <1>; 1495b52555d5SKonrad Dybcio #size-cells = <1>; 1496b52555d5SKonrad Dybcio ranges; 1497b52555d5SKonrad Dybcio status = "disabled"; 1498b52555d5SKonrad Dybcio 14990aab1b9bSDmitry Baryshkov mdp: display-controller@c901000 { 1500d46fbd45SDmitry Baryshkov compatible = "qcom,sdm630-mdp5", "qcom,mdp5"; 1501b52555d5SKonrad Dybcio reg = <0x0c901000 0x89000>; 1502b52555d5SKonrad Dybcio reg-names = "mdp_phys"; 1503b52555d5SKonrad Dybcio 1504b52555d5SKonrad Dybcio interrupt-parent = <&mdss>; 15052a11b3bfSDmitry Baryshkov interrupts = <0>; 1506b52555d5SKonrad Dybcio 1507b52555d5SKonrad Dybcio assigned-clocks = <&mmcc MDSS_MDP_CLK>, 1508b52555d5SKonrad Dybcio <&mmcc MDSS_VSYNC_CLK>; 1509b52555d5SKonrad Dybcio assigned-clock-rates = <300000000>, 1510b52555d5SKonrad Dybcio <19200000>; 1511b52555d5SKonrad Dybcio clocks = <&mmcc MDSS_AHB_CLK>, 1512b52555d5SKonrad Dybcio <&mmcc MDSS_AXI_CLK>, 1513b52555d5SKonrad Dybcio <&mmcc MDSS_MDP_CLK>, 1514b52555d5SKonrad Dybcio <&mmcc MDSS_VSYNC_CLK>; 1515b52555d5SKonrad Dybcio clock-names = "iface", 1516b52555d5SKonrad Dybcio "bus", 1517b52555d5SKonrad Dybcio "core", 1518b52555d5SKonrad Dybcio "vsync"; 1519b52555d5SKonrad Dybcio 1520b52555d5SKonrad Dybcio interconnects = <&mnoc 2 &bimc 5>, 1521b52555d5SKonrad Dybcio <&mnoc 3 &bimc 5>, 1522b52555d5SKonrad Dybcio <&gnoc 0 &mnoc 17>; 1523b52555d5SKonrad Dybcio interconnect-names = "mdp0-mem", 1524b52555d5SKonrad Dybcio "mdp1-mem", 1525b52555d5SKonrad Dybcio "rotator-mem"; 1526b52555d5SKonrad Dybcio iommus = <&mmss_smmu 0>; 1527b52555d5SKonrad Dybcio operating-points-v2 = <&mdp_opp_table>; 1528b52555d5SKonrad Dybcio power-domains = <&rpmpd SDM660_VDDCX>; 1529b52555d5SKonrad Dybcio 1530b52555d5SKonrad Dybcio ports { 1531b52555d5SKonrad Dybcio #address-cells = <1>; 1532b52555d5SKonrad Dybcio #size-cells = <0>; 1533b52555d5SKonrad Dybcio 1534b52555d5SKonrad Dybcio port@0 { 1535b52555d5SKonrad Dybcio reg = <0>; 1536b52555d5SKonrad Dybcio mdp5_intf1_out: endpoint { 1537b52555d5SKonrad Dybcio remote-endpoint = <&dsi0_in>; 1538b52555d5SKonrad Dybcio }; 1539b52555d5SKonrad Dybcio }; 1540b52555d5SKonrad Dybcio }; 1541b52555d5SKonrad Dybcio 15420e3e6546SKrzysztof Kozlowski mdp_opp_table: opp-table { 1543b52555d5SKonrad Dybcio compatible = "operating-points-v2"; 1544b52555d5SKonrad Dybcio 1545b52555d5SKonrad Dybcio opp-150000000 { 1546b52555d5SKonrad Dybcio opp-hz = /bits/ 64 <150000000>; 1547b52555d5SKonrad Dybcio opp-peak-kBps = <320000 320000 76800>; 1548b52555d5SKonrad Dybcio required-opps = <&rpmpd_opp_low_svs>; 1549b52555d5SKonrad Dybcio }; 1550b52555d5SKonrad Dybcio opp-275000000 { 1551b52555d5SKonrad Dybcio opp-hz = /bits/ 64 <275000000>; 1552b52555d5SKonrad Dybcio opp-peak-kBps = <6400000 6400000 160000>; 1553b52555d5SKonrad Dybcio required-opps = <&rpmpd_opp_svs>; 1554b52555d5SKonrad Dybcio }; 1555b52555d5SKonrad Dybcio opp-300000000 { 1556b52555d5SKonrad Dybcio opp-hz = /bits/ 64 <300000000>; 1557b52555d5SKonrad Dybcio opp-peak-kBps = <6400000 6400000 190000>; 1558b52555d5SKonrad Dybcio required-opps = <&rpmpd_opp_svs_plus>; 1559b52555d5SKonrad Dybcio }; 1560b52555d5SKonrad Dybcio opp-330000000 { 1561b52555d5SKonrad Dybcio opp-hz = /bits/ 64 <330000000>; 1562b52555d5SKonrad Dybcio opp-peak-kBps = <6400000 6400000 240000>; 1563b52555d5SKonrad Dybcio required-opps = <&rpmpd_opp_nom>; 1564b52555d5SKonrad Dybcio }; 1565b52555d5SKonrad Dybcio opp-412500000 { 1566b52555d5SKonrad Dybcio opp-hz = /bits/ 64 <412500000>; 1567b52555d5SKonrad Dybcio opp-peak-kBps = <6400000 6400000 320000>; 1568b52555d5SKonrad Dybcio required-opps = <&rpmpd_opp_turbo>; 1569b52555d5SKonrad Dybcio }; 1570b52555d5SKonrad Dybcio }; 1571b52555d5SKonrad Dybcio }; 1572b52555d5SKonrad Dybcio 1573b52555d5SKonrad Dybcio dsi0: dsi@c994000 { 1574197d28d4SBryan O'Donoghue compatible = "qcom,sdm660-dsi-ctrl", 1575197d28d4SBryan O'Donoghue "qcom,mdss-dsi-ctrl"; 1576b52555d5SKonrad Dybcio reg = <0x0c994000 0x400>; 1577b52555d5SKonrad Dybcio reg-names = "dsi_ctrl"; 1578b52555d5SKonrad Dybcio 1579b52555d5SKonrad Dybcio operating-points-v2 = <&dsi_opp_table>; 1580b52555d5SKonrad Dybcio power-domains = <&rpmpd SDM660_VDDCX>; 1581b52555d5SKonrad Dybcio 1582b52555d5SKonrad Dybcio interrupt-parent = <&mdss>; 15832a11b3bfSDmitry Baryshkov interrupts = <4>; 1584b52555d5SKonrad Dybcio 1585b52555d5SKonrad Dybcio assigned-clocks = <&mmcc BYTE0_CLK_SRC>, 1586b52555d5SKonrad Dybcio <&mmcc PCLK0_CLK_SRC>; 1587b52555d5SKonrad Dybcio assigned-clock-parents = <&dsi0_phy 0>, 1588b52555d5SKonrad Dybcio <&dsi0_phy 1>; 1589b52555d5SKonrad Dybcio 1590b52555d5SKonrad Dybcio clocks = <&mmcc MDSS_MDP_CLK>, 1591b52555d5SKonrad Dybcio <&mmcc MDSS_BYTE0_CLK>, 1592b52555d5SKonrad Dybcio <&mmcc MDSS_BYTE0_INTF_CLK>, 1593b52555d5SKonrad Dybcio <&mmcc MNOC_AHB_CLK>, 1594b52555d5SKonrad Dybcio <&mmcc MDSS_AHB_CLK>, 1595b52555d5SKonrad Dybcio <&mmcc MDSS_AXI_CLK>, 1596b52555d5SKonrad Dybcio <&mmcc MISC_AHB_CLK>, 1597b52555d5SKonrad Dybcio <&mmcc MDSS_PCLK0_CLK>, 1598b52555d5SKonrad Dybcio <&mmcc MDSS_ESC0_CLK>; 1599b52555d5SKonrad Dybcio clock-names = "mdp_core", 1600b52555d5SKonrad Dybcio "byte", 1601b52555d5SKonrad Dybcio "byte_intf", 1602b52555d5SKonrad Dybcio "mnoc", 1603b52555d5SKonrad Dybcio "iface", 1604b52555d5SKonrad Dybcio "bus", 1605b52555d5SKonrad Dybcio "core_mmss", 1606b52555d5SKonrad Dybcio "pixel", 1607b52555d5SKonrad Dybcio "core"; 1608b52555d5SKonrad Dybcio 1609b52555d5SKonrad Dybcio phys = <&dsi0_phy>; 1610b52555d5SKonrad Dybcio 161179d8e016SDmitry Baryshkov status = "disabled"; 161279d8e016SDmitry Baryshkov 1613b52555d5SKonrad Dybcio ports { 1614b52555d5SKonrad Dybcio #address-cells = <1>; 1615b52555d5SKonrad Dybcio #size-cells = <0>; 1616b52555d5SKonrad Dybcio 1617b52555d5SKonrad Dybcio port@0 { 1618b52555d5SKonrad Dybcio reg = <0>; 1619b52555d5SKonrad Dybcio dsi0_in: endpoint { 1620b52555d5SKonrad Dybcio remote-endpoint = <&mdp5_intf1_out>; 1621b52555d5SKonrad Dybcio }; 1622b52555d5SKonrad Dybcio }; 1623b52555d5SKonrad Dybcio 1624b52555d5SKonrad Dybcio port@1 { 1625b52555d5SKonrad Dybcio reg = <1>; 1626b52555d5SKonrad Dybcio dsi0_out: endpoint { 1627b52555d5SKonrad Dybcio }; 1628b52555d5SKonrad Dybcio }; 1629b52555d5SKonrad Dybcio }; 1630b52555d5SKonrad Dybcio }; 1631b52555d5SKonrad Dybcio 1632e922200bSDmitry Baryshkov dsi0_phy: phy@c994400 { 1633b52555d5SKonrad Dybcio compatible = "qcom,dsi-phy-14nm-660"; 1634b52555d5SKonrad Dybcio reg = <0x0c994400 0x100>, 1635b52555d5SKonrad Dybcio <0x0c994500 0x300>, 1636b52555d5SKonrad Dybcio <0x0c994800 0x188>; 1637b52555d5SKonrad Dybcio reg-names = "dsi_phy", 1638b52555d5SKonrad Dybcio "dsi_phy_lane", 1639b52555d5SKonrad Dybcio "dsi_pll"; 1640b52555d5SKonrad Dybcio 1641b52555d5SKonrad Dybcio #clock-cells = <1>; 1642b52555d5SKonrad Dybcio #phy-cells = <0>; 1643b52555d5SKonrad Dybcio 1644b52555d5SKonrad Dybcio clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>; 1645b52555d5SKonrad Dybcio clock-names = "iface", "ref"; 164679d8e016SDmitry Baryshkov status = "disabled"; 1647b52555d5SKonrad Dybcio }; 1648b52555d5SKonrad Dybcio }; 1649b52555d5SKonrad Dybcio 1650b831fba3SVinod Koul blsp1_dma: dma-controller@c144000 { 1651b190fb01SKonrad Dybcio compatible = "qcom,bam-v1.7.0"; 1652b190fb01SKonrad Dybcio reg = <0x0c144000 0x1f000>; 1653b190fb01SKonrad Dybcio interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 1654b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP1_AHB_CLK>; 1655b190fb01SKonrad Dybcio clock-names = "bam_clk"; 1656b190fb01SKonrad Dybcio #dma-cells = <1>; 1657b190fb01SKonrad Dybcio qcom,ee = <0>; 1658b190fb01SKonrad Dybcio qcom,controlled-remotely; 1659b190fb01SKonrad Dybcio num-channels = <18>; 1660b190fb01SKonrad Dybcio qcom,num-ees = <4>; 1661b190fb01SKonrad Dybcio }; 1662b190fb01SKonrad Dybcio 1663b190fb01SKonrad Dybcio blsp1_uart1: serial@c16f000 { 1664b190fb01SKonrad Dybcio compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 1665b190fb01SKonrad Dybcio reg = <0x0c16f000 0x200>; 1666b190fb01SKonrad Dybcio interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 1667b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, 1668b190fb01SKonrad Dybcio <&gcc GCC_BLSP1_AHB_CLK>; 1669b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1670b190fb01SKonrad Dybcio dmas = <&blsp1_dma 0>, <&blsp1_dma 1>; 1671b190fb01SKonrad Dybcio dma-names = "tx", "rx"; 1672b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1673b190fb01SKonrad Dybcio pinctrl-0 = <&blsp1_uart1_default>; 1674b190fb01SKonrad Dybcio pinctrl-1 = <&blsp1_uart1_sleep>; 1675b190fb01SKonrad Dybcio status = "disabled"; 1676b190fb01SKonrad Dybcio }; 1677b190fb01SKonrad Dybcio 1678b190fb01SKonrad Dybcio blsp1_uart2: serial@c170000 { 1679b190fb01SKonrad Dybcio compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 1680b190fb01SKonrad Dybcio reg = <0x0c170000 0x1000>; 1681b190fb01SKonrad Dybcio interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 1682b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, 1683b190fb01SKonrad Dybcio <&gcc GCC_BLSP1_AHB_CLK>; 1684b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1685b190fb01SKonrad Dybcio dmas = <&blsp1_dma 2>, <&blsp1_dma 3>; 1686b190fb01SKonrad Dybcio dma-names = "tx", "rx"; 1687b190fb01SKonrad Dybcio pinctrl-names = "default"; 1688b190fb01SKonrad Dybcio pinctrl-0 = <&blsp1_uart2_default>; 1689b190fb01SKonrad Dybcio status = "disabled"; 1690b190fb01SKonrad Dybcio }; 1691b190fb01SKonrad Dybcio 1692b190fb01SKonrad Dybcio blsp_i2c1: i2c@c175000 { 1693b190fb01SKonrad Dybcio compatible = "qcom,i2c-qup-v2.2.1"; 1694b190fb01SKonrad Dybcio reg = <0x0c175000 0x600>; 1695b190fb01SKonrad Dybcio interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 1696b190fb01SKonrad Dybcio 1697b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, 1698b190fb01SKonrad Dybcio <&gcc GCC_BLSP1_AHB_CLK>; 1699b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1700b190fb01SKonrad Dybcio clock-frequency = <400000>; 1701712e245fSKonrad Dybcio dmas = <&blsp1_dma 4>, <&blsp1_dma 5>; 1702712e245fSKonrad Dybcio dma-names = "tx", "rx"; 1703b190fb01SKonrad Dybcio 1704b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1705b190fb01SKonrad Dybcio pinctrl-0 = <&i2c1_default>; 1706b190fb01SKonrad Dybcio pinctrl-1 = <&i2c1_sleep>; 1707b190fb01SKonrad Dybcio #address-cells = <1>; 1708b190fb01SKonrad Dybcio #size-cells = <0>; 1709b190fb01SKonrad Dybcio status = "disabled"; 1710b190fb01SKonrad Dybcio }; 1711b190fb01SKonrad Dybcio 1712b190fb01SKonrad Dybcio blsp_i2c2: i2c@c176000 { 1713b190fb01SKonrad Dybcio compatible = "qcom,i2c-qup-v2.2.1"; 1714b190fb01SKonrad Dybcio reg = <0x0c176000 0x600>; 1715b190fb01SKonrad Dybcio interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 1716b190fb01SKonrad Dybcio 1717b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, 1718b190fb01SKonrad Dybcio <&gcc GCC_BLSP1_AHB_CLK>; 1719b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1720b190fb01SKonrad Dybcio clock-frequency = <400000>; 1721712e245fSKonrad Dybcio dmas = <&blsp1_dma 6>, <&blsp1_dma 7>; 1722712e245fSKonrad Dybcio dma-names = "tx", "rx"; 1723b190fb01SKonrad Dybcio 1724b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1725b190fb01SKonrad Dybcio pinctrl-0 = <&i2c2_default>; 1726b190fb01SKonrad Dybcio pinctrl-1 = <&i2c2_sleep>; 1727b190fb01SKonrad Dybcio #address-cells = <1>; 1728b190fb01SKonrad Dybcio #size-cells = <0>; 1729b190fb01SKonrad Dybcio status = "disabled"; 1730b190fb01SKonrad Dybcio }; 1731b190fb01SKonrad Dybcio 1732b190fb01SKonrad Dybcio blsp_i2c3: i2c@c177000 { 1733b190fb01SKonrad Dybcio compatible = "qcom,i2c-qup-v2.2.1"; 1734b190fb01SKonrad Dybcio reg = <0x0c177000 0x600>; 1735b190fb01SKonrad Dybcio interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 1736b190fb01SKonrad Dybcio 1737b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, 1738b190fb01SKonrad Dybcio <&gcc GCC_BLSP1_AHB_CLK>; 1739b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1740b190fb01SKonrad Dybcio clock-frequency = <400000>; 1741712e245fSKonrad Dybcio dmas = <&blsp1_dma 8>, <&blsp1_dma 9>; 1742712e245fSKonrad Dybcio dma-names = "tx", "rx"; 1743b190fb01SKonrad Dybcio 1744b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1745b190fb01SKonrad Dybcio pinctrl-0 = <&i2c3_default>; 1746b190fb01SKonrad Dybcio pinctrl-1 = <&i2c3_sleep>; 1747b190fb01SKonrad Dybcio #address-cells = <1>; 1748b190fb01SKonrad Dybcio #size-cells = <0>; 1749b190fb01SKonrad Dybcio status = "disabled"; 1750b190fb01SKonrad Dybcio }; 1751b190fb01SKonrad Dybcio 1752b190fb01SKonrad Dybcio blsp_i2c4: i2c@c178000 { 1753b190fb01SKonrad Dybcio compatible = "qcom,i2c-qup-v2.2.1"; 1754b190fb01SKonrad Dybcio reg = <0x0c178000 0x600>; 1755b190fb01SKonrad Dybcio interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 1756b190fb01SKonrad Dybcio 1757b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, 1758b190fb01SKonrad Dybcio <&gcc GCC_BLSP1_AHB_CLK>; 1759b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1760b190fb01SKonrad Dybcio clock-frequency = <400000>; 1761712e245fSKonrad Dybcio dmas = <&blsp1_dma 10>, <&blsp1_dma 11>; 1762712e245fSKonrad Dybcio dma-names = "tx", "rx"; 1763b190fb01SKonrad Dybcio 1764b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1765b190fb01SKonrad Dybcio pinctrl-0 = <&i2c4_default>; 1766b190fb01SKonrad Dybcio pinctrl-1 = <&i2c4_sleep>; 1767b190fb01SKonrad Dybcio #address-cells = <1>; 1768b190fb01SKonrad Dybcio #size-cells = <0>; 1769b190fb01SKonrad Dybcio status = "disabled"; 1770b190fb01SKonrad Dybcio }; 1771b190fb01SKonrad Dybcio 1772b831fba3SVinod Koul blsp2_dma: dma-controller@c184000 { 1773b190fb01SKonrad Dybcio compatible = "qcom,bam-v1.7.0"; 1774b190fb01SKonrad Dybcio reg = <0x0c184000 0x1f000>; 1775b190fb01SKonrad Dybcio interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 1776b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP2_AHB_CLK>; 1777b190fb01SKonrad Dybcio clock-names = "bam_clk"; 1778b190fb01SKonrad Dybcio #dma-cells = <1>; 1779b190fb01SKonrad Dybcio qcom,ee = <0>; 1780b190fb01SKonrad Dybcio qcom,controlled-remotely; 1781b190fb01SKonrad Dybcio num-channels = <18>; 1782b190fb01SKonrad Dybcio qcom,num-ees = <4>; 1783b190fb01SKonrad Dybcio }; 1784b190fb01SKonrad Dybcio 1785b190fb01SKonrad Dybcio blsp2_uart1: serial@c1af000 { 1786b190fb01SKonrad Dybcio compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 1787b190fb01SKonrad Dybcio reg = <0x0c1af000 0x200>; 1788b190fb01SKonrad Dybcio interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; 1789b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, 1790b190fb01SKonrad Dybcio <&gcc GCC_BLSP2_AHB_CLK>; 1791b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1792b190fb01SKonrad Dybcio dmas = <&blsp2_dma 0>, <&blsp2_dma 1>; 1793b190fb01SKonrad Dybcio dma-names = "tx", "rx"; 1794b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 179536a0d47aSAngeloGioacchino Del Regno pinctrl-0 = <&blsp2_uart1_default>; 179636a0d47aSAngeloGioacchino Del Regno pinctrl-1 = <&blsp2_uart1_sleep>; 1797b190fb01SKonrad Dybcio status = "disabled"; 1798b190fb01SKonrad Dybcio }; 1799b190fb01SKonrad Dybcio 1800b190fb01SKonrad Dybcio blsp_i2c5: i2c@c1b5000 { 1801b190fb01SKonrad Dybcio compatible = "qcom,i2c-qup-v2.2.1"; 1802b190fb01SKonrad Dybcio reg = <0x0c1b5000 0x600>; 1803b190fb01SKonrad Dybcio interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 1804b190fb01SKonrad Dybcio 1805b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>, 1806b190fb01SKonrad Dybcio <&gcc GCC_BLSP2_AHB_CLK>; 1807b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1808b190fb01SKonrad Dybcio clock-frequency = <400000>; 1809712e245fSKonrad Dybcio dmas = <&blsp2_dma 4>, <&blsp2_dma 5>; 1810712e245fSKonrad Dybcio dma-names = "tx", "rx"; 1811b190fb01SKonrad Dybcio 1812b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1813b190fb01SKonrad Dybcio pinctrl-0 = <&i2c5_default>; 1814b190fb01SKonrad Dybcio pinctrl-1 = <&i2c5_sleep>; 1815b190fb01SKonrad Dybcio #address-cells = <1>; 1816b190fb01SKonrad Dybcio #size-cells = <0>; 1817b190fb01SKonrad Dybcio status = "disabled"; 1818b190fb01SKonrad Dybcio }; 1819b190fb01SKonrad Dybcio 1820b190fb01SKonrad Dybcio blsp_i2c6: i2c@c1b6000 { 1821b190fb01SKonrad Dybcio compatible = "qcom,i2c-qup-v2.2.1"; 1822b190fb01SKonrad Dybcio reg = <0x0c1b6000 0x600>; 1823b190fb01SKonrad Dybcio interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 1824b190fb01SKonrad Dybcio 1825b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, 1826b190fb01SKonrad Dybcio <&gcc GCC_BLSP2_AHB_CLK>; 1827b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1828b190fb01SKonrad Dybcio clock-frequency = <400000>; 1829712e245fSKonrad Dybcio dmas = <&blsp2_dma 6>, <&blsp2_dma 7>; 1830712e245fSKonrad Dybcio dma-names = "tx", "rx"; 1831b190fb01SKonrad Dybcio 1832b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1833b190fb01SKonrad Dybcio pinctrl-0 = <&i2c6_default>; 1834b190fb01SKonrad Dybcio pinctrl-1 = <&i2c6_sleep>; 1835b190fb01SKonrad Dybcio #address-cells = <1>; 1836b190fb01SKonrad Dybcio #size-cells = <0>; 1837b190fb01SKonrad Dybcio status = "disabled"; 1838b190fb01SKonrad Dybcio }; 1839b190fb01SKonrad Dybcio 1840b190fb01SKonrad Dybcio blsp_i2c7: i2c@c1b7000 { 1841b190fb01SKonrad Dybcio compatible = "qcom,i2c-qup-v2.2.1"; 1842b190fb01SKonrad Dybcio reg = <0x0c1b7000 0x600>; 1843b190fb01SKonrad Dybcio interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 1844b190fb01SKonrad Dybcio 1845b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>, 1846b190fb01SKonrad Dybcio <&gcc GCC_BLSP2_AHB_CLK>; 1847b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1848b190fb01SKonrad Dybcio clock-frequency = <400000>; 1849712e245fSKonrad Dybcio dmas = <&blsp2_dma 8>, <&blsp2_dma 9>; 1850712e245fSKonrad Dybcio dma-names = "tx", "rx"; 1851b190fb01SKonrad Dybcio 1852b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1853b190fb01SKonrad Dybcio pinctrl-0 = <&i2c7_default>; 1854b190fb01SKonrad Dybcio pinctrl-1 = <&i2c7_sleep>; 1855b190fb01SKonrad Dybcio #address-cells = <1>; 1856b190fb01SKonrad Dybcio #size-cells = <0>; 1857b190fb01SKonrad Dybcio status = "disabled"; 1858b190fb01SKonrad Dybcio }; 1859b190fb01SKonrad Dybcio 1860b190fb01SKonrad Dybcio blsp_i2c8: i2c@c1b8000 { 1861b190fb01SKonrad Dybcio compatible = "qcom,i2c-qup-v2.2.1"; 1862b190fb01SKonrad Dybcio reg = <0x0c1b8000 0x600>; 1863b190fb01SKonrad Dybcio interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 1864b190fb01SKonrad Dybcio 1865b190fb01SKonrad Dybcio clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>, 1866b190fb01SKonrad Dybcio <&gcc GCC_BLSP2_AHB_CLK>; 1867b190fb01SKonrad Dybcio clock-names = "core", "iface"; 1868b190fb01SKonrad Dybcio clock-frequency = <400000>; 1869712e245fSKonrad Dybcio dmas = <&blsp2_dma 10>, <&blsp2_dma 11>; 1870712e245fSKonrad Dybcio dma-names = "tx", "rx"; 1871b190fb01SKonrad Dybcio 1872b190fb01SKonrad Dybcio pinctrl-names = "default", "sleep"; 1873b190fb01SKonrad Dybcio pinctrl-0 = <&i2c8_default>; 1874b190fb01SKonrad Dybcio pinctrl-1 = <&i2c8_sleep>; 1875b190fb01SKonrad Dybcio #address-cells = <1>; 1876b190fb01SKonrad Dybcio #size-cells = <0>; 1877b190fb01SKonrad Dybcio status = "disabled"; 1878b190fb01SKonrad Dybcio }; 1879b190fb01SKonrad Dybcio 1880bed08556SKrzysztof Kozlowski sram@146bf000 { 1881616ab047SKrzysztof Kozlowski compatible = "qcom,sdm630-imem", "syscon", "simple-mfd"; 1882c21512cbSKonrad Dybcio reg = <0x146bf000 0x1000>; 1883c21512cbSKonrad Dybcio 1884c21512cbSKonrad Dybcio #address-cells = <1>; 1885c21512cbSKonrad Dybcio #size-cells = <1>; 1886c21512cbSKonrad Dybcio 1887c21512cbSKonrad Dybcio ranges = <0 0x146bf000 0x1000>; 1888c21512cbSKonrad Dybcio 1889c21512cbSKonrad Dybcio pil-reloc@94c { 1890c21512cbSKonrad Dybcio compatible = "qcom,pil-reloc-info"; 1891c21512cbSKonrad Dybcio reg = <0x94c 0xc8>; 1892c21512cbSKonrad Dybcio }; 1893c21512cbSKonrad Dybcio }; 1894c21512cbSKonrad Dybcio 1895c8b7faa7SKrzysztof Kozlowski camss: camss@ca00020 { 1896f3d5d3ccSAngeloGioacchino Del Regno compatible = "qcom,sdm660-camss"; 18977908dcc8SKrzysztof Kozlowski reg = <0x0ca00020 0x10>, 18987908dcc8SKrzysztof Kozlowski <0x0ca30000 0x100>, 18997908dcc8SKrzysztof Kozlowski <0x0ca30400 0x100>, 19007908dcc8SKrzysztof Kozlowski <0x0ca30800 0x100>, 19017908dcc8SKrzysztof Kozlowski <0x0ca30c00 0x100>, 19027908dcc8SKrzysztof Kozlowski <0x0c824000 0x1000>, 1903f3d5d3ccSAngeloGioacchino Del Regno <0x0ca00120 0x4>, 1904f3d5d3ccSAngeloGioacchino Del Regno <0x0c825000 0x1000>, 1905f3d5d3ccSAngeloGioacchino Del Regno <0x0ca00124 0x4>, 1906f3d5d3ccSAngeloGioacchino Del Regno <0x0c826000 0x1000>, 1907f3d5d3ccSAngeloGioacchino Del Regno <0x0ca00128 0x4>, 1908f3d5d3ccSAngeloGioacchino Del Regno <0x0ca31000 0x500>, 1909f3d5d3ccSAngeloGioacchino Del Regno <0x0ca10000 0x1000>, 1910f3d5d3ccSAngeloGioacchino Del Regno <0x0ca14000 0x1000>; 19117908dcc8SKrzysztof Kozlowski reg-names = "csi_clk_mux", 19127908dcc8SKrzysztof Kozlowski "csid0", 19137908dcc8SKrzysztof Kozlowski "csid1", 19147908dcc8SKrzysztof Kozlowski "csid2", 19157908dcc8SKrzysztof Kozlowski "csid3", 19167908dcc8SKrzysztof Kozlowski "csiphy0", 1917f3d5d3ccSAngeloGioacchino Del Regno "csiphy0_clk_mux", 1918f3d5d3ccSAngeloGioacchino Del Regno "csiphy1", 1919f3d5d3ccSAngeloGioacchino Del Regno "csiphy1_clk_mux", 1920f3d5d3ccSAngeloGioacchino Del Regno "csiphy2", 1921f3d5d3ccSAngeloGioacchino Del Regno "csiphy2_clk_mux", 1922f3d5d3ccSAngeloGioacchino Del Regno "ispif", 1923f3d5d3ccSAngeloGioacchino Del Regno "vfe0", 1924f3d5d3ccSAngeloGioacchino Del Regno "vfe1"; 1925cb0b6853SKrzysztof Kozlowski interrupts = <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>, 1926f3d5d3ccSAngeloGioacchino Del Regno <GIC_SPI 297 IRQ_TYPE_EDGE_RISING>, 1927f3d5d3ccSAngeloGioacchino Del Regno <GIC_SPI 298 IRQ_TYPE_EDGE_RISING>, 1928f3d5d3ccSAngeloGioacchino Del Regno <GIC_SPI 299 IRQ_TYPE_EDGE_RISING>, 1929cb0b6853SKrzysztof Kozlowski <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>, 1930cb0b6853SKrzysztof Kozlowski <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>, 1931cb0b6853SKrzysztof Kozlowski <GIC_SPI 80 IRQ_TYPE_EDGE_RISING>, 1932f3d5d3ccSAngeloGioacchino Del Regno <GIC_SPI 309 IRQ_TYPE_EDGE_RISING>, 1933f3d5d3ccSAngeloGioacchino Del Regno <GIC_SPI 314 IRQ_TYPE_EDGE_RISING>, 1934f3d5d3ccSAngeloGioacchino Del Regno <GIC_SPI 315 IRQ_TYPE_EDGE_RISING>; 1935cb0b6853SKrzysztof Kozlowski interrupt-names = "csid0", 1936f3d5d3ccSAngeloGioacchino Del Regno "csid1", 1937f3d5d3ccSAngeloGioacchino Del Regno "csid2", 1938f3d5d3ccSAngeloGioacchino Del Regno "csid3", 1939cb0b6853SKrzysztof Kozlowski "csiphy0", 1940cb0b6853SKrzysztof Kozlowski "csiphy1", 1941cb0b6853SKrzysztof Kozlowski "csiphy2", 1942f3d5d3ccSAngeloGioacchino Del Regno "ispif", 1943f3d5d3ccSAngeloGioacchino Del Regno "vfe0", 1944f3d5d3ccSAngeloGioacchino Del Regno "vfe1"; 1945e8881372SKrzysztof Kozlowski clocks = <&mmcc CAMSS_AHB_CLK>, 1946e8881372SKrzysztof Kozlowski <&mmcc CAMSS_CPHY_CSID0_CLK>, 1947e8881372SKrzysztof Kozlowski <&mmcc CAMSS_CPHY_CSID1_CLK>, 1948e8881372SKrzysztof Kozlowski <&mmcc CAMSS_CPHY_CSID2_CLK>, 1949e8881372SKrzysztof Kozlowski <&mmcc CAMSS_CPHY_CSID3_CLK>, 1950f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI0_AHB_CLK>, 1951f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI0_CLK>, 1952f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CPHY_CSID0_CLK>, 1953f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI0PIX_CLK>, 1954f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI0RDI_CLK>, 1955f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI1_AHB_CLK>, 1956f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI1_CLK>, 1957f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CPHY_CSID1_CLK>, 1958f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI1PIX_CLK>, 1959f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI1RDI_CLK>, 1960f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI2_AHB_CLK>, 1961f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI2_CLK>, 1962f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CPHY_CSID2_CLK>, 1963f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI2PIX_CLK>, 1964f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI2RDI_CLK>, 1965f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI3_AHB_CLK>, 1966f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI3_CLK>, 1967f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CPHY_CSID3_CLK>, 1968f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI3PIX_CLK>, 1969f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI3RDI_CLK>, 1970e8881372SKrzysztof Kozlowski <&mmcc CAMSS_CSI0PHYTIMER_CLK>, 1971e8881372SKrzysztof Kozlowski <&mmcc CAMSS_CSI1PHYTIMER_CLK>, 1972e8881372SKrzysztof Kozlowski <&mmcc CAMSS_CSI2PHYTIMER_CLK>, 1973e8881372SKrzysztof Kozlowski <&mmcc CSIPHY_AHB2CRIF_CLK>, 1974f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI_VFE0_CLK>, 1975f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CSI_VFE1_CLK>, 1976e8881372SKrzysztof Kozlowski <&mmcc CAMSS_ISPIF_AHB_CLK>, 1977e8881372SKrzysztof Kozlowski <&mmcc THROTTLE_CAMSS_AXI_CLK>, 1978e8881372SKrzysztof Kozlowski <&mmcc CAMSS_TOP_AHB_CLK>, 1979e8881372SKrzysztof Kozlowski <&mmcc CAMSS_VFE0_AHB_CLK>, 1980e8881372SKrzysztof Kozlowski <&mmcc CAMSS_VFE0_CLK>, 1981e8881372SKrzysztof Kozlowski <&mmcc CAMSS_VFE0_STREAM_CLK>, 1982f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_VFE1_AHB_CLK>, 1983e8881372SKrzysztof Kozlowski <&mmcc CAMSS_VFE1_CLK>, 1984f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_VFE1_STREAM_CLK>, 1985f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_VFE_VBIF_AHB_CLK>, 1986e8881372SKrzysztof Kozlowski <&mmcc CAMSS_VFE_VBIF_AXI_CLK>; 1987e8881372SKrzysztof Kozlowski clock-names = "ahb", 1988e8881372SKrzysztof Kozlowski "cphy_csid0", 1989e8881372SKrzysztof Kozlowski "cphy_csid1", 1990e8881372SKrzysztof Kozlowski "cphy_csid2", 1991e8881372SKrzysztof Kozlowski "cphy_csid3", 1992f3d5d3ccSAngeloGioacchino Del Regno "csi0_ahb", 1993f3d5d3ccSAngeloGioacchino Del Regno "csi0", 1994f3d5d3ccSAngeloGioacchino Del Regno "csi0_phy", 1995f3d5d3ccSAngeloGioacchino Del Regno "csi0_pix", 1996f3d5d3ccSAngeloGioacchino Del Regno "csi0_rdi", 1997f3d5d3ccSAngeloGioacchino Del Regno "csi1_ahb", 1998f3d5d3ccSAngeloGioacchino Del Regno "csi1", 1999f3d5d3ccSAngeloGioacchino Del Regno "csi1_phy", 2000f3d5d3ccSAngeloGioacchino Del Regno "csi1_pix", 2001f3d5d3ccSAngeloGioacchino Del Regno "csi1_rdi", 2002f3d5d3ccSAngeloGioacchino Del Regno "csi2_ahb", 2003f3d5d3ccSAngeloGioacchino Del Regno "csi2", 2004f3d5d3ccSAngeloGioacchino Del Regno "csi2_phy", 2005f3d5d3ccSAngeloGioacchino Del Regno "csi2_pix", 2006f3d5d3ccSAngeloGioacchino Del Regno "csi2_rdi", 2007f3d5d3ccSAngeloGioacchino Del Regno "csi3_ahb", 2008f3d5d3ccSAngeloGioacchino Del Regno "csi3", 2009f3d5d3ccSAngeloGioacchino Del Regno "csi3_phy", 2010f3d5d3ccSAngeloGioacchino Del Regno "csi3_pix", 2011f3d5d3ccSAngeloGioacchino Del Regno "csi3_rdi", 2012e8881372SKrzysztof Kozlowski "csiphy0_timer", 2013e8881372SKrzysztof Kozlowski "csiphy1_timer", 2014e8881372SKrzysztof Kozlowski "csiphy2_timer", 2015e8881372SKrzysztof Kozlowski "csiphy_ahb2crif", 2016f3d5d3ccSAngeloGioacchino Del Regno "csi_vfe0", 2017f3d5d3ccSAngeloGioacchino Del Regno "csi_vfe1", 2018e8881372SKrzysztof Kozlowski "ispif_ahb", 2019e8881372SKrzysztof Kozlowski "throttle_axi", 2020e8881372SKrzysztof Kozlowski "top_ahb", 2021e8881372SKrzysztof Kozlowski "vfe0_ahb", 2022e8881372SKrzysztof Kozlowski "vfe0", 2023e8881372SKrzysztof Kozlowski "vfe0_stream", 2024f3d5d3ccSAngeloGioacchino Del Regno "vfe1_ahb", 2025e8881372SKrzysztof Kozlowski "vfe1", 2026f3d5d3ccSAngeloGioacchino Del Regno "vfe1_stream", 2027f3d5d3ccSAngeloGioacchino Del Regno "vfe_ahb", 2028e8881372SKrzysztof Kozlowski "vfe_axi"; 2029f3d5d3ccSAngeloGioacchino Del Regno interconnects = <&mnoc 5 &bimc 5>; 2030f3d5d3ccSAngeloGioacchino Del Regno interconnect-names = "vfe-mem"; 2031f3d5d3ccSAngeloGioacchino Del Regno iommus = <&mmss_smmu 0xc00>, 2032f3d5d3ccSAngeloGioacchino Del Regno <&mmss_smmu 0xc01>, 2033f3d5d3ccSAngeloGioacchino Del Regno <&mmss_smmu 0xc02>, 2034f3d5d3ccSAngeloGioacchino Del Regno <&mmss_smmu 0xc03>; 2035f3d5d3ccSAngeloGioacchino Del Regno power-domains = <&mmcc CAMSS_VFE0_GDSC>, 2036f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_VFE1_GDSC>; 2037f3d5d3ccSAngeloGioacchino Del Regno status = "disabled"; 2038f3d5d3ccSAngeloGioacchino Del Regno 2039f3d5d3ccSAngeloGioacchino Del Regno ports { 2040f3d5d3ccSAngeloGioacchino Del Regno #address-cells = <1>; 2041f3d5d3ccSAngeloGioacchino Del Regno #size-cells = <0>; 2042f3d5d3ccSAngeloGioacchino Del Regno }; 2043f3d5d3ccSAngeloGioacchino Del Regno }; 2044f3d5d3ccSAngeloGioacchino Del Regno 2045f3d5d3ccSAngeloGioacchino Del Regno cci: cci@ca0c000 { 2046f3d5d3ccSAngeloGioacchino Del Regno compatible = "qcom,msm8996-cci"; 2047f3d5d3ccSAngeloGioacchino Del Regno #address-cells = <1>; 2048f3d5d3ccSAngeloGioacchino Del Regno #size-cells = <0>; 2049f3d5d3ccSAngeloGioacchino Del Regno reg = <0x0ca0c000 0x1000>; 2050f3d5d3ccSAngeloGioacchino Del Regno interrupts = <GIC_SPI 295 IRQ_TYPE_EDGE_RISING>; 2051f3d5d3ccSAngeloGioacchino Del Regno 2052f3d5d3ccSAngeloGioacchino Del Regno assigned-clocks = <&mmcc CAMSS_CCI_AHB_CLK>, 2053f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CCI_CLK>; 2054f3d5d3ccSAngeloGioacchino Del Regno assigned-clock-rates = <80800000>, <37500000>; 2055f3d5d3ccSAngeloGioacchino Del Regno clocks = <&mmcc CAMSS_TOP_AHB_CLK>, 2056f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CCI_AHB_CLK>, 2057f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_CCI_CLK>, 2058f3d5d3ccSAngeloGioacchino Del Regno <&mmcc CAMSS_AHB_CLK>; 2059f3d5d3ccSAngeloGioacchino Del Regno clock-names = "camss_top_ahb", 2060f3d5d3ccSAngeloGioacchino Del Regno "cci_ahb", 2061f3d5d3ccSAngeloGioacchino Del Regno "cci", 2062f3d5d3ccSAngeloGioacchino Del Regno "camss_ahb"; 2063f3d5d3ccSAngeloGioacchino Del Regno 2064f3d5d3ccSAngeloGioacchino Del Regno pinctrl-names = "default"; 2065f3d5d3ccSAngeloGioacchino Del Regno pinctrl-0 = <&cci0_default &cci1_default>; 2066f3d5d3ccSAngeloGioacchino Del Regno power-domains = <&mmcc CAMSS_TOP_GDSC>; 2067f3d5d3ccSAngeloGioacchino Del Regno status = "disabled"; 2068f3d5d3ccSAngeloGioacchino Del Regno 2069f3d5d3ccSAngeloGioacchino Del Regno cci_i2c0: i2c-bus@0 { 2070f3d5d3ccSAngeloGioacchino Del Regno reg = <0>; 2071f3d5d3ccSAngeloGioacchino Del Regno clock-frequency = <400000>; 2072f3d5d3ccSAngeloGioacchino Del Regno #address-cells = <1>; 2073f3d5d3ccSAngeloGioacchino Del Regno #size-cells = <0>; 2074f3d5d3ccSAngeloGioacchino Del Regno }; 2075f3d5d3ccSAngeloGioacchino Del Regno 2076f3d5d3ccSAngeloGioacchino Del Regno cci_i2c1: i2c-bus@1 { 2077f3d5d3ccSAngeloGioacchino Del Regno reg = <1>; 2078f3d5d3ccSAngeloGioacchino Del Regno clock-frequency = <400000>; 2079f3d5d3ccSAngeloGioacchino Del Regno #address-cells = <1>; 2080f3d5d3ccSAngeloGioacchino Del Regno #size-cells = <0>; 2081f3d5d3ccSAngeloGioacchino Del Regno }; 2082f3d5d3ccSAngeloGioacchino Del Regno }; 2083f3d5d3ccSAngeloGioacchino Del Regno 2084f468ecf1SAngeloGioacchino Del Regno venus: video-codec@cc00000 { 2085f468ecf1SAngeloGioacchino Del Regno compatible = "qcom,sdm660-venus"; 2086f468ecf1SAngeloGioacchino Del Regno reg = <0x0cc00000 0xff000>; 2087f468ecf1SAngeloGioacchino Del Regno clocks = <&mmcc VIDEO_CORE_CLK>, 2088f468ecf1SAngeloGioacchino Del Regno <&mmcc VIDEO_AHB_CLK>, 2089f468ecf1SAngeloGioacchino Del Regno <&mmcc VIDEO_AXI_CLK>, 2090f468ecf1SAngeloGioacchino Del Regno <&mmcc THROTTLE_VIDEO_AXI_CLK>; 2091f468ecf1SAngeloGioacchino Del Regno clock-names = "core", "iface", "bus", "bus_throttle"; 2092f468ecf1SAngeloGioacchino Del Regno interconnects = <&gnoc 0 &mnoc 13>, 2093f468ecf1SAngeloGioacchino Del Regno <&mnoc 4 &bimc 5>; 2094f468ecf1SAngeloGioacchino Del Regno interconnect-names = "cpu-cfg", "video-mem"; 2095f468ecf1SAngeloGioacchino Del Regno interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>; 2096f468ecf1SAngeloGioacchino Del Regno iommus = <&mmss_smmu 0x400>, 2097f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x401>, 2098f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x40a>, 2099f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x407>, 2100f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x40e>, 2101f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x40f>, 2102f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x408>, 2103f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x409>, 2104f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x40b>, 2105f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x40c>, 2106f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x40d>, 2107f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x410>, 2108f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x421>, 2109f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x428>, 2110f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x429>, 2111f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x42b>, 2112f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x42c>, 2113f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x42d>, 2114f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x411>, 2115f468ecf1SAngeloGioacchino Del Regno <&mmss_smmu 0x431>; 2116f468ecf1SAngeloGioacchino Del Regno memory-region = <&venus_region>; 2117f468ecf1SAngeloGioacchino Del Regno power-domains = <&mmcc VENUS_GDSC>; 2118f468ecf1SAngeloGioacchino Del Regno status = "disabled"; 2119f468ecf1SAngeloGioacchino Del Regno 2120f468ecf1SAngeloGioacchino Del Regno video-decoder { 2121f468ecf1SAngeloGioacchino Del Regno compatible = "venus-decoder"; 2122f468ecf1SAngeloGioacchino Del Regno clocks = <&mmcc VIDEO_SUBCORE0_CLK>; 2123f468ecf1SAngeloGioacchino Del Regno clock-names = "vcodec0_core"; 2124f468ecf1SAngeloGioacchino Del Regno power-domains = <&mmcc VENUS_CORE0_GDSC>; 2125f468ecf1SAngeloGioacchino Del Regno }; 2126f468ecf1SAngeloGioacchino Del Regno 2127f468ecf1SAngeloGioacchino Del Regno video-encoder { 2128f468ecf1SAngeloGioacchino Del Regno compatible = "venus-encoder"; 2129f468ecf1SAngeloGioacchino Del Regno clocks = <&mmcc VIDEO_SUBCORE0_CLK>; 2130f468ecf1SAngeloGioacchino Del Regno clock-names = "vcodec0_core"; 2131f468ecf1SAngeloGioacchino Del Regno power-domains = <&mmcc VENUS_CORE0_GDSC>; 2132f468ecf1SAngeloGioacchino Del Regno }; 2133f468ecf1SAngeloGioacchino Del Regno }; 2134f468ecf1SAngeloGioacchino Del Regno 2135b190fb01SKonrad Dybcio mmss_smmu: iommu@cd00000 { 2136b190fb01SKonrad Dybcio compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; 2137b190fb01SKonrad Dybcio reg = <0x0cd00000 0x40000>; 21386bb717feSAngeloGioacchino Del Regno 21396bb717feSAngeloGioacchino Del Regno clocks = <&mmcc MNOC_AHB_CLK>, 21406bb717feSAngeloGioacchino Del Regno <&mmcc BIMC_SMMU_AHB_CLK>, 21416bb717feSAngeloGioacchino Del Regno <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>, 21426bb717feSAngeloGioacchino Del Regno <&mmcc BIMC_SMMU_AXI_CLK>; 21436bb717feSAngeloGioacchino Del Regno clock-names = "iface-mm", "iface-smmu", 21446bb717feSAngeloGioacchino Del Regno "bus-mm", "bus-smmu"; 21456bb717feSAngeloGioacchino Del Regno #global-interrupts = <2>; 2146b190fb01SKonrad Dybcio #iommu-cells = <1>; 2147b190fb01SKonrad Dybcio 2148b190fb01SKonrad Dybcio interrupts = 2149b190fb01SKonrad Dybcio <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 2150b190fb01SKonrad Dybcio <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 2151b190fb01SKonrad Dybcio 2152b190fb01SKonrad Dybcio <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>, 2153b190fb01SKonrad Dybcio <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>, 2154b190fb01SKonrad Dybcio <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>, 2155b190fb01SKonrad Dybcio <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>, 2156b190fb01SKonrad Dybcio <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 2157b190fb01SKonrad Dybcio <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 2158b190fb01SKonrad Dybcio <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, 2159b190fb01SKonrad Dybcio <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 2160b190fb01SKonrad Dybcio <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, 2161b190fb01SKonrad Dybcio <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, 2162b190fb01SKonrad Dybcio <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 2163b190fb01SKonrad Dybcio <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 2164b190fb01SKonrad Dybcio <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 2165b190fb01SKonrad Dybcio <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 2166b190fb01SKonrad Dybcio <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>, 2167b190fb01SKonrad Dybcio <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>, 2168b190fb01SKonrad Dybcio <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>, 2169b190fb01SKonrad Dybcio <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>, 2170b190fb01SKonrad Dybcio <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>, 2171b190fb01SKonrad Dybcio <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>, 2172b190fb01SKonrad Dybcio <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>, 2173b190fb01SKonrad Dybcio <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>, 2174b190fb01SKonrad Dybcio <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>, 2175b190fb01SKonrad Dybcio <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>; 2176326407d2SKonrad Dybcio 2177326407d2SKonrad Dybcio status = "disabled"; 2178b190fb01SKonrad Dybcio }; 2179b190fb01SKonrad Dybcio 21807ca2ebc9SKonrad Dybcio adsp_pil: remoteproc@15700000 { 21817ca2ebc9SKonrad Dybcio compatible = "qcom,sdm660-adsp-pas"; 21827ca2ebc9SKonrad Dybcio reg = <0x15700000 0x4040>; 21837ca2ebc9SKonrad Dybcio 21847ca2ebc9SKonrad Dybcio interrupts-extended = 21857ca2ebc9SKonrad Dybcio <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, 21867ca2ebc9SKonrad Dybcio <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 21877ca2ebc9SKonrad Dybcio <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 21887ca2ebc9SKonrad Dybcio <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 21897ca2ebc9SKonrad Dybcio <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 21907ca2ebc9SKonrad Dybcio interrupt-names = "wdog", "fatal", "ready", 21917ca2ebc9SKonrad Dybcio "handover", "stop-ack"; 21927ca2ebc9SKonrad Dybcio 21937ca2ebc9SKonrad Dybcio clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; 21947ca2ebc9SKonrad Dybcio clock-names = "xo"; 21957ca2ebc9SKonrad Dybcio 21967ca2ebc9SKonrad Dybcio memory-region = <&adsp_region>; 21977ca2ebc9SKonrad Dybcio power-domains = <&rpmpd SDM660_VDDCX>; 21987ca2ebc9SKonrad Dybcio power-domain-names = "cx"; 21997ca2ebc9SKonrad Dybcio 22007ca2ebc9SKonrad Dybcio qcom,smem-states = <&adsp_smp2p_out 0>; 22017ca2ebc9SKonrad Dybcio qcom,smem-state-names = "stop"; 22027ca2ebc9SKonrad Dybcio 22037ca2ebc9SKonrad Dybcio glink-edge { 22047ca2ebc9SKonrad Dybcio interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>; 22057ca2ebc9SKonrad Dybcio 22067ca2ebc9SKonrad Dybcio label = "lpass"; 22077ca2ebc9SKonrad Dybcio mboxes = <&apcs_glb 9>; 22087ca2ebc9SKonrad Dybcio qcom,remote-pid = <2>; 22097ca2ebc9SKonrad Dybcio 22107ca2ebc9SKonrad Dybcio apr { 22117ca2ebc9SKonrad Dybcio compatible = "qcom,apr-v2"; 22127ca2ebc9SKonrad Dybcio qcom,glink-channels = "apr_audio_svc"; 22132f114511SDavid Heidelberg qcom,domain = <APR_DOMAIN_ADSP>; 22147ca2ebc9SKonrad Dybcio #address-cells = <1>; 22157ca2ebc9SKonrad Dybcio #size-cells = <0>; 22167ca2ebc9SKonrad Dybcio 2217aa27f316SKrzysztof Kozlowski service@3 { 22187ca2ebc9SKonrad Dybcio reg = <APR_SVC_ADSP_CORE>; 22197ca2ebc9SKonrad Dybcio compatible = "qcom,q6core"; 22207ca2ebc9SKonrad Dybcio }; 22217ca2ebc9SKonrad Dybcio 2222aa27f316SKrzysztof Kozlowski q6afe: service@4 { 22237ca2ebc9SKonrad Dybcio compatible = "qcom,q6afe"; 22247ca2ebc9SKonrad Dybcio reg = <APR_SVC_AFE>; 22257ca2ebc9SKonrad Dybcio q6afedai: dais { 22267ca2ebc9SKonrad Dybcio compatible = "qcom,q6afe-dais"; 22277ca2ebc9SKonrad Dybcio #address-cells = <1>; 22287ca2ebc9SKonrad Dybcio #size-cells = <0>; 22297ca2ebc9SKonrad Dybcio #sound-dai-cells = <1>; 22307ca2ebc9SKonrad Dybcio }; 22317ca2ebc9SKonrad Dybcio }; 22327ca2ebc9SKonrad Dybcio 2233aa27f316SKrzysztof Kozlowski q6asm: service@7 { 22347ca2ebc9SKonrad Dybcio compatible = "qcom,q6asm"; 22357ca2ebc9SKonrad Dybcio reg = <APR_SVC_ASM>; 22367ca2ebc9SKonrad Dybcio q6asmdai: dais { 22377ca2ebc9SKonrad Dybcio compatible = "qcom,q6asm-dais"; 22387ca2ebc9SKonrad Dybcio #address-cells = <1>; 22397ca2ebc9SKonrad Dybcio #size-cells = <0>; 22407ca2ebc9SKonrad Dybcio #sound-dai-cells = <1>; 22417ca2ebc9SKonrad Dybcio iommus = <&lpass_smmu 1>; 22427ca2ebc9SKonrad Dybcio }; 22437ca2ebc9SKonrad Dybcio }; 22447ca2ebc9SKonrad Dybcio 2245aa27f316SKrzysztof Kozlowski q6adm: service@8 { 22467ca2ebc9SKonrad Dybcio compatible = "qcom,q6adm"; 22477ca2ebc9SKonrad Dybcio reg = <APR_SVC_ADM>; 22487ca2ebc9SKonrad Dybcio q6routing: routing { 22497ca2ebc9SKonrad Dybcio compatible = "qcom,q6adm-routing"; 22507ca2ebc9SKonrad Dybcio #sound-dai-cells = <0>; 22517ca2ebc9SKonrad Dybcio }; 22527ca2ebc9SKonrad Dybcio }; 22537ca2ebc9SKonrad Dybcio }; 22547ca2ebc9SKonrad Dybcio }; 22557ca2ebc9SKonrad Dybcio }; 22567ca2ebc9SKonrad Dybcio 2257045547a0SKonrad Dybcio gnoc: interconnect@17900000 { 2258045547a0SKonrad Dybcio compatible = "qcom,sdm660-gnoc"; 2259045547a0SKonrad Dybcio reg = <0x17900000 0xe000>; 2260045547a0SKonrad Dybcio #interconnect-cells = <1>; 2261045547a0SKonrad Dybcio /* 2262045547a0SKonrad Dybcio * This one apparently features no clocks, 2263045547a0SKonrad Dybcio * so let's not mess with the driver needlessly 2264045547a0SKonrad Dybcio */ 2265045547a0SKonrad Dybcio clock-names = "bus", "bus_a"; 2266045547a0SKonrad Dybcio clocks = <&xo_board>, <&xo_board>; 2267045547a0SKonrad Dybcio }; 2268045547a0SKonrad Dybcio 2269b190fb01SKonrad Dybcio apcs_glb: mailbox@17911000 { 22702d034324SKrzysztof Kozlowski compatible = "qcom,sdm660-apcs-hmss-global", 22712d034324SKrzysztof Kozlowski "qcom,msm8994-apcs-kpss-global"; 2272b190fb01SKonrad Dybcio reg = <0x17911000 0x1000>; 2273b190fb01SKonrad Dybcio 2274b190fb01SKonrad Dybcio #mbox-cells = <1>; 2275b190fb01SKonrad Dybcio }; 2276b190fb01SKonrad Dybcio 2277b190fb01SKonrad Dybcio timer@17920000 { 2278b190fb01SKonrad Dybcio #address-cells = <1>; 2279b190fb01SKonrad Dybcio #size-cells = <1>; 2280b190fb01SKonrad Dybcio ranges; 2281b190fb01SKonrad Dybcio compatible = "arm,armv7-timer-mem"; 2282b190fb01SKonrad Dybcio reg = <0x17920000 0x1000>; 2283b190fb01SKonrad Dybcio clock-frequency = <19200000>; 2284b190fb01SKonrad Dybcio 2285b190fb01SKonrad Dybcio frame@17921000 { 2286b190fb01SKonrad Dybcio frame-number = <0>; 2287b190fb01SKonrad Dybcio interrupts = <0 8 0x4>, 2288b190fb01SKonrad Dybcio <0 7 0x4>; 2289b190fb01SKonrad Dybcio reg = <0x17921000 0x1000>, 2290b190fb01SKonrad Dybcio <0x17922000 0x1000>; 2291b190fb01SKonrad Dybcio }; 2292b190fb01SKonrad Dybcio 2293b190fb01SKonrad Dybcio frame@17923000 { 2294b190fb01SKonrad Dybcio frame-number = <1>; 2295b190fb01SKonrad Dybcio interrupts = <0 9 0x4>; 2296b190fb01SKonrad Dybcio reg = <0x17923000 0x1000>; 2297b190fb01SKonrad Dybcio status = "disabled"; 2298b190fb01SKonrad Dybcio }; 2299b190fb01SKonrad Dybcio 2300b190fb01SKonrad Dybcio frame@17924000 { 2301b190fb01SKonrad Dybcio frame-number = <2>; 2302b190fb01SKonrad Dybcio interrupts = <0 10 0x4>; 2303b190fb01SKonrad Dybcio reg = <0x17924000 0x1000>; 2304b190fb01SKonrad Dybcio status = "disabled"; 2305b190fb01SKonrad Dybcio }; 2306b190fb01SKonrad Dybcio 2307b190fb01SKonrad Dybcio frame@17925000 { 2308b190fb01SKonrad Dybcio frame-number = <3>; 2309b190fb01SKonrad Dybcio interrupts = <0 11 0x4>; 2310b190fb01SKonrad Dybcio reg = <0x17925000 0x1000>; 2311b190fb01SKonrad Dybcio status = "disabled"; 2312b190fb01SKonrad Dybcio }; 2313b190fb01SKonrad Dybcio 2314b190fb01SKonrad Dybcio frame@17926000 { 2315b190fb01SKonrad Dybcio frame-number = <4>; 2316b190fb01SKonrad Dybcio interrupts = <0 12 0x4>; 2317b190fb01SKonrad Dybcio reg = <0x17926000 0x1000>; 2318b190fb01SKonrad Dybcio status = "disabled"; 2319b190fb01SKonrad Dybcio }; 2320b190fb01SKonrad Dybcio 2321b190fb01SKonrad Dybcio frame@17927000 { 2322b190fb01SKonrad Dybcio frame-number = <5>; 2323b190fb01SKonrad Dybcio interrupts = <0 13 0x4>; 2324b190fb01SKonrad Dybcio reg = <0x17927000 0x1000>; 2325b190fb01SKonrad Dybcio status = "disabled"; 2326b190fb01SKonrad Dybcio }; 2327b190fb01SKonrad Dybcio 2328b190fb01SKonrad Dybcio frame@17928000 { 2329b190fb01SKonrad Dybcio frame-number = <6>; 2330b190fb01SKonrad Dybcio interrupts = <0 14 0x4>; 2331b190fb01SKonrad Dybcio reg = <0x17928000 0x1000>; 2332b190fb01SKonrad Dybcio status = "disabled"; 2333b190fb01SKonrad Dybcio }; 2334b190fb01SKonrad Dybcio }; 2335b190fb01SKonrad Dybcio 2336b190fb01SKonrad Dybcio intc: interrupt-controller@17a00000 { 2337b190fb01SKonrad Dybcio compatible = "arm,gic-v3"; 2338b190fb01SKonrad Dybcio reg = <0x17a00000 0x10000>, /* GICD */ 2339b190fb01SKonrad Dybcio <0x17b00000 0x100000>; /* GICR * 8 */ 2340b190fb01SKonrad Dybcio #interrupt-cells = <3>; 2341b190fb01SKonrad Dybcio #address-cells = <1>; 2342b190fb01SKonrad Dybcio #size-cells = <1>; 2343b190fb01SKonrad Dybcio ranges; 2344b190fb01SKonrad Dybcio interrupt-controller; 2345b190fb01SKonrad Dybcio #redistributor-regions = <1>; 2346b190fb01SKonrad Dybcio redistributor-stride = <0x0 0x20000>; 2347b190fb01SKonrad Dybcio interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 2348b190fb01SKonrad Dybcio }; 2349b190fb01SKonrad Dybcio }; 2350b190fb01SKonrad Dybcio 23517ca2ebc9SKonrad Dybcio sound: sound { 23527ca2ebc9SKonrad Dybcio }; 23537ca2ebc9SKonrad Dybcio 23543332c596SKonrad Dybcio thermal-zones { 23553332c596SKonrad Dybcio aoss-thermal { 23563332c596SKonrad Dybcio polling-delay-passive = <250>; 23573332c596SKonrad Dybcio polling-delay = <1000>; 23583332c596SKonrad Dybcio 23593332c596SKonrad Dybcio thermal-sensors = <&tsens 0>; 23603332c596SKonrad Dybcio 23613332c596SKonrad Dybcio trips { 23623332c596SKonrad Dybcio aoss_alert0: trip-point0 { 23633332c596SKonrad Dybcio temperature = <105000>; 23643332c596SKonrad Dybcio hysteresis = <1000>; 23653332c596SKonrad Dybcio type = "hot"; 23663332c596SKonrad Dybcio }; 23673332c596SKonrad Dybcio }; 23683332c596SKonrad Dybcio }; 23693332c596SKonrad Dybcio 23703332c596SKonrad Dybcio cpuss0-thermal { 23713332c596SKonrad Dybcio polling-delay-passive = <250>; 23723332c596SKonrad Dybcio polling-delay = <1000>; 23733332c596SKonrad Dybcio 23743332c596SKonrad Dybcio thermal-sensors = <&tsens 1>; 23753332c596SKonrad Dybcio 23763332c596SKonrad Dybcio trips { 23773332c596SKonrad Dybcio cpuss0_alert0: trip-point0 { 23783332c596SKonrad Dybcio temperature = <125000>; 23793332c596SKonrad Dybcio hysteresis = <1000>; 23803332c596SKonrad Dybcio type = "hot"; 23813332c596SKonrad Dybcio }; 23823332c596SKonrad Dybcio }; 23833332c596SKonrad Dybcio }; 23843332c596SKonrad Dybcio 23853332c596SKonrad Dybcio cpuss1-thermal { 23863332c596SKonrad Dybcio polling-delay-passive = <250>; 23873332c596SKonrad Dybcio polling-delay = <1000>; 23883332c596SKonrad Dybcio 23893332c596SKonrad Dybcio thermal-sensors = <&tsens 2>; 23903332c596SKonrad Dybcio 23913332c596SKonrad Dybcio trips { 23923332c596SKonrad Dybcio cpuss1_alert0: trip-point0 { 23933332c596SKonrad Dybcio temperature = <125000>; 23943332c596SKonrad Dybcio hysteresis = <1000>; 23953332c596SKonrad Dybcio type = "hot"; 23963332c596SKonrad Dybcio }; 23973332c596SKonrad Dybcio }; 23983332c596SKonrad Dybcio }; 23993332c596SKonrad Dybcio 24003332c596SKonrad Dybcio cpu0-thermal { 24013332c596SKonrad Dybcio polling-delay-passive = <250>; 24023332c596SKonrad Dybcio polling-delay = <1000>; 24033332c596SKonrad Dybcio 24043332c596SKonrad Dybcio thermal-sensors = <&tsens 3>; 24053332c596SKonrad Dybcio 24063332c596SKonrad Dybcio trips { 24073332c596SKonrad Dybcio cpu0_alert0: trip-point0 { 24083332c596SKonrad Dybcio temperature = <70000>; 24093332c596SKonrad Dybcio hysteresis = <1000>; 24103332c596SKonrad Dybcio type = "passive"; 24113332c596SKonrad Dybcio }; 24123332c596SKonrad Dybcio 24131364acc3SKrzysztof Kozlowski cpu0_crit: cpu-crit { 24143332c596SKonrad Dybcio temperature = <110000>; 24153332c596SKonrad Dybcio hysteresis = <1000>; 24163332c596SKonrad Dybcio type = "critical"; 24173332c596SKonrad Dybcio }; 24183332c596SKonrad Dybcio }; 24193332c596SKonrad Dybcio }; 24203332c596SKonrad Dybcio 24213332c596SKonrad Dybcio cpu1-thermal { 24223332c596SKonrad Dybcio polling-delay-passive = <250>; 24233332c596SKonrad Dybcio polling-delay = <1000>; 24243332c596SKonrad Dybcio 24253332c596SKonrad Dybcio thermal-sensors = <&tsens 4>; 24263332c596SKonrad Dybcio 24273332c596SKonrad Dybcio trips { 24283332c596SKonrad Dybcio cpu1_alert0: trip-point0 { 24293332c596SKonrad Dybcio temperature = <70000>; 24303332c596SKonrad Dybcio hysteresis = <1000>; 24313332c596SKonrad Dybcio type = "passive"; 24323332c596SKonrad Dybcio }; 24333332c596SKonrad Dybcio 24341364acc3SKrzysztof Kozlowski cpu1_crit: cpu-crit { 24353332c596SKonrad Dybcio temperature = <110000>; 24363332c596SKonrad Dybcio hysteresis = <1000>; 24373332c596SKonrad Dybcio type = "critical"; 24383332c596SKonrad Dybcio }; 24393332c596SKonrad Dybcio }; 24403332c596SKonrad Dybcio }; 24413332c596SKonrad Dybcio 24423332c596SKonrad Dybcio cpu2-thermal { 24433332c596SKonrad Dybcio polling-delay-passive = <250>; 24443332c596SKonrad Dybcio polling-delay = <1000>; 24453332c596SKonrad Dybcio 24463332c596SKonrad Dybcio thermal-sensors = <&tsens 5>; 24473332c596SKonrad Dybcio 24483332c596SKonrad Dybcio trips { 24493332c596SKonrad Dybcio cpu2_alert0: trip-point0 { 24503332c596SKonrad Dybcio temperature = <70000>; 24513332c596SKonrad Dybcio hysteresis = <1000>; 24523332c596SKonrad Dybcio type = "passive"; 24533332c596SKonrad Dybcio }; 24543332c596SKonrad Dybcio 24551364acc3SKrzysztof Kozlowski cpu2_crit: cpu-crit { 24563332c596SKonrad Dybcio temperature = <110000>; 24573332c596SKonrad Dybcio hysteresis = <1000>; 24583332c596SKonrad Dybcio type = "critical"; 24593332c596SKonrad Dybcio }; 24603332c596SKonrad Dybcio }; 24613332c596SKonrad Dybcio }; 24623332c596SKonrad Dybcio 24633332c596SKonrad Dybcio cpu3-thermal { 24643332c596SKonrad Dybcio polling-delay-passive = <250>; 24653332c596SKonrad Dybcio polling-delay = <1000>; 24663332c596SKonrad Dybcio 24673332c596SKonrad Dybcio thermal-sensors = <&tsens 6>; 24683332c596SKonrad Dybcio 24693332c596SKonrad Dybcio trips { 24703332c596SKonrad Dybcio cpu3_alert0: trip-point0 { 24713332c596SKonrad Dybcio temperature = <70000>; 24723332c596SKonrad Dybcio hysteresis = <1000>; 24733332c596SKonrad Dybcio type = "passive"; 24743332c596SKonrad Dybcio }; 24753332c596SKonrad Dybcio 24761364acc3SKrzysztof Kozlowski cpu3_crit: cpu-crit { 24773332c596SKonrad Dybcio temperature = <110000>; 24783332c596SKonrad Dybcio hysteresis = <1000>; 24793332c596SKonrad Dybcio type = "critical"; 24803332c596SKonrad Dybcio }; 24813332c596SKonrad Dybcio }; 24823332c596SKonrad Dybcio }; 24833332c596SKonrad Dybcio 24843332c596SKonrad Dybcio /* 24853332c596SKonrad Dybcio * According to what downstream DTS says, 24863332c596SKonrad Dybcio * the entire power efficient cluster has 24873332c596SKonrad Dybcio * only a single thermal sensor. 24883332c596SKonrad Dybcio */ 24893332c596SKonrad Dybcio 24903332c596SKonrad Dybcio pwr-cluster-thermal { 24913332c596SKonrad Dybcio polling-delay-passive = <250>; 24923332c596SKonrad Dybcio polling-delay = <1000>; 24933332c596SKonrad Dybcio 24943332c596SKonrad Dybcio thermal-sensors = <&tsens 7>; 24953332c596SKonrad Dybcio 24963332c596SKonrad Dybcio trips { 24973332c596SKonrad Dybcio pwr_cluster_alert0: trip-point0 { 24983332c596SKonrad Dybcio temperature = <70000>; 24993332c596SKonrad Dybcio hysteresis = <1000>; 25003332c596SKonrad Dybcio type = "passive"; 25013332c596SKonrad Dybcio }; 25023332c596SKonrad Dybcio 25031364acc3SKrzysztof Kozlowski pwr_cluster_crit: cpu-crit { 25043332c596SKonrad Dybcio temperature = <110000>; 25053332c596SKonrad Dybcio hysteresis = <1000>; 25063332c596SKonrad Dybcio type = "critical"; 25073332c596SKonrad Dybcio }; 25083332c596SKonrad Dybcio }; 25093332c596SKonrad Dybcio }; 25103332c596SKonrad Dybcio 25113332c596SKonrad Dybcio gpu-thermal { 25123332c596SKonrad Dybcio polling-delay-passive = <250>; 25133332c596SKonrad Dybcio polling-delay = <1000>; 25143332c596SKonrad Dybcio 25153332c596SKonrad Dybcio thermal-sensors = <&tsens 8>; 25163332c596SKonrad Dybcio 25173332c596SKonrad Dybcio trips { 25183332c596SKonrad Dybcio gpu_alert0: trip-point0 { 25193332c596SKonrad Dybcio temperature = <90000>; 25203332c596SKonrad Dybcio hysteresis = <1000>; 25213332c596SKonrad Dybcio type = "hot"; 25223332c596SKonrad Dybcio }; 25233332c596SKonrad Dybcio }; 25243332c596SKonrad Dybcio }; 25253332c596SKonrad Dybcio }; 25263332c596SKonrad Dybcio 2527b190fb01SKonrad Dybcio timer { 2528b190fb01SKonrad Dybcio compatible = "arm,armv8-timer"; 2529b190fb01SKonrad Dybcio interrupts = <GIC_PPI 1 0xf08>, 2530b190fb01SKonrad Dybcio <GIC_PPI 2 0xf08>, 2531b190fb01SKonrad Dybcio <GIC_PPI 3 0xf08>, 2532b190fb01SKonrad Dybcio <GIC_PPI 0 0xf08>; 2533b190fb01SKonrad Dybcio }; 2534b190fb01SKonrad Dybcio}; 2535b190fb01SKonrad Dybcio 2536