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> 130c665213SRichard 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"; 39605a981eSRichard Acayan capacity-dmips-mhz = <610>; 40605a981eSRichard Acayan dynamic-power-coefficient = <203>; 410c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 420c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 430c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 440c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 4507c8ded6SRichard Acayan power-domains = <&CPU_PD0>; 4607c8ded6SRichard Acayan power-domain-names = "psci"; 4707c8ded6SRichard Acayan next-level-cache = <&L2_0>; 4807c8ded6SRichard Acayan L2_0: l2-cache { 4907c8ded6SRichard Acayan compatible = "cache"; 5007c8ded6SRichard Acayan next-level-cache = <&L3_0>; 519c6e72fbSKrzysztof Kozlowski cache-level = <2>; 529c6e72fbSKrzysztof Kozlowski cache-unified; 5307c8ded6SRichard Acayan L3_0: l3-cache { 5407c8ded6SRichard Acayan compatible = "cache"; 559c6e72fbSKrzysztof Kozlowski cache-level = <3>; 569c6e72fbSKrzysztof Kozlowski cache-unified; 5707c8ded6SRichard Acayan }; 5807c8ded6SRichard Acayan }; 5907c8ded6SRichard Acayan }; 6007c8ded6SRichard Acayan 6107c8ded6SRichard Acayan CPU1: cpu@100 { 6207c8ded6SRichard Acayan device_type = "cpu"; 6307c8ded6SRichard Acayan compatible = "qcom,kryo360"; 6407c8ded6SRichard Acayan reg = <0x0 0x100>; 6507c8ded6SRichard Acayan enable-method = "psci"; 66605a981eSRichard Acayan capacity-dmips-mhz = <610>; 67605a981eSRichard Acayan dynamic-power-coefficient = <203>; 680c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 690c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 700c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 710c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 7207c8ded6SRichard Acayan power-domains = <&CPU_PD1>; 7307c8ded6SRichard Acayan power-domain-names = "psci"; 7407c8ded6SRichard Acayan next-level-cache = <&L2_100>; 7507c8ded6SRichard Acayan L2_100: l2-cache { 7607c8ded6SRichard Acayan compatible = "cache"; 779c6e72fbSKrzysztof Kozlowski cache-level = <2>; 789c6e72fbSKrzysztof Kozlowski cache-unified; 7907c8ded6SRichard Acayan next-level-cache = <&L3_0>; 8007c8ded6SRichard Acayan }; 8107c8ded6SRichard Acayan }; 8207c8ded6SRichard Acayan 8307c8ded6SRichard Acayan CPU2: cpu@200 { 8407c8ded6SRichard Acayan device_type = "cpu"; 8507c8ded6SRichard Acayan compatible = "qcom,kryo360"; 8607c8ded6SRichard Acayan reg = <0x0 0x200>; 8707c8ded6SRichard Acayan enable-method = "psci"; 88605a981eSRichard Acayan capacity-dmips-mhz = <610>; 89605a981eSRichard Acayan dynamic-power-coefficient = <203>; 900c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 910c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 920c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 930c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 9407c8ded6SRichard Acayan power-domains = <&CPU_PD2>; 9507c8ded6SRichard Acayan power-domain-names = "psci"; 9607c8ded6SRichard Acayan next-level-cache = <&L2_200>; 9707c8ded6SRichard Acayan L2_200: l2-cache { 9807c8ded6SRichard Acayan compatible = "cache"; 999c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1009c6e72fbSKrzysztof Kozlowski cache-unified; 10107c8ded6SRichard Acayan next-level-cache = <&L3_0>; 10207c8ded6SRichard Acayan }; 10307c8ded6SRichard Acayan }; 10407c8ded6SRichard Acayan 10507c8ded6SRichard Acayan CPU3: cpu@300 { 10607c8ded6SRichard Acayan device_type = "cpu"; 10707c8ded6SRichard Acayan compatible = "qcom,kryo360"; 10807c8ded6SRichard Acayan reg = <0x0 0x300>; 10907c8ded6SRichard Acayan enable-method = "psci"; 110605a981eSRichard Acayan capacity-dmips-mhz = <610>; 111605a981eSRichard Acayan dynamic-power-coefficient = <203>; 1120c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 1130c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 1140c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 1150c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 11607c8ded6SRichard Acayan power-domains = <&CPU_PD3>; 11707c8ded6SRichard Acayan power-domain-names = "psci"; 11807c8ded6SRichard Acayan next-level-cache = <&L2_300>; 11907c8ded6SRichard Acayan L2_300: l2-cache { 12007c8ded6SRichard Acayan compatible = "cache"; 1219c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1229c6e72fbSKrzysztof Kozlowski cache-unified; 12307c8ded6SRichard Acayan next-level-cache = <&L3_0>; 12407c8ded6SRichard Acayan }; 12507c8ded6SRichard Acayan }; 12607c8ded6SRichard Acayan 12707c8ded6SRichard Acayan CPU4: cpu@400 { 12807c8ded6SRichard Acayan device_type = "cpu"; 12907c8ded6SRichard Acayan compatible = "qcom,kryo360"; 13007c8ded6SRichard Acayan reg = <0x0 0x400>; 13107c8ded6SRichard Acayan enable-method = "psci"; 132605a981eSRichard Acayan capacity-dmips-mhz = <610>; 133605a981eSRichard Acayan dynamic-power-coefficient = <203>; 1340c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 1350c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 1360c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 1370c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 13807c8ded6SRichard Acayan power-domains = <&CPU_PD4>; 13907c8ded6SRichard Acayan power-domain-names = "psci"; 14007c8ded6SRichard Acayan next-level-cache = <&L2_400>; 14107c8ded6SRichard Acayan L2_400: l2-cache { 14207c8ded6SRichard Acayan compatible = "cache"; 1439c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1449c6e72fbSKrzysztof Kozlowski cache-unified; 14507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 14607c8ded6SRichard Acayan }; 14707c8ded6SRichard Acayan }; 14807c8ded6SRichard Acayan 14907c8ded6SRichard Acayan CPU5: cpu@500 { 15007c8ded6SRichard Acayan device_type = "cpu"; 15107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 15207c8ded6SRichard Acayan reg = <0x0 0x500>; 15307c8ded6SRichard Acayan enable-method = "psci"; 154605a981eSRichard Acayan capacity-dmips-mhz = <610>; 155605a981eSRichard Acayan dynamic-power-coefficient = <203>; 1560c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 0>; 1570c665213SRichard Acayan operating-points-v2 = <&cpu0_opp_table>; 1580c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 1590c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 16007c8ded6SRichard Acayan power-domains = <&CPU_PD5>; 16107c8ded6SRichard Acayan power-domain-names = "psci"; 16207c8ded6SRichard Acayan next-level-cache = <&L2_500>; 16307c8ded6SRichard Acayan L2_500: l2-cache { 16407c8ded6SRichard Acayan compatible = "cache"; 1659c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1669c6e72fbSKrzysztof Kozlowski cache-unified; 16707c8ded6SRichard Acayan next-level-cache = <&L3_0>; 16807c8ded6SRichard Acayan }; 16907c8ded6SRichard Acayan }; 17007c8ded6SRichard Acayan 17107c8ded6SRichard Acayan CPU6: cpu@600 { 17207c8ded6SRichard Acayan device_type = "cpu"; 17307c8ded6SRichard Acayan compatible = "qcom,kryo360"; 17407c8ded6SRichard Acayan reg = <0x0 0x600>; 17507c8ded6SRichard Acayan enable-method = "psci"; 176605a981eSRichard Acayan capacity-dmips-mhz = <1024>; 177605a981eSRichard Acayan dynamic-power-coefficient = <393>; 1780c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 1>; 1790c665213SRichard Acayan operating-points-v2 = <&cpu6_opp_table>; 1800c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 1810c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 18207c8ded6SRichard Acayan power-domains = <&CPU_PD6>; 18307c8ded6SRichard Acayan power-domain-names = "psci"; 18407c8ded6SRichard Acayan next-level-cache = <&L2_600>; 18507c8ded6SRichard Acayan L2_600: l2-cache { 18607c8ded6SRichard Acayan compatible = "cache"; 1879c6e72fbSKrzysztof Kozlowski cache-level = <2>; 1889c6e72fbSKrzysztof Kozlowski cache-unified; 18907c8ded6SRichard Acayan next-level-cache = <&L3_0>; 19007c8ded6SRichard Acayan }; 19107c8ded6SRichard Acayan }; 19207c8ded6SRichard Acayan 19307c8ded6SRichard Acayan CPU7: cpu@700 { 19407c8ded6SRichard Acayan device_type = "cpu"; 19507c8ded6SRichard Acayan compatible = "qcom,kryo360"; 19607c8ded6SRichard Acayan reg = <0x0 0x700>; 19707c8ded6SRichard Acayan enable-method = "psci"; 198605a981eSRichard Acayan capacity-dmips-mhz = <1024>; 199605a981eSRichard Acayan dynamic-power-coefficient = <393>; 2000c665213SRichard Acayan qcom,freq-domain = <&cpufreq_hw 1>; 2010c665213SRichard Acayan operating-points-v2 = <&cpu6_opp_table>; 2020c665213SRichard Acayan interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>, 2030c665213SRichard Acayan <&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; 20407c8ded6SRichard Acayan power-domains = <&CPU_PD7>; 20507c8ded6SRichard Acayan power-domain-names = "psci"; 20607c8ded6SRichard Acayan next-level-cache = <&L2_700>; 20707c8ded6SRichard Acayan L2_700: l2-cache { 20807c8ded6SRichard Acayan compatible = "cache"; 2099c6e72fbSKrzysztof Kozlowski cache-level = <2>; 2109c6e72fbSKrzysztof Kozlowski cache-unified; 21107c8ded6SRichard Acayan next-level-cache = <&L3_0>; 21207c8ded6SRichard Acayan }; 21307c8ded6SRichard Acayan }; 21407c8ded6SRichard Acayan 21507c8ded6SRichard Acayan cpu-map { 21607c8ded6SRichard Acayan cluster0 { 21707c8ded6SRichard Acayan core0 { 21807c8ded6SRichard Acayan cpu = <&CPU0>; 21907c8ded6SRichard Acayan }; 22007c8ded6SRichard Acayan 22107c8ded6SRichard Acayan core1 { 22207c8ded6SRichard Acayan cpu = <&CPU1>; 22307c8ded6SRichard Acayan }; 22407c8ded6SRichard Acayan 22507c8ded6SRichard Acayan core2 { 22607c8ded6SRichard Acayan cpu = <&CPU2>; 22707c8ded6SRichard Acayan }; 22807c8ded6SRichard Acayan 22907c8ded6SRichard Acayan core3 { 23007c8ded6SRichard Acayan cpu = <&CPU3>; 23107c8ded6SRichard Acayan }; 23207c8ded6SRichard Acayan 23307c8ded6SRichard Acayan core4 { 23407c8ded6SRichard Acayan cpu = <&CPU4>; 23507c8ded6SRichard Acayan }; 23607c8ded6SRichard Acayan 23707c8ded6SRichard Acayan core5 { 23807c8ded6SRichard Acayan cpu = <&CPU5>; 23907c8ded6SRichard Acayan }; 24007c8ded6SRichard Acayan 24107c8ded6SRichard Acayan core6 { 24207c8ded6SRichard Acayan cpu = <&CPU6>; 24307c8ded6SRichard Acayan }; 24407c8ded6SRichard Acayan 24507c8ded6SRichard Acayan core7 { 24607c8ded6SRichard Acayan cpu = <&CPU7>; 24707c8ded6SRichard Acayan }; 24807c8ded6SRichard Acayan }; 24907c8ded6SRichard Acayan }; 25007c8ded6SRichard Acayan 25107c8ded6SRichard Acayan idle-states { 25207c8ded6SRichard Acayan entry-method = "psci"; 25307c8ded6SRichard Acayan 25407c8ded6SRichard Acayan LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { 25507c8ded6SRichard Acayan compatible = "arm,idle-state"; 25607c8ded6SRichard Acayan idle-state-name = "little-rail-power-collapse"; 25707c8ded6SRichard Acayan arm,psci-suspend-param = <0x40000004>; 25807c8ded6SRichard Acayan entry-latency-us = <702>; 25907c8ded6SRichard Acayan exit-latency-us = <915>; 26007c8ded6SRichard Acayan min-residency-us = <1617>; 26107c8ded6SRichard Acayan local-timer-stop; 26207c8ded6SRichard Acayan }; 26307c8ded6SRichard Acayan 26407c8ded6SRichard Acayan BIG_CPU_SLEEP_0: cpu-sleep-1-0 { 26507c8ded6SRichard Acayan compatible = "arm,idle-state"; 26607c8ded6SRichard Acayan idle-state-name = "big-rail-power-collapse"; 26707c8ded6SRichard Acayan arm,psci-suspend-param = <0x40000004>; 26807c8ded6SRichard Acayan entry-latency-us = <526>; 26907c8ded6SRichard Acayan exit-latency-us = <1854>; 27007c8ded6SRichard Acayan min-residency-us = <2380>; 27107c8ded6SRichard Acayan local-timer-stop; 27207c8ded6SRichard Acayan }; 27307c8ded6SRichard Acayan }; 27407c8ded6SRichard Acayan 27507c8ded6SRichard Acayan domain-idle-states { 27607c8ded6SRichard Acayan CLUSTER_SLEEP_0: cluster-sleep-0 { 27707c8ded6SRichard Acayan compatible = "domain-idle-state"; 27807c8ded6SRichard Acayan arm,psci-suspend-param = <0x4100c244>; 27907c8ded6SRichard Acayan entry-latency-us = <3263>; 28007c8ded6SRichard Acayan exit-latency-us = <6562>; 28107c8ded6SRichard Acayan min-residency-us = <9825>; 28207c8ded6SRichard Acayan }; 28307c8ded6SRichard Acayan }; 28407c8ded6SRichard Acayan }; 28507c8ded6SRichard Acayan 28607c8ded6SRichard Acayan firmware { 28707c8ded6SRichard Acayan scm { 28807c8ded6SRichard Acayan compatible = "qcom,scm-sdm670", "qcom,scm"; 28907c8ded6SRichard Acayan }; 29007c8ded6SRichard Acayan }; 29107c8ded6SRichard Acayan 29207c8ded6SRichard Acayan memory@80000000 { 29307c8ded6SRichard Acayan device_type = "memory"; 29407c8ded6SRichard Acayan /* We expect the bootloader to fill in the size */ 29507c8ded6SRichard Acayan reg = <0x0 0x80000000 0x0 0x0>; 29607c8ded6SRichard Acayan }; 29707c8ded6SRichard Acayan 2980c665213SRichard Acayan cpu0_opp_table: opp-table-cpu0 { 2990c665213SRichard Acayan compatible = "operating-points-v2"; 3000c665213SRichard Acayan opp-shared; 3010c665213SRichard Acayan 3020c665213SRichard Acayan cpu0_opp1: opp-300000000 { 3030c665213SRichard Acayan opp-hz = /bits/ 64 <300000000>; 3040c665213SRichard Acayan opp-peak-kBps = <400000 4800000>; 3050c665213SRichard Acayan }; 3060c665213SRichard Acayan 3070c665213SRichard Acayan cpu0_opp2: opp-576000000 { 3080c665213SRichard Acayan opp-hz = /bits/ 64 <576000000>; 3090c665213SRichard Acayan opp-peak-kBps = <400000 4800000>; 3100c665213SRichard Acayan }; 3110c665213SRichard Acayan 3120c665213SRichard Acayan cpu0_opp3: opp-748800000 { 3130c665213SRichard Acayan opp-hz = /bits/ 64 <748800000>; 3140c665213SRichard Acayan opp-peak-kBps = <1200000 4800000>; 3150c665213SRichard Acayan }; 3160c665213SRichard Acayan 3170c665213SRichard Acayan cpu0_opp4: opp-998400000 { 3180c665213SRichard Acayan opp-hz = /bits/ 64 <998400000>; 3190c665213SRichard Acayan opp-peak-kBps = <1804000 8908800>; 3200c665213SRichard Acayan }; 3210c665213SRichard Acayan 3220c665213SRichard Acayan cpu0_opp5: opp-1209600000 { 3230c665213SRichard Acayan opp-hz = /bits/ 64 <1209600000>; 3240c665213SRichard Acayan opp-peak-kBps = <2188000 8908800>; 3250c665213SRichard Acayan }; 3260c665213SRichard Acayan 3270c665213SRichard Acayan cpu0_opp6: opp-1324800000 { 3280c665213SRichard Acayan opp-hz = /bits/ 64 <1324800000>; 3290c665213SRichard Acayan opp-peak-kBps = <2188000 13516800>; 3300c665213SRichard Acayan }; 3310c665213SRichard Acayan 3320c665213SRichard Acayan cpu0_opp7: opp-1516800000 { 3330c665213SRichard Acayan opp-hz = /bits/ 64 <1516800000>; 3340c665213SRichard Acayan opp-peak-kBps = <3072000 15052800>; 3350c665213SRichard Acayan }; 3360c665213SRichard Acayan 3370c665213SRichard Acayan cpu0_opp8: opp-1612800000 { 3380c665213SRichard Acayan opp-hz = /bits/ 64 <1612800000>; 3390c665213SRichard Acayan opp-peak-kBps = <3072000 22118400>; 3400c665213SRichard Acayan }; 3410c665213SRichard Acayan 3420c665213SRichard Acayan cpu0_opp9: opp-1708800000 { 3430c665213SRichard Acayan opp-hz = /bits/ 64 <1708800000>; 3440c665213SRichard Acayan opp-peak-kBps = <4068000 23040000>; 3450c665213SRichard Acayan }; 3460c665213SRichard Acayan }; 3470c665213SRichard Acayan 3480c665213SRichard Acayan cpu6_opp_table: opp-table-cpu6 { 3490c665213SRichard Acayan compatible = "operating-points-v2"; 3500c665213SRichard Acayan opp-shared; 3510c665213SRichard Acayan 3520c665213SRichard Acayan cpu6_opp1: opp-300000000 { 3530c665213SRichard Acayan opp-hz = /bits/ 64 <300000000>; 3540c665213SRichard Acayan opp-peak-kBps = <400000 4800000>; 3550c665213SRichard Acayan }; 3560c665213SRichard Acayan 3570c665213SRichard Acayan cpu6_opp2: opp-652800000 { 3580c665213SRichard Acayan opp-hz = /bits/ 64 <652800000>; 3590c665213SRichard Acayan opp-peak-kBps = <400000 4800000>; 3600c665213SRichard Acayan }; 3610c665213SRichard Acayan 3620c665213SRichard Acayan cpu6_opp3: opp-825600000 { 3630c665213SRichard Acayan opp-hz = /bits/ 64 <825600000>; 3640c665213SRichard Acayan opp-peak-kBps = <1200000 4800000>; 3650c665213SRichard Acayan }; 3660c665213SRichard Acayan 3670c665213SRichard Acayan cpu6_opp4: opp-979200000 { 3680c665213SRichard Acayan opp-hz = /bits/ 64 <979200000>; 3690c665213SRichard Acayan opp-peak-kBps = <1200000 4800000>; 3700c665213SRichard Acayan }; 3710c665213SRichard Acayan 3720c665213SRichard Acayan cpu6_opp5: opp-1132800000 { 3730c665213SRichard Acayan opp-hz = /bits/ 64 <1132800000>; 3740c665213SRichard Acayan opp-peak-kBps = <2188000 8908800>; 3750c665213SRichard Acayan }; 3760c665213SRichard Acayan 3770c665213SRichard Acayan cpu6_opp6: opp-1363200000 { 3780c665213SRichard Acayan opp-hz = /bits/ 64 <1363200000>; 3790c665213SRichard Acayan opp-peak-kBps = <4068000 12902400>; 3800c665213SRichard Acayan }; 3810c665213SRichard Acayan 3820c665213SRichard Acayan cpu6_opp7: opp-1536000000 { 3830c665213SRichard Acayan opp-hz = /bits/ 64 <1536000000>; 3840c665213SRichard Acayan opp-peak-kBps = <4068000 12902400>; 3850c665213SRichard Acayan }; 3860c665213SRichard Acayan 3870c665213SRichard Acayan cpu6_opp8: opp-1747200000 { 3880c665213SRichard Acayan opp-hz = /bits/ 64 <1747200000>; 3890c665213SRichard Acayan opp-peak-kBps = <4068000 15052800>; 3900c665213SRichard Acayan }; 3910c665213SRichard Acayan 3920c665213SRichard Acayan cpu6_opp9: opp-1843200000 { 3930c665213SRichard Acayan opp-hz = /bits/ 64 <1843200000>; 3940c665213SRichard Acayan opp-peak-kBps = <4068000 15052800>; 3950c665213SRichard Acayan }; 3960c665213SRichard Acayan 3970c665213SRichard Acayan cpu6_opp10: opp-1996800000 { 3980c665213SRichard Acayan opp-hz = /bits/ 64 <1996800000>; 3990c665213SRichard Acayan opp-peak-kBps = <6220000 19046400>; 4000c665213SRichard Acayan }; 4010c665213SRichard Acayan }; 4020c665213SRichard Acayan 40307c8ded6SRichard Acayan psci { 40407c8ded6SRichard Acayan compatible = "arm,psci-1.0"; 40507c8ded6SRichard Acayan method = "smc"; 40607c8ded6SRichard Acayan 40707c8ded6SRichard Acayan CPU_PD0: power-domain-cpu0 { 40807c8ded6SRichard Acayan #power-domain-cells = <0>; 40907c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 41007c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 41107c8ded6SRichard Acayan }; 41207c8ded6SRichard Acayan 41307c8ded6SRichard Acayan CPU_PD1: power-domain-cpu1 { 41407c8ded6SRichard Acayan #power-domain-cells = <0>; 41507c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 41607c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 41707c8ded6SRichard Acayan }; 41807c8ded6SRichard Acayan 41907c8ded6SRichard Acayan CPU_PD2: power-domain-cpu2 { 42007c8ded6SRichard Acayan #power-domain-cells = <0>; 42107c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 42207c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 42307c8ded6SRichard Acayan }; 42407c8ded6SRichard Acayan 42507c8ded6SRichard Acayan CPU_PD3: power-domain-cpu3 { 42607c8ded6SRichard Acayan #power-domain-cells = <0>; 42707c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 42807c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 42907c8ded6SRichard Acayan }; 43007c8ded6SRichard Acayan 43107c8ded6SRichard Acayan CPU_PD4: power-domain-cpu4 { 43207c8ded6SRichard Acayan #power-domain-cells = <0>; 43307c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 43407c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 43507c8ded6SRichard Acayan }; 43607c8ded6SRichard Acayan 43707c8ded6SRichard Acayan CPU_PD5: power-domain-cpu5 { 43807c8ded6SRichard Acayan #power-domain-cells = <0>; 43907c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 44007c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 44107c8ded6SRichard Acayan }; 44207c8ded6SRichard Acayan 44307c8ded6SRichard Acayan CPU_PD6: power-domain-cpu6 { 44407c8ded6SRichard Acayan #power-domain-cells = <0>; 44507c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 44607c8ded6SRichard Acayan domain-idle-states = <&BIG_CPU_SLEEP_0>; 44707c8ded6SRichard Acayan }; 44807c8ded6SRichard Acayan 44907c8ded6SRichard Acayan CPU_PD7: power-domain-cpu7 { 45007c8ded6SRichard Acayan #power-domain-cells = <0>; 45107c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 45207c8ded6SRichard Acayan domain-idle-states = <&BIG_CPU_SLEEP_0>; 45307c8ded6SRichard Acayan }; 45407c8ded6SRichard Acayan 45507c8ded6SRichard Acayan CLUSTER_PD: power-domain-cluster { 45607c8ded6SRichard Acayan #power-domain-cells = <0>; 45707c8ded6SRichard Acayan domain-idle-states = <&CLUSTER_SLEEP_0>; 45807c8ded6SRichard Acayan }; 45907c8ded6SRichard Acayan }; 46007c8ded6SRichard Acayan 46107c8ded6SRichard Acayan reserved-memory { 46207c8ded6SRichard Acayan #address-cells = <2>; 46307c8ded6SRichard Acayan #size-cells = <2>; 46407c8ded6SRichard Acayan ranges; 46507c8ded6SRichard Acayan 46607c8ded6SRichard Acayan hyp_mem: hyp-mem@85700000 { 46707c8ded6SRichard Acayan reg = <0 0x85700000 0 0x600000>; 46807c8ded6SRichard Acayan no-map; 46907c8ded6SRichard Acayan }; 47007c8ded6SRichard Acayan 47107c8ded6SRichard Acayan xbl_mem: xbl-mem@85e00000 { 47207c8ded6SRichard Acayan reg = <0 0x85e00000 0 0x100000>; 47307c8ded6SRichard Acayan no-map; 47407c8ded6SRichard Acayan }; 47507c8ded6SRichard Acayan 47607c8ded6SRichard Acayan aop_mem: aop-mem@85fc0000 { 47707c8ded6SRichard Acayan reg = <0 0x85fc0000 0 0x20000>; 47807c8ded6SRichard Acayan no-map; 47907c8ded6SRichard Acayan }; 48007c8ded6SRichard Acayan 48107c8ded6SRichard Acayan aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 { 48207c8ded6SRichard Acayan compatible = "qcom,cmd-db"; 48307c8ded6SRichard Acayan reg = <0 0x85fe0000 0 0x20000>; 48407c8ded6SRichard Acayan no-map; 48507c8ded6SRichard Acayan }; 48607c8ded6SRichard Acayan 48707c8ded6SRichard Acayan camera_mem: camera-mem@8ab00000 { 48807c8ded6SRichard Acayan reg = <0 0x8ab00000 0 0x500000>; 48907c8ded6SRichard Acayan no-map; 49007c8ded6SRichard Acayan }; 49107c8ded6SRichard Acayan 49207c8ded6SRichard Acayan mpss_region: mpss@8b000000 { 49307c8ded6SRichard Acayan reg = <0 0x8b000000 0 0x7e00000>; 49407c8ded6SRichard Acayan no-map; 49507c8ded6SRichard Acayan }; 49607c8ded6SRichard Acayan 49707c8ded6SRichard Acayan venus_mem: venus@92e00000 { 49807c8ded6SRichard Acayan reg = <0 0x92e00000 0 0x500000>; 49907c8ded6SRichard Acayan no-map; 50007c8ded6SRichard Acayan }; 50107c8ded6SRichard Acayan 50207c8ded6SRichard Acayan wlan_msa_mem: wlan-msa@93300000 { 50307c8ded6SRichard Acayan reg = <0 0x93300000 0 0x100000>; 50407c8ded6SRichard Acayan no-map; 50507c8ded6SRichard Acayan }; 50607c8ded6SRichard Acayan 50707c8ded6SRichard Acayan cdsp_mem: cdsp@93400000 { 50807c8ded6SRichard Acayan reg = <0 0x93400000 0 0x800000>; 50907c8ded6SRichard Acayan no-map; 51007c8ded6SRichard Acayan }; 51107c8ded6SRichard Acayan 51207c8ded6SRichard Acayan mba_region: mba@93c00000 { 51307c8ded6SRichard Acayan reg = <0 0x93c00000 0 0x200000>; 51407c8ded6SRichard Acayan no-map; 51507c8ded6SRichard Acayan }; 51607c8ded6SRichard Acayan 51707c8ded6SRichard Acayan adsp_mem: adsp@93e00000 { 51807c8ded6SRichard Acayan reg = <0 0x93e00000 0 0x1e00000>; 51907c8ded6SRichard Acayan no-map; 52007c8ded6SRichard Acayan }; 52107c8ded6SRichard Acayan 52207c8ded6SRichard Acayan ipa_fw_mem: ipa-fw@95c00000 { 52307c8ded6SRichard Acayan reg = <0 0x95c00000 0 0x10000>; 52407c8ded6SRichard Acayan no-map; 52507c8ded6SRichard Acayan }; 52607c8ded6SRichard Acayan 52707c8ded6SRichard Acayan ipa_gsi_mem: ipa-gsi@95c10000 { 52807c8ded6SRichard Acayan reg = <0 0x95c10000 0 0x5000>; 52907c8ded6SRichard Acayan no-map; 53007c8ded6SRichard Acayan }; 53107c8ded6SRichard Acayan 53207c8ded6SRichard Acayan gpu_mem: gpu@95c15000 { 53307c8ded6SRichard Acayan reg = <0 0x95c15000 0 0x2000>; 53407c8ded6SRichard Acayan no-map; 53507c8ded6SRichard Acayan }; 53607c8ded6SRichard Acayan 53707c8ded6SRichard Acayan spss_mem: spss@97b00000 { 53807c8ded6SRichard Acayan reg = <0 0x97b00000 0 0x100000>; 53907c8ded6SRichard Acayan no-map; 54007c8ded6SRichard Acayan }; 54107c8ded6SRichard Acayan 54207c8ded6SRichard Acayan qseecom_mem: qseecom@9e400000 { 54307c8ded6SRichard Acayan reg = <0 0x9e400000 0 0x1400000>; 54407c8ded6SRichard Acayan no-map; 54507c8ded6SRichard Acayan }; 54607c8ded6SRichard Acayan }; 54707c8ded6SRichard Acayan 54807c8ded6SRichard Acayan timer { 54907c8ded6SRichard Acayan compatible = "arm,armv8-timer"; 55007c8ded6SRichard Acayan interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>, 55107c8ded6SRichard Acayan <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>, 55207c8ded6SRichard Acayan <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>, 55307c8ded6SRichard Acayan <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>; 55407c8ded6SRichard Acayan }; 55507c8ded6SRichard Acayan 55607c8ded6SRichard Acayan soc: soc@0 { 55707c8ded6SRichard Acayan #address-cells = <2>; 55807c8ded6SRichard Acayan #size-cells = <2>; 55907c8ded6SRichard Acayan ranges = <0 0 0 0 0x10 0>; 56007c8ded6SRichard Acayan dma-ranges = <0 0 0 0 0x10 0>; 56107c8ded6SRichard Acayan compatible = "simple-bus"; 56207c8ded6SRichard Acayan 56307c8ded6SRichard Acayan gcc: clock-controller@100000 { 56407c8ded6SRichard Acayan compatible = "qcom,gcc-sdm670"; 56507c8ded6SRichard Acayan reg = <0 0x00100000 0 0x1f0000>; 56607c8ded6SRichard Acayan clocks = <&rpmhcc RPMH_CXO_CLK>, 56707c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK_A>, 56807c8ded6SRichard Acayan <&sleep_clk>; 56907c8ded6SRichard Acayan clock-names = "bi_tcxo", 57007c8ded6SRichard Acayan "bi_tcxo_ao", 57107c8ded6SRichard Acayan "sleep_clk"; 57207c8ded6SRichard Acayan #clock-cells = <1>; 57307c8ded6SRichard Acayan #reset-cells = <1>; 57407c8ded6SRichard Acayan #power-domain-cells = <1>; 57507c8ded6SRichard Acayan }; 57607c8ded6SRichard Acayan 5777bff6f43SRichard Acayan qfprom: qfprom@784000 { 5787bff6f43SRichard Acayan compatible = "qcom,sdm670-qfprom", "qcom,qfprom"; 5797bff6f43SRichard Acayan reg = <0 0x00784000 0 0x1000>; 5807bff6f43SRichard Acayan #address-cells = <1>; 5817bff6f43SRichard Acayan #size-cells = <1>; 582cb98187aSRichard Acayan 583cb98187aSRichard Acayan qusb2_hstx_trim: hstx-trim@1eb { 584cb98187aSRichard Acayan reg = <0x1eb 0x1>; 585cb98187aSRichard Acayan bits = <1 4>; 586cb98187aSRichard Acayan }; 5877bff6f43SRichard Acayan }; 5887bff6f43SRichard Acayan 58907c8ded6SRichard Acayan sdhc_1: mmc@7c4000 { 59007c8ded6SRichard Acayan compatible = "qcom,sdm670-sdhci", "qcom,sdhci-msm-v5"; 59107c8ded6SRichard Acayan reg = <0 0x007c4000 0 0x1000>, 59207c8ded6SRichard Acayan <0 0x007c5000 0 0x1000>, 59307c8ded6SRichard Acayan <0 0x007c8000 0 0x8000>; 59407c8ded6SRichard Acayan reg-names = "hc", "cqhci", "ice"; 59507c8ded6SRichard Acayan 59607c8ded6SRichard Acayan interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>, 59707c8ded6SRichard Acayan <GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>; 59807c8ded6SRichard Acayan interrupt-names = "hc_irq", "pwr_irq"; 59907c8ded6SRichard Acayan 60007c8ded6SRichard Acayan clocks = <&gcc GCC_SDCC1_AHB_CLK>, 60107c8ded6SRichard Acayan <&gcc GCC_SDCC1_APPS_CLK>, 60207c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK>, 60307c8ded6SRichard Acayan <&gcc GCC_SDCC1_ICE_CORE_CLK>, 60407c8ded6SRichard Acayan <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>; 60507c8ded6SRichard Acayan clock-names = "iface", "core", "xo", "ice", "bus"; 60617289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_EMMC 0 &aggre1_noc SLAVE_A1NOC_SNOC 0>, 60717289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_EMMC_CFG 0>; 60817289c01SRichard Acayan interconnect-names = "sdhc-ddr", "cpu-sdhc"; 60917289c01SRichard Acayan operating-points-v2 = <&sdhc1_opp_table>; 61007c8ded6SRichard Acayan 61107c8ded6SRichard Acayan iommus = <&apps_smmu 0x140 0xf>; 61207c8ded6SRichard Acayan 61307c8ded6SRichard Acayan pinctrl-names = "default", "sleep"; 61407c8ded6SRichard Acayan pinctrl-0 = <&sdc1_state_on>; 61507c8ded6SRichard Acayan pinctrl-1 = <&sdc1_state_off>; 61607c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 61707c8ded6SRichard Acayan 61807c8ded6SRichard Acayan bus-width = <8>; 61907c8ded6SRichard Acayan non-removable; 62007c8ded6SRichard Acayan 62107c8ded6SRichard Acayan status = "disabled"; 62217289c01SRichard Acayan 62317289c01SRichard Acayan sdhc1_opp_table: opp-table { 62417289c01SRichard Acayan compatible = "operating-points-v2"; 62517289c01SRichard Acayan 62617289c01SRichard Acayan opp-20000000 { 62717289c01SRichard Acayan opp-hz = /bits/ 64 <20000000>; 62817289c01SRichard Acayan required-opps = <&rpmhpd_opp_min_svs>; 62917289c01SRichard Acayan opp-peak-kBps = <80000 80000>; 63017289c01SRichard Acayan opp-avg-kBps = <52286 80000>; 63117289c01SRichard Acayan }; 63217289c01SRichard Acayan 63317289c01SRichard Acayan opp-50000000 { 63417289c01SRichard Acayan opp-hz = /bits/ 64 <50000000>; 63517289c01SRichard Acayan required-opps = <&rpmhpd_opp_low_svs>; 63617289c01SRichard Acayan opp-peak-kBps = <200000 100000>; 63717289c01SRichard Acayan opp-avg-kBps = <130718 100000>; 63817289c01SRichard Acayan }; 63917289c01SRichard Acayan 64017289c01SRichard Acayan opp-100000000 { 64117289c01SRichard Acayan opp-hz = /bits/ 64 <100000000>; 64217289c01SRichard Acayan required-opps = <&rpmhpd_opp_svs>; 64317289c01SRichard Acayan opp-peak-kBps = <200000 130000>; 64417289c01SRichard Acayan opp-avg-kBps = <130718 130000>; 64517289c01SRichard Acayan }; 64617289c01SRichard Acayan 64717289c01SRichard Acayan opp-384000000 { 64817289c01SRichard Acayan opp-hz = /bits/ 64 <384000000>; 64917289c01SRichard Acayan required-opps = <&rpmhpd_opp_nom>; 65017289c01SRichard Acayan opp-peak-kBps = <4096000 4096000>; 65117289c01SRichard Acayan opp-avg-kBps = <1338562 1338562>; 65217289c01SRichard Acayan }; 65317289c01SRichard Acayan }; 65407c8ded6SRichard Acayan }; 65507c8ded6SRichard Acayan 65607c8ded6SRichard Acayan gpi_dma0: dma-controller@800000 { 65707c8ded6SRichard Acayan #dma-cells = <3>; 65807c8ded6SRichard Acayan compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma"; 65907c8ded6SRichard Acayan reg = <0 0x00800000 0 0x60000>; 66007c8ded6SRichard Acayan interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 66107c8ded6SRichard Acayan <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 66207c8ded6SRichard Acayan <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>, 66307c8ded6SRichard Acayan <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, 66407c8ded6SRichard Acayan <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 66507c8ded6SRichard Acayan <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, 66607c8ded6SRichard Acayan <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, 66707c8ded6SRichard Acayan <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 66807c8ded6SRichard Acayan <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 66907c8ded6SRichard Acayan <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 67007c8ded6SRichard Acayan <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 67107c8ded6SRichard Acayan <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>, 67207c8ded6SRichard Acayan <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>; 67307c8ded6SRichard Acayan dma-channels = <13>; 67407c8ded6SRichard Acayan dma-channel-mask = <0xfa>; 67507c8ded6SRichard Acayan iommus = <&apps_smmu 0x16 0x0>; 67607c8ded6SRichard Acayan status = "disabled"; 67707c8ded6SRichard Acayan }; 67807c8ded6SRichard Acayan 67907c8ded6SRichard Acayan qupv3_id_0: geniqup@8c0000 { 68007c8ded6SRichard Acayan compatible = "qcom,geni-se-qup"; 68107c8ded6SRichard Acayan reg = <0 0x008c0000 0 0x6000>; 68207c8ded6SRichard Acayan clock-names = "m-ahb", "s-ahb"; 68307c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 68407c8ded6SRichard Acayan <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 68507c8ded6SRichard Acayan iommus = <&apps_smmu 0x3 0x0>; 68607c8ded6SRichard Acayan #address-cells = <2>; 68707c8ded6SRichard Acayan #size-cells = <2>; 68807c8ded6SRichard Acayan ranges; 68917289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>; 69017289c01SRichard Acayan interconnect-names = "qup-core"; 69107c8ded6SRichard Acayan status = "disabled"; 69207c8ded6SRichard Acayan 69307c8ded6SRichard Acayan i2c0: i2c@880000 { 69407c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 69507c8ded6SRichard Acayan reg = <0 0x00880000 0 0x4000>; 69607c8ded6SRichard Acayan clock-names = "se"; 69707c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 69807c8ded6SRichard Acayan pinctrl-names = "default"; 69907c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c0_default>; 70007c8ded6SRichard Acayan interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 70107c8ded6SRichard Acayan #address-cells = <1>; 70207c8ded6SRichard Acayan #size-cells = <0>; 70307c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 70417289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 70517289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 70617289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 70717289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 70807c8ded6SRichard Acayan dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, 70907c8ded6SRichard Acayan <&gpi_dma0 1 0 QCOM_GPI_I2C>; 71007c8ded6SRichard Acayan dma-names = "tx", "rx"; 71107c8ded6SRichard Acayan status = "disabled"; 71207c8ded6SRichard Acayan }; 71307c8ded6SRichard Acayan 71407c8ded6SRichard Acayan i2c1: i2c@884000 { 71507c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 71607c8ded6SRichard Acayan reg = <0 0x00884000 0 0x4000>; 71707c8ded6SRichard Acayan clock-names = "se"; 71807c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 71907c8ded6SRichard Acayan pinctrl-names = "default"; 72007c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c1_default>; 72107c8ded6SRichard Acayan interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 72207c8ded6SRichard Acayan #address-cells = <1>; 72307c8ded6SRichard Acayan #size-cells = <0>; 72407c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 72517289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 72617289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 72717289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 72817289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 72907c8ded6SRichard Acayan dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, 73007c8ded6SRichard Acayan <&gpi_dma0 1 1 QCOM_GPI_I2C>; 73107c8ded6SRichard Acayan dma-names = "tx", "rx"; 73207c8ded6SRichard Acayan status = "disabled"; 73307c8ded6SRichard Acayan }; 73407c8ded6SRichard Acayan 73507c8ded6SRichard Acayan i2c2: i2c@888000 { 73607c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 73707c8ded6SRichard Acayan reg = <0 0x00888000 0 0x4000>; 73807c8ded6SRichard Acayan clock-names = "se"; 73907c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 74007c8ded6SRichard Acayan pinctrl-names = "default"; 74107c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c2_default>; 74207c8ded6SRichard Acayan interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 74307c8ded6SRichard Acayan #address-cells = <1>; 74407c8ded6SRichard Acayan #size-cells = <0>; 74507c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 74617289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 74717289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 74817289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 74917289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 75007c8ded6SRichard Acayan dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, 75107c8ded6SRichard Acayan <&gpi_dma0 1 2 QCOM_GPI_I2C>; 75207c8ded6SRichard Acayan dma-names = "tx", "rx"; 75307c8ded6SRichard Acayan status = "disabled"; 75407c8ded6SRichard Acayan }; 75507c8ded6SRichard Acayan 75607c8ded6SRichard Acayan i2c3: i2c@88c000 { 75707c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 75807c8ded6SRichard Acayan reg = <0 0x0088c000 0 0x4000>; 75907c8ded6SRichard Acayan clock-names = "se"; 76007c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 76107c8ded6SRichard Acayan pinctrl-names = "default"; 76207c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c3_default>; 76307c8ded6SRichard Acayan interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 76407c8ded6SRichard Acayan #address-cells = <1>; 76507c8ded6SRichard Acayan #size-cells = <0>; 76607c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 76717289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 76817289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 76917289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 77017289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 77107c8ded6SRichard Acayan dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, 77207c8ded6SRichard Acayan <&gpi_dma0 1 3 QCOM_GPI_I2C>; 77307c8ded6SRichard Acayan dma-names = "tx", "rx"; 77407c8ded6SRichard Acayan status = "disabled"; 77507c8ded6SRichard Acayan }; 77607c8ded6SRichard Acayan 77707c8ded6SRichard Acayan i2c4: i2c@890000 { 77807c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 77907c8ded6SRichard Acayan reg = <0 0x00890000 0 0x4000>; 78007c8ded6SRichard Acayan clock-names = "se"; 78107c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 78207c8ded6SRichard Acayan pinctrl-names = "default"; 78307c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c4_default>; 78407c8ded6SRichard Acayan interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 78507c8ded6SRichard Acayan #address-cells = <1>; 78607c8ded6SRichard Acayan #size-cells = <0>; 78707c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 78817289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 78917289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 79017289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 79117289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 79207c8ded6SRichard Acayan dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, 79307c8ded6SRichard Acayan <&gpi_dma0 1 4 QCOM_GPI_I2C>; 79407c8ded6SRichard Acayan dma-names = "tx", "rx"; 79507c8ded6SRichard Acayan status = "disabled"; 79607c8ded6SRichard Acayan }; 79707c8ded6SRichard Acayan 79807c8ded6SRichard Acayan i2c5: i2c@894000 { 79907c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 80007c8ded6SRichard Acayan reg = <0 0x00894000 0 0x4000>; 80107c8ded6SRichard Acayan clock-names = "se"; 80207c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 80307c8ded6SRichard Acayan pinctrl-names = "default"; 80407c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c5_default>; 80507c8ded6SRichard Acayan interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 80607c8ded6SRichard Acayan #address-cells = <1>; 80707c8ded6SRichard Acayan #size-cells = <0>; 80807c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 80917289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 81017289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 81117289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 81217289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 81307c8ded6SRichard Acayan dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, 81407c8ded6SRichard Acayan <&gpi_dma0 1 5 QCOM_GPI_I2C>; 81507c8ded6SRichard Acayan dma-names = "tx", "rx"; 81607c8ded6SRichard Acayan status = "disabled"; 81707c8ded6SRichard Acayan }; 81807c8ded6SRichard Acayan 81907c8ded6SRichard Acayan i2c6: i2c@898000 { 82007c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 82107c8ded6SRichard Acayan reg = <0 0x00898000 0 0x4000>; 82207c8ded6SRichard Acayan clock-names = "se"; 82307c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 82407c8ded6SRichard Acayan pinctrl-names = "default"; 82507c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c6_default>; 82607c8ded6SRichard Acayan interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 82707c8ded6SRichard Acayan #address-cells = <1>; 82807c8ded6SRichard Acayan #size-cells = <0>; 82907c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 83017289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 83117289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 83217289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 83317289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 83407c8ded6SRichard Acayan dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>, 83507c8ded6SRichard Acayan <&gpi_dma0 1 6 QCOM_GPI_I2C>; 83607c8ded6SRichard Acayan dma-names = "tx", "rx"; 83707c8ded6SRichard Acayan status = "disabled"; 83807c8ded6SRichard Acayan }; 83907c8ded6SRichard Acayan 84007c8ded6SRichard Acayan i2c7: i2c@89c000 { 84107c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 84207c8ded6SRichard Acayan reg = <0 0x0089c000 0 0x4000>; 84307c8ded6SRichard Acayan clock-names = "se"; 84407c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 84507c8ded6SRichard Acayan pinctrl-names = "default"; 84607c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c7_default>; 84707c8ded6SRichard Acayan interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 84807c8ded6SRichard Acayan #address-cells = <1>; 84907c8ded6SRichard Acayan #size-cells = <0>; 85007c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 85117289c01SRichard Acayan interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>, 85217289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>, 85317289c01SRichard Acayan <&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>; 85417289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 85507c8ded6SRichard Acayan dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>, 85607c8ded6SRichard Acayan <&gpi_dma0 1 7 QCOM_GPI_I2C>; 85707c8ded6SRichard Acayan dma-names = "tx", "rx"; 85807c8ded6SRichard Acayan status = "disabled"; 85907c8ded6SRichard Acayan }; 86007c8ded6SRichard Acayan }; 86107c8ded6SRichard Acayan 86207c8ded6SRichard Acayan gpi_dma1: dma-controller@a00000 { 86307c8ded6SRichard Acayan #dma-cells = <3>; 86407c8ded6SRichard Acayan compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma"; 86507c8ded6SRichard Acayan reg = <0 0x00a00000 0 0x60000>; 86607c8ded6SRichard Acayan interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>, 86707c8ded6SRichard Acayan <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>, 86807c8ded6SRichard Acayan <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>, 86907c8ded6SRichard Acayan <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, 87007c8ded6SRichard Acayan <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 87107c8ded6SRichard Acayan <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>, 87207c8ded6SRichard Acayan <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>, 87307c8ded6SRichard Acayan <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>, 87407c8ded6SRichard Acayan <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>, 87507c8ded6SRichard Acayan <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>, 87607c8ded6SRichard Acayan <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>, 87707c8ded6SRichard Acayan <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>, 87807c8ded6SRichard Acayan <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>; 87907c8ded6SRichard Acayan dma-channels = <13>; 88007c8ded6SRichard Acayan dma-channel-mask = <0xfa>; 88107c8ded6SRichard Acayan iommus = <&apps_smmu 0x6d6 0x0>; 88207c8ded6SRichard Acayan status = "disabled"; 88307c8ded6SRichard Acayan }; 88407c8ded6SRichard Acayan 88507c8ded6SRichard Acayan qupv3_id_1: geniqup@ac0000 { 88607c8ded6SRichard Acayan compatible = "qcom,geni-se-qup"; 88707c8ded6SRichard Acayan reg = <0 0x00ac0000 0 0x6000>; 88807c8ded6SRichard Acayan clock-names = "m-ahb", "s-ahb"; 88907c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, 89007c8ded6SRichard Acayan <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; 89107c8ded6SRichard Acayan iommus = <&apps_smmu 0x6c3 0x0>; 89207c8ded6SRichard Acayan #address-cells = <2>; 89307c8ded6SRichard Acayan #size-cells = <2>; 89407c8ded6SRichard Acayan ranges; 89517289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>; 89617289c01SRichard Acayan interconnect-names = "qup-core"; 89707c8ded6SRichard Acayan status = "disabled"; 89807c8ded6SRichard Acayan 89907c8ded6SRichard Acayan i2c8: i2c@a80000 { 90007c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 90107c8ded6SRichard Acayan reg = <0 0x00a80000 0 0x4000>; 90207c8ded6SRichard Acayan clock-names = "se"; 90307c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 90407c8ded6SRichard Acayan pinctrl-names = "default"; 90507c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c8_default>; 90607c8ded6SRichard Acayan interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 90707c8ded6SRichard Acayan #address-cells = <1>; 90807c8ded6SRichard Acayan #size-cells = <0>; 90907c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 91017289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 91117289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 91217289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 91317289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 91407c8ded6SRichard Acayan dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>, 91507c8ded6SRichard Acayan <&gpi_dma1 1 0 QCOM_GPI_I2C>; 91607c8ded6SRichard Acayan dma-names = "tx", "rx"; 91707c8ded6SRichard Acayan status = "disabled"; 91807c8ded6SRichard Acayan }; 91907c8ded6SRichard Acayan 92007c8ded6SRichard Acayan i2c9: i2c@a84000 { 92107c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 92207c8ded6SRichard Acayan reg = <0 0x00a84000 0 0x4000>; 92307c8ded6SRichard Acayan clock-names = "se"; 92407c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 92507c8ded6SRichard Acayan pinctrl-names = "default"; 92607c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c9_default>; 92707c8ded6SRichard Acayan interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 92807c8ded6SRichard Acayan #address-cells = <1>; 92907c8ded6SRichard Acayan #size-cells = <0>; 93007c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 93117289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 93217289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 93317289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 93417289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 93507c8ded6SRichard Acayan dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>, 93607c8ded6SRichard Acayan <&gpi_dma1 1 1 QCOM_GPI_I2C>; 93707c8ded6SRichard Acayan dma-names = "tx", "rx"; 93807c8ded6SRichard Acayan status = "disabled"; 93907c8ded6SRichard Acayan }; 94007c8ded6SRichard Acayan 94107c8ded6SRichard Acayan i2c10: i2c@a88000 { 94207c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 94307c8ded6SRichard Acayan reg = <0 0x00a88000 0 0x4000>; 94407c8ded6SRichard Acayan clock-names = "se"; 94507c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 94607c8ded6SRichard Acayan pinctrl-names = "default"; 94707c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c10_default>; 94807c8ded6SRichard Acayan interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 94907c8ded6SRichard Acayan #address-cells = <1>; 95007c8ded6SRichard Acayan #size-cells = <0>; 95107c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 95217289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 95317289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 95417289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 95517289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 95607c8ded6SRichard Acayan dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>, 95707c8ded6SRichard Acayan <&gpi_dma1 1 2 QCOM_GPI_I2C>; 95807c8ded6SRichard Acayan dma-names = "tx", "rx"; 95907c8ded6SRichard Acayan status = "disabled"; 96007c8ded6SRichard Acayan }; 96107c8ded6SRichard Acayan 96207c8ded6SRichard Acayan i2c11: i2c@a8c000 { 96307c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 96407c8ded6SRichard Acayan reg = <0 0x00a8c000 0 0x4000>; 96507c8ded6SRichard Acayan clock-names = "se"; 96607c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 96707c8ded6SRichard Acayan pinctrl-names = "default"; 96807c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c11_default>; 96907c8ded6SRichard Acayan interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 97007c8ded6SRichard Acayan #address-cells = <1>; 97107c8ded6SRichard Acayan #size-cells = <0>; 97207c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 97317289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 97417289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 97517289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 97617289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 97707c8ded6SRichard Acayan dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>, 97807c8ded6SRichard Acayan <&gpi_dma1 1 3 QCOM_GPI_I2C>; 97907c8ded6SRichard Acayan dma-names = "tx", "rx"; 98007c8ded6SRichard Acayan status = "disabled"; 98107c8ded6SRichard Acayan }; 98207c8ded6SRichard Acayan 98307c8ded6SRichard Acayan i2c12: i2c@a90000 { 98407c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 98507c8ded6SRichard Acayan reg = <0 0x00a90000 0 0x4000>; 98607c8ded6SRichard Acayan clock-names = "se"; 98707c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 98807c8ded6SRichard Acayan pinctrl-names = "default"; 98907c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c12_default>; 99007c8ded6SRichard Acayan interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 99107c8ded6SRichard Acayan #address-cells = <1>; 99207c8ded6SRichard Acayan #size-cells = <0>; 99307c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 99417289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 99517289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 99617289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 99717289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 99807c8ded6SRichard Acayan dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>, 99907c8ded6SRichard Acayan <&gpi_dma1 1 4 QCOM_GPI_I2C>; 100007c8ded6SRichard Acayan dma-names = "tx", "rx"; 100107c8ded6SRichard Acayan status = "disabled"; 100207c8ded6SRichard Acayan }; 100307c8ded6SRichard Acayan 100407c8ded6SRichard Acayan i2c13: i2c@a94000 { 100507c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 100607c8ded6SRichard Acayan reg = <0 0x00a94000 0 0x4000>; 100707c8ded6SRichard Acayan clock-names = "se"; 100807c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 100907c8ded6SRichard Acayan pinctrl-names = "default"; 101007c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c13_default>; 101107c8ded6SRichard Acayan interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 101207c8ded6SRichard Acayan #address-cells = <1>; 101307c8ded6SRichard Acayan #size-cells = <0>; 101407c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 101517289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 101617289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 101717289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 101817289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 101907c8ded6SRichard Acayan dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>, 102007c8ded6SRichard Acayan <&gpi_dma1 1 5 QCOM_GPI_I2C>; 102107c8ded6SRichard Acayan dma-names = "tx", "rx"; 102207c8ded6SRichard Acayan status = "disabled"; 102307c8ded6SRichard Acayan }; 102407c8ded6SRichard Acayan 102507c8ded6SRichard Acayan i2c14: i2c@a98000 { 102607c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 102707c8ded6SRichard Acayan reg = <0 0x00a98000 0 0x4000>; 102807c8ded6SRichard Acayan clock-names = "se"; 102907c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; 103007c8ded6SRichard Acayan pinctrl-names = "default"; 103107c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c14_default>; 103207c8ded6SRichard Acayan interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; 103307c8ded6SRichard Acayan #address-cells = <1>; 103407c8ded6SRichard Acayan #size-cells = <0>; 103507c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 103617289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 103717289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 103817289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 103917289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 104007c8ded6SRichard Acayan dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>, 104107c8ded6SRichard Acayan <&gpi_dma1 1 6 QCOM_GPI_I2C>; 104207c8ded6SRichard Acayan dma-names = "tx", "rx"; 104307c8ded6SRichard Acayan status = "disabled"; 104407c8ded6SRichard Acayan }; 104507c8ded6SRichard Acayan 104607c8ded6SRichard Acayan i2c15: i2c@a9c000 { 104707c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 104807c8ded6SRichard Acayan reg = <0 0x00a9c000 0 0x4000>; 104907c8ded6SRichard Acayan clock-names = "se"; 105007c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>; 105107c8ded6SRichard Acayan pinctrl-names = "default"; 105207c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c15_default>; 105307c8ded6SRichard Acayan interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 105407c8ded6SRichard Acayan #address-cells = <1>; 105507c8ded6SRichard Acayan #size-cells = <0>; 105607c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 105717289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>, 105817289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>, 105917289c01SRichard Acayan <&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>; 106017289c01SRichard Acayan interconnect-names = "qup-core", "qup-config", "qup-memory"; 106107c8ded6SRichard Acayan dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>, 106207c8ded6SRichard Acayan <&gpi_dma1 1 7 QCOM_GPI_I2C>; 106307c8ded6SRichard Acayan dma-names = "tx", "rx"; 106407c8ded6SRichard Acayan status = "disabled"; 106507c8ded6SRichard Acayan }; 106607c8ded6SRichard Acayan }; 106707c8ded6SRichard Acayan 10680daef104SRichard Acayan mem_noc: interconnect@1380000 { 10690daef104SRichard Acayan compatible = "qcom,sdm670-mem-noc"; 10700daef104SRichard Acayan reg = <0 0x01380000 0 0x27200>; 10710daef104SRichard Acayan #interconnect-cells = <2>; 10720daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10730daef104SRichard Acayan }; 10740daef104SRichard Acayan 10750daef104SRichard Acayan dc_noc: interconnect@14e0000 { 10760daef104SRichard Acayan compatible = "qcom,sdm670-dc-noc"; 10770daef104SRichard Acayan reg = <0 0x014e0000 0 0x400>; 10780daef104SRichard Acayan #interconnect-cells = <2>; 10790daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10800daef104SRichard Acayan }; 10810daef104SRichard Acayan 10820daef104SRichard Acayan config_noc: interconnect@1500000 { 10830daef104SRichard Acayan compatible = "qcom,sdm670-config-noc"; 10840daef104SRichard Acayan reg = <0 0x01500000 0 0x5080>; 10850daef104SRichard Acayan #interconnect-cells = <2>; 10860daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10870daef104SRichard Acayan }; 10880daef104SRichard Acayan 10890daef104SRichard Acayan system_noc: interconnect@1620000 { 10900daef104SRichard Acayan compatible = "qcom,sdm670-system-noc"; 10910daef104SRichard Acayan reg = <0 0x01620000 0 0x18080>; 10920daef104SRichard Acayan #interconnect-cells = <2>; 10930daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 10940daef104SRichard Acayan }; 10950daef104SRichard Acayan 10960daef104SRichard Acayan aggre1_noc: interconnect@16e0000 { 10970daef104SRichard Acayan compatible = "qcom,sdm670-aggre1-noc"; 10980daef104SRichard Acayan reg = <0 0x016e0000 0 0x15080>; 10990daef104SRichard Acayan #interconnect-cells = <2>; 11000daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 11010daef104SRichard Acayan }; 11020daef104SRichard Acayan 11030daef104SRichard Acayan aggre2_noc: interconnect@1700000 { 11040daef104SRichard Acayan compatible = "qcom,sdm670-aggre2-noc"; 11050daef104SRichard Acayan reg = <0 0x01700000 0 0x1f300>; 11060daef104SRichard Acayan #interconnect-cells = <2>; 11070daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 11080daef104SRichard Acayan }; 11090daef104SRichard Acayan 11100daef104SRichard Acayan mmss_noc: interconnect@1740000 { 11110daef104SRichard Acayan compatible = "qcom,sdm670-mmss-noc"; 11120daef104SRichard Acayan reg = <0 0x01740000 0 0x1c100>; 11130daef104SRichard Acayan #interconnect-cells = <2>; 11140daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 11150daef104SRichard Acayan }; 11160daef104SRichard Acayan 111707c8ded6SRichard Acayan tlmm: pinctrl@3400000 { 111807c8ded6SRichard Acayan compatible = "qcom,sdm670-tlmm"; 111907c8ded6SRichard Acayan reg = <0 0x03400000 0 0xc00000>; 112007c8ded6SRichard Acayan interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 112107c8ded6SRichard Acayan gpio-controller; 112207c8ded6SRichard Acayan #gpio-cells = <2>; 112307c8ded6SRichard Acayan interrupt-controller; 112407c8ded6SRichard Acayan #interrupt-cells = <2>; 112507c8ded6SRichard Acayan gpio-ranges = <&tlmm 0 0 151>; 112671f08063SKonrad Dybcio wakeup-parent = <&pdc>; 112707c8ded6SRichard Acayan 112807c8ded6SRichard Acayan qup_i2c0_default: qup-i2c0-default-state { 112907c8ded6SRichard Acayan pins = "gpio0", "gpio1"; 113007c8ded6SRichard Acayan function = "qup0"; 113107c8ded6SRichard Acayan }; 113207c8ded6SRichard Acayan 113307c8ded6SRichard Acayan qup_i2c1_default: qup-i2c1-default-state { 113407c8ded6SRichard Acayan pins = "gpio17", "gpio18"; 113507c8ded6SRichard Acayan function = "qup1"; 113607c8ded6SRichard Acayan }; 113707c8ded6SRichard Acayan 113807c8ded6SRichard Acayan qup_i2c2_default: qup-i2c2-default-state { 113907c8ded6SRichard Acayan pins = "gpio27", "gpio28"; 114007c8ded6SRichard Acayan function = "qup2"; 114107c8ded6SRichard Acayan }; 114207c8ded6SRichard Acayan 114307c8ded6SRichard Acayan qup_i2c3_default: qup-i2c3-default-state { 114407c8ded6SRichard Acayan pins = "gpio41", "gpio42"; 114507c8ded6SRichard Acayan function = "qup3"; 114607c8ded6SRichard Acayan }; 114707c8ded6SRichard Acayan 114807c8ded6SRichard Acayan qup_i2c4_default: qup-i2c4-default-state { 114907c8ded6SRichard Acayan pins = "gpio89", "gpio90"; 115007c8ded6SRichard Acayan function = "qup4"; 115107c8ded6SRichard Acayan }; 115207c8ded6SRichard Acayan 115307c8ded6SRichard Acayan qup_i2c5_default: qup-i2c5-default-state { 115407c8ded6SRichard Acayan pins = "gpio85", "gpio86"; 115507c8ded6SRichard Acayan function = "qup5"; 115607c8ded6SRichard Acayan }; 115707c8ded6SRichard Acayan 115807c8ded6SRichard Acayan qup_i2c6_default: qup-i2c6-default-state { 115907c8ded6SRichard Acayan pins = "gpio45", "gpio46"; 116007c8ded6SRichard Acayan function = "qup6"; 116107c8ded6SRichard Acayan }; 116207c8ded6SRichard Acayan 116307c8ded6SRichard Acayan qup_i2c7_default: qup-i2c7-default-state { 116407c8ded6SRichard Acayan pins = "gpio93", "gpio94"; 116507c8ded6SRichard Acayan function = "qup7"; 116607c8ded6SRichard Acayan }; 116707c8ded6SRichard Acayan 116807c8ded6SRichard Acayan qup_i2c8_default: qup-i2c8-default-state { 116907c8ded6SRichard Acayan pins = "gpio65", "gpio66"; 117007c8ded6SRichard Acayan function = "qup8"; 117107c8ded6SRichard Acayan }; 117207c8ded6SRichard Acayan 117307c8ded6SRichard Acayan qup_i2c9_default: qup-i2c9-default-state { 117407c8ded6SRichard Acayan pins = "gpio6", "gpio7"; 117507c8ded6SRichard Acayan function = "qup9"; 117607c8ded6SRichard Acayan }; 117707c8ded6SRichard Acayan 117807c8ded6SRichard Acayan qup_i2c10_default: qup-i2c10-default-state { 117907c8ded6SRichard Acayan pins = "gpio55", "gpio56"; 118007c8ded6SRichard Acayan function = "qup10"; 118107c8ded6SRichard Acayan }; 118207c8ded6SRichard Acayan 118307c8ded6SRichard Acayan qup_i2c11_default: qup-i2c11-default-state { 118407c8ded6SRichard Acayan pins = "gpio31", "gpio32"; 118507c8ded6SRichard Acayan function = "qup11"; 118607c8ded6SRichard Acayan }; 118707c8ded6SRichard Acayan 118807c8ded6SRichard Acayan qup_i2c12_default: qup-i2c12-default-state { 118907c8ded6SRichard Acayan pins = "gpio49", "gpio50"; 119007c8ded6SRichard Acayan function = "qup12"; 119107c8ded6SRichard Acayan }; 119207c8ded6SRichard Acayan 119307c8ded6SRichard Acayan qup_i2c13_default: qup-i2c13-default-state { 119407c8ded6SRichard Acayan pins = "gpio105", "gpio106"; 119507c8ded6SRichard Acayan function = "qup13"; 119607c8ded6SRichard Acayan }; 119707c8ded6SRichard Acayan 119807c8ded6SRichard Acayan qup_i2c14_default: qup-i2c14-default-state { 119907c8ded6SRichard Acayan pins = "gpio33", "gpio34"; 120007c8ded6SRichard Acayan function = "qup14"; 120107c8ded6SRichard Acayan }; 120207c8ded6SRichard Acayan 120307c8ded6SRichard Acayan qup_i2c15_default: qup-i2c15-default-state { 120407c8ded6SRichard Acayan pins = "gpio81", "gpio82"; 120507c8ded6SRichard Acayan function = "qup15"; 120607c8ded6SRichard Acayan }; 120707c8ded6SRichard Acayan 120807c8ded6SRichard Acayan sdc1_state_on: sdc1-on-state { 120907c8ded6SRichard Acayan clk-pins { 121007c8ded6SRichard Acayan pins = "sdc1_clk"; 121107c8ded6SRichard Acayan bias-disable; 121207c8ded6SRichard Acayan drive-strength = <16>; 121307c8ded6SRichard Acayan }; 121407c8ded6SRichard Acayan 121507c8ded6SRichard Acayan cmd-pins { 121607c8ded6SRichard Acayan pins = "sdc1_cmd"; 121707c8ded6SRichard Acayan bias-pull-up; 121807c8ded6SRichard Acayan drive-strength = <10>; 121907c8ded6SRichard Acayan }; 122007c8ded6SRichard Acayan 122107c8ded6SRichard Acayan data-pins { 122207c8ded6SRichard Acayan pins = "sdc1_data"; 122307c8ded6SRichard Acayan bias-pull-up; 122407c8ded6SRichard Acayan drive-strength = <10>; 122507c8ded6SRichard Acayan }; 122607c8ded6SRichard Acayan 122707c8ded6SRichard Acayan rclk-pins { 122807c8ded6SRichard Acayan pins = "sdc1_rclk"; 122907c8ded6SRichard Acayan bias-pull-down; 123007c8ded6SRichard Acayan }; 123107c8ded6SRichard Acayan }; 123207c8ded6SRichard Acayan 123307c8ded6SRichard Acayan sdc1_state_off: sdc1-off-state { 123407c8ded6SRichard Acayan clk-pins { 123507c8ded6SRichard Acayan pins = "sdc1_clk"; 123607c8ded6SRichard Acayan bias-disable; 123707c8ded6SRichard Acayan drive-strength = <2>; 123807c8ded6SRichard Acayan }; 123907c8ded6SRichard Acayan 124007c8ded6SRichard Acayan cmd-pins { 124107c8ded6SRichard Acayan pins = "sdc1_cmd"; 124207c8ded6SRichard Acayan bias-pull-up; 124307c8ded6SRichard Acayan drive-strength = <2>; 124407c8ded6SRichard Acayan }; 124507c8ded6SRichard Acayan 124607c8ded6SRichard Acayan data-pins { 124707c8ded6SRichard Acayan pins = "sdc1_data"; 124807c8ded6SRichard Acayan bias-pull-up; 124907c8ded6SRichard Acayan drive-strength = <2>; 125007c8ded6SRichard Acayan }; 125107c8ded6SRichard Acayan 125207c8ded6SRichard Acayan rclk-pins { 125307c8ded6SRichard Acayan pins = "sdc1_rclk"; 125407c8ded6SRichard Acayan bias-pull-down; 125507c8ded6SRichard Acayan }; 125607c8ded6SRichard Acayan }; 125707c8ded6SRichard Acayan }; 125807c8ded6SRichard Acayan 125907c8ded6SRichard Acayan usb_1_hsphy: phy@88e2000 { 126007c8ded6SRichard Acayan compatible = "qcom,sdm670-qusb2-phy", "qcom,qusb2-v2-phy"; 126107c8ded6SRichard Acayan reg = <0 0x088e2000 0 0x400>; 126207c8ded6SRichard Acayan #phy-cells = <0>; 126307c8ded6SRichard Acayan 126407c8ded6SRichard Acayan clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 126507c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK>; 126607c8ded6SRichard Acayan clock-names = "cfg_ahb", "ref"; 126707c8ded6SRichard Acayan 126807c8ded6SRichard Acayan resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 126907c8ded6SRichard Acayan 1270cb98187aSRichard Acayan nvmem-cells = <&qusb2_hstx_trim>; 1271cb98187aSRichard Acayan 127207c8ded6SRichard Acayan status = "disabled"; 127307c8ded6SRichard Acayan }; 127407c8ded6SRichard Acayan 127507c8ded6SRichard Acayan usb_1: usb@a6f8800 { 127607c8ded6SRichard Acayan compatible = "qcom,sdm670-dwc3", "qcom,dwc3"; 127707c8ded6SRichard Acayan reg = <0 0x0a6f8800 0 0x400>; 127807c8ded6SRichard Acayan #address-cells = <2>; 127907c8ded6SRichard Acayan #size-cells = <2>; 128007c8ded6SRichard Acayan ranges; 128107c8ded6SRichard Acayan dma-ranges; 128207c8ded6SRichard Acayan 128307c8ded6SRichard Acayan clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 128407c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MASTER_CLK>, 128507c8ded6SRichard Acayan <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 128607c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 128707c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; 128807c8ded6SRichard Acayan clock-names = "cfg_noc", 128907c8ded6SRichard Acayan "core", 129007c8ded6SRichard Acayan "iface", 129107c8ded6SRichard Acayan "sleep", 129207c8ded6SRichard Acayan "mock_utmi"; 129307c8ded6SRichard Acayan 129407c8ded6SRichard Acayan assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 129507c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MASTER_CLK>; 129607c8ded6SRichard Acayan assigned-clock-rates = <19200000>, <150000000>; 129707c8ded6SRichard Acayan 129840fb94ebSJohan Hovold interrupts-extended = <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 1299*42edeeb3SJohan Hovold <&pdc 6 IRQ_TYPE_LEVEL_HIGH>, 130040fb94ebSJohan Hovold <&pdc 8 IRQ_TYPE_EDGE_BOTH>, 130140fb94ebSJohan Hovold <&pdc 9 IRQ_TYPE_EDGE_BOTH>; 130207c8ded6SRichard Acayan interrupt-names = "hs_phy_irq", "ss_phy_irq", 130307c8ded6SRichard Acayan "dm_hs_phy_irq", "dp_hs_phy_irq"; 130407c8ded6SRichard Acayan 130507c8ded6SRichard Acayan power-domains = <&gcc USB30_PRIM_GDSC>; 130607c8ded6SRichard Acayan 130707c8ded6SRichard Acayan resets = <&gcc GCC_USB30_PRIM_BCR>; 130807c8ded6SRichard Acayan 130917289c01SRichard Acayan interconnects = <&aggre2_noc MASTER_USB3 0 &mem_noc SLAVE_EBI_CH0 0>, 131017289c01SRichard Acayan <&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>; 131117289c01SRichard Acayan interconnect-names = "usb-ddr", "apps-usb"; 131217289c01SRichard Acayan 131307c8ded6SRichard Acayan status = "disabled"; 131407c8ded6SRichard Acayan 131507c8ded6SRichard Acayan usb_1_dwc3: usb@a600000 { 131607c8ded6SRichard Acayan compatible = "snps,dwc3"; 131707c8ded6SRichard Acayan reg = <0 0x0a600000 0 0xcd00>; 131807c8ded6SRichard Acayan interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 131907c8ded6SRichard Acayan iommus = <&apps_smmu 0x740 0>; 132007c8ded6SRichard Acayan snps,dis_u2_susphy_quirk; 132107c8ded6SRichard Acayan snps,dis_enblslpm_quirk; 132207c8ded6SRichard Acayan phys = <&usb_1_hsphy>; 132307c8ded6SRichard Acayan phy-names = "usb2-phy"; 132407c8ded6SRichard Acayan }; 132507c8ded6SRichard Acayan }; 132607c8ded6SRichard Acayan 1327b51ee205SKonrad Dybcio pdc: interrupt-controller@b220000 { 1328b51ee205SKonrad Dybcio compatible = "qcom,sdm670-pdc", "qcom,pdc"; 1329b51ee205SKonrad Dybcio reg = <0 0x0b220000 0 0x30000>; 1330b51ee205SKonrad Dybcio qcom,pdc-ranges = <0 480 40>, <41 521 7>, <49 529 4>, 1331a7b6fcdfSKonrad Dybcio <54 534 24>, <79 559 15>, <94 609 15>, 1332a7b6fcdfSKonrad Dybcio <115 630 7>; 1333b51ee205SKonrad Dybcio #interrupt-cells = <2>; 1334b51ee205SKonrad Dybcio interrupt-parent = <&intc>; 1335b51ee205SKonrad Dybcio interrupt-controller; 1336b51ee205SKonrad Dybcio }; 1337b51ee205SKonrad Dybcio 133807c8ded6SRichard Acayan spmi_bus: spmi@c440000 { 133907c8ded6SRichard Acayan compatible = "qcom,spmi-pmic-arb"; 134007c8ded6SRichard Acayan reg = <0 0x0c440000 0 0x1100>, 134107c8ded6SRichard Acayan <0 0x0c600000 0 0x2000000>, 134207c8ded6SRichard Acayan <0 0x0e600000 0 0x100000>, 134307c8ded6SRichard Acayan <0 0x0e700000 0 0xa0000>, 134407c8ded6SRichard Acayan <0 0x0c40a000 0 0x26000>; 134507c8ded6SRichard Acayan reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 134607c8ded6SRichard Acayan interrupt-names = "periph_irq"; 134707c8ded6SRichard Acayan interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>; 134807c8ded6SRichard Acayan qcom,ee = <0>; 134907c8ded6SRichard Acayan qcom,channel = <0>; 135007c8ded6SRichard Acayan #address-cells = <2>; 135107c8ded6SRichard Acayan #size-cells = <0>; 135207c8ded6SRichard Acayan interrupt-controller; 135307c8ded6SRichard Acayan #interrupt-cells = <4>; 135407c8ded6SRichard Acayan }; 135507c8ded6SRichard Acayan 135607c8ded6SRichard Acayan apps_smmu: iommu@15000000 { 135707c8ded6SRichard Acayan compatible = "qcom,sdm670-smmu-500", "qcom,smmu-500", "arm,mmu-500"; 135807c8ded6SRichard Acayan reg = <0 0x15000000 0 0x80000>; 135907c8ded6SRichard Acayan #iommu-cells = <2>; 136007c8ded6SRichard Acayan #global-interrupts = <1>; 136107c8ded6SRichard Acayan interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 136207c8ded6SRichard Acayan <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 136307c8ded6SRichard Acayan <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 136407c8ded6SRichard Acayan <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 136507c8ded6SRichard Acayan <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 136607c8ded6SRichard Acayan <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 136707c8ded6SRichard Acayan <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 136807c8ded6SRichard Acayan <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 136907c8ded6SRichard Acayan <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 137007c8ded6SRichard Acayan <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 137107c8ded6SRichard Acayan <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 137207c8ded6SRichard Acayan <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 137307c8ded6SRichard Acayan <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 137407c8ded6SRichard Acayan <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 137507c8ded6SRichard Acayan <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 137607c8ded6SRichard Acayan <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 137707c8ded6SRichard Acayan <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 137807c8ded6SRichard Acayan <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 137907c8ded6SRichard Acayan <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 138007c8ded6SRichard Acayan <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 138107c8ded6SRichard Acayan <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 138207c8ded6SRichard Acayan <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 138307c8ded6SRichard Acayan <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 138407c8ded6SRichard Acayan <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 138507c8ded6SRichard Acayan <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, 138607c8ded6SRichard Acayan <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, 138707c8ded6SRichard Acayan <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, 138807c8ded6SRichard Acayan <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 138907c8ded6SRichard Acayan <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, 139007c8ded6SRichard Acayan <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 139107c8ded6SRichard Acayan <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 139207c8ded6SRichard Acayan <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 139307c8ded6SRichard Acayan <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 139407c8ded6SRichard Acayan <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 139507c8ded6SRichard Acayan <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 139607c8ded6SRichard Acayan <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 139707c8ded6SRichard Acayan <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 139807c8ded6SRichard Acayan <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 139907c8ded6SRichard Acayan <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, 140007c8ded6SRichard Acayan <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 140107c8ded6SRichard Acayan <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 140207c8ded6SRichard Acayan <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 140307c8ded6SRichard Acayan <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 140407c8ded6SRichard Acayan <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 140507c8ded6SRichard Acayan <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 140607c8ded6SRichard Acayan <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 140707c8ded6SRichard Acayan <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 140807c8ded6SRichard Acayan <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 140907c8ded6SRichard Acayan <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 141007c8ded6SRichard Acayan <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 141107c8ded6SRichard Acayan <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 141207c8ded6SRichard Acayan <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 141307c8ded6SRichard Acayan <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 141407c8ded6SRichard Acayan <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 141507c8ded6SRichard Acayan <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 141607c8ded6SRichard Acayan <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 141707c8ded6SRichard Acayan <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 141807c8ded6SRichard Acayan <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 141907c8ded6SRichard Acayan <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 142007c8ded6SRichard Acayan <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 142107c8ded6SRichard Acayan <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 142207c8ded6SRichard Acayan <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 142307c8ded6SRichard Acayan <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 142407c8ded6SRichard Acayan <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 142507c8ded6SRichard Acayan <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>; 142607c8ded6SRichard Acayan }; 142707c8ded6SRichard Acayan 14280daef104SRichard Acayan gladiator_noc: interconnect@17900000 { 14290daef104SRichard Acayan compatible = "qcom,sdm670-gladiator-noc"; 14300daef104SRichard Acayan reg = <0 0x17900000 0 0xd080>; 14310daef104SRichard Acayan #interconnect-cells = <2>; 14320daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 14330daef104SRichard Acayan }; 14340daef104SRichard Acayan 143507c8ded6SRichard Acayan apps_rsc: rsc@179c0000 { 143607c8ded6SRichard Acayan compatible = "qcom,rpmh-rsc"; 143707c8ded6SRichard Acayan reg = <0 0x179c0000 0 0x10000>, 143807c8ded6SRichard Acayan <0 0x179d0000 0 0x10000>, 143907c8ded6SRichard Acayan <0 0x179e0000 0 0x10000>; 144007c8ded6SRichard Acayan reg-names = "drv-0", "drv-1", "drv-2"; 144107c8ded6SRichard Acayan interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 144207c8ded6SRichard Acayan <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 144307c8ded6SRichard Acayan <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 144407c8ded6SRichard Acayan label = "apps_rsc"; 144507c8ded6SRichard Acayan qcom,tcs-offset = <0xd00>; 144607c8ded6SRichard Acayan qcom,drv-id = <2>; 144707c8ded6SRichard Acayan qcom,tcs-config = <ACTIVE_TCS 2>, 144807c8ded6SRichard Acayan <SLEEP_TCS 3>, 144907c8ded6SRichard Acayan <WAKE_TCS 3>, 145007c8ded6SRichard Acayan <CONTROL_TCS 1>; 14517b04cbd8SKonrad Dybcio power-domains = <&CLUSTER_PD>; 145207c8ded6SRichard Acayan 145307c8ded6SRichard Acayan apps_bcm_voter: bcm-voter { 145407c8ded6SRichard Acayan compatible = "qcom,bcm-voter"; 145507c8ded6SRichard Acayan }; 145607c8ded6SRichard Acayan 145707c8ded6SRichard Acayan rpmhcc: clock-controller { 145807c8ded6SRichard Acayan compatible = "qcom,sdm670-rpmh-clk"; 145907c8ded6SRichard Acayan #clock-cells = <1>; 146007c8ded6SRichard Acayan clock-names = "xo"; 146107c8ded6SRichard Acayan clocks = <&xo_board>; 146207c8ded6SRichard Acayan }; 146307c8ded6SRichard Acayan 146407c8ded6SRichard Acayan rpmhpd: power-controller { 146507c8ded6SRichard Acayan compatible = "qcom,sdm670-rpmhpd"; 146607c8ded6SRichard Acayan #power-domain-cells = <1>; 146707c8ded6SRichard Acayan operating-points-v2 = <&rpmhpd_opp_table>; 146807c8ded6SRichard Acayan 146907c8ded6SRichard Acayan rpmhpd_opp_table: opp-table { 147007c8ded6SRichard Acayan compatible = "operating-points-v2"; 147107c8ded6SRichard Acayan 147207c8ded6SRichard Acayan rpmhpd_opp_ret: opp1 { 147307c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; 147407c8ded6SRichard Acayan }; 147507c8ded6SRichard Acayan 147607c8ded6SRichard Acayan rpmhpd_opp_min_svs: opp2 { 147707c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 147807c8ded6SRichard Acayan }; 147907c8ded6SRichard Acayan 148007c8ded6SRichard Acayan rpmhpd_opp_low_svs: opp3 { 148107c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 148207c8ded6SRichard Acayan }; 148307c8ded6SRichard Acayan 148407c8ded6SRichard Acayan rpmhpd_opp_svs: opp4 { 148507c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 148607c8ded6SRichard Acayan }; 148707c8ded6SRichard Acayan 148807c8ded6SRichard Acayan rpmhpd_opp_svs_l1: opp5 { 148907c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 149007c8ded6SRichard Acayan }; 149107c8ded6SRichard Acayan 149207c8ded6SRichard Acayan rpmhpd_opp_nom: opp6 { 149307c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 149407c8ded6SRichard Acayan }; 149507c8ded6SRichard Acayan 149607c8ded6SRichard Acayan rpmhpd_opp_nom_l1: opp7 { 149707c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 149807c8ded6SRichard Acayan }; 149907c8ded6SRichard Acayan 150007c8ded6SRichard Acayan rpmhpd_opp_nom_l2: opp8 { 150107c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; 150207c8ded6SRichard Acayan }; 150307c8ded6SRichard Acayan 150407c8ded6SRichard Acayan rpmhpd_opp_turbo: opp9 { 150507c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 150607c8ded6SRichard Acayan }; 150707c8ded6SRichard Acayan 150807c8ded6SRichard Acayan rpmhpd_opp_turbo_l1: opp10 { 150907c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 151007c8ded6SRichard Acayan }; 151107c8ded6SRichard Acayan }; 151207c8ded6SRichard Acayan }; 151307c8ded6SRichard Acayan }; 151407c8ded6SRichard Acayan 151507c8ded6SRichard Acayan intc: interrupt-controller@17a00000 { 151607c8ded6SRichard Acayan compatible = "arm,gic-v3"; 151707c8ded6SRichard Acayan reg = <0 0x17a00000 0 0x10000>, /* GICD */ 151807c8ded6SRichard Acayan <0 0x17a60000 0 0x100000>; /* GICR * 8 */ 151907c8ded6SRichard Acayan interrupt-controller; 152007c8ded6SRichard Acayan interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 152107c8ded6SRichard Acayan #interrupt-cells = <3>; 152207c8ded6SRichard Acayan }; 15238cd5597aSRichard Acayan 15248cd5597aSRichard Acayan osm_l3: interconnect@17d41000 { 15258cd5597aSRichard Acayan compatible = "qcom,sdm670-osm-l3", "qcom,osm-l3"; 15268cd5597aSRichard Acayan reg = <0 0x17d41000 0 0x1400>; 15278cd5597aSRichard Acayan 15288cd5597aSRichard Acayan clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 15298cd5597aSRichard Acayan clock-names = "xo", "alternate"; 15308cd5597aSRichard Acayan 15318cd5597aSRichard Acayan #interconnect-cells = <1>; 15328cd5597aSRichard Acayan }; 15330c665213SRichard Acayan 15340c665213SRichard Acayan cpufreq_hw: cpufreq@17d43000 { 15350c665213SRichard Acayan compatible = "qcom,cpufreq-hw"; 15360c665213SRichard Acayan reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>; 15370c665213SRichard Acayan reg-names = "freq-domain0", "freq-domain1"; 15380c665213SRichard Acayan 15390c665213SRichard Acayan clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 15400c665213SRichard Acayan clock-names = "xo", "alternate"; 15410c665213SRichard Acayan 15420c665213SRichard Acayan #freq-domain-cells = <1>; 15430c665213SRichard Acayan }; 154407c8ded6SRichard Acayan }; 154507c8ded6SRichard Acayan}; 1546