107c8ded6SRichard Acayan// SPDX-License-Identifier: GPL-2.0 207c8ded6SRichard Acayan/* 307c8ded6SRichard Acayan * SDM670 SoC device tree source, adapted from SDM845 SoC device tree 407c8ded6SRichard Acayan * 507c8ded6SRichard Acayan * Copyright (c) 2018, The Linux Foundation. All rights reserved. 607c8ded6SRichard Acayan * Copyright (c) 2022, Richard Acayan. All rights reserved. 707c8ded6SRichard Acayan */ 807c8ded6SRichard Acayan 907c8ded6SRichard Acayan#include <dt-bindings/clock/qcom,gcc-sdm845.h> 1007c8ded6SRichard Acayan#include <dt-bindings/clock/qcom,rpmh.h> 1107c8ded6SRichard Acayan#include <dt-bindings/dma/qcom-gpi.h> 1207c8ded6SRichard Acayan#include <dt-bindings/gpio/gpio.h> 13*0c665213SRichard Acayan#include <dt-bindings/interconnect/qcom,osm-l3.h> 1417289c01SRichard Acayan#include <dt-bindings/interconnect/qcom,sdm670-rpmh.h> 1507c8ded6SRichard Acayan#include <dt-bindings/interrupt-controller/arm-gic.h> 1607c8ded6SRichard Acayan#include <dt-bindings/phy/phy-qcom-qusb2.h> 1707c8ded6SRichard Acayan#include <dt-bindings/power/qcom-rpmpd.h> 1807c8ded6SRichard Acayan#include <dt-bindings/soc/qcom,rpmh-rsc.h> 1907c8ded6SRichard Acayan 2007c8ded6SRichard Acayan/ { 2107c8ded6SRichard Acayan interrupt-parent = <&intc>; 2207c8ded6SRichard Acayan 2307c8ded6SRichard Acayan #address-cells = <2>; 2407c8ded6SRichard Acayan #size-cells = <2>; 2507c8ded6SRichard Acayan 2607c8ded6SRichard Acayan aliases { }; 2707c8ded6SRichard Acayan 2807c8ded6SRichard Acayan chosen { }; 2907c8ded6SRichard Acayan 3007c8ded6SRichard Acayan cpus { 3107c8ded6SRichard Acayan #address-cells = <2>; 3207c8ded6SRichard Acayan #size-cells = <0>; 3307c8ded6SRichard Acayan 3407c8ded6SRichard Acayan CPU0: cpu@0 { 3507c8ded6SRichard Acayan device_type = "cpu"; 3607c8ded6SRichard Acayan compatible = "qcom,kryo360"; 3707c8ded6SRichard Acayan reg = <0x0 0x0>; 3807c8ded6SRichard Acayan enable-method = "psci"; 39*0c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 40*0c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 41*0c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 42*0c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 4307c8ded6SRichard Acayan power-domains = <&CPU_PD0>; 4407c8ded6SRichard Acayan power-domain-names = "psci"; 4507c8ded6SRichard Acayan next-level-cache = <&L2_0>; 4607c8ded6SRichard Acayan L2_0: l2-cache { 4707c8ded6SRichard Acayan compatible = "cache"; 4807c8ded6SRichard Acayan next-level-cache = <&L3_0>; 499c6e72fbSKrzysztof Kozlowski cache-level = <2>; 509c6e72fbSKrzysztof Kozlowski cache-unified; 5107c8ded6SRichard Acayan L3_0: l3-cache { 5207c8ded6SRichard Acayan compatible = "cache"; 539c6e72fbSKrzysztof Kozlowski cache-level = <3>; 549c6e72fbSKrzysztof Kozlowski cache-unified; 5507c8ded6SRichard Acayan }; 5607c8ded6SRichard Acayan }; 5707c8ded6SRichard Acayan }; 5807c8ded6SRichard Acayan 5907c8ded6SRichard Acayan CPU1: cpu@100 { 6007c8ded6SRichard Acayan device_type = "cpu"; 6107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 6207c8ded6SRichard Acayan reg = <0x0 0x100>; 6307c8ded6SRichard Acayan enable-method = "psci"; 64*0c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 65*0c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 66*0c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 67*0c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 6807c8ded6SRichard Acayan power-domains = <&CPU_PD1>; 6907c8ded6SRichard Acayan power-domain-names = "psci"; 7007c8ded6SRichard Acayan next-level-cache = <&L2_100>; 7107c8ded6SRichard Acayan L2_100: l2-cache { 7207c8ded6SRichard Acayan compatible = "cache"; 739c6e72fbSKrzysztof Kozlowski cache-level = <2>; 749c6e72fbSKrzysztof Kozlowski cache-unified; 7507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 7607c8ded6SRichard Acayan }; 7707c8ded6SRichard Acayan }; 7807c8ded6SRichard Acayan 7907c8ded6SRichard Acayan CPU2: cpu@200 { 8007c8ded6SRichard Acayan device_type = "cpu"; 8107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 8207c8ded6SRichard Acayan reg = <0x0 0x200>; 8307c8ded6SRichard Acayan enable-method = "psci"; 84*0c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 85*0c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 86*0c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 87*0c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 8807c8ded6SRichard Acayan power-domains = <&CPU_PD2>; 8907c8ded6SRichard Acayan power-domain-names = "psci"; 9007c8ded6SRichard Acayan next-level-cache = <&L2_200>; 9107c8ded6SRichard Acayan L2_200: l2-cache { 9207c8ded6SRichard Acayan compatible = "cache"; 939c6e72fbSKrzysztof Kozlowski cache-level = <2>; 949c6e72fbSKrzysztof Kozlowski cache-unified; 9507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 9607c8ded6SRichard Acayan }; 9707c8ded6SRichard Acayan }; 9807c8ded6SRichard Acayan 9907c8ded6SRichard Acayan CPU3: cpu@300 { 10007c8ded6SRichard Acayan device_type = "cpu"; 10107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 10207c8ded6SRichard Acayan reg = <0x0 0x300>; 10307c8ded6SRichard Acayan enable-method = "psci"; 104*0c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 105*0c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 106*0c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 107*0c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 10807c8ded6SRichard Acayan power-domains = <&CPU_PD3>; 10907c8ded6SRichard Acayan power-domain-names = "psci"; 11007c8ded6SRichard Acayan next-level-cache = <&L2_300>; 11107c8ded6SRichard Acayan L2_300: l2-cache { 11207c8ded6SRichard Acayan compatible = "cache"; 1139c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1149c6e72fbSKrzysztof Kozlowski cache-unified; 11507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 11607c8ded6SRichard Acayan }; 11707c8ded6SRichard Acayan }; 11807c8ded6SRichard Acayan 11907c8ded6SRichard Acayan CPU4: cpu@400 { 12007c8ded6SRichard Acayan device_type = "cpu"; 12107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 12207c8ded6SRichard Acayan reg = <0x0 0x400>; 12307c8ded6SRichard Acayan enable-method = "psci"; 124*0c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 125*0c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 126*0c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 127*0c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 12807c8ded6SRichard Acayan power-domains = <&CPU_PD4>; 12907c8ded6SRichard Acayan power-domain-names = "psci"; 13007c8ded6SRichard Acayan next-level-cache = <&L2_400>; 13107c8ded6SRichard Acayan L2_400: l2-cache { 13207c8ded6SRichard Acayan compatible = "cache"; 1339c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1349c6e72fbSKrzysztof Kozlowski cache-unified; 13507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 13607c8ded6SRichard Acayan }; 13707c8ded6SRichard Acayan }; 13807c8ded6SRichard Acayan 13907c8ded6SRichard Acayan CPU5: cpu@500 { 14007c8ded6SRichard Acayan device_type = "cpu"; 14107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 14207c8ded6SRichard Acayan reg = <0x0 0x500>; 14307c8ded6SRichard Acayan enable-method = "psci"; 144*0c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 145*0c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 146*0c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 147*0c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 14807c8ded6SRichard Acayan power-domains = <&CPU_PD5>; 14907c8ded6SRichard Acayan power-domain-names = "psci"; 15007c8ded6SRichard Acayan next-level-cache = <&L2_500>; 15107c8ded6SRichard Acayan L2_500: l2-cache { 15207c8ded6SRichard Acayan compatible = "cache"; 1539c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1549c6e72fbSKrzysztof Kozlowski cache-unified; 15507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 15607c8ded6SRichard Acayan }; 15707c8ded6SRichard Acayan }; 15807c8ded6SRichard Acayan 15907c8ded6SRichard Acayan CPU6: cpu@600 { 16007c8ded6SRichard Acayan device_type = "cpu"; 16107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 16207c8ded6SRichard Acayan reg = <0x0 0x600>; 16307c8ded6SRichard Acayan enable-method = "psci"; 164*0c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 1>; 165*0c665213SRichard Acayan operating-points-v2 = <&cpu6_opp_table>; 166*0c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 167*0c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 16807c8ded6SRichard Acayan power-domains = <&CPU_PD6>; 16907c8ded6SRichard Acayan power-domain-names = "psci"; 17007c8ded6SRichard Acayan next-level-cache = <&L2_600>; 17107c8ded6SRichard Acayan L2_600: l2-cache { 17207c8ded6SRichard Acayan compatible = "cache"; 1739c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1749c6e72fbSKrzysztof Kozlowski cache-unified; 17507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 17607c8ded6SRichard Acayan }; 17707c8ded6SRichard Acayan }; 17807c8ded6SRichard Acayan 17907c8ded6SRichard Acayan CPU7: cpu@700 { 18007c8ded6SRichard Acayan device_type = "cpu"; 18107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 18207c8ded6SRichard Acayan reg = <0x0 0x700>; 18307c8ded6SRichard Acayan enable-method = "psci"; 184*0c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 1>; 185*0c665213SRichard Acayan operating-points-v2 = <&cpu6_opp_table>; 186*0c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 187*0c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 18807c8ded6SRichard Acayan power-domains = <&CPU_PD7>; 18907c8ded6SRichard Acayan power-domain-names = "psci"; 19007c8ded6SRichard Acayan next-level-cache = <&L2_700>; 19107c8ded6SRichard Acayan L2_700: l2-cache { 19207c8ded6SRichard Acayan compatible = "cache"; 1939c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1949c6e72fbSKrzysztof Kozlowski cache-unified; 19507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 19607c8ded6SRichard Acayan }; 19707c8ded6SRichard Acayan }; 19807c8ded6SRichard Acayan 19907c8ded6SRichard Acayan cpu-map { 20007c8ded6SRichard Acayan cluster0 { 20107c8ded6SRichard Acayan core0 { 20207c8ded6SRichard Acayan cpu = <&CPU0>; 20307c8ded6SRichard Acayan }; 20407c8ded6SRichard Acayan 20507c8ded6SRichard Acayan core1 { 20607c8ded6SRichard Acayan cpu = <&CPU1>; 20707c8ded6SRichard Acayan }; 20807c8ded6SRichard Acayan 20907c8ded6SRichard Acayan core2 { 21007c8ded6SRichard Acayan cpu = <&CPU2>; 21107c8ded6SRichard Acayan }; 21207c8ded6SRichard Acayan 21307c8ded6SRichard Acayan core3 { 21407c8ded6SRichard Acayan cpu = <&CPU3>; 21507c8ded6SRichard Acayan }; 21607c8ded6SRichard Acayan 21707c8ded6SRichard Acayan core4 { 21807c8ded6SRichard Acayan cpu = <&CPU4>; 21907c8ded6SRichard Acayan }; 22007c8ded6SRichard Acayan 22107c8ded6SRichard Acayan core5 { 22207c8ded6SRichard Acayan cpu = <&CPU5>; 22307c8ded6SRichard Acayan }; 22407c8ded6SRichard Acayan 22507c8ded6SRichard Acayan core6 { 22607c8ded6SRichard Acayan cpu = <&CPU6>; 22707c8ded6SRichard Acayan }; 22807c8ded6SRichard Acayan 22907c8ded6SRichard Acayan core7 { 23007c8ded6SRichard Acayan cpu = <&CPU7>; 23107c8ded6SRichard Acayan }; 23207c8ded6SRichard Acayan }; 23307c8ded6SRichard Acayan }; 23407c8ded6SRichard Acayan 23507c8ded6SRichard Acayan idle-states { 23607c8ded6SRichard Acayan entry-method = "psci"; 23707c8ded6SRichard Acayan 23807c8ded6SRichard Acayan LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { 23907c8ded6SRichard Acayan compatible = "arm,idle-state"; 24007c8ded6SRichard Acayan idle-state-name = "little-rail-power-collapse"; 24107c8ded6SRichard Acayan arm,psci-suspend-param = <0x40000004>; 24207c8ded6SRichard Acayan entry-latency-us = <702>; 24307c8ded6SRichard Acayan exit-latency-us = <915>; 24407c8ded6SRichard Acayan min-residency-us = <1617>; 24507c8ded6SRichard Acayan local-timer-stop; 24607c8ded6SRichard Acayan }; 24707c8ded6SRichard Acayan 24807c8ded6SRichard Acayan BIG_CPU_SLEEP_0: cpu-sleep-1-0 { 24907c8ded6SRichard Acayan compatible = "arm,idle-state"; 25007c8ded6SRichard Acayan idle-state-name = "big-rail-power-collapse"; 25107c8ded6SRichard Acayan arm,psci-suspend-param = <0x40000004>; 25207c8ded6SRichard Acayan entry-latency-us = <526>; 25307c8ded6SRichard Acayan exit-latency-us = <1854>; 25407c8ded6SRichard Acayan min-residency-us = <2380>; 25507c8ded6SRichard Acayan local-timer-stop; 25607c8ded6SRichard Acayan }; 25707c8ded6SRichard Acayan }; 25807c8ded6SRichard Acayan 25907c8ded6SRichard Acayan domain-idle-states { 26007c8ded6SRichard Acayan CLUSTER_SLEEP_0: cluster-sleep-0 { 26107c8ded6SRichard Acayan compatible = "domain-idle-state"; 26207c8ded6SRichard Acayan arm,psci-suspend-param = <0x4100c244>; 26307c8ded6SRichard Acayan entry-latency-us = <3263>; 26407c8ded6SRichard Acayan exit-latency-us = <6562>; 26507c8ded6SRichard Acayan min-residency-us = <9825>; 26607c8ded6SRichard Acayan }; 26707c8ded6SRichard Acayan }; 26807c8ded6SRichard Acayan }; 26907c8ded6SRichard Acayan 27007c8ded6SRichard Acayan firmware { 27107c8ded6SRichard Acayan scm { 27207c8ded6SRichard Acayan compatible = "qcom,scm-sdm670", "qcom,scm"; 27307c8ded6SRichard Acayan }; 27407c8ded6SRichard Acayan }; 27507c8ded6SRichard Acayan 27607c8ded6SRichard Acayan memory@80000000 { 27707c8ded6SRichard Acayan device_type = "memory"; 27807c8ded6SRichard Acayan /* We expect the bootloader to fill in the size */ 27907c8ded6SRichard Acayan reg = <0x0 0x80000000 0x0 0x0>; 28007c8ded6SRichard Acayan }; 28107c8ded6SRichard Acayan 282*0c665213SRichard Acayan cpu0_opp_table: opp-table-cpu0 { 283*0c665213SRichard Acayan compatible = "operating-points-v2"; 284*0c665213SRichard Acayan opp-shared; 285*0c665213SRichard Acayan 286*0c665213SRichard Acayan cpu0_opp1: opp-300000000 { 287*0c665213SRichard Acayan opp-hz = /bits/ 64 <300000000>; 288*0c665213SRichard Acayan opp-peak-kBps = <400000 4800000>; 289*0c665213SRichard Acayan }; 290*0c665213SRichard Acayan 291*0c665213SRichard Acayan cpu0_opp2: opp-576000000 { 292*0c665213SRichard Acayan opp-hz = /bits/ 64 <576000000>; 293*0c665213SRichard Acayan opp-peak-kBps = <400000 4800000>; 294*0c665213SRichard Acayan }; 295*0c665213SRichard Acayan 296*0c665213SRichard Acayan cpu0_opp3: opp-748800000 { 297*0c665213SRichard Acayan opp-hz = /bits/ 64 <748800000>; 298*0c665213SRichard Acayan opp-peak-kBps = <1200000 4800000>; 299*0c665213SRichard Acayan }; 300*0c665213SRichard Acayan 301*0c665213SRichard Acayan cpu0_opp4: opp-998400000 { 302*0c665213SRichard Acayan opp-hz = /bits/ 64 <998400000>; 303*0c665213SRichard Acayan opp-peak-kBps = <1804000 8908800>; 304*0c665213SRichard Acayan }; 305*0c665213SRichard Acayan 306*0c665213SRichard Acayan cpu0_opp5: opp-1209600000 { 307*0c665213SRichard Acayan opp-hz = /bits/ 64 <1209600000>; 308*0c665213SRichard Acayan opp-peak-kBps = <2188000 8908800>; 309*0c665213SRichard Acayan }; 310*0c665213SRichard Acayan 311*0c665213SRichard Acayan cpu0_opp6: opp-1324800000 { 312*0c665213SRichard Acayan opp-hz = /bits/ 64 <1324800000>; 313*0c665213SRichard Acayan opp-peak-kBps = <2188000 13516800>; 314*0c665213SRichard Acayan }; 315*0c665213SRichard Acayan 316*0c665213SRichard Acayan cpu0_opp7: opp-1516800000 { 317*0c665213SRichard Acayan opp-hz = /bits/ 64 <1516800000>; 318*0c665213SRichard Acayan opp-peak-kBps = <3072000 15052800>; 319*0c665213SRichard Acayan }; 320*0c665213SRichard Acayan 321*0c665213SRichard Acayan cpu0_opp8: opp-1612800000 { 322*0c665213SRichard Acayan opp-hz = /bits/ 64 <1612800000>; 323*0c665213SRichard Acayan opp-peak-kBps = <3072000 22118400>; 324*0c665213SRichard Acayan }; 325*0c665213SRichard Acayan 326*0c665213SRichard Acayan cpu0_opp9: opp-1708800000 { 327*0c665213SRichard Acayan opp-hz = /bits/ 64 <1708800000>; 328*0c665213SRichard Acayan opp-peak-kBps = <4068000 23040000>; 329*0c665213SRichard Acayan }; 330*0c665213SRichard Acayan }; 331*0c665213SRichard Acayan 332*0c665213SRichard Acayan cpu6_opp_table: opp-table-cpu6 { 333*0c665213SRichard Acayan compatible = "operating-points-v2"; 334*0c665213SRichard Acayan opp-shared; 335*0c665213SRichard Acayan 336*0c665213SRichard Acayan cpu6_opp1: opp-300000000 { 337*0c665213SRichard Acayan opp-hz = /bits/ 64 <300000000>; 338*0c665213SRichard Acayan opp-peak-kBps = <400000 4800000>; 339*0c665213SRichard Acayan }; 340*0c665213SRichard Acayan 341*0c665213SRichard Acayan cpu6_opp2: opp-652800000 { 342*0c665213SRichard Acayan opp-hz = /bits/ 64 <652800000>; 343*0c665213SRichard Acayan opp-peak-kBps = <400000 4800000>; 344*0c665213SRichard Acayan }; 345*0c665213SRichard Acayan 346*0c665213SRichard Acayan cpu6_opp3: opp-825600000 { 347*0c665213SRichard Acayan opp-hz = /bits/ 64 <825600000>; 348*0c665213SRichard Acayan opp-peak-kBps = <1200000 4800000>; 349*0c665213SRichard Acayan }; 350*0c665213SRichard Acayan 351*0c665213SRichard Acayan cpu6_opp4: opp-979200000 { 352*0c665213SRichard Acayan opp-hz = /bits/ 64 <979200000>; 353*0c665213SRichard Acayan opp-peak-kBps = <1200000 4800000>; 354*0c665213SRichard Acayan }; 355*0c665213SRichard Acayan 356*0c665213SRichard Acayan cpu6_opp5: opp-1132800000 { 357*0c665213SRichard Acayan opp-hz = /bits/ 64 <1132800000>; 358*0c665213SRichard Acayan opp-peak-kBps = <2188000 8908800>; 359*0c665213SRichard Acayan }; 360*0c665213SRichard Acayan 361*0c665213SRichard Acayan cpu6_opp6: opp-1363200000 { 362*0c665213SRichard Acayan opp-hz = /bits/ 64 <1363200000>; 363*0c665213SRichard Acayan opp-peak-kBps = <4068000 12902400>; 364*0c665213SRichard Acayan }; 365*0c665213SRichard Acayan 366*0c665213SRichard Acayan cpu6_opp7: opp-1536000000 { 367*0c665213SRichard Acayan opp-hz = /bits/ 64 <1536000000>; 368*0c665213SRichard Acayan opp-peak-kBps = <4068000 12902400>; 369*0c665213SRichard Acayan }; 370*0c665213SRichard Acayan 371*0c665213SRichard Acayan cpu6_opp8: opp-1747200000 { 372*0c665213SRichard Acayan opp-hz = /bits/ 64 <1747200000>; 373*0c665213SRichard Acayan opp-peak-kBps = <4068000 15052800>; 374*0c665213SRichard Acayan }; 375*0c665213SRichard Acayan 376*0c665213SRichard Acayan cpu6_opp9: opp-1843200000 { 377*0c665213SRichard Acayan opp-hz = /bits/ 64 <1843200000>; 378*0c665213SRichard Acayan opp-peak-kBps = <4068000 15052800>; 379*0c665213SRichard Acayan }; 380*0c665213SRichard Acayan 381*0c665213SRichard Acayan cpu6_opp10: opp-1996800000 { 382*0c665213SRichard Acayan opp-hz = /bits/ 64 <1996800000>; 383*0c665213SRichard Acayan opp-peak-kBps = <6220000 19046400>; 384*0c665213SRichard Acayan }; 385*0c665213SRichard Acayan }; 386*0c665213SRichard Acayan 38707c8ded6SRichard Acayan psci { 38807c8ded6SRichard Acayan compatible = "arm,psci-1.0"; 38907c8ded6SRichard Acayan method = "smc"; 39007c8ded6SRichard Acayan 39107c8ded6SRichard Acayan CPU_PD0: power-domain-cpu0 { 39207c8ded6SRichard Acayan #power-domain-cells = <0>; 39307c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 39407c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 39507c8ded6SRichard Acayan }; 39607c8ded6SRichard Acayan 39707c8ded6SRichard Acayan CPU_PD1: power-domain-cpu1 { 39807c8ded6SRichard Acayan #power-domain-cells = <0>; 39907c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 40007c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 40107c8ded6SRichard Acayan }; 40207c8ded6SRichard Acayan 40307c8ded6SRichard Acayan CPU_PD2: power-domain-cpu2 { 40407c8ded6SRichard Acayan #power-domain-cells = <0>; 40507c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 40607c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 40707c8ded6SRichard Acayan }; 40807c8ded6SRichard Acayan 40907c8ded6SRichard Acayan CPU_PD3: power-domain-cpu3 { 41007c8ded6SRichard Acayan #power-domain-cells = <0>; 41107c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 41207c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 41307c8ded6SRichard Acayan }; 41407c8ded6SRichard Acayan 41507c8ded6SRichard Acayan CPU_PD4: power-domain-cpu4 { 41607c8ded6SRichard Acayan #power-domain-cells = <0>; 41707c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 41807c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 41907c8ded6SRichard Acayan }; 42007c8ded6SRichard Acayan 42107c8ded6SRichard Acayan CPU_PD5: power-domain-cpu5 { 42207c8ded6SRichard Acayan #power-domain-cells = <0>; 42307c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 42407c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 42507c8ded6SRichard Acayan }; 42607c8ded6SRichard Acayan 42707c8ded6SRichard Acayan CPU_PD6: power-domain-cpu6 { 42807c8ded6SRichard Acayan #power-domain-cells = <0>; 42907c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 43007c8ded6SRichard Acayan domain-idle-states = <&BIG_CPU_SLEEP_0>; 43107c8ded6SRichard Acayan }; 43207c8ded6SRichard Acayan 43307c8ded6SRichard Acayan CPU_PD7: power-domain-cpu7 { 43407c8ded6SRichard Acayan #power-domain-cells = <0>; 43507c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 43607c8ded6SRichard Acayan domain-idle-states = <&BIG_CPU_SLEEP_0>; 43707c8ded6SRichard Acayan }; 43807c8ded6SRichard Acayan 43907c8ded6SRichard Acayan CLUSTER_PD: power-domain-cluster { 44007c8ded6SRichard Acayan #power-domain-cells = <0>; 44107c8ded6SRichard Acayan domain-idle-states = <&CLUSTER_SLEEP_0>; 44207c8ded6SRichard Acayan }; 44307c8ded6SRichard Acayan }; 44407c8ded6SRichard Acayan 44507c8ded6SRichard Acayan reserved-memory { 44607c8ded6SRichard Acayan #address-cells = <2>; 44707c8ded6SRichard Acayan #size-cells = <2>; 44807c8ded6SRichard Acayan ranges; 44907c8ded6SRichard Acayan 45007c8ded6SRichard Acayan hyp_mem: hyp-mem@85700000 { 45107c8ded6SRichard Acayan reg = <0 0x85700000 0 0x600000>; 45207c8ded6SRichard Acayan no-map; 45307c8ded6SRichard Acayan }; 45407c8ded6SRichard Acayan 45507c8ded6SRichard Acayan xbl_mem: xbl-mem@85e00000 { 45607c8ded6SRichard Acayan reg = <0 0x85e00000 0 0x100000>; 45707c8ded6SRichard Acayan no-map; 45807c8ded6SRichard Acayan }; 45907c8ded6SRichard Acayan 46007c8ded6SRichard Acayan aop_mem: aop-mem@85fc0000 { 46107c8ded6SRichard Acayan reg = <0 0x85fc0000 0 0x20000>; 46207c8ded6SRichard Acayan no-map; 46307c8ded6SRichard Acayan }; 46407c8ded6SRichard Acayan 46507c8ded6SRichard Acayan aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 { 46607c8ded6SRichard Acayan compatible = "qcom,cmd-db"; 46707c8ded6SRichard Acayan reg = <0 0x85fe0000 0 0x20000>; 46807c8ded6SRichard Acayan no-map; 46907c8ded6SRichard Acayan }; 47007c8ded6SRichard Acayan 47107c8ded6SRichard Acayan camera_mem: camera-mem@8ab00000 { 47207c8ded6SRichard Acayan reg = <0 0x8ab00000 0 0x500000>; 47307c8ded6SRichard Acayan no-map; 47407c8ded6SRichard Acayan }; 47507c8ded6SRichard Acayan 47607c8ded6SRichard Acayan mpss_region: mpss@8b000000 { 47707c8ded6SRichard Acayan reg = <0 0x8b000000 0 0x7e00000>; 47807c8ded6SRichard Acayan no-map; 47907c8ded6SRichard Acayan }; 48007c8ded6SRichard Acayan 48107c8ded6SRichard Acayan venus_mem: venus@92e00000 { 48207c8ded6SRichard Acayan reg = <0 0x92e00000 0 0x500000>; 48307c8ded6SRichard Acayan no-map; 48407c8ded6SRichard Acayan }; 48507c8ded6SRichard Acayan 48607c8ded6SRichard Acayan wlan_msa_mem: wlan-msa@93300000 { 48707c8ded6SRichard Acayan reg = <0 0x93300000 0 0x100000>; 48807c8ded6SRichard Acayan no-map; 48907c8ded6SRichard Acayan }; 49007c8ded6SRichard Acayan 49107c8ded6SRichard Acayan cdsp_mem: cdsp@93400000 { 49207c8ded6SRichard Acayan reg = <0 0x93400000 0 0x800000>; 49307c8ded6SRichard Acayan no-map; 49407c8ded6SRichard Acayan }; 49507c8ded6SRichard Acayan 49607c8ded6SRichard Acayan mba_region: mba@93c00000 { 49707c8ded6SRichard Acayan reg = <0 0x93c00000 0 0x200000>; 49807c8ded6SRichard Acayan no-map; 49907c8ded6SRichard Acayan }; 50007c8ded6SRichard Acayan 50107c8ded6SRichard Acayan adsp_mem: adsp@93e00000 { 50207c8ded6SRichard Acayan reg = <0 0x93e00000 0 0x1e00000>; 50307c8ded6SRichard Acayan no-map; 50407c8ded6SRichard Acayan }; 50507c8ded6SRichard Acayan 50607c8ded6SRichard Acayan ipa_fw_mem: ipa-fw@95c00000 { 50707c8ded6SRichard Acayan reg = <0 0x95c00000 0 0x10000>; 50807c8ded6SRichard Acayan no-map; 50907c8ded6SRichard Acayan }; 51007c8ded6SRichard Acayan 51107c8ded6SRichard Acayan ipa_gsi_mem: ipa-gsi@95c10000 { 51207c8ded6SRichard Acayan reg = <0 0x95c10000 0 0x5000>; 51307c8ded6SRichard Acayan no-map; 51407c8ded6SRichard Acayan }; 51507c8ded6SRichard Acayan 51607c8ded6SRichard Acayan gpu_mem: gpu@95c15000 { 51707c8ded6SRichard Acayan reg = <0 0x95c15000 0 0x2000>; 51807c8ded6SRichard Acayan no-map; 51907c8ded6SRichard Acayan }; 52007c8ded6SRichard Acayan 52107c8ded6SRichard Acayan spss_mem: spss@97b00000 { 52207c8ded6SRichard Acayan reg = <0 0x97b00000 0 0x100000>; 52307c8ded6SRichard Acayan no-map; 52407c8ded6SRichard Acayan }; 52507c8ded6SRichard Acayan 52607c8ded6SRichard Acayan qseecom_mem: qseecom@9e400000 { 52707c8ded6SRichard Acayan reg = <0 0x9e400000 0 0x1400000>; 52807c8ded6SRichard Acayan no-map; 52907c8ded6SRichard Acayan }; 53007c8ded6SRichard Acayan }; 53107c8ded6SRichard Acayan 53207c8ded6SRichard Acayan timer { 53307c8ded6SRichard Acayan compatible = "arm,armv8-timer"; 53407c8ded6SRichard Acayan interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>, 53507c8ded6SRichard Acayan <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>, 53607c8ded6SRichard Acayan <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>, 53707c8ded6SRichard Acayan <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>; 53807c8ded6SRichard Acayan }; 53907c8ded6SRichard Acayan 54007c8ded6SRichard Acayan soc: soc@0 { 54107c8ded6SRichard Acayan #address-cells = <2>; 54207c8ded6SRichard Acayan #size-cells = <2>; 54307c8ded6SRichard Acayan ranges = <0 0 0 0 0x10 0>; 54407c8ded6SRichard Acayan dma-ranges = <0 0 0 0 0x10 0>; 54507c8ded6SRichard Acayan compatible = "simple-bus"; 54607c8ded6SRichard Acayan 54707c8ded6SRichard Acayan gcc: clock-controller@100000 { 54807c8ded6SRichard Acayan compatible = "qcom,gcc-sdm670"; 54907c8ded6SRichard Acayan reg = <0 0x00100000 0 0x1f0000>; 55007c8ded6SRichard Acayan clocks = <&rpmhcc RPMH_CXO_CLK>, 55107c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK_A>, 55207c8ded6SRichard Acayan <&sleep_clk>; 55307c8ded6SRichard Acayan clock-names = "bi_tcxo", 55407c8ded6SRichard Acayan "bi_tcxo_ao", 55507c8ded6SRichard Acayan "sleep_clk"; 55607c8ded6SRichard Acayan #clock-cells = <1>; 55707c8ded6SRichard Acayan #reset-cells = <1>; 55807c8ded6SRichard Acayan #power-domain-cells = <1>; 55907c8ded6SRichard Acayan }; 56007c8ded6SRichard Acayan 5617bff6f43SRichard Acayan qfprom: qfprom@784000 { 5627bff6f43SRichard Acayan compatible = "qcom,sdm670-qfprom", "qcom,qfprom"; 5637bff6f43SRichard Acayan reg = <0 0x00784000 0 0x1000>; 5647bff6f43SRichard Acayan #address-cells = <1>; 5657bff6f43SRichard Acayan #size-cells = <1>; 566cb98187aSRichard Acayan 567cb98187aSRichard Acayan qusb2_hstx_trim: hstx-trim@1eb { 568cb98187aSRichard Acayan reg = <0x1eb 0x1>; 569cb98187aSRichard Acayan bits = <1 4>; 570cb98187aSRichard Acayan }; 5717bff6f43SRichard Acayan }; 5727bff6f43SRichard Acayan 57307c8ded6SRichard Acayan sdhc_1: mmc@7c4000 { 57407c8ded6SRichard Acayan compatible = "qcom,sdm670-sdhci", "qcom,sdhci-msm-v5"; 57507c8ded6SRichard Acayan reg = <0 0x007c4000 0 0x1000>, 57607c8ded6SRichard Acayan <0 0x007c5000 0 0x1000>, 57707c8ded6SRichard Acayan <0 0x007c8000 0 0x8000>; 57807c8ded6SRichard Acayan reg-names = "hc", "cqhci", "ice"; 57907c8ded6SRichard Acayan 58007c8ded6SRichard Acayan interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>, 58107c8ded6SRichard Acayan <GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>; 58207c8ded6SRichard Acayan interrupt-names = "hc_irq", "pwr_irq"; 58307c8ded6SRichard Acayan 58407c8ded6SRichard Acayan clocks = <&gcc GCC_SDCC1_AHB_CLK>, 58507c8ded6SRichard Acayan <&gcc GCC_SDCC1_APPS_CLK>, 58607c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK>, 58707c8ded6SRichard Acayan <&gcc GCC_SDCC1_ICE_CORE_CLK>, 58807c8ded6SRichard Acayan <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>; 58907c8ded6SRichard Acayan clock-names = "iface", "core", "xo", "ice", "bus"; 59017289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_EMMC 0 &aggre1_noc SLAVE_A1NOC_SNOC 0>, 59117289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_EMMC_CFG 0>; 59217289c01SRichard Acayan interconnect-names = "sdhc-ddr", "cpu-sdhc"; 59317289c01SRichard Acayan operating-points-v2 = <&sdhc1_opp_table>; 59407c8ded6SRichard Acayan 59507c8ded6SRichard Acayan iommus = <&apps_smmu 0x140 0xf>; 59607c8ded6SRichard Acayan 59707c8ded6SRichard Acayan pinctrl-names = "default", "sleep"; 59807c8ded6SRichard Acayan pinctrl-0 = <&sdc1_state_on>; 59907c8ded6SRichard Acayan pinctrl-1 = <&sdc1_state_off>; 60007c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 60107c8ded6SRichard Acayan 60207c8ded6SRichard Acayan bus-width = <8>; 60307c8ded6SRichard Acayan non-removable; 60407c8ded6SRichard Acayan 60507c8ded6SRichard Acayan status = "disabled"; 60617289c01SRichard Acayan 60717289c01SRichard Acayan sdhc1_opp_table: opp-table { 60817289c01SRichard Acayan compatible = "operating-points-v2"; 60917289c01SRichard Acayan 61017289c01SRichard Acayan opp-20000000 { 61117289c01SRichard Acayan opp-hz = /bits/ 64 <20000000>; 61217289c01SRichard Acayan required-opps = <&rpmhpd_opp_min_svs>; 61317289c01SRichard Acayan opp-peak-kBps = <80000 80000>; 61417289c01SRichard Acayan opp-avg-kBps = <52286 80000>; 61517289c01SRichard Acayan }; 61617289c01SRichard Acayan 61717289c01SRichard Acayan opp-50000000 { 61817289c01SRichard Acayan opp-hz = /bits/ 64 <50000000>; 61917289c01SRichard Acayan required-opps = <&rpmhpd_opp_low_svs>; 62017289c01SRichard Acayan opp-peak-kBps = <200000 100000>; 62117289c01SRichard Acayan opp-avg-kBps = <130718 100000>; 62217289c01SRichard Acayan }; 62317289c01SRichard Acayan 62417289c01SRichard Acayan opp-100000000 { 62517289c01SRichard Acayan opp-hz = /bits/ 64 <100000000>; 62617289c01SRichard Acayan required-opps = <&rpmhpd_opp_svs>; 62717289c01SRichard Acayan opp-peak-kBps = <200000 130000>; 62817289c01SRichard Acayan opp-avg-kBps = <130718 130000>; 62917289c01SRichard Acayan }; 63017289c01SRichard Acayan 63117289c01SRichard Acayan opp-384000000 { 63217289c01SRichard Acayan opp-hz = /bits/ 64 <384000000>; 63317289c01SRichard Acayan required-opps = <&rpmhpd_opp_nom>; 63417289c01SRichard Acayan opp-peak-kBps = <4096000 4096000>; 63517289c01SRichard Acayan opp-avg-kBps = <1338562 1338562>; 63617289c01SRichard Acayan }; 63717289c01SRichard Acayan }; 63807c8ded6SRichard Acayan }; 63907c8ded6SRichard Acayan 64007c8ded6SRichard Acayan gpi_dma0: dma-controller@800000 { 64107c8ded6SRichard Acayan #dma-cells = <3>; 64207c8ded6SRichard Acayan compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma"; 64307c8ded6SRichard Acayan reg = <0 0x00800000 0 0x60000>; 64407c8ded6SRichard Acayan interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 64507c8ded6SRichard Acayan <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 64607c8ded6SRichard Acayan <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>, 64707c8ded6SRichard Acayan <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, 64807c8ded6SRichard Acayan <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 64907c8ded6SRichard Acayan <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, 65007c8ded6SRichard Acayan <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, 65107c8ded6SRichard Acayan <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 65207c8ded6SRichard Acayan <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 65307c8ded6SRichard Acayan <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 65407c8ded6SRichard Acayan <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 65507c8ded6SRichard Acayan <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>, 65607c8ded6SRichard Acayan <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>; 65707c8ded6SRichard Acayan dma-channels = <13>; 65807c8ded6SRichard Acayan dma-channel-mask = <0xfa>; 65907c8ded6SRichard Acayan iommus = <&apps_smmu 0x16 0x0>; 66007c8ded6SRichard Acayan status = "disabled"; 66107c8ded6SRichard Acayan }; 66207c8ded6SRichard Acayan 66307c8ded6SRichard Acayan qupv3_id_0: geniqup@8c0000 { 66407c8ded6SRichard Acayan compatible = "qcom,geni-se-qup"; 66507c8ded6SRichard Acayan reg = <0 0x008c0000 0 0x6000>; 66607c8ded6SRichard Acayan clock-names = "m-ahb", "s-ahb"; 66707c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 66807c8ded6SRichard Acayan <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 66907c8ded6SRichard Acayan iommus = <&apps_smmu 0x3 0x0>; 67007c8ded6SRichard Acayan #address-cells = <2>; 67107c8ded6SRichard Acayan #size-cells = <2>; 67207c8ded6SRichard Acayan ranges; 67317289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>; 67417289c01SRichard Acayan interconnect-names = "qup-core"; 67507c8ded6SRichard Acayan status = "disabled"; 67607c8ded6SRichard Acayan 67707c8ded6SRichard Acayan i2c0: i2c@880000 { 67807c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 67907c8ded6SRichard Acayan reg = <0 0x00880000 0 0x4000>; 68007c8ded6SRichard Acayan clock-names = "se"; 68107c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 68207c8ded6SRichard Acayan pinctrl-names = "default"; 68307c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c0_default>; 68407c8ded6SRichard Acayan interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 68507c8ded6SRichard Acayan #address-cells = <1>; 68607c8ded6SRichard Acayan #size-cells = <0>; 68707c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 68817289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 68917289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 69017289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 69117289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 69207c8ded6SRichard Acayan dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, 69307c8ded6SRichard Acayan <&gpi_dma0 1 0 QCOM_GPI_I2C>; 69407c8ded6SRichard Acayan dma-names = "tx", "rx"; 69507c8ded6SRichard Acayan status = "disabled"; 69607c8ded6SRichard Acayan }; 69707c8ded6SRichard Acayan 69807c8ded6SRichard Acayan i2c1: i2c@884000 { 69907c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 70007c8ded6SRichard Acayan reg = <0 0x00884000 0 0x4000>; 70107c8ded6SRichard Acayan clock-names = "se"; 70207c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 70307c8ded6SRichard Acayan pinctrl-names = "default"; 70407c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c1_default>; 70507c8ded6SRichard Acayan interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 70607c8ded6SRichard Acayan #address-cells = <1>; 70707c8ded6SRichard Acayan #size-cells = <0>; 70807c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 70917289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 71017289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 71117289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 71217289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 71307c8ded6SRichard Acayan dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, 71407c8ded6SRichard Acayan <&gpi_dma0 1 1 QCOM_GPI_I2C>; 71507c8ded6SRichard Acayan dma-names = "tx", "rx"; 71607c8ded6SRichard Acayan status = "disabled"; 71707c8ded6SRichard Acayan }; 71807c8ded6SRichard Acayan 71907c8ded6SRichard Acayan i2c2: i2c@888000 { 72007c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 72107c8ded6SRichard Acayan reg = <0 0x00888000 0 0x4000>; 72207c8ded6SRichard Acayan clock-names = "se"; 72307c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 72407c8ded6SRichard Acayan pinctrl-names = "default"; 72507c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c2_default>; 72607c8ded6SRichard Acayan interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 72707c8ded6SRichard Acayan #address-cells = <1>; 72807c8ded6SRichard Acayan #size-cells = <0>; 72907c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 73017289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 73117289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 73217289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 73317289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 73407c8ded6SRichard Acayan dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, 73507c8ded6SRichard Acayan <&gpi_dma0 1 2 QCOM_GPI_I2C>; 73607c8ded6SRichard Acayan dma-names = "tx", "rx"; 73707c8ded6SRichard Acayan status = "disabled"; 73807c8ded6SRichard Acayan }; 73907c8ded6SRichard Acayan 74007c8ded6SRichard Acayan i2c3: i2c@88c000 { 74107c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 74207c8ded6SRichard Acayan reg = <0 0x0088c000 0 0x4000>; 74307c8ded6SRichard Acayan clock-names = "se"; 74407c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 74507c8ded6SRichard Acayan pinctrl-names = "default"; 74607c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c3_default>; 74707c8ded6SRichard Acayan interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 74807c8ded6SRichard Acayan #address-cells = <1>; 74907c8ded6SRichard Acayan #size-cells = <0>; 75007c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 75117289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 75217289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 75317289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 75417289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 75507c8ded6SRichard Acayan dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, 75607c8ded6SRichard Acayan <&gpi_dma0 1 3 QCOM_GPI_I2C>; 75707c8ded6SRichard Acayan dma-names = "tx", "rx"; 75807c8ded6SRichard Acayan status = "disabled"; 75907c8ded6SRichard Acayan }; 76007c8ded6SRichard Acayan 76107c8ded6SRichard Acayan i2c4: i2c@890000 { 76207c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 76307c8ded6SRichard Acayan reg = <0 0x00890000 0 0x4000>; 76407c8ded6SRichard Acayan clock-names = "se"; 76507c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 76607c8ded6SRichard Acayan pinctrl-names = "default"; 76707c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c4_default>; 76807c8ded6SRichard Acayan interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 76907c8ded6SRichard Acayan #address-cells = <1>; 77007c8ded6SRichard Acayan #size-cells = <0>; 77107c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 77217289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 77317289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 77417289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 77517289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 77607c8ded6SRichard Acayan dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, 77707c8ded6SRichard Acayan <&gpi_dma0 1 4 QCOM_GPI_I2C>; 77807c8ded6SRichard Acayan dma-names = "tx", "rx"; 77907c8ded6SRichard Acayan status = "disabled"; 78007c8ded6SRichard Acayan }; 78107c8ded6SRichard Acayan 78207c8ded6SRichard Acayan i2c5: i2c@894000 { 78307c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 78407c8ded6SRichard Acayan reg = <0 0x00894000 0 0x4000>; 78507c8ded6SRichard Acayan clock-names = "se"; 78607c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 78707c8ded6SRichard Acayan pinctrl-names = "default"; 78807c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c5_default>; 78907c8ded6SRichard Acayan interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 79007c8ded6SRichard Acayan #address-cells = <1>; 79107c8ded6SRichard Acayan #size-cells = <0>; 79207c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 79317289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 79417289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 79517289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 79617289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 79707c8ded6SRichard Acayan dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, 79807c8ded6SRichard Acayan <&gpi_dma0 1 5 QCOM_GPI_I2C>; 79907c8ded6SRichard Acayan dma-names = "tx", "rx"; 80007c8ded6SRichard Acayan status = "disabled"; 80107c8ded6SRichard Acayan }; 80207c8ded6SRichard Acayan 80307c8ded6SRichard Acayan i2c6: i2c@898000 { 80407c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 80507c8ded6SRichard Acayan reg = <0 0x00898000 0 0x4000>; 80607c8ded6SRichard Acayan clock-names = "se"; 80707c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 80807c8ded6SRichard Acayan pinctrl-names = "default"; 80907c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c6_default>; 81007c8ded6SRichard Acayan interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 81107c8ded6SRichard Acayan #address-cells = <1>; 81207c8ded6SRichard Acayan #size-cells = <0>; 81307c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 81417289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 81517289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 81617289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 81717289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 81807c8ded6SRichard Acayan dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>, 81907c8ded6SRichard Acayan <&gpi_dma0 1 6 QCOM_GPI_I2C>; 82007c8ded6SRichard Acayan dma-names = "tx", "rx"; 82107c8ded6SRichard Acayan status = "disabled"; 82207c8ded6SRichard Acayan }; 82307c8ded6SRichard Acayan 82407c8ded6SRichard Acayan i2c7: i2c@89c000 { 82507c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 82607c8ded6SRichard Acayan reg = <0 0x0089c000 0 0x4000>; 82707c8ded6SRichard Acayan clock-names = "se"; 82807c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 82907c8ded6SRichard Acayan pinctrl-names = "default"; 83007c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c7_default>; 83107c8ded6SRichard Acayan interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 83207c8ded6SRichard Acayan #address-cells = <1>; 83307c8ded6SRichard Acayan #size-cells = <0>; 83407c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 83517289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 83617289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 83717289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 83817289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 83907c8ded6SRichard Acayan dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>, 84007c8ded6SRichard Acayan <&gpi_dma0 1 7 QCOM_GPI_I2C>; 84107c8ded6SRichard Acayan dma-names = "tx", "rx"; 84207c8ded6SRichard Acayan status = "disabled"; 84307c8ded6SRichard Acayan }; 84407c8ded6SRichard Acayan }; 84507c8ded6SRichard Acayan 84607c8ded6SRichard Acayan gpi_dma1: dma-controller@a00000 { 84707c8ded6SRichard Acayan #dma-cells = <3>; 84807c8ded6SRichard Acayan compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma"; 84907c8ded6SRichard Acayan reg = <0 0x00a00000 0 0x60000>; 85007c8ded6SRichard Acayan interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>, 85107c8ded6SRichard Acayan <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>, 85207c8ded6SRichard Acayan <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>, 85307c8ded6SRichard Acayan <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, 85407c8ded6SRichard Acayan <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 85507c8ded6SRichard Acayan <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>, 85607c8ded6SRichard Acayan <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>, 85707c8ded6SRichard Acayan <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>, 85807c8ded6SRichard Acayan <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>, 85907c8ded6SRichard Acayan <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>, 86007c8ded6SRichard Acayan <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>, 86107c8ded6SRichard Acayan <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>, 86207c8ded6SRichard Acayan <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>; 86307c8ded6SRichard Acayan dma-channels = <13>; 86407c8ded6SRichard Acayan dma-channel-mask = <0xfa>; 86507c8ded6SRichard Acayan iommus = <&apps_smmu 0x6d6 0x0>; 86607c8ded6SRichard Acayan status = "disabled"; 86707c8ded6SRichard Acayan }; 86807c8ded6SRichard Acayan 86907c8ded6SRichard Acayan qupv3_id_1: geniqup@ac0000 { 87007c8ded6SRichard Acayan compatible = "qcom,geni-se-qup"; 87107c8ded6SRichard Acayan reg = <0 0x00ac0000 0 0x6000>; 87207c8ded6SRichard Acayan clock-names = "m-ahb", "s-ahb"; 87307c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, 87407c8ded6SRichard Acayan <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; 87507c8ded6SRichard Acayan iommus = <&apps_smmu 0x6c3 0x0>; 87607c8ded6SRichard Acayan #address-cells = <2>; 87707c8ded6SRichard Acayan #size-cells = <2>; 87807c8ded6SRichard Acayan ranges; 87917289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>; 88017289c01SRichard Acayan interconnect-names = "qup-core"; 88107c8ded6SRichard Acayan status = "disabled"; 88207c8ded6SRichard Acayan 88307c8ded6SRichard Acayan i2c8: i2c@a80000 { 88407c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 88507c8ded6SRichard Acayan reg = <0 0x00a80000 0 0x4000>; 88607c8ded6SRichard Acayan clock-names = "se"; 88707c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 88807c8ded6SRichard Acayan pinctrl-names = "default"; 88907c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c8_default>; 89007c8ded6SRichard Acayan interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 89107c8ded6SRichard Acayan #address-cells = <1>; 89207c8ded6SRichard Acayan #size-cells = <0>; 89307c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 89417289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 89517289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 89617289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 89717289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 89807c8ded6SRichard Acayan dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>, 89907c8ded6SRichard Acayan <&gpi_dma1 1 0 QCOM_GPI_I2C>; 90007c8ded6SRichard Acayan dma-names = "tx", "rx"; 90107c8ded6SRichard Acayan status = "disabled"; 90207c8ded6SRichard Acayan }; 90307c8ded6SRichard Acayan 90407c8ded6SRichard Acayan i2c9: i2c@a84000 { 90507c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 90607c8ded6SRichard Acayan reg = <0 0x00a84000 0 0x4000>; 90707c8ded6SRichard Acayan clock-names = "se"; 90807c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 90907c8ded6SRichard Acayan pinctrl-names = "default"; 91007c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c9_default>; 91107c8ded6SRichard Acayan interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 91207c8ded6SRichard Acayan #address-cells = <1>; 91307c8ded6SRichard Acayan #size-cells = <0>; 91407c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 91517289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 91617289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 91717289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 91817289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 91907c8ded6SRichard Acayan dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>, 92007c8ded6SRichard Acayan <&gpi_dma1 1 1 QCOM_GPI_I2C>; 92107c8ded6SRichard Acayan dma-names = "tx", "rx"; 92207c8ded6SRichard Acayan status = "disabled"; 92307c8ded6SRichard Acayan }; 92407c8ded6SRichard Acayan 92507c8ded6SRichard Acayan i2c10: i2c@a88000 { 92607c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 92707c8ded6SRichard Acayan reg = <0 0x00a88000 0 0x4000>; 92807c8ded6SRichard Acayan clock-names = "se"; 92907c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 93007c8ded6SRichard Acayan pinctrl-names = "default"; 93107c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c10_default>; 93207c8ded6SRichard Acayan interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 93307c8ded6SRichard Acayan #address-cells = <1>; 93407c8ded6SRichard Acayan #size-cells = <0>; 93507c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 93617289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 93717289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 93817289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 93917289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 94007c8ded6SRichard Acayan dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>, 94107c8ded6SRichard Acayan <&gpi_dma1 1 2 QCOM_GPI_I2C>; 94207c8ded6SRichard Acayan dma-names = "tx", "rx"; 94307c8ded6SRichard Acayan status = "disabled"; 94407c8ded6SRichard Acayan }; 94507c8ded6SRichard Acayan 94607c8ded6SRichard Acayan i2c11: i2c@a8c000 { 94707c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 94807c8ded6SRichard Acayan reg = <0 0x00a8c000 0 0x4000>; 94907c8ded6SRichard Acayan clock-names = "se"; 95007c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 95107c8ded6SRichard Acayan pinctrl-names = "default"; 95207c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c11_default>; 95307c8ded6SRichard Acayan interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 95407c8ded6SRichard Acayan #address-cells = <1>; 95507c8ded6SRichard Acayan #size-cells = <0>; 95607c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 95717289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 95817289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 95917289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 96017289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 96107c8ded6SRichard Acayan dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>, 96207c8ded6SRichard Acayan <&gpi_dma1 1 3 QCOM_GPI_I2C>; 96307c8ded6SRichard Acayan dma-names = "tx", "rx"; 96407c8ded6SRichard Acayan status = "disabled"; 96507c8ded6SRichard Acayan }; 96607c8ded6SRichard Acayan 96707c8ded6SRichard Acayan i2c12: i2c@a90000 { 96807c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 96907c8ded6SRichard Acayan reg = <0 0x00a90000 0 0x4000>; 97007c8ded6SRichard Acayan clock-names = "se"; 97107c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 97207c8ded6SRichard Acayan pinctrl-names = "default"; 97307c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c12_default>; 97407c8ded6SRichard Acayan interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 97507c8ded6SRichard Acayan #address-cells = <1>; 97607c8ded6SRichard Acayan #size-cells = <0>; 97707c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 97817289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 97917289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 98017289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 98117289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 98207c8ded6SRichard Acayan dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>, 98307c8ded6SRichard Acayan <&gpi_dma1 1 4 QCOM_GPI_I2C>; 98407c8ded6SRichard Acayan dma-names = "tx", "rx"; 98507c8ded6SRichard Acayan status = "disabled"; 98607c8ded6SRichard Acayan }; 98707c8ded6SRichard Acayan 98807c8ded6SRichard Acayan i2c13: i2c@a94000 { 98907c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 99007c8ded6SRichard Acayan reg = <0 0x00a94000 0 0x4000>; 99107c8ded6SRichard Acayan clock-names = "se"; 99207c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 99307c8ded6SRichard Acayan pinctrl-names = "default"; 99407c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c13_default>; 99507c8ded6SRichard Acayan interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 99607c8ded6SRichard Acayan #address-cells = <1>; 99707c8ded6SRichard Acayan #size-cells = <0>; 99807c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 99917289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 100017289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 100117289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 100217289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 100307c8ded6SRichard Acayan dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>, 100407c8ded6SRichard Acayan <&gpi_dma1 1 5 QCOM_GPI_I2C>; 100507c8ded6SRichard Acayan dma-names = "tx", "rx"; 100607c8ded6SRichard Acayan status = "disabled"; 100707c8ded6SRichard Acayan }; 100807c8ded6SRichard Acayan 100907c8ded6SRichard Acayan i2c14: i2c@a98000 { 101007c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 101107c8ded6SRichard Acayan reg = <0 0x00a98000 0 0x4000>; 101207c8ded6SRichard Acayan clock-names = "se"; 101307c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; 101407c8ded6SRichard Acayan pinctrl-names = "default"; 101507c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c14_default>; 101607c8ded6SRichard Acayan interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; 101707c8ded6SRichard Acayan #address-cells = <1>; 101807c8ded6SRichard Acayan #size-cells = <0>; 101907c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 102017289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 102117289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 102217289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 102317289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 102407c8ded6SRichard Acayan dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>, 102507c8ded6SRichard Acayan <&gpi_dma1 1 6 QCOM_GPI_I2C>; 102607c8ded6SRichard Acayan dma-names = "tx", "rx"; 102707c8ded6SRichard Acayan status = "disabled"; 102807c8ded6SRichard Acayan }; 102907c8ded6SRichard Acayan 103007c8ded6SRichard Acayan i2c15: i2c@a9c000 { 103107c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 103207c8ded6SRichard Acayan reg = <0 0x00a9c000 0 0x4000>; 103307c8ded6SRichard Acayan clock-names = "se"; 103407c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>; 103507c8ded6SRichard Acayan pinctrl-names = "default"; 103607c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c15_default>; 103707c8ded6SRichard Acayan interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 103807c8ded6SRichard Acayan #address-cells = <1>; 103907c8ded6SRichard Acayan #size-cells = <0>; 104007c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 104117289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 104217289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 104317289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 104417289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 104507c8ded6SRichard Acayan dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>, 104607c8ded6SRichard Acayan <&gpi_dma1 1 7 QCOM_GPI_I2C>; 104707c8ded6SRichard Acayan dma-names = "tx", "rx"; 104807c8ded6SRichard Acayan status = "disabled"; 104907c8ded6SRichard Acayan }; 105007c8ded6SRichard Acayan }; 105107c8ded6SRichard Acayan 10520daef104SRichard Acayan mem_noc: interconnect@1380000 { 10530daef104SRichard Acayan compatible = "qcom,sdm670-mem-noc"; 10540daef104SRichard Acayan reg = <0 0x01380000 0 0x27200>; 10550daef104SRichard Acayan #interconnect-cells = <2>; 10560daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10570daef104SRichard Acayan }; 10580daef104SRichard Acayan 10590daef104SRichard Acayan dc_noc: interconnect@14e0000 { 10600daef104SRichard Acayan compatible = "qcom,sdm670-dc-noc"; 10610daef104SRichard Acayan reg = <0 0x014e0000 0 0x400>; 10620daef104SRichard Acayan #interconnect-cells = <2>; 10630daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10640daef104SRichard Acayan }; 10650daef104SRichard Acayan 10660daef104SRichard Acayan config_noc: interconnect@1500000 { 10670daef104SRichard Acayan compatible = "qcom,sdm670-config-noc"; 10680daef104SRichard Acayan reg = <0 0x01500000 0 0x5080>; 10690daef104SRichard Acayan #interconnect-cells = <2>; 10700daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10710daef104SRichard Acayan }; 10720daef104SRichard Acayan 10730daef104SRichard Acayan system_noc: interconnect@1620000 { 10740daef104SRichard Acayan compatible = "qcom,sdm670-system-noc"; 10750daef104SRichard Acayan reg = <0 0x01620000 0 0x18080>; 10760daef104SRichard Acayan #interconnect-cells = <2>; 10770daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10780daef104SRichard Acayan }; 10790daef104SRichard Acayan 10800daef104SRichard Acayan aggre1_noc: interconnect@16e0000 { 10810daef104SRichard Acayan compatible = "qcom,sdm670-aggre1-noc"; 10820daef104SRichard Acayan reg = <0 0x016e0000 0 0x15080>; 10830daef104SRichard Acayan #interconnect-cells = <2>; 10840daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10850daef104SRichard Acayan }; 10860daef104SRichard Acayan 10870daef104SRichard Acayan aggre2_noc: interconnect@1700000 { 10880daef104SRichard Acayan compatible = "qcom,sdm670-aggre2-noc"; 10890daef104SRichard Acayan reg = <0 0x01700000 0 0x1f300>; 10900daef104SRichard Acayan #interconnect-cells = <2>; 10910daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10920daef104SRichard Acayan }; 10930daef104SRichard Acayan 10940daef104SRichard Acayan mmss_noc: interconnect@1740000 { 10950daef104SRichard Acayan compatible = "qcom,sdm670-mmss-noc"; 10960daef104SRichard Acayan reg = <0 0x01740000 0 0x1c100>; 10970daef104SRichard Acayan #interconnect-cells = <2>; 10980daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10990daef104SRichard Acayan }; 11000daef104SRichard Acayan 110107c8ded6SRichard Acayan tlmm: pinctrl@3400000 { 110207c8ded6SRichard Acayan compatible = "qcom,sdm670-tlmm"; 110307c8ded6SRichard Acayan reg = <0 0x03400000 0 0xc00000>; 110407c8ded6SRichard Acayan interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 110507c8ded6SRichard Acayan gpio-controller; 110607c8ded6SRichard Acayan #gpio-cells = <2>; 110707c8ded6SRichard Acayan interrupt-controller; 110807c8ded6SRichard Acayan #interrupt-cells = <2>; 110907c8ded6SRichard Acayan gpio-ranges = <&tlmm 0 0 151>; 111007c8ded6SRichard Acayan 111107c8ded6SRichard Acayan qup_i2c0_default: qup-i2c0-default-state { 111207c8ded6SRichard Acayan pins = "gpio0", "gpio1"; 111307c8ded6SRichard Acayan function = "qup0"; 111407c8ded6SRichard Acayan }; 111507c8ded6SRichard Acayan 111607c8ded6SRichard Acayan qup_i2c1_default: qup-i2c1-default-state { 111707c8ded6SRichard Acayan pins = "gpio17", "gpio18"; 111807c8ded6SRichard Acayan function = "qup1"; 111907c8ded6SRichard Acayan }; 112007c8ded6SRichard Acayan 112107c8ded6SRichard Acayan qup_i2c2_default: qup-i2c2-default-state { 112207c8ded6SRichard Acayan pins = "gpio27", "gpio28"; 112307c8ded6SRichard Acayan function = "qup2"; 112407c8ded6SRichard Acayan }; 112507c8ded6SRichard Acayan 112607c8ded6SRichard Acayan qup_i2c3_default: qup-i2c3-default-state { 112707c8ded6SRichard Acayan pins = "gpio41", "gpio42"; 112807c8ded6SRichard Acayan function = "qup3"; 112907c8ded6SRichard Acayan }; 113007c8ded6SRichard Acayan 113107c8ded6SRichard Acayan qup_i2c4_default: qup-i2c4-default-state { 113207c8ded6SRichard Acayan pins = "gpio89", "gpio90"; 113307c8ded6SRichard Acayan function = "qup4"; 113407c8ded6SRichard Acayan }; 113507c8ded6SRichard Acayan 113607c8ded6SRichard Acayan qup_i2c5_default: qup-i2c5-default-state { 113707c8ded6SRichard Acayan pins = "gpio85", "gpio86"; 113807c8ded6SRichard Acayan function = "qup5"; 113907c8ded6SRichard Acayan }; 114007c8ded6SRichard Acayan 114107c8ded6SRichard Acayan qup_i2c6_default: qup-i2c6-default-state { 114207c8ded6SRichard Acayan pins = "gpio45", "gpio46"; 114307c8ded6SRichard Acayan function = "qup6"; 114407c8ded6SRichard Acayan }; 114507c8ded6SRichard Acayan 114607c8ded6SRichard Acayan qup_i2c7_default: qup-i2c7-default-state { 114707c8ded6SRichard Acayan pins = "gpio93", "gpio94"; 114807c8ded6SRichard Acayan function = "qup7"; 114907c8ded6SRichard Acayan }; 115007c8ded6SRichard Acayan 115107c8ded6SRichard Acayan qup_i2c8_default: qup-i2c8-default-state { 115207c8ded6SRichard Acayan pins = "gpio65", "gpio66"; 115307c8ded6SRichard Acayan function = "qup8"; 115407c8ded6SRichard Acayan }; 115507c8ded6SRichard Acayan 115607c8ded6SRichard Acayan qup_i2c9_default: qup-i2c9-default-state { 115707c8ded6SRichard Acayan pins = "gpio6", "gpio7"; 115807c8ded6SRichard Acayan function = "qup9"; 115907c8ded6SRichard Acayan }; 116007c8ded6SRichard Acayan 116107c8ded6SRichard Acayan qup_i2c10_default: qup-i2c10-default-state { 116207c8ded6SRichard Acayan pins = "gpio55", "gpio56"; 116307c8ded6SRichard Acayan function = "qup10"; 116407c8ded6SRichard Acayan }; 116507c8ded6SRichard Acayan 116607c8ded6SRichard Acayan qup_i2c11_default: qup-i2c11-default-state { 116707c8ded6SRichard Acayan pins = "gpio31", "gpio32"; 116807c8ded6SRichard Acayan function = "qup11"; 116907c8ded6SRichard Acayan }; 117007c8ded6SRichard Acayan 117107c8ded6SRichard Acayan qup_i2c12_default: qup-i2c12-default-state { 117207c8ded6SRichard Acayan pins = "gpio49", "gpio50"; 117307c8ded6SRichard Acayan function = "qup12"; 117407c8ded6SRichard Acayan }; 117507c8ded6SRichard Acayan 117607c8ded6SRichard Acayan qup_i2c13_default: qup-i2c13-default-state { 117707c8ded6SRichard Acayan pins = "gpio105", "gpio106"; 117807c8ded6SRichard Acayan function = "qup13"; 117907c8ded6SRichard Acayan }; 118007c8ded6SRichard Acayan 118107c8ded6SRichard Acayan qup_i2c14_default: qup-i2c14-default-state { 118207c8ded6SRichard Acayan pins = "gpio33", "gpio34"; 118307c8ded6SRichard Acayan function = "qup14"; 118407c8ded6SRichard Acayan }; 118507c8ded6SRichard Acayan 118607c8ded6SRichard Acayan qup_i2c15_default: qup-i2c15-default-state { 118707c8ded6SRichard Acayan pins = "gpio81", "gpio82"; 118807c8ded6SRichard Acayan function = "qup15"; 118907c8ded6SRichard Acayan }; 119007c8ded6SRichard Acayan 119107c8ded6SRichard Acayan sdc1_state_on: sdc1-on-state { 119207c8ded6SRichard Acayan clk-pins { 119307c8ded6SRichard Acayan pins = "sdc1_clk"; 119407c8ded6SRichard Acayan bias-disable; 119507c8ded6SRichard Acayan drive-strength = <16>; 119607c8ded6SRichard Acayan }; 119707c8ded6SRichard Acayan 119807c8ded6SRichard Acayan cmd-pins { 119907c8ded6SRichard Acayan pins = "sdc1_cmd"; 120007c8ded6SRichard Acayan bias-pull-up; 120107c8ded6SRichard Acayan drive-strength = <10>; 120207c8ded6SRichard Acayan }; 120307c8ded6SRichard Acayan 120407c8ded6SRichard Acayan data-pins { 120507c8ded6SRichard Acayan pins = "sdc1_data"; 120607c8ded6SRichard Acayan bias-pull-up; 120707c8ded6SRichard Acayan drive-strength = <10>; 120807c8ded6SRichard Acayan }; 120907c8ded6SRichard Acayan 121007c8ded6SRichard Acayan rclk-pins { 121107c8ded6SRichard Acayan pins = "sdc1_rclk"; 121207c8ded6SRichard Acayan bias-pull-down; 121307c8ded6SRichard Acayan }; 121407c8ded6SRichard Acayan }; 121507c8ded6SRichard Acayan 121607c8ded6SRichard Acayan sdc1_state_off: sdc1-off-state { 121707c8ded6SRichard Acayan clk-pins { 121807c8ded6SRichard Acayan pins = "sdc1_clk"; 121907c8ded6SRichard Acayan bias-disable; 122007c8ded6SRichard Acayan drive-strength = <2>; 122107c8ded6SRichard Acayan }; 122207c8ded6SRichard Acayan 122307c8ded6SRichard Acayan cmd-pins { 122407c8ded6SRichard Acayan pins = "sdc1_cmd"; 122507c8ded6SRichard Acayan bias-pull-up; 122607c8ded6SRichard Acayan drive-strength = <2>; 122707c8ded6SRichard Acayan }; 122807c8ded6SRichard Acayan 122907c8ded6SRichard Acayan data-pins { 123007c8ded6SRichard Acayan pins = "sdc1_data"; 123107c8ded6SRichard Acayan bias-pull-up; 123207c8ded6SRichard Acayan drive-strength = <2>; 123307c8ded6SRichard Acayan }; 123407c8ded6SRichard Acayan 123507c8ded6SRichard Acayan rclk-pins { 123607c8ded6SRichard Acayan pins = "sdc1_rclk"; 123707c8ded6SRichard Acayan bias-pull-down; 123807c8ded6SRichard Acayan }; 123907c8ded6SRichard Acayan }; 124007c8ded6SRichard Acayan }; 124107c8ded6SRichard Acayan 124207c8ded6SRichard Acayan usb_1_hsphy: phy@88e2000 { 124307c8ded6SRichard Acayan compatible = "qcom,sdm670-qusb2-phy", "qcom,qusb2-v2-phy"; 124407c8ded6SRichard Acayan reg = <0 0x088e2000 0 0x400>; 124507c8ded6SRichard Acayan #phy-cells = <0>; 124607c8ded6SRichard Acayan 124707c8ded6SRichard Acayan clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 124807c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK>; 124907c8ded6SRichard Acayan clock-names = "cfg_ahb", "ref"; 125007c8ded6SRichard Acayan 125107c8ded6SRichard Acayan resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 125207c8ded6SRichard Acayan 1253cb98187aSRichard Acayan nvmem-cells = <&qusb2_hstx_trim>; 1254cb98187aSRichard Acayan 125507c8ded6SRichard Acayan status = "disabled"; 125607c8ded6SRichard Acayan }; 125707c8ded6SRichard Acayan 125807c8ded6SRichard Acayan usb_1: usb@a6f8800 { 125907c8ded6SRichard Acayan compatible = "qcom,sdm670-dwc3", "qcom,dwc3"; 126007c8ded6SRichard Acayan reg = <0 0x0a6f8800 0 0x400>; 126107c8ded6SRichard Acayan #address-cells = <2>; 126207c8ded6SRichard Acayan #size-cells = <2>; 126307c8ded6SRichard Acayan ranges; 126407c8ded6SRichard Acayan dma-ranges; 126507c8ded6SRichard Acayan 126607c8ded6SRichard Acayan clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 126707c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MASTER_CLK>, 126807c8ded6SRichard Acayan <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 126907c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 127007c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; 127107c8ded6SRichard Acayan clock-names = "cfg_noc", 127207c8ded6SRichard Acayan "core", 127307c8ded6SRichard Acayan "iface", 127407c8ded6SRichard Acayan "sleep", 127507c8ded6SRichard Acayan "mock_utmi"; 127607c8ded6SRichard Acayan 127707c8ded6SRichard Acayan assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 127807c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MASTER_CLK>; 127907c8ded6SRichard Acayan assigned-clock-rates = <19200000>, <150000000>; 128007c8ded6SRichard Acayan 128107c8ded6SRichard Acayan interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 128207c8ded6SRichard Acayan <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, 128307c8ded6SRichard Acayan <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>, 128407c8ded6SRichard Acayan <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>; 128507c8ded6SRichard Acayan interrupt-names = "hs_phy_irq", "ss_phy_irq", 128607c8ded6SRichard Acayan "dm_hs_phy_irq", "dp_hs_phy_irq"; 128707c8ded6SRichard Acayan 128807c8ded6SRichard Acayan power-domains = <&gcc USB30_PRIM_GDSC>; 128907c8ded6SRichard Acayan 129007c8ded6SRichard Acayan resets = <&gcc GCC_USB30_PRIM_BCR>; 129107c8ded6SRichard Acayan 129217289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_USB3 0 &mem_noc SLAVE_EBI_CH0 0>, 129317289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>; 129417289c01SRichard Acayan interconnect-names = "usb-ddr", "apps-usb"; 129517289c01SRichard Acayan 129607c8ded6SRichard Acayan status = "disabled"; 129707c8ded6SRichard Acayan 129807c8ded6SRichard Acayan usb_1_dwc3: usb@a600000 { 129907c8ded6SRichard Acayan compatible = "snps,dwc3"; 130007c8ded6SRichard Acayan reg = <0 0x0a600000 0 0xcd00>; 130107c8ded6SRichard Acayan interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 130207c8ded6SRichard Acayan iommus = <&apps_smmu 0x740 0>; 130307c8ded6SRichard Acayan snps,dis_u2_susphy_quirk; 130407c8ded6SRichard Acayan snps,dis_enblslpm_quirk; 130507c8ded6SRichard Acayan phys = <&usb_1_hsphy>; 130607c8ded6SRichard Acayan phy-names = "usb2-phy"; 130707c8ded6SRichard Acayan }; 130807c8ded6SRichard Acayan }; 130907c8ded6SRichard Acayan 131007c8ded6SRichard Acayan spmi_bus: spmi@c440000 { 131107c8ded6SRichard Acayan compatible = "qcom,spmi-pmic-arb"; 131207c8ded6SRichard Acayan reg = <0 0x0c440000 0 0x1100>, 131307c8ded6SRichard Acayan <0 0x0c600000 0 0x2000000>, 131407c8ded6SRichard Acayan <0 0x0e600000 0 0x100000>, 131507c8ded6SRichard Acayan <0 0x0e700000 0 0xa0000>, 131607c8ded6SRichard Acayan <0 0x0c40a000 0 0x26000>; 131707c8ded6SRichard Acayan reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 131807c8ded6SRichard Acayan interrupt-names = "periph_irq"; 131907c8ded6SRichard Acayan interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>; 132007c8ded6SRichard Acayan qcom,ee = <0>; 132107c8ded6SRichard Acayan qcom,channel = <0>; 132207c8ded6SRichard Acayan #address-cells = <2>; 132307c8ded6SRichard Acayan #size-cells = <0>; 132407c8ded6SRichard Acayan interrupt-controller; 132507c8ded6SRichard Acayan #interrupt-cells = <4>; 132607c8ded6SRichard Acayan }; 132707c8ded6SRichard Acayan 132807c8ded6SRichard Acayan apps_smmu: iommu@15000000 { 132907c8ded6SRichard Acayan compatible = "qcom,sdm670-smmu-500", "qcom,smmu-500", "arm,mmu-500"; 133007c8ded6SRichard Acayan reg = <0 0x15000000 0 0x80000>; 133107c8ded6SRichard Acayan #iommu-cells = <2>; 133207c8ded6SRichard Acayan #global-interrupts = <1>; 133307c8ded6SRichard Acayan interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 133407c8ded6SRichard Acayan <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 133507c8ded6SRichard Acayan <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 133607c8ded6SRichard Acayan <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 133707c8ded6SRichard Acayan <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 133807c8ded6SRichard Acayan <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 133907c8ded6SRichard Acayan <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 134007c8ded6SRichard Acayan <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 134107c8ded6SRichard Acayan <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 134207c8ded6SRichard Acayan <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 134307c8ded6SRichard Acayan <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 134407c8ded6SRichard Acayan <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 134507c8ded6SRichard Acayan <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 134607c8ded6SRichard Acayan <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 134707c8ded6SRichard Acayan <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 134807c8ded6SRichard Acayan <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 134907c8ded6SRichard Acayan <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 135007c8ded6SRichard Acayan <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 135107c8ded6SRichard Acayan <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 135207c8ded6SRichard Acayan <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 135307c8ded6SRichard Acayan <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 135407c8ded6SRichard Acayan <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 135507c8ded6SRichard Acayan <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 135607c8ded6SRichard Acayan <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 135707c8ded6SRichard Acayan <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, 135807c8ded6SRichard Acayan <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, 135907c8ded6SRichard Acayan <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, 136007c8ded6SRichard Acayan <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 136107c8ded6SRichard Acayan <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, 136207c8ded6SRichard Acayan <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 136307c8ded6SRichard Acayan <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 136407c8ded6SRichard Acayan <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 136507c8ded6SRichard Acayan <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 136607c8ded6SRichard Acayan <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 136707c8ded6SRichard Acayan <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 136807c8ded6SRichard Acayan <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 136907c8ded6SRichard Acayan <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 137007c8ded6SRichard Acayan <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 137107c8ded6SRichard Acayan <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, 137207c8ded6SRichard Acayan <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 137307c8ded6SRichard Acayan <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 137407c8ded6SRichard Acayan <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 137507c8ded6SRichard Acayan <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 137607c8ded6SRichard Acayan <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 137707c8ded6SRichard Acayan <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 137807c8ded6SRichard Acayan <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 137907c8ded6SRichard Acayan <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 138007c8ded6SRichard Acayan <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 138107c8ded6SRichard Acayan <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 138207c8ded6SRichard Acayan <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 138307c8ded6SRichard Acayan <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 138407c8ded6SRichard Acayan <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 138507c8ded6SRichard Acayan <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 138607c8ded6SRichard Acayan <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 138707c8ded6SRichard Acayan <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 138807c8ded6SRichard Acayan <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 138907c8ded6SRichard Acayan <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 139007c8ded6SRichard Acayan <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 139107c8ded6SRichard Acayan <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 139207c8ded6SRichard Acayan <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 139307c8ded6SRichard Acayan <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 139407c8ded6SRichard Acayan <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 139507c8ded6SRichard Acayan <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 139607c8ded6SRichard Acayan <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 139707c8ded6SRichard Acayan <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>; 139807c8ded6SRichard Acayan }; 139907c8ded6SRichard Acayan 14000daef104SRichard Acayan gladiator_noc: interconnect@17900000 { 14010daef104SRichard Acayan compatible = "qcom,sdm670-gladiator-noc"; 14020daef104SRichard Acayan reg = <0 0x17900000 0 0xd080>; 14030daef104SRichard Acayan #interconnect-cells = <2>; 14040daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 14050daef104SRichard Acayan }; 14060daef104SRichard Acayan 140707c8ded6SRichard Acayan apps_rsc: rsc@179c0000 { 140807c8ded6SRichard Acayan compatible = "qcom,rpmh-rsc"; 140907c8ded6SRichard Acayan reg = <0 0x179c0000 0 0x10000>, 141007c8ded6SRichard Acayan <0 0x179d0000 0 0x10000>, 141107c8ded6SRichard Acayan <0 0x179e0000 0 0x10000>; 141207c8ded6SRichard Acayan reg-names = "drv-0", "drv-1", "drv-2"; 141307c8ded6SRichard Acayan interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 141407c8ded6SRichard Acayan <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 141507c8ded6SRichard Acayan <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 141607c8ded6SRichard Acayan label = "apps_rsc"; 141707c8ded6SRichard Acayan qcom,tcs-offset = <0xd00>; 141807c8ded6SRichard Acayan qcom,drv-id = <2>; 141907c8ded6SRichard Acayan qcom,tcs-config = <ACTIVE_TCS 2>, 142007c8ded6SRichard Acayan <SLEEP_TCS 3>, 142107c8ded6SRichard Acayan <WAKE_TCS 3>, 142207c8ded6SRichard Acayan <CONTROL_TCS 1>; 14237b04cbd8SKonrad Dybcio power-domains = <&CLUSTER_PD>; 142407c8ded6SRichard Acayan 142507c8ded6SRichard Acayan apps_bcm_voter: bcm-voter { 142607c8ded6SRichard Acayan compatible = "qcom,bcm-voter"; 142707c8ded6SRichard Acayan }; 142807c8ded6SRichard Acayan 142907c8ded6SRichard Acayan rpmhcc: clock-controller { 143007c8ded6SRichard Acayan compatible = "qcom,sdm670-rpmh-clk"; 143107c8ded6SRichard Acayan #clock-cells = <1>; 143207c8ded6SRichard Acayan clock-names = "xo"; 143307c8ded6SRichard Acayan clocks = <&xo_board>; 143407c8ded6SRichard Acayan }; 143507c8ded6SRichard Acayan 143607c8ded6SRichard Acayan rpmhpd: power-controller { 143707c8ded6SRichard Acayan compatible = "qcom,sdm670-rpmhpd"; 143807c8ded6SRichard Acayan #power-domain-cells = <1>; 143907c8ded6SRichard Acayan operating-points-v2 = <&rpmhpd_opp_table>; 144007c8ded6SRichard Acayan 144107c8ded6SRichard Acayan rpmhpd_opp_table: opp-table { 144207c8ded6SRichard Acayan compatible = "operating-points-v2"; 144307c8ded6SRichard Acayan 144407c8ded6SRichard Acayan rpmhpd_opp_ret: opp1 { 144507c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; 144607c8ded6SRichard Acayan }; 144707c8ded6SRichard Acayan 144807c8ded6SRichard Acayan rpmhpd_opp_min_svs: opp2 { 144907c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 145007c8ded6SRichard Acayan }; 145107c8ded6SRichard Acayan 145207c8ded6SRichard Acayan rpmhpd_opp_low_svs: opp3 { 145307c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 145407c8ded6SRichard Acayan }; 145507c8ded6SRichard Acayan 145607c8ded6SRichard Acayan rpmhpd_opp_svs: opp4 { 145707c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 145807c8ded6SRichard Acayan }; 145907c8ded6SRichard Acayan 146007c8ded6SRichard Acayan rpmhpd_opp_svs_l1: opp5 { 146107c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 146207c8ded6SRichard Acayan }; 146307c8ded6SRichard Acayan 146407c8ded6SRichard Acayan rpmhpd_opp_nom: opp6 { 146507c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 146607c8ded6SRichard Acayan }; 146707c8ded6SRichard Acayan 146807c8ded6SRichard Acayan rpmhpd_opp_nom_l1: opp7 { 146907c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 147007c8ded6SRichard Acayan }; 147107c8ded6SRichard Acayan 147207c8ded6SRichard Acayan rpmhpd_opp_nom_l2: opp8 { 147307c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; 147407c8ded6SRichard Acayan }; 147507c8ded6SRichard Acayan 147607c8ded6SRichard Acayan rpmhpd_opp_turbo: opp9 { 147707c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 147807c8ded6SRichard Acayan }; 147907c8ded6SRichard Acayan 148007c8ded6SRichard Acayan rpmhpd_opp_turbo_l1: opp10 { 148107c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 148207c8ded6SRichard Acayan }; 148307c8ded6SRichard Acayan }; 148407c8ded6SRichard Acayan }; 148507c8ded6SRichard Acayan }; 148607c8ded6SRichard Acayan 148707c8ded6SRichard Acayan intc: interrupt-controller@17a00000 { 148807c8ded6SRichard Acayan compatible = "arm,gic-v3"; 148907c8ded6SRichard Acayan reg = <0 0x17a00000 0 0x10000>, /* GICD */ 149007c8ded6SRichard Acayan <0 0x17a60000 0 0x100000>; /* GICR * 8 */ 149107c8ded6SRichard Acayan interrupt-controller; 149207c8ded6SRichard Acayan interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 149307c8ded6SRichard Acayan #interrupt-cells = <3>; 149407c8ded6SRichard Acayan }; 14958cd5597aSRichard Acayan 14968cd5597aSRichard Acayan osm_l3: interconnect@17d41000 { 14978cd5597aSRichard Acayan compatible = "qcom,sdm670-osm-l3", "qcom,osm-l3"; 14988cd5597aSRichard Acayan reg = <0 0x17d41000 0 0x1400>; 14998cd5597aSRichard Acayan 15008cd5597aSRichard Acayan clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 15018cd5597aSRichard Acayan clock-names = "xo", "alternate"; 15028cd5597aSRichard Acayan 15038cd5597aSRichard Acayan #interconnect-cells = <1>; 15048cd5597aSRichard Acayan }; 1505*0c665213SRichard Acayan 1506*0c665213SRichard Acayan cpufreq_hw: cpufreq@17d43000 { 1507*0c665213SRichard Acayan compatible = "qcom,cpufreq-hw"; 1508*0c665213SRichard Acayan reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>; 1509*0c665213SRichard Acayan reg-names = "freq-domain0", "freq-domain1"; 1510*0c665213SRichard Acayan 1511*0c665213SRichard Acayan clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 1512*0c665213SRichard Acayan clock-names = "xo", "alternate"; 1513*0c665213SRichard Acayan 1514*0c665213SRichard Acayan #freq-domain-cells = <1>; 1515*0c665213SRichard Acayan }; 151607c8ded6SRichard Acayan }; 151707c8ded6SRichard Acayan}; 1518