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> 1307c8ded6SRichard Acayan#include <dt-bindings/interrupt-controller/arm-gic.h> 1407c8ded6SRichard Acayan#include <dt-bindings/phy/phy-qcom-qusb2.h> 1507c8ded6SRichard Acayan#include <dt-bindings/power/qcom-rpmpd.h> 1607c8ded6SRichard Acayan#include <dt-bindings/soc/qcom,rpmh-rsc.h> 1707c8ded6SRichard Acayan 1807c8ded6SRichard Acayan/ { 1907c8ded6SRichard Acayan interrupt-parent = <&intc>; 2007c8ded6SRichard Acayan 2107c8ded6SRichard Acayan #address-cells = <2>; 2207c8ded6SRichard Acayan #size-cells = <2>; 2307c8ded6SRichard Acayan 2407c8ded6SRichard Acayan aliases { }; 2507c8ded6SRichard Acayan 2607c8ded6SRichard Acayan chosen { }; 2707c8ded6SRichard Acayan 2807c8ded6SRichard Acayan cpus { 2907c8ded6SRichard Acayan #address-cells = <2>; 3007c8ded6SRichard Acayan #size-cells = <0>; 3107c8ded6SRichard Acayan 3207c8ded6SRichard Acayan CPU0: cpu@0 { 3307c8ded6SRichard Acayan device_type = "cpu"; 3407c8ded6SRichard Acayan compatible = "qcom,kryo360"; 3507c8ded6SRichard Acayan reg = <0x0 0x0>; 3607c8ded6SRichard Acayan enable-method = "psci"; 3707c8ded6SRichard Acayan power-domains = <&CPU_PD0>; 3807c8ded6SRichard Acayan power-domain-names = "psci"; 3907c8ded6SRichard Acayan next-level-cache = <&L2_0>; 4007c8ded6SRichard Acayan L2_0: l2-cache { 4107c8ded6SRichard Acayan compatible = "cache"; 4207c8ded6SRichard Acayan next-level-cache = <&L3_0>; 4307c8ded6SRichard Acayan L3_0: l3-cache { 4407c8ded6SRichard Acayan compatible = "cache"; 4507c8ded6SRichard Acayan }; 4607c8ded6SRichard Acayan }; 4707c8ded6SRichard Acayan }; 4807c8ded6SRichard Acayan 4907c8ded6SRichard Acayan CPU1: cpu@100 { 5007c8ded6SRichard Acayan device_type = "cpu"; 5107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 5207c8ded6SRichard Acayan reg = <0x0 0x100>; 5307c8ded6SRichard Acayan enable-method = "psci"; 5407c8ded6SRichard Acayan power-domains = <&CPU_PD1>; 5507c8ded6SRichard Acayan power-domain-names = "psci"; 5607c8ded6SRichard Acayan next-level-cache = <&L2_100>; 5707c8ded6SRichard Acayan L2_100: l2-cache { 5807c8ded6SRichard Acayan compatible = "cache"; 5907c8ded6SRichard Acayan next-level-cache = <&L3_0>; 6007c8ded6SRichard Acayan }; 6107c8ded6SRichard Acayan }; 6207c8ded6SRichard Acayan 6307c8ded6SRichard Acayan CPU2: cpu@200 { 6407c8ded6SRichard Acayan device_type = "cpu"; 6507c8ded6SRichard Acayan compatible = "qcom,kryo360"; 6607c8ded6SRichard Acayan reg = <0x0 0x200>; 6707c8ded6SRichard Acayan enable-method = "psci"; 6807c8ded6SRichard Acayan power-domains = <&CPU_PD2>; 6907c8ded6SRichard Acayan power-domain-names = "psci"; 7007c8ded6SRichard Acayan next-level-cache = <&L2_200>; 7107c8ded6SRichard Acayan L2_200: l2-cache { 7207c8ded6SRichard Acayan compatible = "cache"; 7307c8ded6SRichard Acayan next-level-cache = <&L3_0>; 7407c8ded6SRichard Acayan }; 7507c8ded6SRichard Acayan }; 7607c8ded6SRichard Acayan 7707c8ded6SRichard Acayan CPU3: cpu@300 { 7807c8ded6SRichard Acayan device_type = "cpu"; 7907c8ded6SRichard Acayan compatible = "qcom,kryo360"; 8007c8ded6SRichard Acayan reg = <0x0 0x300>; 8107c8ded6SRichard Acayan enable-method = "psci"; 8207c8ded6SRichard Acayan power-domains = <&CPU_PD3>; 8307c8ded6SRichard Acayan power-domain-names = "psci"; 8407c8ded6SRichard Acayan next-level-cache = <&L2_300>; 8507c8ded6SRichard Acayan L2_300: l2-cache { 8607c8ded6SRichard Acayan compatible = "cache"; 8707c8ded6SRichard Acayan next-level-cache = <&L3_0>; 8807c8ded6SRichard Acayan }; 8907c8ded6SRichard Acayan }; 9007c8ded6SRichard Acayan 9107c8ded6SRichard Acayan CPU4: cpu@400 { 9207c8ded6SRichard Acayan device_type = "cpu"; 9307c8ded6SRichard Acayan compatible = "qcom,kryo360"; 9407c8ded6SRichard Acayan reg = <0x0 0x400>; 9507c8ded6SRichard Acayan enable-method = "psci"; 9607c8ded6SRichard Acayan power-domains = <&CPU_PD4>; 9707c8ded6SRichard Acayan power-domain-names = "psci"; 9807c8ded6SRichard Acayan next-level-cache = <&L2_400>; 9907c8ded6SRichard Acayan L2_400: l2-cache { 10007c8ded6SRichard Acayan compatible = "cache"; 10107c8ded6SRichard Acayan next-level-cache = <&L3_0>; 10207c8ded6SRichard Acayan }; 10307c8ded6SRichard Acayan }; 10407c8ded6SRichard Acayan 10507c8ded6SRichard Acayan CPU5: cpu@500 { 10607c8ded6SRichard Acayan device_type = "cpu"; 10707c8ded6SRichard Acayan compatible = "qcom,kryo360"; 10807c8ded6SRichard Acayan reg = <0x0 0x500>; 10907c8ded6SRichard Acayan enable-method = "psci"; 11007c8ded6SRichard Acayan power-domains = <&CPU_PD5>; 11107c8ded6SRichard Acayan power-domain-names = "psci"; 11207c8ded6SRichard Acayan next-level-cache = <&L2_500>; 11307c8ded6SRichard Acayan L2_500: l2-cache { 11407c8ded6SRichard Acayan compatible = "cache"; 11507c8ded6SRichard Acayan next-level-cache = <&L3_0>; 11607c8ded6SRichard Acayan }; 11707c8ded6SRichard Acayan }; 11807c8ded6SRichard Acayan 11907c8ded6SRichard Acayan CPU6: cpu@600 { 12007c8ded6SRichard Acayan device_type = "cpu"; 12107c8ded6SRichard Acayan compatible = "qcom,kryo360"; 12207c8ded6SRichard Acayan reg = <0x0 0x600>; 12307c8ded6SRichard Acayan enable-method = "psci"; 12407c8ded6SRichard Acayan power-domains = <&CPU_PD6>; 12507c8ded6SRichard Acayan power-domain-names = "psci"; 12607c8ded6SRichard Acayan next-level-cache = <&L2_600>; 12707c8ded6SRichard Acayan L2_600: l2-cache { 12807c8ded6SRichard Acayan compatible = "cache"; 12907c8ded6SRichard Acayan next-level-cache = <&L3_0>; 13007c8ded6SRichard Acayan }; 13107c8ded6SRichard Acayan }; 13207c8ded6SRichard Acayan 13307c8ded6SRichard Acayan CPU7: cpu@700 { 13407c8ded6SRichard Acayan device_type = "cpu"; 13507c8ded6SRichard Acayan compatible = "qcom,kryo360"; 13607c8ded6SRichard Acayan reg = <0x0 0x700>; 13707c8ded6SRichard Acayan enable-method = "psci"; 13807c8ded6SRichard Acayan power-domains = <&CPU_PD7>; 13907c8ded6SRichard Acayan power-domain-names = "psci"; 14007c8ded6SRichard Acayan next-level-cache = <&L2_700>; 14107c8ded6SRichard Acayan L2_700: l2-cache { 14207c8ded6SRichard Acayan compatible = "cache"; 14307c8ded6SRichard Acayan next-level-cache = <&L3_0>; 14407c8ded6SRichard Acayan }; 14507c8ded6SRichard Acayan }; 14607c8ded6SRichard Acayan 14707c8ded6SRichard Acayan cpu-map { 14807c8ded6SRichard Acayan cluster0 { 14907c8ded6SRichard Acayan core0 { 15007c8ded6SRichard Acayan cpu = <&CPU0>; 15107c8ded6SRichard Acayan }; 15207c8ded6SRichard Acayan 15307c8ded6SRichard Acayan core1 { 15407c8ded6SRichard Acayan cpu = <&CPU1>; 15507c8ded6SRichard Acayan }; 15607c8ded6SRichard Acayan 15707c8ded6SRichard Acayan core2 { 15807c8ded6SRichard Acayan cpu = <&CPU2>; 15907c8ded6SRichard Acayan }; 16007c8ded6SRichard Acayan 16107c8ded6SRichard Acayan core3 { 16207c8ded6SRichard Acayan cpu = <&CPU3>; 16307c8ded6SRichard Acayan }; 16407c8ded6SRichard Acayan 16507c8ded6SRichard Acayan core4 { 16607c8ded6SRichard Acayan cpu = <&CPU4>; 16707c8ded6SRichard Acayan }; 16807c8ded6SRichard Acayan 16907c8ded6SRichard Acayan core5 { 17007c8ded6SRichard Acayan cpu = <&CPU5>; 17107c8ded6SRichard Acayan }; 17207c8ded6SRichard Acayan 17307c8ded6SRichard Acayan core6 { 17407c8ded6SRichard Acayan cpu = <&CPU6>; 17507c8ded6SRichard Acayan }; 17607c8ded6SRichard Acayan 17707c8ded6SRichard Acayan core7 { 17807c8ded6SRichard Acayan cpu = <&CPU7>; 17907c8ded6SRichard Acayan }; 18007c8ded6SRichard Acayan }; 18107c8ded6SRichard Acayan }; 18207c8ded6SRichard Acayan 18307c8ded6SRichard Acayan idle-states { 18407c8ded6SRichard Acayan entry-method = "psci"; 18507c8ded6SRichard Acayan 18607c8ded6SRichard Acayan LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { 18707c8ded6SRichard Acayan compatible = "arm,idle-state"; 18807c8ded6SRichard Acayan idle-state-name = "little-rail-power-collapse"; 18907c8ded6SRichard Acayan arm,psci-suspend-param = <0x40000004>; 19007c8ded6SRichard Acayan entry-latency-us = <702>; 19107c8ded6SRichard Acayan exit-latency-us = <915>; 19207c8ded6SRichard Acayan min-residency-us = <1617>; 19307c8ded6SRichard Acayan local-timer-stop; 19407c8ded6SRichard Acayan }; 19507c8ded6SRichard Acayan 19607c8ded6SRichard Acayan BIG_CPU_SLEEP_0: cpu-sleep-1-0 { 19707c8ded6SRichard Acayan compatible = "arm,idle-state"; 19807c8ded6SRichard Acayan idle-state-name = "big-rail-power-collapse"; 19907c8ded6SRichard Acayan arm,psci-suspend-param = <0x40000004>; 20007c8ded6SRichard Acayan entry-latency-us = <526>; 20107c8ded6SRichard Acayan exit-latency-us = <1854>; 20207c8ded6SRichard Acayan min-residency-us = <2380>; 20307c8ded6SRichard Acayan local-timer-stop; 20407c8ded6SRichard Acayan }; 20507c8ded6SRichard Acayan }; 20607c8ded6SRichard Acayan 20707c8ded6SRichard Acayan domain-idle-states { 20807c8ded6SRichard Acayan CLUSTER_SLEEP_0: cluster-sleep-0 { 20907c8ded6SRichard Acayan compatible = "domain-idle-state"; 21007c8ded6SRichard Acayan arm,psci-suspend-param = <0x4100c244>; 21107c8ded6SRichard Acayan entry-latency-us = <3263>; 21207c8ded6SRichard Acayan exit-latency-us = <6562>; 21307c8ded6SRichard Acayan min-residency-us = <9825>; 21407c8ded6SRichard Acayan }; 21507c8ded6SRichard Acayan }; 21607c8ded6SRichard Acayan }; 21707c8ded6SRichard Acayan 21807c8ded6SRichard Acayan firmware { 21907c8ded6SRichard Acayan scm { 22007c8ded6SRichard Acayan compatible = "qcom,scm-sdm670", "qcom,scm"; 22107c8ded6SRichard Acayan }; 22207c8ded6SRichard Acayan }; 22307c8ded6SRichard Acayan 22407c8ded6SRichard Acayan memory@80000000 { 22507c8ded6SRichard Acayan device_type = "memory"; 22607c8ded6SRichard Acayan /* We expect the bootloader to fill in the size */ 22707c8ded6SRichard Acayan reg = <0x0 0x80000000 0x0 0x0>; 22807c8ded6SRichard Acayan }; 22907c8ded6SRichard Acayan 23007c8ded6SRichard Acayan psci { 23107c8ded6SRichard Acayan compatible = "arm,psci-1.0"; 23207c8ded6SRichard Acayan method = "smc"; 23307c8ded6SRichard Acayan 23407c8ded6SRichard Acayan CPU_PD0: power-domain-cpu0 { 23507c8ded6SRichard Acayan #power-domain-cells = <0>; 23607c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 23707c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 23807c8ded6SRichard Acayan }; 23907c8ded6SRichard Acayan 24007c8ded6SRichard Acayan CPU_PD1: power-domain-cpu1 { 24107c8ded6SRichard Acayan #power-domain-cells = <0>; 24207c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 24307c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 24407c8ded6SRichard Acayan }; 24507c8ded6SRichard Acayan 24607c8ded6SRichard Acayan CPU_PD2: power-domain-cpu2 { 24707c8ded6SRichard Acayan #power-domain-cells = <0>; 24807c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 24907c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 25007c8ded6SRichard Acayan }; 25107c8ded6SRichard Acayan 25207c8ded6SRichard Acayan CPU_PD3: power-domain-cpu3 { 25307c8ded6SRichard Acayan #power-domain-cells = <0>; 25407c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 25507c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 25607c8ded6SRichard Acayan }; 25707c8ded6SRichard Acayan 25807c8ded6SRichard Acayan CPU_PD4: power-domain-cpu4 { 25907c8ded6SRichard Acayan #power-domain-cells = <0>; 26007c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 26107c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 26207c8ded6SRichard Acayan }; 26307c8ded6SRichard Acayan 26407c8ded6SRichard Acayan CPU_PD5: power-domain-cpu5 { 26507c8ded6SRichard Acayan #power-domain-cells = <0>; 26607c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 26707c8ded6SRichard Acayan domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 26807c8ded6SRichard Acayan }; 26907c8ded6SRichard Acayan 27007c8ded6SRichard Acayan CPU_PD6: power-domain-cpu6 { 27107c8ded6SRichard Acayan #power-domain-cells = <0>; 27207c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 27307c8ded6SRichard Acayan domain-idle-states = <&BIG_CPU_SLEEP_0>; 27407c8ded6SRichard Acayan }; 27507c8ded6SRichard Acayan 27607c8ded6SRichard Acayan CPU_PD7: power-domain-cpu7 { 27707c8ded6SRichard Acayan #power-domain-cells = <0>; 27807c8ded6SRichard Acayan power-domains = <&CLUSTER_PD>; 27907c8ded6SRichard Acayan domain-idle-states = <&BIG_CPU_SLEEP_0>; 28007c8ded6SRichard Acayan }; 28107c8ded6SRichard Acayan 28207c8ded6SRichard Acayan CLUSTER_PD: power-domain-cluster { 28307c8ded6SRichard Acayan #power-domain-cells = <0>; 28407c8ded6SRichard Acayan domain-idle-states = <&CLUSTER_SLEEP_0>; 28507c8ded6SRichard Acayan }; 28607c8ded6SRichard Acayan }; 28707c8ded6SRichard Acayan 28807c8ded6SRichard Acayan reserved-memory { 28907c8ded6SRichard Acayan #address-cells = <2>; 29007c8ded6SRichard Acayan #size-cells = <2>; 29107c8ded6SRichard Acayan ranges; 29207c8ded6SRichard Acayan 29307c8ded6SRichard Acayan hyp_mem: hyp-mem@85700000 { 29407c8ded6SRichard Acayan reg = <0 0x85700000 0 0x600000>; 29507c8ded6SRichard Acayan no-map; 29607c8ded6SRichard Acayan }; 29707c8ded6SRichard Acayan 29807c8ded6SRichard Acayan xbl_mem: xbl-mem@85e00000 { 29907c8ded6SRichard Acayan reg = <0 0x85e00000 0 0x100000>; 30007c8ded6SRichard Acayan no-map; 30107c8ded6SRichard Acayan }; 30207c8ded6SRichard Acayan 30307c8ded6SRichard Acayan aop_mem: aop-mem@85fc0000 { 30407c8ded6SRichard Acayan reg = <0 0x85fc0000 0 0x20000>; 30507c8ded6SRichard Acayan no-map; 30607c8ded6SRichard Acayan }; 30707c8ded6SRichard Acayan 30807c8ded6SRichard Acayan aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 { 30907c8ded6SRichard Acayan compatible = "qcom,cmd-db"; 31007c8ded6SRichard Acayan reg = <0 0x85fe0000 0 0x20000>; 31107c8ded6SRichard Acayan no-map; 31207c8ded6SRichard Acayan }; 31307c8ded6SRichard Acayan 31407c8ded6SRichard Acayan camera_mem: camera-mem@8ab00000 { 31507c8ded6SRichard Acayan reg = <0 0x8ab00000 0 0x500000>; 31607c8ded6SRichard Acayan no-map; 31707c8ded6SRichard Acayan }; 31807c8ded6SRichard Acayan 31907c8ded6SRichard Acayan mpss_region: mpss@8b000000 { 32007c8ded6SRichard Acayan reg = <0 0x8b000000 0 0x7e00000>; 32107c8ded6SRichard Acayan no-map; 32207c8ded6SRichard Acayan }; 32307c8ded6SRichard Acayan 32407c8ded6SRichard Acayan venus_mem: venus@92e00000 { 32507c8ded6SRichard Acayan reg = <0 0x92e00000 0 0x500000>; 32607c8ded6SRichard Acayan no-map; 32707c8ded6SRichard Acayan }; 32807c8ded6SRichard Acayan 32907c8ded6SRichard Acayan wlan_msa_mem: wlan-msa@93300000 { 33007c8ded6SRichard Acayan reg = <0 0x93300000 0 0x100000>; 33107c8ded6SRichard Acayan no-map; 33207c8ded6SRichard Acayan }; 33307c8ded6SRichard Acayan 33407c8ded6SRichard Acayan cdsp_mem: cdsp@93400000 { 33507c8ded6SRichard Acayan reg = <0 0x93400000 0 0x800000>; 33607c8ded6SRichard Acayan no-map; 33707c8ded6SRichard Acayan }; 33807c8ded6SRichard Acayan 33907c8ded6SRichard Acayan mba_region: mba@93c00000 { 34007c8ded6SRichard Acayan reg = <0 0x93c00000 0 0x200000>; 34107c8ded6SRichard Acayan no-map; 34207c8ded6SRichard Acayan }; 34307c8ded6SRichard Acayan 34407c8ded6SRichard Acayan adsp_mem: adsp@93e00000 { 34507c8ded6SRichard Acayan reg = <0 0x93e00000 0 0x1e00000>; 34607c8ded6SRichard Acayan no-map; 34707c8ded6SRichard Acayan }; 34807c8ded6SRichard Acayan 34907c8ded6SRichard Acayan ipa_fw_mem: ipa-fw@95c00000 { 35007c8ded6SRichard Acayan reg = <0 0x95c00000 0 0x10000>; 35107c8ded6SRichard Acayan no-map; 35207c8ded6SRichard Acayan }; 35307c8ded6SRichard Acayan 35407c8ded6SRichard Acayan ipa_gsi_mem: ipa-gsi@95c10000 { 35507c8ded6SRichard Acayan reg = <0 0x95c10000 0 0x5000>; 35607c8ded6SRichard Acayan no-map; 35707c8ded6SRichard Acayan }; 35807c8ded6SRichard Acayan 35907c8ded6SRichard Acayan gpu_mem: gpu@95c15000 { 36007c8ded6SRichard Acayan reg = <0 0x95c15000 0 0x2000>; 36107c8ded6SRichard Acayan no-map; 36207c8ded6SRichard Acayan }; 36307c8ded6SRichard Acayan 36407c8ded6SRichard Acayan spss_mem: spss@97b00000 { 36507c8ded6SRichard Acayan reg = <0 0x97b00000 0 0x100000>; 36607c8ded6SRichard Acayan no-map; 36707c8ded6SRichard Acayan }; 36807c8ded6SRichard Acayan 36907c8ded6SRichard Acayan qseecom_mem: qseecom@9e400000 { 37007c8ded6SRichard Acayan reg = <0 0x9e400000 0 0x1400000>; 37107c8ded6SRichard Acayan no-map; 37207c8ded6SRichard Acayan }; 37307c8ded6SRichard Acayan }; 37407c8ded6SRichard Acayan 37507c8ded6SRichard Acayan timer { 37607c8ded6SRichard Acayan compatible = "arm,armv8-timer"; 37707c8ded6SRichard Acayan interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>, 37807c8ded6SRichard Acayan <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>, 37907c8ded6SRichard Acayan <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>, 38007c8ded6SRichard Acayan <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>; 38107c8ded6SRichard Acayan }; 38207c8ded6SRichard Acayan 38307c8ded6SRichard Acayan soc: soc@0 { 38407c8ded6SRichard Acayan #address-cells = <2>; 38507c8ded6SRichard Acayan #size-cells = <2>; 38607c8ded6SRichard Acayan ranges = <0 0 0 0 0x10 0>; 38707c8ded6SRichard Acayan dma-ranges = <0 0 0 0 0x10 0>; 38807c8ded6SRichard Acayan compatible = "simple-bus"; 38907c8ded6SRichard Acayan 39007c8ded6SRichard Acayan gcc: clock-controller@100000 { 39107c8ded6SRichard Acayan compatible = "qcom,gcc-sdm670"; 39207c8ded6SRichard Acayan reg = <0 0x00100000 0 0x1f0000>; 39307c8ded6SRichard Acayan clocks = <&rpmhcc RPMH_CXO_CLK>, 39407c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK_A>, 39507c8ded6SRichard Acayan <&sleep_clk>; 39607c8ded6SRichard Acayan clock-names = "bi_tcxo", 39707c8ded6SRichard Acayan "bi_tcxo_ao", 39807c8ded6SRichard Acayan "sleep_clk"; 39907c8ded6SRichard Acayan #clock-cells = <1>; 40007c8ded6SRichard Acayan #reset-cells = <1>; 40107c8ded6SRichard Acayan #power-domain-cells = <1>; 40207c8ded6SRichard Acayan }; 40307c8ded6SRichard Acayan 4047bff6f43SRichard Acayan qfprom: qfprom@784000 { 4057bff6f43SRichard Acayan compatible = "qcom,sdm670-qfprom", "qcom,qfprom"; 4067bff6f43SRichard Acayan reg = <0 0x00784000 0 0x1000>; 4077bff6f43SRichard Acayan #address-cells = <1>; 4087bff6f43SRichard Acayan #size-cells = <1>; 409cb98187aSRichard Acayan 410cb98187aSRichard Acayan qusb2_hstx_trim: hstx-trim@1eb { 411cb98187aSRichard Acayan reg = <0x1eb 0x1>; 412cb98187aSRichard Acayan bits = <1 4>; 413cb98187aSRichard Acayan }; 4147bff6f43SRichard Acayan }; 4157bff6f43SRichard Acayan 41607c8ded6SRichard Acayan sdhc_1: mmc@7c4000 { 41707c8ded6SRichard Acayan compatible = "qcom,sdm670-sdhci", "qcom,sdhci-msm-v5"; 41807c8ded6SRichard Acayan reg = <0 0x007c4000 0 0x1000>, 41907c8ded6SRichard Acayan <0 0x007c5000 0 0x1000>, 42007c8ded6SRichard Acayan <0 0x007c8000 0 0x8000>; 42107c8ded6SRichard Acayan reg-names = "hc", "cqhci", "ice"; 42207c8ded6SRichard Acayan 42307c8ded6SRichard Acayan interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>, 42407c8ded6SRichard Acayan <GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>; 42507c8ded6SRichard Acayan interrupt-names = "hc_irq", "pwr_irq"; 42607c8ded6SRichard Acayan 42707c8ded6SRichard Acayan clocks = <&gcc GCC_SDCC1_AHB_CLK>, 42807c8ded6SRichard Acayan <&gcc GCC_SDCC1_APPS_CLK>, 42907c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK>, 43007c8ded6SRichard Acayan <&gcc GCC_SDCC1_ICE_CORE_CLK>, 43107c8ded6SRichard Acayan <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>; 43207c8ded6SRichard Acayan clock-names = "iface", "core", "xo", "ice", "bus"; 43307c8ded6SRichard Acayan 43407c8ded6SRichard Acayan iommus = <&apps_smmu 0x140 0xf>; 43507c8ded6SRichard Acayan 43607c8ded6SRichard Acayan pinctrl-names = "default", "sleep"; 43707c8ded6SRichard Acayan pinctrl-0 = <&sdc1_state_on>; 43807c8ded6SRichard Acayan pinctrl-1 = <&sdc1_state_off>; 43907c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 44007c8ded6SRichard Acayan 44107c8ded6SRichard Acayan bus-width = <8>; 44207c8ded6SRichard Acayan non-removable; 44307c8ded6SRichard Acayan 44407c8ded6SRichard Acayan status = "disabled"; 44507c8ded6SRichard Acayan }; 44607c8ded6SRichard Acayan 44707c8ded6SRichard Acayan gpi_dma0: dma-controller@800000 { 44807c8ded6SRichard Acayan #dma-cells = <3>; 44907c8ded6SRichard Acayan compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma"; 45007c8ded6SRichard Acayan reg = <0 0x00800000 0 0x60000>; 45107c8ded6SRichard Acayan interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 45207c8ded6SRichard Acayan <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 45307c8ded6SRichard Acayan <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>, 45407c8ded6SRichard Acayan <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, 45507c8ded6SRichard Acayan <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 45607c8ded6SRichard Acayan <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, 45707c8ded6SRichard Acayan <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, 45807c8ded6SRichard Acayan <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 45907c8ded6SRichard Acayan <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 46007c8ded6SRichard Acayan <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 46107c8ded6SRichard Acayan <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 46207c8ded6SRichard Acayan <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>, 46307c8ded6SRichard Acayan <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>; 46407c8ded6SRichard Acayan dma-channels = <13>; 46507c8ded6SRichard Acayan dma-channel-mask = <0xfa>; 46607c8ded6SRichard Acayan iommus = <&apps_smmu 0x16 0x0>; 46707c8ded6SRichard Acayan status = "disabled"; 46807c8ded6SRichard Acayan }; 46907c8ded6SRichard Acayan 47007c8ded6SRichard Acayan qupv3_id_0: geniqup@8c0000 { 47107c8ded6SRichard Acayan compatible = "qcom,geni-se-qup"; 47207c8ded6SRichard Acayan reg = <0 0x008c0000 0 0x6000>; 47307c8ded6SRichard Acayan clock-names = "m-ahb", "s-ahb"; 47407c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 47507c8ded6SRichard Acayan <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 47607c8ded6SRichard Acayan iommus = <&apps_smmu 0x3 0x0>; 47707c8ded6SRichard Acayan #address-cells = <2>; 47807c8ded6SRichard Acayan #size-cells = <2>; 47907c8ded6SRichard Acayan ranges; 48007c8ded6SRichard Acayan status = "disabled"; 48107c8ded6SRichard Acayan 48207c8ded6SRichard Acayan i2c0: i2c@880000 { 48307c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 48407c8ded6SRichard Acayan reg = <0 0x00880000 0 0x4000>; 48507c8ded6SRichard Acayan clock-names = "se"; 48607c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 48707c8ded6SRichard Acayan pinctrl-names = "default"; 48807c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c0_default>; 48907c8ded6SRichard Acayan interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 49007c8ded6SRichard Acayan #address-cells = <1>; 49107c8ded6SRichard Acayan #size-cells = <0>; 49207c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 49307c8ded6SRichard Acayan dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, 49407c8ded6SRichard Acayan <&gpi_dma0 1 0 QCOM_GPI_I2C>; 49507c8ded6SRichard Acayan dma-names = "tx", "rx"; 49607c8ded6SRichard Acayan status = "disabled"; 49707c8ded6SRichard Acayan }; 49807c8ded6SRichard Acayan 49907c8ded6SRichard Acayan i2c1: i2c@884000 { 50007c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 50107c8ded6SRichard Acayan reg = <0 0x00884000 0 0x4000>; 50207c8ded6SRichard Acayan clock-names = "se"; 50307c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 50407c8ded6SRichard Acayan pinctrl-names = "default"; 50507c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c1_default>; 50607c8ded6SRichard Acayan interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 50707c8ded6SRichard Acayan #address-cells = <1>; 50807c8ded6SRichard Acayan #size-cells = <0>; 50907c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 51007c8ded6SRichard Acayan dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, 51107c8ded6SRichard Acayan <&gpi_dma0 1 1 QCOM_GPI_I2C>; 51207c8ded6SRichard Acayan dma-names = "tx", "rx"; 51307c8ded6SRichard Acayan status = "disabled"; 51407c8ded6SRichard Acayan }; 51507c8ded6SRichard Acayan 51607c8ded6SRichard Acayan i2c2: i2c@888000 { 51707c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 51807c8ded6SRichard Acayan reg = <0 0x00888000 0 0x4000>; 51907c8ded6SRichard Acayan clock-names = "se"; 52007c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 52107c8ded6SRichard Acayan pinctrl-names = "default"; 52207c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c2_default>; 52307c8ded6SRichard Acayan interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 52407c8ded6SRichard Acayan #address-cells = <1>; 52507c8ded6SRichard Acayan #size-cells = <0>; 52607c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 52707c8ded6SRichard Acayan dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, 52807c8ded6SRichard Acayan <&gpi_dma0 1 2 QCOM_GPI_I2C>; 52907c8ded6SRichard Acayan dma-names = "tx", "rx"; 53007c8ded6SRichard Acayan status = "disabled"; 53107c8ded6SRichard Acayan }; 53207c8ded6SRichard Acayan 53307c8ded6SRichard Acayan i2c3: i2c@88c000 { 53407c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 53507c8ded6SRichard Acayan reg = <0 0x0088c000 0 0x4000>; 53607c8ded6SRichard Acayan clock-names = "se"; 53707c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 53807c8ded6SRichard Acayan pinctrl-names = "default"; 53907c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c3_default>; 54007c8ded6SRichard Acayan interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 54107c8ded6SRichard Acayan #address-cells = <1>; 54207c8ded6SRichard Acayan #size-cells = <0>; 54307c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 54407c8ded6SRichard Acayan dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, 54507c8ded6SRichard Acayan <&gpi_dma0 1 3 QCOM_GPI_I2C>; 54607c8ded6SRichard Acayan dma-names = "tx", "rx"; 54707c8ded6SRichard Acayan status = "disabled"; 54807c8ded6SRichard Acayan }; 54907c8ded6SRichard Acayan 55007c8ded6SRichard Acayan i2c4: i2c@890000 { 55107c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 55207c8ded6SRichard Acayan reg = <0 0x00890000 0 0x4000>; 55307c8ded6SRichard Acayan clock-names = "se"; 55407c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 55507c8ded6SRichard Acayan pinctrl-names = "default"; 55607c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c4_default>; 55707c8ded6SRichard Acayan interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 55807c8ded6SRichard Acayan #address-cells = <1>; 55907c8ded6SRichard Acayan #size-cells = <0>; 56007c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 56107c8ded6SRichard Acayan dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, 56207c8ded6SRichard Acayan <&gpi_dma0 1 4 QCOM_GPI_I2C>; 56307c8ded6SRichard Acayan dma-names = "tx", "rx"; 56407c8ded6SRichard Acayan status = "disabled"; 56507c8ded6SRichard Acayan }; 56607c8ded6SRichard Acayan 56707c8ded6SRichard Acayan i2c5: i2c@894000 { 56807c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 56907c8ded6SRichard Acayan reg = <0 0x00894000 0 0x4000>; 57007c8ded6SRichard Acayan clock-names = "se"; 57107c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 57207c8ded6SRichard Acayan pinctrl-names = "default"; 57307c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c5_default>; 57407c8ded6SRichard Acayan interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 57507c8ded6SRichard Acayan #address-cells = <1>; 57607c8ded6SRichard Acayan #size-cells = <0>; 57707c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 57807c8ded6SRichard Acayan dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, 57907c8ded6SRichard Acayan <&gpi_dma0 1 5 QCOM_GPI_I2C>; 58007c8ded6SRichard Acayan dma-names = "tx", "rx"; 58107c8ded6SRichard Acayan status = "disabled"; 58207c8ded6SRichard Acayan }; 58307c8ded6SRichard Acayan 58407c8ded6SRichard Acayan i2c6: i2c@898000 { 58507c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 58607c8ded6SRichard Acayan reg = <0 0x00898000 0 0x4000>; 58707c8ded6SRichard Acayan clock-names = "se"; 58807c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 58907c8ded6SRichard Acayan pinctrl-names = "default"; 59007c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c6_default>; 59107c8ded6SRichard Acayan interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 59207c8ded6SRichard Acayan #address-cells = <1>; 59307c8ded6SRichard Acayan #size-cells = <0>; 59407c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 59507c8ded6SRichard Acayan dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>, 59607c8ded6SRichard Acayan <&gpi_dma0 1 6 QCOM_GPI_I2C>; 59707c8ded6SRichard Acayan dma-names = "tx", "rx"; 59807c8ded6SRichard Acayan status = "disabled"; 59907c8ded6SRichard Acayan }; 60007c8ded6SRichard Acayan 60107c8ded6SRichard Acayan i2c7: i2c@89c000 { 60207c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 60307c8ded6SRichard Acayan reg = <0 0x0089c000 0 0x4000>; 60407c8ded6SRichard Acayan clock-names = "se"; 60507c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 60607c8ded6SRichard Acayan pinctrl-names = "default"; 60707c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c7_default>; 60807c8ded6SRichard Acayan interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>; 60907c8ded6SRichard Acayan #address-cells = <1>; 61007c8ded6SRichard Acayan #size-cells = <0>; 61107c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 61207c8ded6SRichard Acayan dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>, 61307c8ded6SRichard Acayan <&gpi_dma0 1 7 QCOM_GPI_I2C>; 61407c8ded6SRichard Acayan dma-names = "tx", "rx"; 61507c8ded6SRichard Acayan status = "disabled"; 61607c8ded6SRichard Acayan }; 61707c8ded6SRichard Acayan }; 61807c8ded6SRichard Acayan 61907c8ded6SRichard Acayan gpi_dma1: dma-controller@a00000 { 62007c8ded6SRichard Acayan #dma-cells = <3>; 62107c8ded6SRichard Acayan compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma"; 62207c8ded6SRichard Acayan reg = <0 0x00a00000 0 0x60000>; 62307c8ded6SRichard Acayan interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>, 62407c8ded6SRichard Acayan <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>, 62507c8ded6SRichard Acayan <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>, 62607c8ded6SRichard Acayan <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, 62707c8ded6SRichard Acayan <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 62807c8ded6SRichard Acayan <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>, 62907c8ded6SRichard Acayan <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>, 63007c8ded6SRichard Acayan <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>, 63107c8ded6SRichard Acayan <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>, 63207c8ded6SRichard Acayan <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>, 63307c8ded6SRichard Acayan <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>, 63407c8ded6SRichard Acayan <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>, 63507c8ded6SRichard Acayan <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>; 63607c8ded6SRichard Acayan dma-channels = <13>; 63707c8ded6SRichard Acayan dma-channel-mask = <0xfa>; 63807c8ded6SRichard Acayan iommus = <&apps_smmu 0x6d6 0x0>; 63907c8ded6SRichard Acayan status = "disabled"; 64007c8ded6SRichard Acayan }; 64107c8ded6SRichard Acayan 64207c8ded6SRichard Acayan qupv3_id_1: geniqup@ac0000 { 64307c8ded6SRichard Acayan compatible = "qcom,geni-se-qup"; 64407c8ded6SRichard Acayan reg = <0 0x00ac0000 0 0x6000>; 64507c8ded6SRichard Acayan clock-names = "m-ahb", "s-ahb"; 64607c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, 64707c8ded6SRichard Acayan <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; 64807c8ded6SRichard Acayan iommus = <&apps_smmu 0x6c3 0x0>; 64907c8ded6SRichard Acayan #address-cells = <2>; 65007c8ded6SRichard Acayan #size-cells = <2>; 65107c8ded6SRichard Acayan ranges; 65207c8ded6SRichard Acayan status = "disabled"; 65307c8ded6SRichard Acayan 65407c8ded6SRichard Acayan i2c8: i2c@a80000 { 65507c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 65607c8ded6SRichard Acayan reg = <0 0x00a80000 0 0x4000>; 65707c8ded6SRichard Acayan clock-names = "se"; 65807c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 65907c8ded6SRichard Acayan pinctrl-names = "default"; 66007c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c8_default>; 66107c8ded6SRichard Acayan interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 66207c8ded6SRichard Acayan #address-cells = <1>; 66307c8ded6SRichard Acayan #size-cells = <0>; 66407c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 66507c8ded6SRichard Acayan dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>, 66607c8ded6SRichard Acayan <&gpi_dma1 1 0 QCOM_GPI_I2C>; 66707c8ded6SRichard Acayan dma-names = "tx", "rx"; 66807c8ded6SRichard Acayan status = "disabled"; 66907c8ded6SRichard Acayan }; 67007c8ded6SRichard Acayan 67107c8ded6SRichard Acayan i2c9: i2c@a84000 { 67207c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 67307c8ded6SRichard Acayan reg = <0 0x00a84000 0 0x4000>; 67407c8ded6SRichard Acayan clock-names = "se"; 67507c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 67607c8ded6SRichard Acayan pinctrl-names = "default"; 67707c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c9_default>; 67807c8ded6SRichard Acayan interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 67907c8ded6SRichard Acayan #address-cells = <1>; 68007c8ded6SRichard Acayan #size-cells = <0>; 68107c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 68207c8ded6SRichard Acayan dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>, 68307c8ded6SRichard Acayan <&gpi_dma1 1 1 QCOM_GPI_I2C>; 68407c8ded6SRichard Acayan dma-names = "tx", "rx"; 68507c8ded6SRichard Acayan status = "disabled"; 68607c8ded6SRichard Acayan }; 68707c8ded6SRichard Acayan 68807c8ded6SRichard Acayan i2c10: i2c@a88000 { 68907c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 69007c8ded6SRichard Acayan reg = <0 0x00a88000 0 0x4000>; 69107c8ded6SRichard Acayan clock-names = "se"; 69207c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 69307c8ded6SRichard Acayan pinctrl-names = "default"; 69407c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c10_default>; 69507c8ded6SRichard Acayan interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 69607c8ded6SRichard Acayan #address-cells = <1>; 69707c8ded6SRichard Acayan #size-cells = <0>; 69807c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 69907c8ded6SRichard Acayan dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>, 70007c8ded6SRichard Acayan <&gpi_dma1 1 2 QCOM_GPI_I2C>; 70107c8ded6SRichard Acayan dma-names = "tx", "rx"; 70207c8ded6SRichard Acayan status = "disabled"; 70307c8ded6SRichard Acayan }; 70407c8ded6SRichard Acayan 70507c8ded6SRichard Acayan i2c11: i2c@a8c000 { 70607c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 70707c8ded6SRichard Acayan reg = <0 0x00a8c000 0 0x4000>; 70807c8ded6SRichard Acayan clock-names = "se"; 70907c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 71007c8ded6SRichard Acayan pinctrl-names = "default"; 71107c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c11_default>; 71207c8ded6SRichard Acayan interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 71307c8ded6SRichard Acayan #address-cells = <1>; 71407c8ded6SRichard Acayan #size-cells = <0>; 71507c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 71607c8ded6SRichard Acayan dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>, 71707c8ded6SRichard Acayan <&gpi_dma1 1 3 QCOM_GPI_I2C>; 71807c8ded6SRichard Acayan dma-names = "tx", "rx"; 71907c8ded6SRichard Acayan status = "disabled"; 72007c8ded6SRichard Acayan }; 72107c8ded6SRichard Acayan 72207c8ded6SRichard Acayan i2c12: i2c@a90000 { 72307c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 72407c8ded6SRichard Acayan reg = <0 0x00a90000 0 0x4000>; 72507c8ded6SRichard Acayan clock-names = "se"; 72607c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 72707c8ded6SRichard Acayan pinctrl-names = "default"; 72807c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c12_default>; 72907c8ded6SRichard Acayan interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 73007c8ded6SRichard Acayan #address-cells = <1>; 73107c8ded6SRichard Acayan #size-cells = <0>; 73207c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 73307c8ded6SRichard Acayan dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>, 73407c8ded6SRichard Acayan <&gpi_dma1 1 4 QCOM_GPI_I2C>; 73507c8ded6SRichard Acayan dma-names = "tx", "rx"; 73607c8ded6SRichard Acayan status = "disabled"; 73707c8ded6SRichard Acayan }; 73807c8ded6SRichard Acayan 73907c8ded6SRichard Acayan i2c13: i2c@a94000 { 74007c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 74107c8ded6SRichard Acayan reg = <0 0x00a94000 0 0x4000>; 74207c8ded6SRichard Acayan clock-names = "se"; 74307c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 74407c8ded6SRichard Acayan pinctrl-names = "default"; 74507c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c13_default>; 74607c8ded6SRichard Acayan interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 74707c8ded6SRichard Acayan #address-cells = <1>; 74807c8ded6SRichard Acayan #size-cells = <0>; 74907c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 75007c8ded6SRichard Acayan dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>, 75107c8ded6SRichard Acayan <&gpi_dma1 1 5 QCOM_GPI_I2C>; 75207c8ded6SRichard Acayan dma-names = "tx", "rx"; 75307c8ded6SRichard Acayan status = "disabled"; 75407c8ded6SRichard Acayan }; 75507c8ded6SRichard Acayan 75607c8ded6SRichard Acayan i2c14: i2c@a98000 { 75707c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 75807c8ded6SRichard Acayan reg = <0 0x00a98000 0 0x4000>; 75907c8ded6SRichard Acayan clock-names = "se"; 76007c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>; 76107c8ded6SRichard Acayan pinctrl-names = "default"; 76207c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c14_default>; 76307c8ded6SRichard Acayan interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>; 76407c8ded6SRichard Acayan #address-cells = <1>; 76507c8ded6SRichard Acayan #size-cells = <0>; 76607c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 76707c8ded6SRichard Acayan dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>, 76807c8ded6SRichard Acayan <&gpi_dma1 1 6 QCOM_GPI_I2C>; 76907c8ded6SRichard Acayan dma-names = "tx", "rx"; 77007c8ded6SRichard Acayan status = "disabled"; 77107c8ded6SRichard Acayan }; 77207c8ded6SRichard Acayan 77307c8ded6SRichard Acayan i2c15: i2c@a9c000 { 77407c8ded6SRichard Acayan compatible = "qcom,geni-i2c"; 77507c8ded6SRichard Acayan reg = <0 0x00a9c000 0 0x4000>; 77607c8ded6SRichard Acayan clock-names = "se"; 77707c8ded6SRichard Acayan clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>; 77807c8ded6SRichard Acayan pinctrl-names = "default"; 77907c8ded6SRichard Acayan pinctrl-0 = <&qup_i2c15_default>; 78007c8ded6SRichard Acayan interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 78107c8ded6SRichard Acayan #address-cells = <1>; 78207c8ded6SRichard Acayan #size-cells = <0>; 78307c8ded6SRichard Acayan power-domains = <&rpmhpd SDM670_CX>; 78407c8ded6SRichard Acayan dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>, 78507c8ded6SRichard Acayan <&gpi_dma1 1 7 QCOM_GPI_I2C>; 78607c8ded6SRichard Acayan dma-names = "tx", "rx"; 78707c8ded6SRichard Acayan status = "disabled"; 78807c8ded6SRichard Acayan }; 78907c8ded6SRichard Acayan }; 79007c8ded6SRichard Acayan 791*0daef104SRichard Acayan mem_noc: interconnect@1380000 { 792*0daef104SRichard Acayan compatible = "qcom,sdm670-mem-noc"; 793*0daef104SRichard Acayan reg = <0 0x01380000 0 0x27200>; 794*0daef104SRichard Acayan #interconnect-cells = <2>; 795*0daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 796*0daef104SRichard Acayan }; 797*0daef104SRichard Acayan 798*0daef104SRichard Acayan dc_noc: interconnect@14e0000 { 799*0daef104SRichard Acayan compatible = "qcom,sdm670-dc-noc"; 800*0daef104SRichard Acayan reg = <0 0x014e0000 0 0x400>; 801*0daef104SRichard Acayan #interconnect-cells = <2>; 802*0daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 803*0daef104SRichard Acayan }; 804*0daef104SRichard Acayan 805*0daef104SRichard Acayan config_noc: interconnect@1500000 { 806*0daef104SRichard Acayan compatible = "qcom,sdm670-config-noc"; 807*0daef104SRichard Acayan reg = <0 0x01500000 0 0x5080>; 808*0daef104SRichard Acayan #interconnect-cells = <2>; 809*0daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 810*0daef104SRichard Acayan }; 811*0daef104SRichard Acayan 812*0daef104SRichard Acayan system_noc: interconnect@1620000 { 813*0daef104SRichard Acayan compatible = "qcom,sdm670-system-noc"; 814*0daef104SRichard Acayan reg = <0 0x01620000 0 0x18080>; 815*0daef104SRichard Acayan #interconnect-cells = <2>; 816*0daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 817*0daef104SRichard Acayan }; 818*0daef104SRichard Acayan 819*0daef104SRichard Acayan aggre1_noc: interconnect@16e0000 { 820*0daef104SRichard Acayan compatible = "qcom,sdm670-aggre1-noc"; 821*0daef104SRichard Acayan reg = <0 0x016e0000 0 0x15080>; 822*0daef104SRichard Acayan #interconnect-cells = <2>; 823*0daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 824*0daef104SRichard Acayan }; 825*0daef104SRichard Acayan 826*0daef104SRichard Acayan aggre2_noc: interconnect@1700000 { 827*0daef104SRichard Acayan compatible = "qcom,sdm670-aggre2-noc"; 828*0daef104SRichard Acayan reg = <0 0x01700000 0 0x1f300>; 829*0daef104SRichard Acayan #interconnect-cells = <2>; 830*0daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 831*0daef104SRichard Acayan }; 832*0daef104SRichard Acayan 833*0daef104SRichard Acayan mmss_noc: interconnect@1740000 { 834*0daef104SRichard Acayan compatible = "qcom,sdm670-mmss-noc"; 835*0daef104SRichard Acayan reg = <0 0x01740000 0 0x1c100>; 836*0daef104SRichard Acayan #interconnect-cells = <2>; 837*0daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 838*0daef104SRichard Acayan }; 839*0daef104SRichard Acayan 84007c8ded6SRichard Acayan tlmm: pinctrl@3400000 { 84107c8ded6SRichard Acayan compatible = "qcom,sdm670-tlmm"; 84207c8ded6SRichard Acayan reg = <0 0x03400000 0 0xc00000>; 84307c8ded6SRichard Acayan interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 84407c8ded6SRichard Acayan gpio-controller; 84507c8ded6SRichard Acayan #gpio-cells = <2>; 84607c8ded6SRichard Acayan interrupt-controller; 84707c8ded6SRichard Acayan #interrupt-cells = <2>; 84807c8ded6SRichard Acayan gpio-ranges = <&tlmm 0 0 151>; 84907c8ded6SRichard Acayan 85007c8ded6SRichard Acayan qup_i2c0_default: qup-i2c0-default-state { 85107c8ded6SRichard Acayan pins = "gpio0", "gpio1"; 85207c8ded6SRichard Acayan function = "qup0"; 85307c8ded6SRichard Acayan }; 85407c8ded6SRichard Acayan 85507c8ded6SRichard Acayan qup_i2c1_default: qup-i2c1-default-state { 85607c8ded6SRichard Acayan pins = "gpio17", "gpio18"; 85707c8ded6SRichard Acayan function = "qup1"; 85807c8ded6SRichard Acayan }; 85907c8ded6SRichard Acayan 86007c8ded6SRichard Acayan qup_i2c2_default: qup-i2c2-default-state { 86107c8ded6SRichard Acayan pins = "gpio27", "gpio28"; 86207c8ded6SRichard Acayan function = "qup2"; 86307c8ded6SRichard Acayan }; 86407c8ded6SRichard Acayan 86507c8ded6SRichard Acayan qup_i2c3_default: qup-i2c3-default-state { 86607c8ded6SRichard Acayan pins = "gpio41", "gpio42"; 86707c8ded6SRichard Acayan function = "qup3"; 86807c8ded6SRichard Acayan }; 86907c8ded6SRichard Acayan 87007c8ded6SRichard Acayan qup_i2c4_default: qup-i2c4-default-state { 87107c8ded6SRichard Acayan pins = "gpio89", "gpio90"; 87207c8ded6SRichard Acayan function = "qup4"; 87307c8ded6SRichard Acayan }; 87407c8ded6SRichard Acayan 87507c8ded6SRichard Acayan qup_i2c5_default: qup-i2c5-default-state { 87607c8ded6SRichard Acayan pins = "gpio85", "gpio86"; 87707c8ded6SRichard Acayan function = "qup5"; 87807c8ded6SRichard Acayan }; 87907c8ded6SRichard Acayan 88007c8ded6SRichard Acayan qup_i2c6_default: qup-i2c6-default-state { 88107c8ded6SRichard Acayan pins = "gpio45", "gpio46"; 88207c8ded6SRichard Acayan function = "qup6"; 88307c8ded6SRichard Acayan }; 88407c8ded6SRichard Acayan 88507c8ded6SRichard Acayan qup_i2c7_default: qup-i2c7-default-state { 88607c8ded6SRichard Acayan pins = "gpio93", "gpio94"; 88707c8ded6SRichard Acayan function = "qup7"; 88807c8ded6SRichard Acayan }; 88907c8ded6SRichard Acayan 89007c8ded6SRichard Acayan qup_i2c8_default: qup-i2c8-default-state { 89107c8ded6SRichard Acayan pins = "gpio65", "gpio66"; 89207c8ded6SRichard Acayan function = "qup8"; 89307c8ded6SRichard Acayan }; 89407c8ded6SRichard Acayan 89507c8ded6SRichard Acayan qup_i2c9_default: qup-i2c9-default-state { 89607c8ded6SRichard Acayan pins = "gpio6", "gpio7"; 89707c8ded6SRichard Acayan function = "qup9"; 89807c8ded6SRichard Acayan }; 89907c8ded6SRichard Acayan 90007c8ded6SRichard Acayan qup_i2c10_default: qup-i2c10-default-state { 90107c8ded6SRichard Acayan pins = "gpio55", "gpio56"; 90207c8ded6SRichard Acayan function = "qup10"; 90307c8ded6SRichard Acayan }; 90407c8ded6SRichard Acayan 90507c8ded6SRichard Acayan qup_i2c11_default: qup-i2c11-default-state { 90607c8ded6SRichard Acayan pins = "gpio31", "gpio32"; 90707c8ded6SRichard Acayan function = "qup11"; 90807c8ded6SRichard Acayan }; 90907c8ded6SRichard Acayan 91007c8ded6SRichard Acayan qup_i2c12_default: qup-i2c12-default-state { 91107c8ded6SRichard Acayan pins = "gpio49", "gpio50"; 91207c8ded6SRichard Acayan function = "qup12"; 91307c8ded6SRichard Acayan }; 91407c8ded6SRichard Acayan 91507c8ded6SRichard Acayan qup_i2c13_default: qup-i2c13-default-state { 91607c8ded6SRichard Acayan pins = "gpio105", "gpio106"; 91707c8ded6SRichard Acayan function = "qup13"; 91807c8ded6SRichard Acayan }; 91907c8ded6SRichard Acayan 92007c8ded6SRichard Acayan qup_i2c14_default: qup-i2c14-default-state { 92107c8ded6SRichard Acayan pins = "gpio33", "gpio34"; 92207c8ded6SRichard Acayan function = "qup14"; 92307c8ded6SRichard Acayan }; 92407c8ded6SRichard Acayan 92507c8ded6SRichard Acayan qup_i2c15_default: qup-i2c15-default-state { 92607c8ded6SRichard Acayan pins = "gpio81", "gpio82"; 92707c8ded6SRichard Acayan function = "qup15"; 92807c8ded6SRichard Acayan }; 92907c8ded6SRichard Acayan 93007c8ded6SRichard Acayan sdc1_state_on: sdc1-on-state { 93107c8ded6SRichard Acayan clk-pins { 93207c8ded6SRichard Acayan pins = "sdc1_clk"; 93307c8ded6SRichard Acayan bias-disable; 93407c8ded6SRichard Acayan drive-strength = <16>; 93507c8ded6SRichard Acayan }; 93607c8ded6SRichard Acayan 93707c8ded6SRichard Acayan cmd-pins { 93807c8ded6SRichard Acayan pins = "sdc1_cmd"; 93907c8ded6SRichard Acayan bias-pull-up; 94007c8ded6SRichard Acayan drive-strength = <10>; 94107c8ded6SRichard Acayan }; 94207c8ded6SRichard Acayan 94307c8ded6SRichard Acayan data-pins { 94407c8ded6SRichard Acayan pins = "sdc1_data"; 94507c8ded6SRichard Acayan bias-pull-up; 94607c8ded6SRichard Acayan drive-strength = <10>; 94707c8ded6SRichard Acayan }; 94807c8ded6SRichard Acayan 94907c8ded6SRichard Acayan rclk-pins { 95007c8ded6SRichard Acayan pins = "sdc1_rclk"; 95107c8ded6SRichard Acayan bias-pull-down; 95207c8ded6SRichard Acayan }; 95307c8ded6SRichard Acayan }; 95407c8ded6SRichard Acayan 95507c8ded6SRichard Acayan sdc1_state_off: sdc1-off-state { 95607c8ded6SRichard Acayan clk-pins { 95707c8ded6SRichard Acayan pins = "sdc1_clk"; 95807c8ded6SRichard Acayan bias-disable; 95907c8ded6SRichard Acayan drive-strength = <2>; 96007c8ded6SRichard Acayan }; 96107c8ded6SRichard Acayan 96207c8ded6SRichard Acayan cmd-pins { 96307c8ded6SRichard Acayan pins = "sdc1_cmd"; 96407c8ded6SRichard Acayan bias-pull-up; 96507c8ded6SRichard Acayan drive-strength = <2>; 96607c8ded6SRichard Acayan }; 96707c8ded6SRichard Acayan 96807c8ded6SRichard Acayan data-pins { 96907c8ded6SRichard Acayan pins = "sdc1_data"; 97007c8ded6SRichard Acayan bias-pull-up; 97107c8ded6SRichard Acayan drive-strength = <2>; 97207c8ded6SRichard Acayan }; 97307c8ded6SRichard Acayan 97407c8ded6SRichard Acayan rclk-pins { 97507c8ded6SRichard Acayan pins = "sdc1_rclk"; 97607c8ded6SRichard Acayan bias-pull-down; 97707c8ded6SRichard Acayan }; 97807c8ded6SRichard Acayan }; 97907c8ded6SRichard Acayan }; 98007c8ded6SRichard Acayan 98107c8ded6SRichard Acayan usb_1_hsphy: phy@88e2000 { 98207c8ded6SRichard Acayan compatible = "qcom,sdm670-qusb2-phy", "qcom,qusb2-v2-phy"; 98307c8ded6SRichard Acayan reg = <0 0x088e2000 0 0x400>; 98407c8ded6SRichard Acayan #phy-cells = <0>; 98507c8ded6SRichard Acayan 98607c8ded6SRichard Acayan clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, 98707c8ded6SRichard Acayan <&rpmhcc RPMH_CXO_CLK>; 98807c8ded6SRichard Acayan clock-names = "cfg_ahb", "ref"; 98907c8ded6SRichard Acayan 99007c8ded6SRichard Acayan resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 99107c8ded6SRichard Acayan 992cb98187aSRichard Acayan nvmem-cells = <&qusb2_hstx_trim>; 993cb98187aSRichard Acayan 99407c8ded6SRichard Acayan status = "disabled"; 99507c8ded6SRichard Acayan }; 99607c8ded6SRichard Acayan 99707c8ded6SRichard Acayan usb_1: usb@a6f8800 { 99807c8ded6SRichard Acayan compatible = "qcom,sdm670-dwc3", "qcom,dwc3"; 99907c8ded6SRichard Acayan reg = <0 0x0a6f8800 0 0x400>; 100007c8ded6SRichard Acayan #address-cells = <2>; 100107c8ded6SRichard Acayan #size-cells = <2>; 100207c8ded6SRichard Acayan ranges; 100307c8ded6SRichard Acayan dma-ranges; 100407c8ded6SRichard Acayan 100507c8ded6SRichard Acayan clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 100607c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MASTER_CLK>, 100707c8ded6SRichard Acayan <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 100807c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 100907c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; 101007c8ded6SRichard Acayan clock-names = "cfg_noc", 101107c8ded6SRichard Acayan "core", 101207c8ded6SRichard Acayan "iface", 101307c8ded6SRichard Acayan "sleep", 101407c8ded6SRichard Acayan "mock_utmi"; 101507c8ded6SRichard Acayan 101607c8ded6SRichard Acayan assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 101707c8ded6SRichard Acayan <&gcc GCC_USB30_PRIM_MASTER_CLK>; 101807c8ded6SRichard Acayan assigned-clock-rates = <19200000>, <150000000>; 101907c8ded6SRichard Acayan 102007c8ded6SRichard Acayan interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 102107c8ded6SRichard Acayan <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, 102207c8ded6SRichard Acayan <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>, 102307c8ded6SRichard Acayan <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>; 102407c8ded6SRichard Acayan interrupt-names = "hs_phy_irq", "ss_phy_irq", 102507c8ded6SRichard Acayan "dm_hs_phy_irq", "dp_hs_phy_irq"; 102607c8ded6SRichard Acayan 102707c8ded6SRichard Acayan power-domains = <&gcc USB30_PRIM_GDSC>; 102807c8ded6SRichard Acayan 102907c8ded6SRichard Acayan resets = <&gcc GCC_USB30_PRIM_BCR>; 103007c8ded6SRichard Acayan 103107c8ded6SRichard Acayan status = "disabled"; 103207c8ded6SRichard Acayan 103307c8ded6SRichard Acayan usb_1_dwc3: usb@a600000 { 103407c8ded6SRichard Acayan compatible = "snps,dwc3"; 103507c8ded6SRichard Acayan reg = <0 0x0a600000 0 0xcd00>; 103607c8ded6SRichard Acayan interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 103707c8ded6SRichard Acayan iommus = <&apps_smmu 0x740 0>; 103807c8ded6SRichard Acayan snps,dis_u2_susphy_quirk; 103907c8ded6SRichard Acayan snps,dis_enblslpm_quirk; 104007c8ded6SRichard Acayan phys = <&usb_1_hsphy>; 104107c8ded6SRichard Acayan phy-names = "usb2-phy"; 104207c8ded6SRichard Acayan }; 104307c8ded6SRichard Acayan }; 104407c8ded6SRichard Acayan 104507c8ded6SRichard Acayan spmi_bus: spmi@c440000 { 104607c8ded6SRichard Acayan compatible = "qcom,spmi-pmic-arb"; 104707c8ded6SRichard Acayan reg = <0 0x0c440000 0 0x1100>, 104807c8ded6SRichard Acayan <0 0x0c600000 0 0x2000000>, 104907c8ded6SRichard Acayan <0 0x0e600000 0 0x100000>, 105007c8ded6SRichard Acayan <0 0x0e700000 0 0xa0000>, 105107c8ded6SRichard Acayan <0 0x0c40a000 0 0x26000>; 105207c8ded6SRichard Acayan reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 105307c8ded6SRichard Acayan interrupt-names = "periph_irq"; 105407c8ded6SRichard Acayan interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>; 105507c8ded6SRichard Acayan qcom,ee = <0>; 105607c8ded6SRichard Acayan qcom,channel = <0>; 105707c8ded6SRichard Acayan #address-cells = <2>; 105807c8ded6SRichard Acayan #size-cells = <0>; 105907c8ded6SRichard Acayan interrupt-controller; 106007c8ded6SRichard Acayan #interrupt-cells = <4>; 106107c8ded6SRichard Acayan }; 106207c8ded6SRichard Acayan 106307c8ded6SRichard Acayan apps_smmu: iommu@15000000 { 106407c8ded6SRichard Acayan compatible = "qcom,sdm670-smmu-500", "qcom,smmu-500", "arm,mmu-500"; 106507c8ded6SRichard Acayan reg = <0 0x15000000 0 0x80000>; 106607c8ded6SRichard Acayan #iommu-cells = <2>; 106707c8ded6SRichard Acayan #global-interrupts = <1>; 106807c8ded6SRichard Acayan interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 106907c8ded6SRichard Acayan <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 107007c8ded6SRichard Acayan <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 107107c8ded6SRichard Acayan <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 107207c8ded6SRichard Acayan <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 107307c8ded6SRichard Acayan <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 107407c8ded6SRichard Acayan <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 107507c8ded6SRichard Acayan <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 107607c8ded6SRichard Acayan <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 107707c8ded6SRichard Acayan <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 107807c8ded6SRichard Acayan <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 107907c8ded6SRichard Acayan <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 108007c8ded6SRichard Acayan <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 108107c8ded6SRichard Acayan <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 108207c8ded6SRichard Acayan <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 108307c8ded6SRichard Acayan <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 108407c8ded6SRichard Acayan <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 108507c8ded6SRichard Acayan <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 108607c8ded6SRichard Acayan <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 108707c8ded6SRichard Acayan <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 108807c8ded6SRichard Acayan <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 108907c8ded6SRichard Acayan <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 109007c8ded6SRichard Acayan <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 109107c8ded6SRichard Acayan <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 109207c8ded6SRichard Acayan <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, 109307c8ded6SRichard Acayan <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, 109407c8ded6SRichard Acayan <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, 109507c8ded6SRichard Acayan <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 109607c8ded6SRichard Acayan <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, 109707c8ded6SRichard Acayan <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 109807c8ded6SRichard Acayan <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 109907c8ded6SRichard Acayan <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 110007c8ded6SRichard Acayan <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 110107c8ded6SRichard Acayan <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 110207c8ded6SRichard Acayan <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 110307c8ded6SRichard Acayan <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 110407c8ded6SRichard Acayan <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 110507c8ded6SRichard Acayan <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 110607c8ded6SRichard Acayan <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, 110707c8ded6SRichard Acayan <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 110807c8ded6SRichard Acayan <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 110907c8ded6SRichard Acayan <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 111007c8ded6SRichard Acayan <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 111107c8ded6SRichard Acayan <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 111207c8ded6SRichard Acayan <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 111307c8ded6SRichard Acayan <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 111407c8ded6SRichard Acayan <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 111507c8ded6SRichard Acayan <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 111607c8ded6SRichard Acayan <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 111707c8ded6SRichard Acayan <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 111807c8ded6SRichard Acayan <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 111907c8ded6SRichard Acayan <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 112007c8ded6SRichard Acayan <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 112107c8ded6SRichard Acayan <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 112207c8ded6SRichard Acayan <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 112307c8ded6SRichard Acayan <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 112407c8ded6SRichard Acayan <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 112507c8ded6SRichard Acayan <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 112607c8ded6SRichard Acayan <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 112707c8ded6SRichard Acayan <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 112807c8ded6SRichard Acayan <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 112907c8ded6SRichard Acayan <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 113007c8ded6SRichard Acayan <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 113107c8ded6SRichard Acayan <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 113207c8ded6SRichard Acayan <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>; 113307c8ded6SRichard Acayan }; 113407c8ded6SRichard Acayan 1135*0daef104SRichard Acayan gladiator_noc: interconnect@17900000 { 1136*0daef104SRichard Acayan compatible = "qcom,sdm670-gladiator-noc"; 1137*0daef104SRichard Acayan reg = <0 0x17900000 0 0xd080>; 1138*0daef104SRichard Acayan #interconnect-cells = <2>; 1139*0daef104SRichard Acayan qcom,bcm-voters = <&apps_bcm_voter>; 1140*0daef104SRichard Acayan }; 1141*0daef104SRichard Acayan 114207c8ded6SRichard Acayan apps_rsc: rsc@179c0000 { 114307c8ded6SRichard Acayan compatible = "qcom,rpmh-rsc"; 114407c8ded6SRichard Acayan reg = <0 0x179c0000 0 0x10000>, 114507c8ded6SRichard Acayan <0 0x179d0000 0 0x10000>, 114607c8ded6SRichard Acayan <0 0x179e0000 0 0x10000>; 114707c8ded6SRichard Acayan reg-names = "drv-0", "drv-1", "drv-2"; 114807c8ded6SRichard Acayan interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 114907c8ded6SRichard Acayan <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 115007c8ded6SRichard Acayan <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 115107c8ded6SRichard Acayan label = "apps_rsc"; 115207c8ded6SRichard Acayan qcom,tcs-offset = <0xd00>; 115307c8ded6SRichard Acayan qcom,drv-id = <2>; 115407c8ded6SRichard Acayan qcom,tcs-config = <ACTIVE_TCS 2>, 115507c8ded6SRichard Acayan <SLEEP_TCS 3>, 115607c8ded6SRichard Acayan <WAKE_TCS 3>, 115707c8ded6SRichard Acayan <CONTROL_TCS 1>; 115807c8ded6SRichard Acayan 115907c8ded6SRichard Acayan apps_bcm_voter: bcm-voter { 116007c8ded6SRichard Acayan compatible = "qcom,bcm-voter"; 116107c8ded6SRichard Acayan }; 116207c8ded6SRichard Acayan 116307c8ded6SRichard Acayan rpmhcc: clock-controller { 116407c8ded6SRichard Acayan compatible = "qcom,sdm670-rpmh-clk"; 116507c8ded6SRichard Acayan #clock-cells = <1>; 116607c8ded6SRichard Acayan clock-names = "xo"; 116707c8ded6SRichard Acayan clocks = <&xo_board>; 116807c8ded6SRichard Acayan }; 116907c8ded6SRichard Acayan 117007c8ded6SRichard Acayan rpmhpd: power-controller { 117107c8ded6SRichard Acayan compatible = "qcom,sdm670-rpmhpd"; 117207c8ded6SRichard Acayan #power-domain-cells = <1>; 117307c8ded6SRichard Acayan operating-points-v2 = <&rpmhpd_opp_table>; 117407c8ded6SRichard Acayan 117507c8ded6SRichard Acayan rpmhpd_opp_table: opp-table { 117607c8ded6SRichard Acayan compatible = "operating-points-v2"; 117707c8ded6SRichard Acayan 117807c8ded6SRichard Acayan rpmhpd_opp_ret: opp1 { 117907c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; 118007c8ded6SRichard Acayan }; 118107c8ded6SRichard Acayan 118207c8ded6SRichard Acayan rpmhpd_opp_min_svs: opp2 { 118307c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 118407c8ded6SRichard Acayan }; 118507c8ded6SRichard Acayan 118607c8ded6SRichard Acayan rpmhpd_opp_low_svs: opp3 { 118707c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 118807c8ded6SRichard Acayan }; 118907c8ded6SRichard Acayan 119007c8ded6SRichard Acayan rpmhpd_opp_svs: opp4 { 119107c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 119207c8ded6SRichard Acayan }; 119307c8ded6SRichard Acayan 119407c8ded6SRichard Acayan rpmhpd_opp_svs_l1: opp5 { 119507c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 119607c8ded6SRichard Acayan }; 119707c8ded6SRichard Acayan 119807c8ded6SRichard Acayan rpmhpd_opp_nom: opp6 { 119907c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 120007c8ded6SRichard Acayan }; 120107c8ded6SRichard Acayan 120207c8ded6SRichard Acayan rpmhpd_opp_nom_l1: opp7 { 120307c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 120407c8ded6SRichard Acayan }; 120507c8ded6SRichard Acayan 120607c8ded6SRichard Acayan rpmhpd_opp_nom_l2: opp8 { 120707c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; 120807c8ded6SRichard Acayan }; 120907c8ded6SRichard Acayan 121007c8ded6SRichard Acayan rpmhpd_opp_turbo: opp9 { 121107c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 121207c8ded6SRichard Acayan }; 121307c8ded6SRichard Acayan 121407c8ded6SRichard Acayan rpmhpd_opp_turbo_l1: opp10 { 121507c8ded6SRichard Acayan opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 121607c8ded6SRichard Acayan }; 121707c8ded6SRichard Acayan }; 121807c8ded6SRichard Acayan }; 121907c8ded6SRichard Acayan }; 122007c8ded6SRichard Acayan 122107c8ded6SRichard Acayan intc: interrupt-controller@17a00000 { 122207c8ded6SRichard Acayan compatible = "arm,gic-v3"; 122307c8ded6SRichard Acayan reg = <0 0x17a00000 0 0x10000>, /* GICD */ 122407c8ded6SRichard Acayan <0 0x17a60000 0 0x100000>; /* GICR * 8 */ 122507c8ded6SRichard Acayan interrupt-controller; 122607c8ded6SRichard Acayan interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 122707c8ded6SRichard Acayan #interrupt-cells = <3>; 122807c8ded6SRichard Acayan }; 122907c8ded6SRichard Acayan }; 123007c8ded6SRichard Acayan}; 1231