xref: /openbmc/linux/arch/arm64/boot/dts/qcom/sdm670.dtsi (revision 17289c0165bdb61a585e8e937b80defc376dbfde)
107c8ded6SRichard Acayan// SPDX-License-Identifier: GPL-2.0
207c8ded6SRichard Acayan/*
307c8ded6SRichard Acayan * SDM670 SoC device tree source, adapted from SDM845 SoC device tree
407c8ded6SRichard Acayan *
507c8ded6SRichard Acayan * Copyright (c) 2018, The Linux Foundation. All rights reserved.
607c8ded6SRichard Acayan * Copyright (c) 2022, Richard Acayan. All rights reserved.
707c8ded6SRichard Acayan */
807c8ded6SRichard Acayan
907c8ded6SRichard Acayan#include <dt-bindings/clock/qcom,gcc-sdm845.h>
1007c8ded6SRichard Acayan#include <dt-bindings/clock/qcom,rpmh.h>
1107c8ded6SRichard Acayan#include <dt-bindings/dma/qcom-gpi.h>
1207c8ded6SRichard Acayan#include <dt-bindings/gpio/gpio.h>
13*17289c01SRichard Acayan#include <dt-bindings/interconnect/qcom,sdm670-rpmh.h>
1407c8ded6SRichard Acayan#include <dt-bindings/interrupt-controller/arm-gic.h>
1507c8ded6SRichard Acayan#include <dt-bindings/phy/phy-qcom-qusb2.h>
1607c8ded6SRichard Acayan#include <dt-bindings/power/qcom-rpmpd.h>
1707c8ded6SRichard Acayan#include <dt-bindings/soc/qcom,rpmh-rsc.h>
1807c8ded6SRichard Acayan
1907c8ded6SRichard Acayan/ {
2007c8ded6SRichard Acayan	interrupt-parent = <&intc>;
2107c8ded6SRichard Acayan
2207c8ded6SRichard Acayan	#address-cells = <2>;
2307c8ded6SRichard Acayan	#size-cells = <2>;
2407c8ded6SRichard Acayan
2507c8ded6SRichard Acayan	aliases { };
2607c8ded6SRichard Acayan
2707c8ded6SRichard Acayan	chosen { };
2807c8ded6SRichard Acayan
2907c8ded6SRichard Acayan	cpus {
3007c8ded6SRichard Acayan		#address-cells = <2>;
3107c8ded6SRichard Acayan		#size-cells = <0>;
3207c8ded6SRichard Acayan
3307c8ded6SRichard Acayan		CPU0: cpu@0 {
3407c8ded6SRichard Acayan			device_type = "cpu";
3507c8ded6SRichard Acayan			compatible = "qcom,kryo360";
3607c8ded6SRichard Acayan			reg = <0x0 0x0>;
3707c8ded6SRichard Acayan			enable-method = "psci";
3807c8ded6SRichard Acayan			power-domains = <&CPU_PD0>;
3907c8ded6SRichard Acayan			power-domain-names = "psci";
4007c8ded6SRichard Acayan			next-level-cache = <&L2_0>;
4107c8ded6SRichard Acayan			L2_0: l2-cache {
4207c8ded6SRichard Acayan				compatible = "cache";
4307c8ded6SRichard Acayan				next-level-cache = <&L3_0>;
4407c8ded6SRichard Acayan				L3_0: l3-cache {
4507c8ded6SRichard Acayan				      compatible = "cache";
4607c8ded6SRichard Acayan				};
4707c8ded6SRichard Acayan			};
4807c8ded6SRichard Acayan		};
4907c8ded6SRichard Acayan
5007c8ded6SRichard Acayan		CPU1: cpu@100 {
5107c8ded6SRichard Acayan			device_type = "cpu";
5207c8ded6SRichard Acayan			compatible = "qcom,kryo360";
5307c8ded6SRichard Acayan			reg = <0x0 0x100>;
5407c8ded6SRichard Acayan			enable-method = "psci";
5507c8ded6SRichard Acayan			power-domains = <&CPU_PD1>;
5607c8ded6SRichard Acayan			power-domain-names = "psci";
5707c8ded6SRichard Acayan			next-level-cache = <&L2_100>;
5807c8ded6SRichard Acayan			L2_100: l2-cache {
5907c8ded6SRichard Acayan				compatible = "cache";
6007c8ded6SRichard Acayan				next-level-cache = <&L3_0>;
6107c8ded6SRichard Acayan			};
6207c8ded6SRichard Acayan		};
6307c8ded6SRichard Acayan
6407c8ded6SRichard Acayan		CPU2: cpu@200 {
6507c8ded6SRichard Acayan			device_type = "cpu";
6607c8ded6SRichard Acayan			compatible = "qcom,kryo360";
6707c8ded6SRichard Acayan			reg = <0x0 0x200>;
6807c8ded6SRichard Acayan			enable-method = "psci";
6907c8ded6SRichard Acayan			power-domains = <&CPU_PD2>;
7007c8ded6SRichard Acayan			power-domain-names = "psci";
7107c8ded6SRichard Acayan			next-level-cache = <&L2_200>;
7207c8ded6SRichard Acayan			L2_200: l2-cache {
7307c8ded6SRichard Acayan				compatible = "cache";
7407c8ded6SRichard Acayan				next-level-cache = <&L3_0>;
7507c8ded6SRichard Acayan			};
7607c8ded6SRichard Acayan		};
7707c8ded6SRichard Acayan
7807c8ded6SRichard Acayan		CPU3: cpu@300 {
7907c8ded6SRichard Acayan			device_type = "cpu";
8007c8ded6SRichard Acayan			compatible = "qcom,kryo360";
8107c8ded6SRichard Acayan			reg = <0x0 0x300>;
8207c8ded6SRichard Acayan			enable-method = "psci";
8307c8ded6SRichard Acayan			power-domains = <&CPU_PD3>;
8407c8ded6SRichard Acayan			power-domain-names = "psci";
8507c8ded6SRichard Acayan			next-level-cache = <&L2_300>;
8607c8ded6SRichard Acayan			L2_300: l2-cache {
8707c8ded6SRichard Acayan				compatible = "cache";
8807c8ded6SRichard Acayan				next-level-cache = <&L3_0>;
8907c8ded6SRichard Acayan			};
9007c8ded6SRichard Acayan		};
9107c8ded6SRichard Acayan
9207c8ded6SRichard Acayan		CPU4: cpu@400 {
9307c8ded6SRichard Acayan			device_type = "cpu";
9407c8ded6SRichard Acayan			compatible = "qcom,kryo360";
9507c8ded6SRichard Acayan			reg = <0x0 0x400>;
9607c8ded6SRichard Acayan			enable-method = "psci";
9707c8ded6SRichard Acayan			power-domains = <&CPU_PD4>;
9807c8ded6SRichard Acayan			power-domain-names = "psci";
9907c8ded6SRichard Acayan			next-level-cache = <&L2_400>;
10007c8ded6SRichard Acayan			L2_400: l2-cache {
10107c8ded6SRichard Acayan				compatible = "cache";
10207c8ded6SRichard Acayan				next-level-cache = <&L3_0>;
10307c8ded6SRichard Acayan			};
10407c8ded6SRichard Acayan		};
10507c8ded6SRichard Acayan
10607c8ded6SRichard Acayan		CPU5: cpu@500 {
10707c8ded6SRichard Acayan			device_type = "cpu";
10807c8ded6SRichard Acayan			compatible = "qcom,kryo360";
10907c8ded6SRichard Acayan			reg = <0x0 0x500>;
11007c8ded6SRichard Acayan			enable-method = "psci";
11107c8ded6SRichard Acayan			power-domains = <&CPU_PD5>;
11207c8ded6SRichard Acayan			power-domain-names = "psci";
11307c8ded6SRichard Acayan			next-level-cache = <&L2_500>;
11407c8ded6SRichard Acayan			L2_500: l2-cache {
11507c8ded6SRichard Acayan				compatible = "cache";
11607c8ded6SRichard Acayan				next-level-cache = <&L3_0>;
11707c8ded6SRichard Acayan			};
11807c8ded6SRichard Acayan		};
11907c8ded6SRichard Acayan
12007c8ded6SRichard Acayan		CPU6: cpu@600 {
12107c8ded6SRichard Acayan			device_type = "cpu";
12207c8ded6SRichard Acayan			compatible = "qcom,kryo360";
12307c8ded6SRichard Acayan			reg = <0x0 0x600>;
12407c8ded6SRichard Acayan			enable-method = "psci";
12507c8ded6SRichard Acayan			power-domains = <&CPU_PD6>;
12607c8ded6SRichard Acayan			power-domain-names = "psci";
12707c8ded6SRichard Acayan			next-level-cache = <&L2_600>;
12807c8ded6SRichard Acayan			L2_600: l2-cache {
12907c8ded6SRichard Acayan				compatible = "cache";
13007c8ded6SRichard Acayan				next-level-cache = <&L3_0>;
13107c8ded6SRichard Acayan			};
13207c8ded6SRichard Acayan		};
13307c8ded6SRichard Acayan
13407c8ded6SRichard Acayan		CPU7: cpu@700 {
13507c8ded6SRichard Acayan			device_type = "cpu";
13607c8ded6SRichard Acayan			compatible = "qcom,kryo360";
13707c8ded6SRichard Acayan			reg = <0x0 0x700>;
13807c8ded6SRichard Acayan			enable-method = "psci";
13907c8ded6SRichard Acayan			power-domains = <&CPU_PD7>;
14007c8ded6SRichard Acayan			power-domain-names = "psci";
14107c8ded6SRichard Acayan			next-level-cache = <&L2_700>;
14207c8ded6SRichard Acayan			L2_700: l2-cache {
14307c8ded6SRichard Acayan				compatible = "cache";
14407c8ded6SRichard Acayan				next-level-cache = <&L3_0>;
14507c8ded6SRichard Acayan			};
14607c8ded6SRichard Acayan		};
14707c8ded6SRichard Acayan
14807c8ded6SRichard Acayan		cpu-map {
14907c8ded6SRichard Acayan			cluster0 {
15007c8ded6SRichard Acayan				core0 {
15107c8ded6SRichard Acayan					cpu = <&CPU0>;
15207c8ded6SRichard Acayan				};
15307c8ded6SRichard Acayan
15407c8ded6SRichard Acayan				core1 {
15507c8ded6SRichard Acayan					cpu = <&CPU1>;
15607c8ded6SRichard Acayan				};
15707c8ded6SRichard Acayan
15807c8ded6SRichard Acayan				core2 {
15907c8ded6SRichard Acayan					cpu = <&CPU2>;
16007c8ded6SRichard Acayan				};
16107c8ded6SRichard Acayan
16207c8ded6SRichard Acayan				core3 {
16307c8ded6SRichard Acayan					cpu = <&CPU3>;
16407c8ded6SRichard Acayan				};
16507c8ded6SRichard Acayan
16607c8ded6SRichard Acayan				core4 {
16707c8ded6SRichard Acayan					cpu = <&CPU4>;
16807c8ded6SRichard Acayan				};
16907c8ded6SRichard Acayan
17007c8ded6SRichard Acayan				core5 {
17107c8ded6SRichard Acayan					cpu = <&CPU5>;
17207c8ded6SRichard Acayan				};
17307c8ded6SRichard Acayan
17407c8ded6SRichard Acayan				core6 {
17507c8ded6SRichard Acayan					cpu = <&CPU6>;
17607c8ded6SRichard Acayan				};
17707c8ded6SRichard Acayan
17807c8ded6SRichard Acayan				core7 {
17907c8ded6SRichard Acayan					cpu = <&CPU7>;
18007c8ded6SRichard Acayan				};
18107c8ded6SRichard Acayan			};
18207c8ded6SRichard Acayan		};
18307c8ded6SRichard Acayan
18407c8ded6SRichard Acayan		idle-states {
18507c8ded6SRichard Acayan			entry-method = "psci";
18607c8ded6SRichard Acayan
18707c8ded6SRichard Acayan			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
18807c8ded6SRichard Acayan				compatible = "arm,idle-state";
18907c8ded6SRichard Acayan				idle-state-name = "little-rail-power-collapse";
19007c8ded6SRichard Acayan				arm,psci-suspend-param = <0x40000004>;
19107c8ded6SRichard Acayan				entry-latency-us = <702>;
19207c8ded6SRichard Acayan				exit-latency-us = <915>;
19307c8ded6SRichard Acayan				min-residency-us = <1617>;
19407c8ded6SRichard Acayan				local-timer-stop;
19507c8ded6SRichard Acayan			};
19607c8ded6SRichard Acayan
19707c8ded6SRichard Acayan			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
19807c8ded6SRichard Acayan				compatible = "arm,idle-state";
19907c8ded6SRichard Acayan				idle-state-name = "big-rail-power-collapse";
20007c8ded6SRichard Acayan				arm,psci-suspend-param = <0x40000004>;
20107c8ded6SRichard Acayan				entry-latency-us = <526>;
20207c8ded6SRichard Acayan				exit-latency-us = <1854>;
20307c8ded6SRichard Acayan				min-residency-us = <2380>;
20407c8ded6SRichard Acayan				local-timer-stop;
20507c8ded6SRichard Acayan			};
20607c8ded6SRichard Acayan		};
20707c8ded6SRichard Acayan
20807c8ded6SRichard Acayan		domain-idle-states {
20907c8ded6SRichard Acayan			CLUSTER_SLEEP_0: cluster-sleep-0 {
21007c8ded6SRichard Acayan				compatible = "domain-idle-state";
21107c8ded6SRichard Acayan				arm,psci-suspend-param = <0x4100c244>;
21207c8ded6SRichard Acayan				entry-latency-us = <3263>;
21307c8ded6SRichard Acayan				exit-latency-us = <6562>;
21407c8ded6SRichard Acayan				min-residency-us = <9825>;
21507c8ded6SRichard Acayan			};
21607c8ded6SRichard Acayan		};
21707c8ded6SRichard Acayan	};
21807c8ded6SRichard Acayan
21907c8ded6SRichard Acayan	firmware {
22007c8ded6SRichard Acayan		scm {
22107c8ded6SRichard Acayan			compatible = "qcom,scm-sdm670", "qcom,scm";
22207c8ded6SRichard Acayan		};
22307c8ded6SRichard Acayan	};
22407c8ded6SRichard Acayan
22507c8ded6SRichard Acayan	memory@80000000 {
22607c8ded6SRichard Acayan		device_type = "memory";
22707c8ded6SRichard Acayan		/* We expect the bootloader to fill in the size */
22807c8ded6SRichard Acayan		reg = <0x0 0x80000000 0x0 0x0>;
22907c8ded6SRichard Acayan	};
23007c8ded6SRichard Acayan
23107c8ded6SRichard Acayan	psci {
23207c8ded6SRichard Acayan		compatible = "arm,psci-1.0";
23307c8ded6SRichard Acayan		method = "smc";
23407c8ded6SRichard Acayan
23507c8ded6SRichard Acayan		CPU_PD0: power-domain-cpu0 {
23607c8ded6SRichard Acayan			#power-domain-cells = <0>;
23707c8ded6SRichard Acayan			power-domains = <&CLUSTER_PD>;
23807c8ded6SRichard Acayan			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
23907c8ded6SRichard Acayan		};
24007c8ded6SRichard Acayan
24107c8ded6SRichard Acayan		CPU_PD1: power-domain-cpu1 {
24207c8ded6SRichard Acayan			#power-domain-cells = <0>;
24307c8ded6SRichard Acayan			power-domains = <&CLUSTER_PD>;
24407c8ded6SRichard Acayan			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
24507c8ded6SRichard Acayan		};
24607c8ded6SRichard Acayan
24707c8ded6SRichard Acayan		CPU_PD2: power-domain-cpu2 {
24807c8ded6SRichard Acayan			#power-domain-cells = <0>;
24907c8ded6SRichard Acayan			power-domains = <&CLUSTER_PD>;
25007c8ded6SRichard Acayan			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
25107c8ded6SRichard Acayan		};
25207c8ded6SRichard Acayan
25307c8ded6SRichard Acayan		CPU_PD3: power-domain-cpu3 {
25407c8ded6SRichard Acayan			#power-domain-cells = <0>;
25507c8ded6SRichard Acayan			power-domains = <&CLUSTER_PD>;
25607c8ded6SRichard Acayan			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
25707c8ded6SRichard Acayan		};
25807c8ded6SRichard Acayan
25907c8ded6SRichard Acayan		CPU_PD4: power-domain-cpu4 {
26007c8ded6SRichard Acayan			#power-domain-cells = <0>;
26107c8ded6SRichard Acayan			power-domains = <&CLUSTER_PD>;
26207c8ded6SRichard Acayan			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
26307c8ded6SRichard Acayan		};
26407c8ded6SRichard Acayan
26507c8ded6SRichard Acayan		CPU_PD5: power-domain-cpu5 {
26607c8ded6SRichard Acayan			#power-domain-cells = <0>;
26707c8ded6SRichard Acayan			power-domains = <&CLUSTER_PD>;
26807c8ded6SRichard Acayan			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
26907c8ded6SRichard Acayan		};
27007c8ded6SRichard Acayan
27107c8ded6SRichard Acayan		CPU_PD6: power-domain-cpu6 {
27207c8ded6SRichard Acayan			#power-domain-cells = <0>;
27307c8ded6SRichard Acayan			power-domains = <&CLUSTER_PD>;
27407c8ded6SRichard Acayan			domain-idle-states = <&BIG_CPU_SLEEP_0>;
27507c8ded6SRichard Acayan		};
27607c8ded6SRichard Acayan
27707c8ded6SRichard Acayan		CPU_PD7: power-domain-cpu7 {
27807c8ded6SRichard Acayan			#power-domain-cells = <0>;
27907c8ded6SRichard Acayan			power-domains = <&CLUSTER_PD>;
28007c8ded6SRichard Acayan			domain-idle-states = <&BIG_CPU_SLEEP_0>;
28107c8ded6SRichard Acayan		};
28207c8ded6SRichard Acayan
28307c8ded6SRichard Acayan		CLUSTER_PD: power-domain-cluster {
28407c8ded6SRichard Acayan			#power-domain-cells = <0>;
28507c8ded6SRichard Acayan			domain-idle-states = <&CLUSTER_SLEEP_0>;
28607c8ded6SRichard Acayan		};
28707c8ded6SRichard Acayan	};
28807c8ded6SRichard Acayan
28907c8ded6SRichard Acayan	reserved-memory {
29007c8ded6SRichard Acayan		#address-cells = <2>;
29107c8ded6SRichard Acayan		#size-cells = <2>;
29207c8ded6SRichard Acayan		ranges;
29307c8ded6SRichard Acayan
29407c8ded6SRichard Acayan		hyp_mem: hyp-mem@85700000 {
29507c8ded6SRichard Acayan			reg = <0 0x85700000 0 0x600000>;
29607c8ded6SRichard Acayan			no-map;
29707c8ded6SRichard Acayan		};
29807c8ded6SRichard Acayan
29907c8ded6SRichard Acayan		xbl_mem: xbl-mem@85e00000 {
30007c8ded6SRichard Acayan			reg = <0 0x85e00000 0 0x100000>;
30107c8ded6SRichard Acayan			no-map;
30207c8ded6SRichard Acayan		};
30307c8ded6SRichard Acayan
30407c8ded6SRichard Acayan		aop_mem: aop-mem@85fc0000 {
30507c8ded6SRichard Acayan			reg = <0 0x85fc0000 0 0x20000>;
30607c8ded6SRichard Acayan			no-map;
30707c8ded6SRichard Acayan		};
30807c8ded6SRichard Acayan
30907c8ded6SRichard Acayan		aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 {
31007c8ded6SRichard Acayan			compatible = "qcom,cmd-db";
31107c8ded6SRichard Acayan			reg = <0 0x85fe0000 0 0x20000>;
31207c8ded6SRichard Acayan			no-map;
31307c8ded6SRichard Acayan		};
31407c8ded6SRichard Acayan
31507c8ded6SRichard Acayan		camera_mem: camera-mem@8ab00000 {
31607c8ded6SRichard Acayan			reg = <0 0x8ab00000 0 0x500000>;
31707c8ded6SRichard Acayan			no-map;
31807c8ded6SRichard Acayan		};
31907c8ded6SRichard Acayan
32007c8ded6SRichard Acayan		mpss_region: mpss@8b000000 {
32107c8ded6SRichard Acayan			reg = <0 0x8b000000 0 0x7e00000>;
32207c8ded6SRichard Acayan			no-map;
32307c8ded6SRichard Acayan		};
32407c8ded6SRichard Acayan
32507c8ded6SRichard Acayan		venus_mem: venus@92e00000 {
32607c8ded6SRichard Acayan			reg = <0 0x92e00000 0 0x500000>;
32707c8ded6SRichard Acayan			no-map;
32807c8ded6SRichard Acayan		};
32907c8ded6SRichard Acayan
33007c8ded6SRichard Acayan		wlan_msa_mem: wlan-msa@93300000 {
33107c8ded6SRichard Acayan			reg = <0 0x93300000 0 0x100000>;
33207c8ded6SRichard Acayan			no-map;
33307c8ded6SRichard Acayan		};
33407c8ded6SRichard Acayan
33507c8ded6SRichard Acayan		cdsp_mem: cdsp@93400000 {
33607c8ded6SRichard Acayan			reg = <0 0x93400000 0 0x800000>;
33707c8ded6SRichard Acayan			no-map;
33807c8ded6SRichard Acayan		};
33907c8ded6SRichard Acayan
34007c8ded6SRichard Acayan		mba_region: mba@93c00000 {
34107c8ded6SRichard Acayan			reg = <0 0x93c00000 0 0x200000>;
34207c8ded6SRichard Acayan			no-map;
34307c8ded6SRichard Acayan		};
34407c8ded6SRichard Acayan
34507c8ded6SRichard Acayan		adsp_mem: adsp@93e00000 {
34607c8ded6SRichard Acayan			reg = <0 0x93e00000 0 0x1e00000>;
34707c8ded6SRichard Acayan			no-map;
34807c8ded6SRichard Acayan		};
34907c8ded6SRichard Acayan
35007c8ded6SRichard Acayan		ipa_fw_mem: ipa-fw@95c00000 {
35107c8ded6SRichard Acayan			reg = <0 0x95c00000 0 0x10000>;
35207c8ded6SRichard Acayan			no-map;
35307c8ded6SRichard Acayan		};
35407c8ded6SRichard Acayan
35507c8ded6SRichard Acayan		ipa_gsi_mem: ipa-gsi@95c10000 {
35607c8ded6SRichard Acayan			reg = <0 0x95c10000 0 0x5000>;
35707c8ded6SRichard Acayan			no-map;
35807c8ded6SRichard Acayan		};
35907c8ded6SRichard Acayan
36007c8ded6SRichard Acayan		gpu_mem: gpu@95c15000 {
36107c8ded6SRichard Acayan			reg = <0 0x95c15000 0 0x2000>;
36207c8ded6SRichard Acayan			no-map;
36307c8ded6SRichard Acayan		};
36407c8ded6SRichard Acayan
36507c8ded6SRichard Acayan		spss_mem: spss@97b00000 {
36607c8ded6SRichard Acayan			reg = <0 0x97b00000 0 0x100000>;
36707c8ded6SRichard Acayan			no-map;
36807c8ded6SRichard Acayan		};
36907c8ded6SRichard Acayan
37007c8ded6SRichard Acayan		qseecom_mem: qseecom@9e400000 {
37107c8ded6SRichard Acayan			reg = <0 0x9e400000 0 0x1400000>;
37207c8ded6SRichard Acayan			no-map;
37307c8ded6SRichard Acayan		};
37407c8ded6SRichard Acayan	};
37507c8ded6SRichard Acayan
37607c8ded6SRichard Acayan	timer {
37707c8ded6SRichard Acayan		compatible = "arm,armv8-timer";
37807c8ded6SRichard Acayan		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
37907c8ded6SRichard Acayan			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
38007c8ded6SRichard Acayan			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
38107c8ded6SRichard Acayan			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
38207c8ded6SRichard Acayan	};
38307c8ded6SRichard Acayan
38407c8ded6SRichard Acayan	soc: soc@0 {
38507c8ded6SRichard Acayan		#address-cells = <2>;
38607c8ded6SRichard Acayan		#size-cells = <2>;
38707c8ded6SRichard Acayan		ranges = <0 0 0 0 0x10 0>;
38807c8ded6SRichard Acayan		dma-ranges = <0 0 0 0 0x10 0>;
38907c8ded6SRichard Acayan		compatible = "simple-bus";
39007c8ded6SRichard Acayan
39107c8ded6SRichard Acayan		gcc: clock-controller@100000 {
39207c8ded6SRichard Acayan			compatible = "qcom,gcc-sdm670";
39307c8ded6SRichard Acayan			reg = <0 0x00100000 0 0x1f0000>;
39407c8ded6SRichard Acayan			clocks = <&rpmhcc RPMH_CXO_CLK>,
39507c8ded6SRichard Acayan				 <&rpmhcc RPMH_CXO_CLK_A>,
39607c8ded6SRichard Acayan				 <&sleep_clk>;
39707c8ded6SRichard Acayan			clock-names = "bi_tcxo",
39807c8ded6SRichard Acayan				      "bi_tcxo_ao",
39907c8ded6SRichard Acayan				      "sleep_clk";
40007c8ded6SRichard Acayan			#clock-cells = <1>;
40107c8ded6SRichard Acayan			#reset-cells = <1>;
40207c8ded6SRichard Acayan			#power-domain-cells = <1>;
40307c8ded6SRichard Acayan		};
40407c8ded6SRichard Acayan
4057bff6f43SRichard Acayan		qfprom: qfprom@784000 {
4067bff6f43SRichard Acayan			compatible = "qcom,sdm670-qfprom", "qcom,qfprom";
4077bff6f43SRichard Acayan			reg = <0 0x00784000 0 0x1000>;
4087bff6f43SRichard Acayan			#address-cells = <1>;
4097bff6f43SRichard Acayan			#size-cells = <1>;
410cb98187aSRichard Acayan
411cb98187aSRichard Acayan			qusb2_hstx_trim: hstx-trim@1eb {
412cb98187aSRichard Acayan				reg = <0x1eb 0x1>;
413cb98187aSRichard Acayan				bits = <1 4>;
414cb98187aSRichard Acayan			};
4157bff6f43SRichard Acayan		};
4167bff6f43SRichard Acayan
41707c8ded6SRichard Acayan		sdhc_1: mmc@7c4000 {
41807c8ded6SRichard Acayan			compatible = "qcom,sdm670-sdhci", "qcom,sdhci-msm-v5";
41907c8ded6SRichard Acayan			reg = <0 0x007c4000 0 0x1000>,
42007c8ded6SRichard Acayan			      <0 0x007c5000 0 0x1000>,
42107c8ded6SRichard Acayan			      <0 0x007c8000 0 0x8000>;
42207c8ded6SRichard Acayan			reg-names = "hc", "cqhci", "ice";
42307c8ded6SRichard Acayan
42407c8ded6SRichard Acayan			interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
42507c8ded6SRichard Acayan				     <GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>;
42607c8ded6SRichard Acayan			interrupt-names = "hc_irq", "pwr_irq";
42707c8ded6SRichard Acayan
42807c8ded6SRichard Acayan			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
42907c8ded6SRichard Acayan				 <&gcc GCC_SDCC1_APPS_CLK>,
43007c8ded6SRichard Acayan				 <&rpmhcc RPMH_CXO_CLK>,
43107c8ded6SRichard Acayan				 <&gcc GCC_SDCC1_ICE_CORE_CLK>,
43207c8ded6SRichard Acayan				 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>;
43307c8ded6SRichard Acayan			clock-names = "iface", "core", "xo", "ice", "bus";
434*17289c01SRichard Acayan			interconnects = <&aggre1_noc MASTER_EMMC 0 &aggre1_noc SLAVE_A1NOC_SNOC 0>,
435*17289c01SRichard Acayan					<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_EMMC_CFG 0>;
436*17289c01SRichard Acayan			interconnect-names = "sdhc-ddr", "cpu-sdhc";
437*17289c01SRichard Acayan			operating-points-v2 = <&sdhc1_opp_table>;
43807c8ded6SRichard Acayan
43907c8ded6SRichard Acayan			iommus = <&apps_smmu 0x140 0xf>;
44007c8ded6SRichard Acayan
44107c8ded6SRichard Acayan			pinctrl-names = "default", "sleep";
44207c8ded6SRichard Acayan			pinctrl-0 = <&sdc1_state_on>;
44307c8ded6SRichard Acayan			pinctrl-1 = <&sdc1_state_off>;
44407c8ded6SRichard Acayan			power-domains = <&rpmhpd SDM670_CX>;
44507c8ded6SRichard Acayan
44607c8ded6SRichard Acayan			bus-width = <8>;
44707c8ded6SRichard Acayan			non-removable;
44807c8ded6SRichard Acayan
44907c8ded6SRichard Acayan			status = "disabled";
450*17289c01SRichard Acayan
451*17289c01SRichard Acayan			sdhc1_opp_table: opp-table {
452*17289c01SRichard Acayan				compatible = "operating-points-v2";
453*17289c01SRichard Acayan
454*17289c01SRichard Acayan				opp-20000000 {
455*17289c01SRichard Acayan					opp-hz = /bits/ 64 <20000000>;
456*17289c01SRichard Acayan					required-opps = <&rpmhpd_opp_min_svs>;
457*17289c01SRichard Acayan					opp-peak-kBps = <80000 80000>;
458*17289c01SRichard Acayan					opp-avg-kBps = <52286 80000>;
459*17289c01SRichard Acayan				};
460*17289c01SRichard Acayan
461*17289c01SRichard Acayan				opp-50000000 {
462*17289c01SRichard Acayan					opp-hz = /bits/ 64 <50000000>;
463*17289c01SRichard Acayan					required-opps = <&rpmhpd_opp_low_svs>;
464*17289c01SRichard Acayan					opp-peak-kBps = <200000 100000>;
465*17289c01SRichard Acayan					opp-avg-kBps = <130718 100000>;
466*17289c01SRichard Acayan				};
467*17289c01SRichard Acayan
468*17289c01SRichard Acayan				opp-100000000 {
469*17289c01SRichard Acayan					opp-hz = /bits/ 64 <100000000>;
470*17289c01SRichard Acayan					required-opps = <&rpmhpd_opp_svs>;
471*17289c01SRichard Acayan					opp-peak-kBps = <200000 130000>;
472*17289c01SRichard Acayan					opp-avg-kBps = <130718 130000>;
473*17289c01SRichard Acayan				};
474*17289c01SRichard Acayan
475*17289c01SRichard Acayan				opp-384000000 {
476*17289c01SRichard Acayan					opp-hz = /bits/ 64 <384000000>;
477*17289c01SRichard Acayan					required-opps = <&rpmhpd_opp_nom>;
478*17289c01SRichard Acayan					opp-peak-kBps = <4096000 4096000>;
479*17289c01SRichard Acayan					opp-avg-kBps = <1338562 1338562>;
480*17289c01SRichard Acayan				};
481*17289c01SRichard Acayan			};
48207c8ded6SRichard Acayan		};
48307c8ded6SRichard Acayan
48407c8ded6SRichard Acayan		gpi_dma0: dma-controller@800000 {
48507c8ded6SRichard Acayan			#dma-cells = <3>;
48607c8ded6SRichard Acayan			compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma";
48707c8ded6SRichard Acayan			reg = <0 0x00800000 0 0x60000>;
48807c8ded6SRichard Acayan			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
48907c8ded6SRichard Acayan				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
49007c8ded6SRichard Acayan				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
49107c8ded6SRichard Acayan				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
49207c8ded6SRichard Acayan				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
49307c8ded6SRichard Acayan				     <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
49407c8ded6SRichard Acayan				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
49507c8ded6SRichard Acayan				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
49607c8ded6SRichard Acayan				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
49707c8ded6SRichard Acayan				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
49807c8ded6SRichard Acayan				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
49907c8ded6SRichard Acayan				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
50007c8ded6SRichard Acayan				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
50107c8ded6SRichard Acayan			dma-channels = <13>;
50207c8ded6SRichard Acayan			dma-channel-mask = <0xfa>;
50307c8ded6SRichard Acayan			iommus = <&apps_smmu 0x16 0x0>;
50407c8ded6SRichard Acayan			status = "disabled";
50507c8ded6SRichard Acayan		};
50607c8ded6SRichard Acayan
50707c8ded6SRichard Acayan		qupv3_id_0: geniqup@8c0000 {
50807c8ded6SRichard Acayan			compatible = "qcom,geni-se-qup";
50907c8ded6SRichard Acayan			reg = <0 0x008c0000 0 0x6000>;
51007c8ded6SRichard Acayan			clock-names = "m-ahb", "s-ahb";
51107c8ded6SRichard Acayan			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
51207c8ded6SRichard Acayan				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
51307c8ded6SRichard Acayan			iommus = <&apps_smmu 0x3 0x0>;
51407c8ded6SRichard Acayan			#address-cells = <2>;
51507c8ded6SRichard Acayan			#size-cells = <2>;
51607c8ded6SRichard Acayan			ranges;
517*17289c01SRichard Acayan			interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>;
518*17289c01SRichard Acayan			interconnect-names = "qup-core";
51907c8ded6SRichard Acayan			status = "disabled";
52007c8ded6SRichard Acayan
52107c8ded6SRichard Acayan			i2c0: i2c@880000 {
52207c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
52307c8ded6SRichard Acayan				reg = <0 0x00880000 0 0x4000>;
52407c8ded6SRichard Acayan				clock-names = "se";
52507c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
52607c8ded6SRichard Acayan				pinctrl-names = "default";
52707c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c0_default>;
52807c8ded6SRichard Acayan				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
52907c8ded6SRichard Acayan				#address-cells = <1>;
53007c8ded6SRichard Acayan				#size-cells = <0>;
53107c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
532*17289c01SRichard Acayan				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
533*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
534*17289c01SRichard Acayan						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
535*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
53607c8ded6SRichard Acayan				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
53707c8ded6SRichard Acayan				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
53807c8ded6SRichard Acayan				dma-names = "tx", "rx";
53907c8ded6SRichard Acayan				status = "disabled";
54007c8ded6SRichard Acayan			};
54107c8ded6SRichard Acayan
54207c8ded6SRichard Acayan			i2c1: i2c@884000 {
54307c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
54407c8ded6SRichard Acayan				reg = <0 0x00884000 0 0x4000>;
54507c8ded6SRichard Acayan				clock-names = "se";
54607c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
54707c8ded6SRichard Acayan				pinctrl-names = "default";
54807c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c1_default>;
54907c8ded6SRichard Acayan				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
55007c8ded6SRichard Acayan				#address-cells = <1>;
55107c8ded6SRichard Acayan				#size-cells = <0>;
55207c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
553*17289c01SRichard Acayan				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
554*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
555*17289c01SRichard Acayan						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
556*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
55707c8ded6SRichard Acayan				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
55807c8ded6SRichard Acayan				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
55907c8ded6SRichard Acayan				dma-names = "tx", "rx";
56007c8ded6SRichard Acayan				status = "disabled";
56107c8ded6SRichard Acayan			};
56207c8ded6SRichard Acayan
56307c8ded6SRichard Acayan			i2c2: i2c@888000 {
56407c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
56507c8ded6SRichard Acayan				reg = <0 0x00888000 0 0x4000>;
56607c8ded6SRichard Acayan				clock-names = "se";
56707c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
56807c8ded6SRichard Acayan				pinctrl-names = "default";
56907c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c2_default>;
57007c8ded6SRichard Acayan				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
57107c8ded6SRichard Acayan				#address-cells = <1>;
57207c8ded6SRichard Acayan				#size-cells = <0>;
57307c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
574*17289c01SRichard Acayan				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
575*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
576*17289c01SRichard Acayan						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
577*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
57807c8ded6SRichard Acayan				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
57907c8ded6SRichard Acayan				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
58007c8ded6SRichard Acayan				dma-names = "tx", "rx";
58107c8ded6SRichard Acayan				status = "disabled";
58207c8ded6SRichard Acayan			};
58307c8ded6SRichard Acayan
58407c8ded6SRichard Acayan			i2c3: i2c@88c000 {
58507c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
58607c8ded6SRichard Acayan				reg = <0 0x0088c000 0 0x4000>;
58707c8ded6SRichard Acayan				clock-names = "se";
58807c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
58907c8ded6SRichard Acayan				pinctrl-names = "default";
59007c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c3_default>;
59107c8ded6SRichard Acayan				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
59207c8ded6SRichard Acayan				#address-cells = <1>;
59307c8ded6SRichard Acayan				#size-cells = <0>;
59407c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
595*17289c01SRichard Acayan				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
596*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
597*17289c01SRichard Acayan						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
598*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
59907c8ded6SRichard Acayan				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
60007c8ded6SRichard Acayan				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
60107c8ded6SRichard Acayan				dma-names = "tx", "rx";
60207c8ded6SRichard Acayan				status = "disabled";
60307c8ded6SRichard Acayan			};
60407c8ded6SRichard Acayan
60507c8ded6SRichard Acayan			i2c4: i2c@890000 {
60607c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
60707c8ded6SRichard Acayan				reg = <0 0x00890000 0 0x4000>;
60807c8ded6SRichard Acayan				clock-names = "se";
60907c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
61007c8ded6SRichard Acayan				pinctrl-names = "default";
61107c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c4_default>;
61207c8ded6SRichard Acayan				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
61307c8ded6SRichard Acayan				#address-cells = <1>;
61407c8ded6SRichard Acayan				#size-cells = <0>;
61507c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
616*17289c01SRichard Acayan				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
617*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
618*17289c01SRichard Acayan						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
619*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
62007c8ded6SRichard Acayan				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
62107c8ded6SRichard Acayan				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
62207c8ded6SRichard Acayan				dma-names = "tx", "rx";
62307c8ded6SRichard Acayan				status = "disabled";
62407c8ded6SRichard Acayan			};
62507c8ded6SRichard Acayan
62607c8ded6SRichard Acayan			i2c5: i2c@894000 {
62707c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
62807c8ded6SRichard Acayan				reg = <0 0x00894000 0 0x4000>;
62907c8ded6SRichard Acayan				clock-names = "se";
63007c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
63107c8ded6SRichard Acayan				pinctrl-names = "default";
63207c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c5_default>;
63307c8ded6SRichard Acayan				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
63407c8ded6SRichard Acayan				#address-cells = <1>;
63507c8ded6SRichard Acayan				#size-cells = <0>;
63607c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
637*17289c01SRichard Acayan				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
638*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
639*17289c01SRichard Acayan						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
640*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
64107c8ded6SRichard Acayan				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
64207c8ded6SRichard Acayan				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
64307c8ded6SRichard Acayan				dma-names = "tx", "rx";
64407c8ded6SRichard Acayan				status = "disabled";
64507c8ded6SRichard Acayan			};
64607c8ded6SRichard Acayan
64707c8ded6SRichard Acayan			i2c6: i2c@898000 {
64807c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
64907c8ded6SRichard Acayan				reg = <0 0x00898000 0 0x4000>;
65007c8ded6SRichard Acayan				clock-names = "se";
65107c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
65207c8ded6SRichard Acayan				pinctrl-names = "default";
65307c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c6_default>;
65407c8ded6SRichard Acayan				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
65507c8ded6SRichard Acayan				#address-cells = <1>;
65607c8ded6SRichard Acayan				#size-cells = <0>;
65707c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
658*17289c01SRichard Acayan				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
659*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
660*17289c01SRichard Acayan						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
661*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
66207c8ded6SRichard Acayan				dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
66307c8ded6SRichard Acayan				       <&gpi_dma0 1 6 QCOM_GPI_I2C>;
66407c8ded6SRichard Acayan				dma-names = "tx", "rx";
66507c8ded6SRichard Acayan				status = "disabled";
66607c8ded6SRichard Acayan			};
66707c8ded6SRichard Acayan
66807c8ded6SRichard Acayan			i2c7: i2c@89c000 {
66907c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
67007c8ded6SRichard Acayan				reg = <0 0x0089c000 0 0x4000>;
67107c8ded6SRichard Acayan				clock-names = "se";
67207c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
67307c8ded6SRichard Acayan				pinctrl-names = "default";
67407c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c7_default>;
67507c8ded6SRichard Acayan				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
67607c8ded6SRichard Acayan				#address-cells = <1>;
67707c8ded6SRichard Acayan				#size-cells = <0>;
67807c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
679*17289c01SRichard Acayan				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
680*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
681*17289c01SRichard Acayan						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
682*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
68307c8ded6SRichard Acayan				dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>,
68407c8ded6SRichard Acayan				       <&gpi_dma0 1 7 QCOM_GPI_I2C>;
68507c8ded6SRichard Acayan				dma-names = "tx", "rx";
68607c8ded6SRichard Acayan				status = "disabled";
68707c8ded6SRichard Acayan			};
68807c8ded6SRichard Acayan		};
68907c8ded6SRichard Acayan
69007c8ded6SRichard Acayan		gpi_dma1: dma-controller@a00000 {
69107c8ded6SRichard Acayan			#dma-cells = <3>;
69207c8ded6SRichard Acayan			compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma";
69307c8ded6SRichard Acayan			reg = <0 0x00a00000 0 0x60000>;
69407c8ded6SRichard Acayan			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
69507c8ded6SRichard Acayan				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
69607c8ded6SRichard Acayan				     <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
69707c8ded6SRichard Acayan				     <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
69807c8ded6SRichard Acayan				     <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
69907c8ded6SRichard Acayan				     <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
70007c8ded6SRichard Acayan				     <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
70107c8ded6SRichard Acayan				     <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
70207c8ded6SRichard Acayan				     <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
70307c8ded6SRichard Acayan				     <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
70407c8ded6SRichard Acayan				     <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
70507c8ded6SRichard Acayan				     <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>,
70607c8ded6SRichard Acayan				     <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
70707c8ded6SRichard Acayan			dma-channels = <13>;
70807c8ded6SRichard Acayan			dma-channel-mask = <0xfa>;
70907c8ded6SRichard Acayan			iommus = <&apps_smmu 0x6d6 0x0>;
71007c8ded6SRichard Acayan			status = "disabled";
71107c8ded6SRichard Acayan		};
71207c8ded6SRichard Acayan
71307c8ded6SRichard Acayan		qupv3_id_1: geniqup@ac0000 {
71407c8ded6SRichard Acayan			compatible = "qcom,geni-se-qup";
71507c8ded6SRichard Acayan			reg = <0 0x00ac0000 0 0x6000>;
71607c8ded6SRichard Acayan			clock-names = "m-ahb", "s-ahb";
71707c8ded6SRichard Acayan			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
71807c8ded6SRichard Acayan				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
71907c8ded6SRichard Acayan			iommus = <&apps_smmu 0x6c3 0x0>;
72007c8ded6SRichard Acayan			#address-cells = <2>;
72107c8ded6SRichard Acayan			#size-cells = <2>;
72207c8ded6SRichard Acayan			ranges;
723*17289c01SRichard Acayan			interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>;
724*17289c01SRichard Acayan			interconnect-names = "qup-core";
72507c8ded6SRichard Acayan			status = "disabled";
72607c8ded6SRichard Acayan
72707c8ded6SRichard Acayan			i2c8: i2c@a80000 {
72807c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
72907c8ded6SRichard Acayan				reg = <0 0x00a80000 0 0x4000>;
73007c8ded6SRichard Acayan				clock-names = "se";
73107c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
73207c8ded6SRichard Acayan				pinctrl-names = "default";
73307c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c8_default>;
73407c8ded6SRichard Acayan				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
73507c8ded6SRichard Acayan				#address-cells = <1>;
73607c8ded6SRichard Acayan				#size-cells = <0>;
73707c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
738*17289c01SRichard Acayan				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
739*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
740*17289c01SRichard Acayan						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
741*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
74207c8ded6SRichard Acayan				dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
74307c8ded6SRichard Acayan				       <&gpi_dma1 1 0 QCOM_GPI_I2C>;
74407c8ded6SRichard Acayan				dma-names = "tx", "rx";
74507c8ded6SRichard Acayan				status = "disabled";
74607c8ded6SRichard Acayan			};
74707c8ded6SRichard Acayan
74807c8ded6SRichard Acayan			i2c9: i2c@a84000 {
74907c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
75007c8ded6SRichard Acayan				reg = <0 0x00a84000 0 0x4000>;
75107c8ded6SRichard Acayan				clock-names = "se";
75207c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
75307c8ded6SRichard Acayan				pinctrl-names = "default";
75407c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c9_default>;
75507c8ded6SRichard Acayan				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
75607c8ded6SRichard Acayan				#address-cells = <1>;
75707c8ded6SRichard Acayan				#size-cells = <0>;
75807c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
759*17289c01SRichard Acayan				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
760*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
761*17289c01SRichard Acayan						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
762*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
76307c8ded6SRichard Acayan				dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
76407c8ded6SRichard Acayan				       <&gpi_dma1 1 1 QCOM_GPI_I2C>;
76507c8ded6SRichard Acayan				dma-names = "tx", "rx";
76607c8ded6SRichard Acayan				status = "disabled";
76707c8ded6SRichard Acayan			};
76807c8ded6SRichard Acayan
76907c8ded6SRichard Acayan			i2c10: i2c@a88000 {
77007c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
77107c8ded6SRichard Acayan				reg = <0 0x00a88000 0 0x4000>;
77207c8ded6SRichard Acayan				clock-names = "se";
77307c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
77407c8ded6SRichard Acayan				pinctrl-names = "default";
77507c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c10_default>;
77607c8ded6SRichard Acayan				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
77707c8ded6SRichard Acayan				#address-cells = <1>;
77807c8ded6SRichard Acayan				#size-cells = <0>;
77907c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
780*17289c01SRichard Acayan				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
781*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
782*17289c01SRichard Acayan						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
783*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
78407c8ded6SRichard Acayan				dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
78507c8ded6SRichard Acayan				       <&gpi_dma1 1 2 QCOM_GPI_I2C>;
78607c8ded6SRichard Acayan				dma-names = "tx", "rx";
78707c8ded6SRichard Acayan				status = "disabled";
78807c8ded6SRichard Acayan			};
78907c8ded6SRichard Acayan
79007c8ded6SRichard Acayan			i2c11: i2c@a8c000 {
79107c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
79207c8ded6SRichard Acayan				reg = <0 0x00a8c000 0 0x4000>;
79307c8ded6SRichard Acayan				clock-names = "se";
79407c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
79507c8ded6SRichard Acayan				pinctrl-names = "default";
79607c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c11_default>;
79707c8ded6SRichard Acayan				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
79807c8ded6SRichard Acayan				#address-cells = <1>;
79907c8ded6SRichard Acayan				#size-cells = <0>;
80007c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
801*17289c01SRichard Acayan				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
802*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
803*17289c01SRichard Acayan						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
804*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
80507c8ded6SRichard Acayan				dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
80607c8ded6SRichard Acayan				       <&gpi_dma1 1 3 QCOM_GPI_I2C>;
80707c8ded6SRichard Acayan				dma-names = "tx", "rx";
80807c8ded6SRichard Acayan				status = "disabled";
80907c8ded6SRichard Acayan			};
81007c8ded6SRichard Acayan
81107c8ded6SRichard Acayan			i2c12: i2c@a90000 {
81207c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
81307c8ded6SRichard Acayan				reg = <0 0x00a90000 0 0x4000>;
81407c8ded6SRichard Acayan				clock-names = "se";
81507c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
81607c8ded6SRichard Acayan				pinctrl-names = "default";
81707c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c12_default>;
81807c8ded6SRichard Acayan				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
81907c8ded6SRichard Acayan				#address-cells = <1>;
82007c8ded6SRichard Acayan				#size-cells = <0>;
82107c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
822*17289c01SRichard Acayan				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
823*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
824*17289c01SRichard Acayan						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
825*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
82607c8ded6SRichard Acayan				dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
82707c8ded6SRichard Acayan				       <&gpi_dma1 1 4 QCOM_GPI_I2C>;
82807c8ded6SRichard Acayan				dma-names = "tx", "rx";
82907c8ded6SRichard Acayan				status = "disabled";
83007c8ded6SRichard Acayan			};
83107c8ded6SRichard Acayan
83207c8ded6SRichard Acayan			i2c13: i2c@a94000 {
83307c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
83407c8ded6SRichard Acayan				reg = <0 0x00a94000 0 0x4000>;
83507c8ded6SRichard Acayan				clock-names = "se";
83607c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
83707c8ded6SRichard Acayan				pinctrl-names = "default";
83807c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c13_default>;
83907c8ded6SRichard Acayan				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
84007c8ded6SRichard Acayan				#address-cells = <1>;
84107c8ded6SRichard Acayan				#size-cells = <0>;
84207c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
843*17289c01SRichard Acayan				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
844*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
845*17289c01SRichard Acayan						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
846*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
84707c8ded6SRichard Acayan				dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
84807c8ded6SRichard Acayan				       <&gpi_dma1 1 5 QCOM_GPI_I2C>;
84907c8ded6SRichard Acayan				dma-names = "tx", "rx";
85007c8ded6SRichard Acayan				status = "disabled";
85107c8ded6SRichard Acayan			};
85207c8ded6SRichard Acayan
85307c8ded6SRichard Acayan			i2c14: i2c@a98000 {
85407c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
85507c8ded6SRichard Acayan				reg = <0 0x00a98000 0 0x4000>;
85607c8ded6SRichard Acayan				clock-names = "se";
85707c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
85807c8ded6SRichard Acayan				pinctrl-names = "default";
85907c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c14_default>;
86007c8ded6SRichard Acayan				interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
86107c8ded6SRichard Acayan				#address-cells = <1>;
86207c8ded6SRichard Acayan				#size-cells = <0>;
86307c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
864*17289c01SRichard Acayan				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
865*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
866*17289c01SRichard Acayan						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
867*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
86807c8ded6SRichard Acayan				dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
86907c8ded6SRichard Acayan				       <&gpi_dma1 1 6 QCOM_GPI_I2C>;
87007c8ded6SRichard Acayan				dma-names = "tx", "rx";
87107c8ded6SRichard Acayan				status = "disabled";
87207c8ded6SRichard Acayan			};
87307c8ded6SRichard Acayan
87407c8ded6SRichard Acayan			i2c15: i2c@a9c000 {
87507c8ded6SRichard Acayan				compatible = "qcom,geni-i2c";
87607c8ded6SRichard Acayan				reg = <0 0x00a9c000 0 0x4000>;
87707c8ded6SRichard Acayan				clock-names = "se";
87807c8ded6SRichard Acayan				clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
87907c8ded6SRichard Acayan				pinctrl-names = "default";
88007c8ded6SRichard Acayan				pinctrl-0 = <&qup_i2c15_default>;
88107c8ded6SRichard Acayan				interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
88207c8ded6SRichard Acayan				#address-cells = <1>;
88307c8ded6SRichard Acayan				#size-cells = <0>;
88407c8ded6SRichard Acayan				power-domains = <&rpmhpd SDM670_CX>;
885*17289c01SRichard Acayan				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
886*17289c01SRichard Acayan						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
887*17289c01SRichard Acayan						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
888*17289c01SRichard Acayan				interconnect-names = "qup-core", "qup-config", "qup-memory";
88907c8ded6SRichard Acayan				dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>,
89007c8ded6SRichard Acayan				       <&gpi_dma1 1 7 QCOM_GPI_I2C>;
89107c8ded6SRichard Acayan				dma-names = "tx", "rx";
89207c8ded6SRichard Acayan				status = "disabled";
89307c8ded6SRichard Acayan			};
89407c8ded6SRichard Acayan		};
89507c8ded6SRichard Acayan
8960daef104SRichard Acayan		mem_noc: interconnect@1380000 {
8970daef104SRichard Acayan			compatible = "qcom,sdm670-mem-noc";
8980daef104SRichard Acayan			reg = <0 0x01380000 0 0x27200>;
8990daef104SRichard Acayan			#interconnect-cells = <2>;
9000daef104SRichard Acayan			qcom,bcm-voters = <&apps_bcm_voter>;
9010daef104SRichard Acayan		};
9020daef104SRichard Acayan
9030daef104SRichard Acayan		dc_noc: interconnect@14e0000 {
9040daef104SRichard Acayan			compatible = "qcom,sdm670-dc-noc";
9050daef104SRichard Acayan			reg = <0 0x014e0000 0 0x400>;
9060daef104SRichard Acayan			#interconnect-cells = <2>;
9070daef104SRichard Acayan			qcom,bcm-voters = <&apps_bcm_voter>;
9080daef104SRichard Acayan		};
9090daef104SRichard Acayan
9100daef104SRichard Acayan		config_noc: interconnect@1500000 {
9110daef104SRichard Acayan			compatible = "qcom,sdm670-config-noc";
9120daef104SRichard Acayan			reg = <0 0x01500000 0 0x5080>;
9130daef104SRichard Acayan			#interconnect-cells = <2>;
9140daef104SRichard Acayan			qcom,bcm-voters = <&apps_bcm_voter>;
9150daef104SRichard Acayan		};
9160daef104SRichard Acayan
9170daef104SRichard Acayan		system_noc: interconnect@1620000 {
9180daef104SRichard Acayan			compatible = "qcom,sdm670-system-noc";
9190daef104SRichard Acayan			reg = <0 0x01620000 0 0x18080>;
9200daef104SRichard Acayan			#interconnect-cells = <2>;
9210daef104SRichard Acayan			qcom,bcm-voters = <&apps_bcm_voter>;
9220daef104SRichard Acayan		};
9230daef104SRichard Acayan
9240daef104SRichard Acayan		aggre1_noc: interconnect@16e0000 {
9250daef104SRichard Acayan			compatible = "qcom,sdm670-aggre1-noc";
9260daef104SRichard Acayan			reg = <0 0x016e0000 0 0x15080>;
9270daef104SRichard Acayan			#interconnect-cells = <2>;
9280daef104SRichard Acayan			qcom,bcm-voters = <&apps_bcm_voter>;
9290daef104SRichard Acayan		};
9300daef104SRichard Acayan
9310daef104SRichard Acayan		aggre2_noc: interconnect@1700000 {
9320daef104SRichard Acayan			compatible = "qcom,sdm670-aggre2-noc";
9330daef104SRichard Acayan			reg = <0 0x01700000 0 0x1f300>;
9340daef104SRichard Acayan			#interconnect-cells = <2>;
9350daef104SRichard Acayan			qcom,bcm-voters = <&apps_bcm_voter>;
9360daef104SRichard Acayan		};
9370daef104SRichard Acayan
9380daef104SRichard Acayan		mmss_noc: interconnect@1740000 {
9390daef104SRichard Acayan			compatible = "qcom,sdm670-mmss-noc";
9400daef104SRichard Acayan			reg = <0 0x01740000 0 0x1c100>;
9410daef104SRichard Acayan			#interconnect-cells = <2>;
9420daef104SRichard Acayan			qcom,bcm-voters = <&apps_bcm_voter>;
9430daef104SRichard Acayan		};
9440daef104SRichard Acayan
94507c8ded6SRichard Acayan		tlmm: pinctrl@3400000 {
94607c8ded6SRichard Acayan			compatible = "qcom,sdm670-tlmm";
94707c8ded6SRichard Acayan			reg = <0 0x03400000 0 0xc00000>;
94807c8ded6SRichard Acayan			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
94907c8ded6SRichard Acayan			gpio-controller;
95007c8ded6SRichard Acayan			#gpio-cells = <2>;
95107c8ded6SRichard Acayan			interrupt-controller;
95207c8ded6SRichard Acayan			#interrupt-cells = <2>;
95307c8ded6SRichard Acayan			gpio-ranges = <&tlmm 0 0 151>;
95407c8ded6SRichard Acayan
95507c8ded6SRichard Acayan			qup_i2c0_default: qup-i2c0-default-state {
95607c8ded6SRichard Acayan				pins = "gpio0", "gpio1";
95707c8ded6SRichard Acayan				function = "qup0";
95807c8ded6SRichard Acayan			};
95907c8ded6SRichard Acayan
96007c8ded6SRichard Acayan			qup_i2c1_default: qup-i2c1-default-state {
96107c8ded6SRichard Acayan				pins = "gpio17", "gpio18";
96207c8ded6SRichard Acayan				function = "qup1";
96307c8ded6SRichard Acayan			};
96407c8ded6SRichard Acayan
96507c8ded6SRichard Acayan			qup_i2c2_default: qup-i2c2-default-state {
96607c8ded6SRichard Acayan				pins = "gpio27", "gpio28";
96707c8ded6SRichard Acayan				function = "qup2";
96807c8ded6SRichard Acayan			};
96907c8ded6SRichard Acayan
97007c8ded6SRichard Acayan			qup_i2c3_default: qup-i2c3-default-state {
97107c8ded6SRichard Acayan				pins = "gpio41", "gpio42";
97207c8ded6SRichard Acayan				function = "qup3";
97307c8ded6SRichard Acayan			};
97407c8ded6SRichard Acayan
97507c8ded6SRichard Acayan			qup_i2c4_default: qup-i2c4-default-state {
97607c8ded6SRichard Acayan				pins = "gpio89", "gpio90";
97707c8ded6SRichard Acayan				function = "qup4";
97807c8ded6SRichard Acayan			};
97907c8ded6SRichard Acayan
98007c8ded6SRichard Acayan			qup_i2c5_default: qup-i2c5-default-state {
98107c8ded6SRichard Acayan				pins = "gpio85", "gpio86";
98207c8ded6SRichard Acayan				function = "qup5";
98307c8ded6SRichard Acayan			};
98407c8ded6SRichard Acayan
98507c8ded6SRichard Acayan			qup_i2c6_default: qup-i2c6-default-state {
98607c8ded6SRichard Acayan				pins = "gpio45", "gpio46";
98707c8ded6SRichard Acayan				function = "qup6";
98807c8ded6SRichard Acayan			};
98907c8ded6SRichard Acayan
99007c8ded6SRichard Acayan			qup_i2c7_default: qup-i2c7-default-state {
99107c8ded6SRichard Acayan				pins = "gpio93", "gpio94";
99207c8ded6SRichard Acayan				function = "qup7";
99307c8ded6SRichard Acayan			};
99407c8ded6SRichard Acayan
99507c8ded6SRichard Acayan			qup_i2c8_default: qup-i2c8-default-state {
99607c8ded6SRichard Acayan				pins = "gpio65", "gpio66";
99707c8ded6SRichard Acayan				function = "qup8";
99807c8ded6SRichard Acayan			};
99907c8ded6SRichard Acayan
100007c8ded6SRichard Acayan			qup_i2c9_default: qup-i2c9-default-state {
100107c8ded6SRichard Acayan				pins = "gpio6", "gpio7";
100207c8ded6SRichard Acayan				function = "qup9";
100307c8ded6SRichard Acayan			};
100407c8ded6SRichard Acayan
100507c8ded6SRichard Acayan			qup_i2c10_default: qup-i2c10-default-state {
100607c8ded6SRichard Acayan				pins = "gpio55", "gpio56";
100707c8ded6SRichard Acayan				function = "qup10";
100807c8ded6SRichard Acayan			};
100907c8ded6SRichard Acayan
101007c8ded6SRichard Acayan			qup_i2c11_default: qup-i2c11-default-state {
101107c8ded6SRichard Acayan				pins = "gpio31", "gpio32";
101207c8ded6SRichard Acayan				function = "qup11";
101307c8ded6SRichard Acayan			};
101407c8ded6SRichard Acayan
101507c8ded6SRichard Acayan			qup_i2c12_default: qup-i2c12-default-state {
101607c8ded6SRichard Acayan				pins = "gpio49", "gpio50";
101707c8ded6SRichard Acayan				function = "qup12";
101807c8ded6SRichard Acayan			};
101907c8ded6SRichard Acayan
102007c8ded6SRichard Acayan			qup_i2c13_default: qup-i2c13-default-state {
102107c8ded6SRichard Acayan				pins = "gpio105", "gpio106";
102207c8ded6SRichard Acayan				function = "qup13";
102307c8ded6SRichard Acayan			};
102407c8ded6SRichard Acayan
102507c8ded6SRichard Acayan			qup_i2c14_default: qup-i2c14-default-state {
102607c8ded6SRichard Acayan				pins = "gpio33", "gpio34";
102707c8ded6SRichard Acayan				function = "qup14";
102807c8ded6SRichard Acayan			};
102907c8ded6SRichard Acayan
103007c8ded6SRichard Acayan			qup_i2c15_default: qup-i2c15-default-state {
103107c8ded6SRichard Acayan				pins = "gpio81", "gpio82";
103207c8ded6SRichard Acayan				function = "qup15";
103307c8ded6SRichard Acayan			};
103407c8ded6SRichard Acayan
103507c8ded6SRichard Acayan			sdc1_state_on: sdc1-on-state {
103607c8ded6SRichard Acayan				clk-pins {
103707c8ded6SRichard Acayan					pins = "sdc1_clk";
103807c8ded6SRichard Acayan					bias-disable;
103907c8ded6SRichard Acayan					drive-strength = <16>;
104007c8ded6SRichard Acayan				};
104107c8ded6SRichard Acayan
104207c8ded6SRichard Acayan				cmd-pins {
104307c8ded6SRichard Acayan					pins = "sdc1_cmd";
104407c8ded6SRichard Acayan					bias-pull-up;
104507c8ded6SRichard Acayan					drive-strength = <10>;
104607c8ded6SRichard Acayan				};
104707c8ded6SRichard Acayan
104807c8ded6SRichard Acayan				data-pins {
104907c8ded6SRichard Acayan					pins = "sdc1_data";
105007c8ded6SRichard Acayan					bias-pull-up;
105107c8ded6SRichard Acayan					drive-strength = <10>;
105207c8ded6SRichard Acayan				};
105307c8ded6SRichard Acayan
105407c8ded6SRichard Acayan				rclk-pins {
105507c8ded6SRichard Acayan					pins = "sdc1_rclk";
105607c8ded6SRichard Acayan					bias-pull-down;
105707c8ded6SRichard Acayan				};
105807c8ded6SRichard Acayan			};
105907c8ded6SRichard Acayan
106007c8ded6SRichard Acayan			sdc1_state_off: sdc1-off-state {
106107c8ded6SRichard Acayan				clk-pins {
106207c8ded6SRichard Acayan					pins = "sdc1_clk";
106307c8ded6SRichard Acayan					bias-disable;
106407c8ded6SRichard Acayan					drive-strength = <2>;
106507c8ded6SRichard Acayan				};
106607c8ded6SRichard Acayan
106707c8ded6SRichard Acayan				cmd-pins {
106807c8ded6SRichard Acayan					pins = "sdc1_cmd";
106907c8ded6SRichard Acayan					bias-pull-up;
107007c8ded6SRichard Acayan					drive-strength = <2>;
107107c8ded6SRichard Acayan				};
107207c8ded6SRichard Acayan
107307c8ded6SRichard Acayan				data-pins {
107407c8ded6SRichard Acayan					pins = "sdc1_data";
107507c8ded6SRichard Acayan					bias-pull-up;
107607c8ded6SRichard Acayan					drive-strength = <2>;
107707c8ded6SRichard Acayan				};
107807c8ded6SRichard Acayan
107907c8ded6SRichard Acayan				rclk-pins {
108007c8ded6SRichard Acayan					pins = "sdc1_rclk";
108107c8ded6SRichard Acayan					bias-pull-down;
108207c8ded6SRichard Acayan				};
108307c8ded6SRichard Acayan			};
108407c8ded6SRichard Acayan		};
108507c8ded6SRichard Acayan
108607c8ded6SRichard Acayan		usb_1_hsphy: phy@88e2000 {
108707c8ded6SRichard Acayan			compatible = "qcom,sdm670-qusb2-phy", "qcom,qusb2-v2-phy";
108807c8ded6SRichard Acayan			reg = <0 0x088e2000 0 0x400>;
108907c8ded6SRichard Acayan			#phy-cells = <0>;
109007c8ded6SRichard Acayan
109107c8ded6SRichard Acayan			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
109207c8ded6SRichard Acayan				 <&rpmhcc RPMH_CXO_CLK>;
109307c8ded6SRichard Acayan			clock-names = "cfg_ahb", "ref";
109407c8ded6SRichard Acayan
109507c8ded6SRichard Acayan			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
109607c8ded6SRichard Acayan
1097cb98187aSRichard Acayan			nvmem-cells = <&qusb2_hstx_trim>;
1098cb98187aSRichard Acayan
109907c8ded6SRichard Acayan			status = "disabled";
110007c8ded6SRichard Acayan		};
110107c8ded6SRichard Acayan
110207c8ded6SRichard Acayan		usb_1: usb@a6f8800 {
110307c8ded6SRichard Acayan			compatible = "qcom,sdm670-dwc3", "qcom,dwc3";
110407c8ded6SRichard Acayan			reg = <0 0x0a6f8800 0 0x400>;
110507c8ded6SRichard Acayan			#address-cells = <2>;
110607c8ded6SRichard Acayan			#size-cells = <2>;
110707c8ded6SRichard Acayan			ranges;
110807c8ded6SRichard Acayan			dma-ranges;
110907c8ded6SRichard Acayan
111007c8ded6SRichard Acayan			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
111107c8ded6SRichard Acayan				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
111207c8ded6SRichard Acayan				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
111307c8ded6SRichard Acayan				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
111407c8ded6SRichard Acayan				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
111507c8ded6SRichard Acayan			clock-names = "cfg_noc",
111607c8ded6SRichard Acayan				      "core",
111707c8ded6SRichard Acayan				      "iface",
111807c8ded6SRichard Acayan				      "sleep",
111907c8ded6SRichard Acayan				      "mock_utmi";
112007c8ded6SRichard Acayan
112107c8ded6SRichard Acayan			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
112207c8ded6SRichard Acayan					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
112307c8ded6SRichard Acayan			assigned-clock-rates = <19200000>, <150000000>;
112407c8ded6SRichard Acayan
112507c8ded6SRichard Acayan			interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
112607c8ded6SRichard Acayan				     <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>,
112707c8ded6SRichard Acayan				     <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>,
112807c8ded6SRichard Acayan				     <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>;
112907c8ded6SRichard Acayan			interrupt-names = "hs_phy_irq", "ss_phy_irq",
113007c8ded6SRichard Acayan					  "dm_hs_phy_irq", "dp_hs_phy_irq";
113107c8ded6SRichard Acayan
113207c8ded6SRichard Acayan			power-domains = <&gcc USB30_PRIM_GDSC>;
113307c8ded6SRichard Acayan
113407c8ded6SRichard Acayan			resets = <&gcc GCC_USB30_PRIM_BCR>;
113507c8ded6SRichard Acayan
1136*17289c01SRichard Acayan			interconnects = <&aggre2_noc MASTER_USB3 0 &mem_noc SLAVE_EBI_CH0 0>,
1137*17289c01SRichard Acayan					<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>;
1138*17289c01SRichard Acayan			interconnect-names = "usb-ddr", "apps-usb";
1139*17289c01SRichard Acayan
114007c8ded6SRichard Acayan			status = "disabled";
114107c8ded6SRichard Acayan
114207c8ded6SRichard Acayan			usb_1_dwc3: usb@a600000 {
114307c8ded6SRichard Acayan				compatible = "snps,dwc3";
114407c8ded6SRichard Acayan				reg = <0 0x0a600000 0 0xcd00>;
114507c8ded6SRichard Acayan				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
114607c8ded6SRichard Acayan				iommus = <&apps_smmu 0x740 0>;
114707c8ded6SRichard Acayan				snps,dis_u2_susphy_quirk;
114807c8ded6SRichard Acayan				snps,dis_enblslpm_quirk;
114907c8ded6SRichard Acayan				phys = <&usb_1_hsphy>;
115007c8ded6SRichard Acayan				phy-names = "usb2-phy";
115107c8ded6SRichard Acayan			};
115207c8ded6SRichard Acayan		};
115307c8ded6SRichard Acayan
115407c8ded6SRichard Acayan		spmi_bus: spmi@c440000 {
115507c8ded6SRichard Acayan			compatible = "qcom,spmi-pmic-arb";
115607c8ded6SRichard Acayan			reg = <0 0x0c440000 0 0x1100>,
115707c8ded6SRichard Acayan			      <0 0x0c600000 0 0x2000000>,
115807c8ded6SRichard Acayan			      <0 0x0e600000 0 0x100000>,
115907c8ded6SRichard Acayan			      <0 0x0e700000 0 0xa0000>,
116007c8ded6SRichard Acayan			      <0 0x0c40a000 0 0x26000>;
116107c8ded6SRichard Acayan			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
116207c8ded6SRichard Acayan			interrupt-names = "periph_irq";
116307c8ded6SRichard Acayan			interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
116407c8ded6SRichard Acayan			qcom,ee = <0>;
116507c8ded6SRichard Acayan			qcom,channel = <0>;
116607c8ded6SRichard Acayan			#address-cells = <2>;
116707c8ded6SRichard Acayan			#size-cells = <0>;
116807c8ded6SRichard Acayan			interrupt-controller;
116907c8ded6SRichard Acayan			#interrupt-cells = <4>;
117007c8ded6SRichard Acayan		};
117107c8ded6SRichard Acayan
117207c8ded6SRichard Acayan		apps_smmu: iommu@15000000 {
117307c8ded6SRichard Acayan			compatible = "qcom,sdm670-smmu-500", "qcom,smmu-500", "arm,mmu-500";
117407c8ded6SRichard Acayan			reg = <0 0x15000000 0 0x80000>;
117507c8ded6SRichard Acayan			#iommu-cells = <2>;
117607c8ded6SRichard Acayan			#global-interrupts = <1>;
117707c8ded6SRichard Acayan			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
117807c8ded6SRichard Acayan				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
117907c8ded6SRichard Acayan				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
118007c8ded6SRichard Acayan				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
118107c8ded6SRichard Acayan				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
118207c8ded6SRichard Acayan				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
118307c8ded6SRichard Acayan				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
118407c8ded6SRichard Acayan				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
118507c8ded6SRichard Acayan				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
118607c8ded6SRichard Acayan				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
118707c8ded6SRichard Acayan				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
118807c8ded6SRichard Acayan				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
118907c8ded6SRichard Acayan				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
119007c8ded6SRichard Acayan				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
119107c8ded6SRichard Acayan				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
119207c8ded6SRichard Acayan				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
119307c8ded6SRichard Acayan				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
119407c8ded6SRichard Acayan				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
119507c8ded6SRichard Acayan				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
119607c8ded6SRichard Acayan				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
119707c8ded6SRichard Acayan				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
119807c8ded6SRichard Acayan				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
119907c8ded6SRichard Acayan				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
120007c8ded6SRichard Acayan				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
120107c8ded6SRichard Acayan				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
120207c8ded6SRichard Acayan				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
120307c8ded6SRichard Acayan				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
120407c8ded6SRichard Acayan				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
120507c8ded6SRichard Acayan				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
120607c8ded6SRichard Acayan				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
120707c8ded6SRichard Acayan				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
120807c8ded6SRichard Acayan				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
120907c8ded6SRichard Acayan				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
121007c8ded6SRichard Acayan				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
121107c8ded6SRichard Acayan				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
121207c8ded6SRichard Acayan				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
121307c8ded6SRichard Acayan				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
121407c8ded6SRichard Acayan				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
121507c8ded6SRichard Acayan				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
121607c8ded6SRichard Acayan				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
121707c8ded6SRichard Acayan				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
121807c8ded6SRichard Acayan				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
121907c8ded6SRichard Acayan				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
122007c8ded6SRichard Acayan				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
122107c8ded6SRichard Acayan				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
122207c8ded6SRichard Acayan				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
122307c8ded6SRichard Acayan				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
122407c8ded6SRichard Acayan				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
122507c8ded6SRichard Acayan				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
122607c8ded6SRichard Acayan				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
122707c8ded6SRichard Acayan				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
122807c8ded6SRichard Acayan				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
122907c8ded6SRichard Acayan				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
123007c8ded6SRichard Acayan				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
123107c8ded6SRichard Acayan				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
123207c8ded6SRichard Acayan				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
123307c8ded6SRichard Acayan				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
123407c8ded6SRichard Acayan				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
123507c8ded6SRichard Acayan				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
123607c8ded6SRichard Acayan				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
123707c8ded6SRichard Acayan				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
123807c8ded6SRichard Acayan				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
123907c8ded6SRichard Acayan				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
124007c8ded6SRichard Acayan				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
124107c8ded6SRichard Acayan				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
124207c8ded6SRichard Acayan		};
124307c8ded6SRichard Acayan
12440daef104SRichard Acayan		gladiator_noc: interconnect@17900000 {
12450daef104SRichard Acayan			compatible = "qcom,sdm670-gladiator-noc";
12460daef104SRichard Acayan			reg = <0 0x17900000 0 0xd080>;
12470daef104SRichard Acayan			#interconnect-cells = <2>;
12480daef104SRichard Acayan			qcom,bcm-voters = <&apps_bcm_voter>;
12490daef104SRichard Acayan		};
12500daef104SRichard Acayan
125107c8ded6SRichard Acayan		apps_rsc: rsc@179c0000 {
125207c8ded6SRichard Acayan			compatible = "qcom,rpmh-rsc";
125307c8ded6SRichard Acayan			reg = <0 0x179c0000 0 0x10000>,
125407c8ded6SRichard Acayan			      <0 0x179d0000 0 0x10000>,
125507c8ded6SRichard Acayan			      <0 0x179e0000 0 0x10000>;
125607c8ded6SRichard Acayan			reg-names = "drv-0", "drv-1", "drv-2";
125707c8ded6SRichard Acayan			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
125807c8ded6SRichard Acayan				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
125907c8ded6SRichard Acayan				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
126007c8ded6SRichard Acayan			label = "apps_rsc";
126107c8ded6SRichard Acayan			qcom,tcs-offset = <0xd00>;
126207c8ded6SRichard Acayan			qcom,drv-id = <2>;
126307c8ded6SRichard Acayan			qcom,tcs-config = <ACTIVE_TCS  2>,
126407c8ded6SRichard Acayan					  <SLEEP_TCS   3>,
126507c8ded6SRichard Acayan					  <WAKE_TCS    3>,
126607c8ded6SRichard Acayan					  <CONTROL_TCS 1>;
126707c8ded6SRichard Acayan
126807c8ded6SRichard Acayan			apps_bcm_voter: bcm-voter {
126907c8ded6SRichard Acayan				compatible = "qcom,bcm-voter";
127007c8ded6SRichard Acayan			};
127107c8ded6SRichard Acayan
127207c8ded6SRichard Acayan			rpmhcc: clock-controller {
127307c8ded6SRichard Acayan				compatible = "qcom,sdm670-rpmh-clk";
127407c8ded6SRichard Acayan				#clock-cells = <1>;
127507c8ded6SRichard Acayan				clock-names = "xo";
127607c8ded6SRichard Acayan				clocks = <&xo_board>;
127707c8ded6SRichard Acayan			};
127807c8ded6SRichard Acayan
127907c8ded6SRichard Acayan			rpmhpd: power-controller {
128007c8ded6SRichard Acayan				compatible = "qcom,sdm670-rpmhpd";
128107c8ded6SRichard Acayan				#power-domain-cells = <1>;
128207c8ded6SRichard Acayan				operating-points-v2 = <&rpmhpd_opp_table>;
128307c8ded6SRichard Acayan
128407c8ded6SRichard Acayan				rpmhpd_opp_table: opp-table {
128507c8ded6SRichard Acayan					compatible = "operating-points-v2";
128607c8ded6SRichard Acayan
128707c8ded6SRichard Acayan					rpmhpd_opp_ret: opp1 {
128807c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
128907c8ded6SRichard Acayan					};
129007c8ded6SRichard Acayan
129107c8ded6SRichard Acayan					rpmhpd_opp_min_svs: opp2 {
129207c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
129307c8ded6SRichard Acayan					};
129407c8ded6SRichard Acayan
129507c8ded6SRichard Acayan					rpmhpd_opp_low_svs: opp3 {
129607c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
129707c8ded6SRichard Acayan					};
129807c8ded6SRichard Acayan
129907c8ded6SRichard Acayan					rpmhpd_opp_svs: opp4 {
130007c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
130107c8ded6SRichard Acayan					};
130207c8ded6SRichard Acayan
130307c8ded6SRichard Acayan					rpmhpd_opp_svs_l1: opp5 {
130407c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
130507c8ded6SRichard Acayan					};
130607c8ded6SRichard Acayan
130707c8ded6SRichard Acayan					rpmhpd_opp_nom: opp6 {
130807c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
130907c8ded6SRichard Acayan					};
131007c8ded6SRichard Acayan
131107c8ded6SRichard Acayan					rpmhpd_opp_nom_l1: opp7 {
131207c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
131307c8ded6SRichard Acayan					};
131407c8ded6SRichard Acayan
131507c8ded6SRichard Acayan					rpmhpd_opp_nom_l2: opp8 {
131607c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
131707c8ded6SRichard Acayan					};
131807c8ded6SRichard Acayan
131907c8ded6SRichard Acayan					rpmhpd_opp_turbo: opp9 {
132007c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
132107c8ded6SRichard Acayan					};
132207c8ded6SRichard Acayan
132307c8ded6SRichard Acayan					rpmhpd_opp_turbo_l1: opp10 {
132407c8ded6SRichard Acayan						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
132507c8ded6SRichard Acayan					};
132607c8ded6SRichard Acayan				};
132707c8ded6SRichard Acayan			};
132807c8ded6SRichard Acayan		};
132907c8ded6SRichard Acayan
133007c8ded6SRichard Acayan		intc: interrupt-controller@17a00000 {
133107c8ded6SRichard Acayan			compatible = "arm,gic-v3";
133207c8ded6SRichard Acayan			reg = <0 0x17a00000 0 0x10000>,     /* GICD */
133307c8ded6SRichard Acayan			      <0 0x17a60000 0 0x100000>;    /* GICR * 8 */
133407c8ded6SRichard Acayan			interrupt-controller;
133507c8ded6SRichard Acayan			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
133607c8ded6SRichard Acayan			#interrupt-cells = <3>;
133707c8ded6SRichard Acayan		};
133807c8ded6SRichard Acayan	};
133907c8ded6SRichard Acayan};
1340