xref: /freebsd-src/sys/contrib/device-tree/src/arm64/qcom/sdm670.dtsi (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
18bab661aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
28bab661aSEmmanuel Vadot/*
38bab661aSEmmanuel Vadot * SDM670 SoC device tree source, adapted from SDM845 SoC device tree
48bab661aSEmmanuel Vadot *
58bab661aSEmmanuel Vadot * Copyright (c) 2018, The Linux Foundation. All rights reserved.
68bab661aSEmmanuel Vadot * Copyright (c) 2022, Richard Acayan. All rights reserved.
78bab661aSEmmanuel Vadot */
88bab661aSEmmanuel Vadot
98d13bc63SEmmanuel Vadot#include <dt-bindings/clock/qcom,dispcc-sdm845.h>
108bab661aSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-sdm845.h>
118bab661aSEmmanuel Vadot#include <dt-bindings/clock/qcom,rpmh.h>
128bab661aSEmmanuel Vadot#include <dt-bindings/dma/qcom-gpi.h>
138bab661aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
14aa1a8ff2SEmmanuel Vadot#include <dt-bindings/interconnect/qcom,osm-l3.h>
15fac71e4eSEmmanuel Vadot#include <dt-bindings/interconnect/qcom,sdm670-rpmh.h>
168bab661aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
178bab661aSEmmanuel Vadot#include <dt-bindings/phy/phy-qcom-qusb2.h>
188bab661aSEmmanuel Vadot#include <dt-bindings/power/qcom-rpmpd.h>
198bab661aSEmmanuel Vadot#include <dt-bindings/soc/qcom,rpmh-rsc.h>
208bab661aSEmmanuel Vadot
218bab661aSEmmanuel Vadot/ {
228bab661aSEmmanuel Vadot	interrupt-parent = <&intc>;
238bab661aSEmmanuel Vadot
248bab661aSEmmanuel Vadot	#address-cells = <2>;
258bab661aSEmmanuel Vadot	#size-cells = <2>;
268bab661aSEmmanuel Vadot
278bab661aSEmmanuel Vadot	aliases { };
288bab661aSEmmanuel Vadot
298bab661aSEmmanuel Vadot	chosen { };
308bab661aSEmmanuel Vadot
318bab661aSEmmanuel Vadot	cpus {
328bab661aSEmmanuel Vadot		#address-cells = <2>;
338bab661aSEmmanuel Vadot		#size-cells = <0>;
348bab661aSEmmanuel Vadot
358bab661aSEmmanuel Vadot		CPU0: cpu@0 {
368bab661aSEmmanuel Vadot			device_type = "cpu";
378bab661aSEmmanuel Vadot			compatible = "qcom,kryo360";
388bab661aSEmmanuel Vadot			reg = <0x0 0x0>;
398bab661aSEmmanuel Vadot			enable-method = "psci";
40aa1a8ff2SEmmanuel Vadot			capacity-dmips-mhz = <610>;
41aa1a8ff2SEmmanuel Vadot			dynamic-power-coefficient = <203>;
42aa1a8ff2SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
43aa1a8ff2SEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
44aa1a8ff2SEmmanuel Vadot			interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>,
45aa1a8ff2SEmmanuel Vadot					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
468bab661aSEmmanuel Vadot			power-domains = <&CPU_PD0>;
478bab661aSEmmanuel Vadot			power-domain-names = "psci";
488bab661aSEmmanuel Vadot			next-level-cache = <&L2_0>;
498bab661aSEmmanuel Vadot			L2_0: l2-cache {
508bab661aSEmmanuel Vadot				compatible = "cache";
518bab661aSEmmanuel Vadot				next-level-cache = <&L3_0>;
52fac71e4eSEmmanuel Vadot				cache-level = <2>;
53fac71e4eSEmmanuel Vadot				cache-unified;
548bab661aSEmmanuel Vadot				L3_0: l3-cache {
558bab661aSEmmanuel Vadot					compatible = "cache";
56fac71e4eSEmmanuel Vadot					cache-level = <3>;
57fac71e4eSEmmanuel Vadot					cache-unified;
588bab661aSEmmanuel Vadot				};
598bab661aSEmmanuel Vadot			};
608bab661aSEmmanuel Vadot		};
618bab661aSEmmanuel Vadot
628bab661aSEmmanuel Vadot		CPU1: cpu@100 {
638bab661aSEmmanuel Vadot			device_type = "cpu";
648bab661aSEmmanuel Vadot			compatible = "qcom,kryo360";
658bab661aSEmmanuel Vadot			reg = <0x0 0x100>;
668bab661aSEmmanuel Vadot			enable-method = "psci";
67aa1a8ff2SEmmanuel Vadot			capacity-dmips-mhz = <610>;
68aa1a8ff2SEmmanuel Vadot			dynamic-power-coefficient = <203>;
69aa1a8ff2SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
70aa1a8ff2SEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
71aa1a8ff2SEmmanuel Vadot			interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>,
72aa1a8ff2SEmmanuel Vadot					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
738bab661aSEmmanuel Vadot			power-domains = <&CPU_PD1>;
748bab661aSEmmanuel Vadot			power-domain-names = "psci";
758bab661aSEmmanuel Vadot			next-level-cache = <&L2_100>;
768bab661aSEmmanuel Vadot			L2_100: l2-cache {
778bab661aSEmmanuel Vadot				compatible = "cache";
78fac71e4eSEmmanuel Vadot				cache-level = <2>;
79fac71e4eSEmmanuel Vadot				cache-unified;
808bab661aSEmmanuel Vadot				next-level-cache = <&L3_0>;
818bab661aSEmmanuel Vadot			};
828bab661aSEmmanuel Vadot		};
838bab661aSEmmanuel Vadot
848bab661aSEmmanuel Vadot		CPU2: cpu@200 {
858bab661aSEmmanuel Vadot			device_type = "cpu";
868bab661aSEmmanuel Vadot			compatible = "qcom,kryo360";
878bab661aSEmmanuel Vadot			reg = <0x0 0x200>;
888bab661aSEmmanuel Vadot			enable-method = "psci";
89aa1a8ff2SEmmanuel Vadot			capacity-dmips-mhz = <610>;
90aa1a8ff2SEmmanuel Vadot			dynamic-power-coefficient = <203>;
91aa1a8ff2SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
92aa1a8ff2SEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
93aa1a8ff2SEmmanuel Vadot			interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>,
94aa1a8ff2SEmmanuel Vadot					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
958bab661aSEmmanuel Vadot			power-domains = <&CPU_PD2>;
968bab661aSEmmanuel Vadot			power-domain-names = "psci";
978bab661aSEmmanuel Vadot			next-level-cache = <&L2_200>;
988bab661aSEmmanuel Vadot			L2_200: l2-cache {
998bab661aSEmmanuel Vadot				compatible = "cache";
100fac71e4eSEmmanuel Vadot				cache-level = <2>;
101fac71e4eSEmmanuel Vadot				cache-unified;
1028bab661aSEmmanuel Vadot				next-level-cache = <&L3_0>;
1038bab661aSEmmanuel Vadot			};
1048bab661aSEmmanuel Vadot		};
1058bab661aSEmmanuel Vadot
1068bab661aSEmmanuel Vadot		CPU3: cpu@300 {
1078bab661aSEmmanuel Vadot			device_type = "cpu";
1088bab661aSEmmanuel Vadot			compatible = "qcom,kryo360";
1098bab661aSEmmanuel Vadot			reg = <0x0 0x300>;
1108bab661aSEmmanuel Vadot			enable-method = "psci";
111aa1a8ff2SEmmanuel Vadot			capacity-dmips-mhz = <610>;
112aa1a8ff2SEmmanuel Vadot			dynamic-power-coefficient = <203>;
113aa1a8ff2SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
114aa1a8ff2SEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
115aa1a8ff2SEmmanuel Vadot			interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>,
116aa1a8ff2SEmmanuel Vadot					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
1178bab661aSEmmanuel Vadot			power-domains = <&CPU_PD3>;
1188bab661aSEmmanuel Vadot			power-domain-names = "psci";
1198bab661aSEmmanuel Vadot			next-level-cache = <&L2_300>;
1208bab661aSEmmanuel Vadot			L2_300: l2-cache {
1218bab661aSEmmanuel Vadot				compatible = "cache";
122fac71e4eSEmmanuel Vadot				cache-level = <2>;
123fac71e4eSEmmanuel Vadot				cache-unified;
1248bab661aSEmmanuel Vadot				next-level-cache = <&L3_0>;
1258bab661aSEmmanuel Vadot			};
1268bab661aSEmmanuel Vadot		};
1278bab661aSEmmanuel Vadot
1288bab661aSEmmanuel Vadot		CPU4: cpu@400 {
1298bab661aSEmmanuel Vadot			device_type = "cpu";
1308bab661aSEmmanuel Vadot			compatible = "qcom,kryo360";
1318bab661aSEmmanuel Vadot			reg = <0x0 0x400>;
1328bab661aSEmmanuel Vadot			enable-method = "psci";
133aa1a8ff2SEmmanuel Vadot			capacity-dmips-mhz = <610>;
134aa1a8ff2SEmmanuel Vadot			dynamic-power-coefficient = <203>;
135aa1a8ff2SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
136aa1a8ff2SEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
137aa1a8ff2SEmmanuel Vadot			interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>,
138aa1a8ff2SEmmanuel Vadot					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
1398bab661aSEmmanuel Vadot			power-domains = <&CPU_PD4>;
1408bab661aSEmmanuel Vadot			power-domain-names = "psci";
1418bab661aSEmmanuel Vadot			next-level-cache = <&L2_400>;
1428bab661aSEmmanuel Vadot			L2_400: l2-cache {
1438bab661aSEmmanuel Vadot				compatible = "cache";
144fac71e4eSEmmanuel Vadot				cache-level = <2>;
145fac71e4eSEmmanuel Vadot				cache-unified;
1468bab661aSEmmanuel Vadot				next-level-cache = <&L3_0>;
1478bab661aSEmmanuel Vadot			};
1488bab661aSEmmanuel Vadot		};
1498bab661aSEmmanuel Vadot
1508bab661aSEmmanuel Vadot		CPU5: cpu@500 {
1518bab661aSEmmanuel Vadot			device_type = "cpu";
1528bab661aSEmmanuel Vadot			compatible = "qcom,kryo360";
1538bab661aSEmmanuel Vadot			reg = <0x0 0x500>;
1548bab661aSEmmanuel Vadot			enable-method = "psci";
155aa1a8ff2SEmmanuel Vadot			capacity-dmips-mhz = <610>;
156aa1a8ff2SEmmanuel Vadot			dynamic-power-coefficient = <203>;
157aa1a8ff2SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 0>;
158aa1a8ff2SEmmanuel Vadot			operating-points-v2 = <&cpu0_opp_table>;
159aa1a8ff2SEmmanuel Vadot			interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>,
160aa1a8ff2SEmmanuel Vadot					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
1618bab661aSEmmanuel Vadot			power-domains = <&CPU_PD5>;
1628bab661aSEmmanuel Vadot			power-domain-names = "psci";
1638bab661aSEmmanuel Vadot			next-level-cache = <&L2_500>;
1648bab661aSEmmanuel Vadot			L2_500: l2-cache {
1658bab661aSEmmanuel Vadot				compatible = "cache";
166fac71e4eSEmmanuel Vadot				cache-level = <2>;
167fac71e4eSEmmanuel Vadot				cache-unified;
1688bab661aSEmmanuel Vadot				next-level-cache = <&L3_0>;
1698bab661aSEmmanuel Vadot			};
1708bab661aSEmmanuel Vadot		};
1718bab661aSEmmanuel Vadot
1728bab661aSEmmanuel Vadot		CPU6: cpu@600 {
1738bab661aSEmmanuel Vadot			device_type = "cpu";
1748bab661aSEmmanuel Vadot			compatible = "qcom,kryo360";
1758bab661aSEmmanuel Vadot			reg = <0x0 0x600>;
1768bab661aSEmmanuel Vadot			enable-method = "psci";
177aa1a8ff2SEmmanuel Vadot			capacity-dmips-mhz = <1024>;
178aa1a8ff2SEmmanuel Vadot			dynamic-power-coefficient = <393>;
179aa1a8ff2SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 1>;
180aa1a8ff2SEmmanuel Vadot			operating-points-v2 = <&cpu6_opp_table>;
181aa1a8ff2SEmmanuel Vadot			interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>,
182aa1a8ff2SEmmanuel Vadot					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
1838bab661aSEmmanuel Vadot			power-domains = <&CPU_PD6>;
1848bab661aSEmmanuel Vadot			power-domain-names = "psci";
1858bab661aSEmmanuel Vadot			next-level-cache = <&L2_600>;
1868bab661aSEmmanuel Vadot			L2_600: l2-cache {
1878bab661aSEmmanuel Vadot				compatible = "cache";
188fac71e4eSEmmanuel Vadot				cache-level = <2>;
189fac71e4eSEmmanuel Vadot				cache-unified;
1908bab661aSEmmanuel Vadot				next-level-cache = <&L3_0>;
1918bab661aSEmmanuel Vadot			};
1928bab661aSEmmanuel Vadot		};
1938bab661aSEmmanuel Vadot
1948bab661aSEmmanuel Vadot		CPU7: cpu@700 {
1958bab661aSEmmanuel Vadot			device_type = "cpu";
1968bab661aSEmmanuel Vadot			compatible = "qcom,kryo360";
1978bab661aSEmmanuel Vadot			reg = <0x0 0x700>;
1988bab661aSEmmanuel Vadot			enable-method = "psci";
199aa1a8ff2SEmmanuel Vadot			capacity-dmips-mhz = <1024>;
200aa1a8ff2SEmmanuel Vadot			dynamic-power-coefficient = <393>;
201aa1a8ff2SEmmanuel Vadot			qcom,freq-domain = <&cpufreq_hw 1>;
202aa1a8ff2SEmmanuel Vadot			operating-points-v2 = <&cpu6_opp_table>;
203aa1a8ff2SEmmanuel Vadot			interconnects = <&gladiator_noc MASTER_AMPSS_M0 3 &mem_noc SLAVE_EBI_CH0 3>,
204aa1a8ff2SEmmanuel Vadot					<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>;
2058bab661aSEmmanuel Vadot			power-domains = <&CPU_PD7>;
2068bab661aSEmmanuel Vadot			power-domain-names = "psci";
2078bab661aSEmmanuel Vadot			next-level-cache = <&L2_700>;
2088bab661aSEmmanuel Vadot			L2_700: l2-cache {
2098bab661aSEmmanuel Vadot				compatible = "cache";
210fac71e4eSEmmanuel Vadot				cache-level = <2>;
211fac71e4eSEmmanuel Vadot				cache-unified;
2128bab661aSEmmanuel Vadot				next-level-cache = <&L3_0>;
2138bab661aSEmmanuel Vadot			};
2148bab661aSEmmanuel Vadot		};
2158bab661aSEmmanuel Vadot
2168bab661aSEmmanuel Vadot		cpu-map {
2178bab661aSEmmanuel Vadot			cluster0 {
2188bab661aSEmmanuel Vadot				core0 {
2198bab661aSEmmanuel Vadot					cpu = <&CPU0>;
2208bab661aSEmmanuel Vadot				};
2218bab661aSEmmanuel Vadot
2228bab661aSEmmanuel Vadot				core1 {
2238bab661aSEmmanuel Vadot					cpu = <&CPU1>;
2248bab661aSEmmanuel Vadot				};
2258bab661aSEmmanuel Vadot
2268bab661aSEmmanuel Vadot				core2 {
2278bab661aSEmmanuel Vadot					cpu = <&CPU2>;
2288bab661aSEmmanuel Vadot				};
2298bab661aSEmmanuel Vadot
2308bab661aSEmmanuel Vadot				core3 {
2318bab661aSEmmanuel Vadot					cpu = <&CPU3>;
2328bab661aSEmmanuel Vadot				};
2338bab661aSEmmanuel Vadot
2348bab661aSEmmanuel Vadot				core4 {
2358bab661aSEmmanuel Vadot					cpu = <&CPU4>;
2368bab661aSEmmanuel Vadot				};
2378bab661aSEmmanuel Vadot
2388bab661aSEmmanuel Vadot				core5 {
2398bab661aSEmmanuel Vadot					cpu = <&CPU5>;
2408bab661aSEmmanuel Vadot				};
2418bab661aSEmmanuel Vadot
2428bab661aSEmmanuel Vadot				core6 {
2438bab661aSEmmanuel Vadot					cpu = <&CPU6>;
2448bab661aSEmmanuel Vadot				};
2458bab661aSEmmanuel Vadot
2468bab661aSEmmanuel Vadot				core7 {
2478bab661aSEmmanuel Vadot					cpu = <&CPU7>;
2488bab661aSEmmanuel Vadot				};
2498bab661aSEmmanuel Vadot			};
2508bab661aSEmmanuel Vadot		};
2518bab661aSEmmanuel Vadot
2528bab661aSEmmanuel Vadot		idle-states {
2538bab661aSEmmanuel Vadot			entry-method = "psci";
2548bab661aSEmmanuel Vadot
2558bab661aSEmmanuel Vadot			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
2568bab661aSEmmanuel Vadot				compatible = "arm,idle-state";
2578bab661aSEmmanuel Vadot				idle-state-name = "little-rail-power-collapse";
2588bab661aSEmmanuel Vadot				arm,psci-suspend-param = <0x40000004>;
2598bab661aSEmmanuel Vadot				entry-latency-us = <702>;
2608bab661aSEmmanuel Vadot				exit-latency-us = <915>;
2618bab661aSEmmanuel Vadot				min-residency-us = <1617>;
2628bab661aSEmmanuel Vadot				local-timer-stop;
2638bab661aSEmmanuel Vadot			};
2648bab661aSEmmanuel Vadot
2658bab661aSEmmanuel Vadot			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
2668bab661aSEmmanuel Vadot				compatible = "arm,idle-state";
2678bab661aSEmmanuel Vadot				idle-state-name = "big-rail-power-collapse";
2688bab661aSEmmanuel Vadot				arm,psci-suspend-param = <0x40000004>;
2698bab661aSEmmanuel Vadot				entry-latency-us = <526>;
2708bab661aSEmmanuel Vadot				exit-latency-us = <1854>;
2718bab661aSEmmanuel Vadot				min-residency-us = <2380>;
2728bab661aSEmmanuel Vadot				local-timer-stop;
2738bab661aSEmmanuel Vadot			};
2748bab661aSEmmanuel Vadot		};
2758bab661aSEmmanuel Vadot
2768bab661aSEmmanuel Vadot		domain-idle-states {
2778bab661aSEmmanuel Vadot			CLUSTER_SLEEP_0: cluster-sleep-0 {
2788bab661aSEmmanuel Vadot				compatible = "domain-idle-state";
2798bab661aSEmmanuel Vadot				arm,psci-suspend-param = <0x4100c244>;
2808bab661aSEmmanuel Vadot				entry-latency-us = <3263>;
2818bab661aSEmmanuel Vadot				exit-latency-us = <6562>;
2828bab661aSEmmanuel Vadot				min-residency-us = <9825>;
2838bab661aSEmmanuel Vadot			};
2848bab661aSEmmanuel Vadot		};
2858bab661aSEmmanuel Vadot	};
2868bab661aSEmmanuel Vadot
2878bab661aSEmmanuel Vadot	firmware {
2888bab661aSEmmanuel Vadot		scm {
2898bab661aSEmmanuel Vadot			compatible = "qcom,scm-sdm670", "qcom,scm";
2908bab661aSEmmanuel Vadot		};
2918bab661aSEmmanuel Vadot	};
2928bab661aSEmmanuel Vadot
2938bab661aSEmmanuel Vadot	memory@80000000 {
2948bab661aSEmmanuel Vadot		device_type = "memory";
2958bab661aSEmmanuel Vadot		/* We expect the bootloader to fill in the size */
2968bab661aSEmmanuel Vadot		reg = <0x0 0x80000000 0x0 0x0>;
2978bab661aSEmmanuel Vadot	};
2988bab661aSEmmanuel Vadot
299aa1a8ff2SEmmanuel Vadot	cpu0_opp_table: opp-table-cpu0 {
300aa1a8ff2SEmmanuel Vadot		compatible = "operating-points-v2";
301aa1a8ff2SEmmanuel Vadot		opp-shared;
302aa1a8ff2SEmmanuel Vadot
303aa1a8ff2SEmmanuel Vadot		cpu0_opp1: opp-300000000 {
304aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <300000000>;
305aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <400000 4800000>;
306aa1a8ff2SEmmanuel Vadot		};
307aa1a8ff2SEmmanuel Vadot
308aa1a8ff2SEmmanuel Vadot		cpu0_opp2: opp-576000000 {
309aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <576000000>;
310aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <400000 4800000>;
311aa1a8ff2SEmmanuel Vadot		};
312aa1a8ff2SEmmanuel Vadot
313aa1a8ff2SEmmanuel Vadot		cpu0_opp3: opp-748800000 {
314aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <748800000>;
315aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <1200000 4800000>;
316aa1a8ff2SEmmanuel Vadot		};
317aa1a8ff2SEmmanuel Vadot
318aa1a8ff2SEmmanuel Vadot		cpu0_opp4: opp-998400000 {
319aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <998400000>;
320aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <1804000 8908800>;
321aa1a8ff2SEmmanuel Vadot		};
322aa1a8ff2SEmmanuel Vadot
323aa1a8ff2SEmmanuel Vadot		cpu0_opp5: opp-1209600000 {
324aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1209600000>;
325aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <2188000 8908800>;
326aa1a8ff2SEmmanuel Vadot		};
327aa1a8ff2SEmmanuel Vadot
328aa1a8ff2SEmmanuel Vadot		cpu0_opp6: opp-1324800000 {
329aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1324800000>;
330aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <2188000 13516800>;
331aa1a8ff2SEmmanuel Vadot		};
332aa1a8ff2SEmmanuel Vadot
333aa1a8ff2SEmmanuel Vadot		cpu0_opp7: opp-1516800000 {
334aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1516800000>;
335aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <3072000 15052800>;
336aa1a8ff2SEmmanuel Vadot		};
337aa1a8ff2SEmmanuel Vadot
338aa1a8ff2SEmmanuel Vadot		cpu0_opp8: opp-1612800000 {
339aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1612800000>;
340aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <3072000 22118400>;
341aa1a8ff2SEmmanuel Vadot		};
342aa1a8ff2SEmmanuel Vadot
343aa1a8ff2SEmmanuel Vadot		cpu0_opp9: opp-1708800000 {
344aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1708800000>;
345aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <4068000 23040000>;
346aa1a8ff2SEmmanuel Vadot		};
347aa1a8ff2SEmmanuel Vadot	};
348aa1a8ff2SEmmanuel Vadot
349aa1a8ff2SEmmanuel Vadot	cpu6_opp_table: opp-table-cpu6 {
350aa1a8ff2SEmmanuel Vadot		compatible = "operating-points-v2";
351aa1a8ff2SEmmanuel Vadot		opp-shared;
352aa1a8ff2SEmmanuel Vadot
353aa1a8ff2SEmmanuel Vadot		cpu6_opp1: opp-300000000 {
354aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <300000000>;
355aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <400000 4800000>;
356aa1a8ff2SEmmanuel Vadot		};
357aa1a8ff2SEmmanuel Vadot
358aa1a8ff2SEmmanuel Vadot		cpu6_opp2: opp-652800000 {
359aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <652800000>;
360aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <400000 4800000>;
361aa1a8ff2SEmmanuel Vadot		};
362aa1a8ff2SEmmanuel Vadot
363aa1a8ff2SEmmanuel Vadot		cpu6_opp3: opp-825600000 {
364aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <825600000>;
365aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <1200000 4800000>;
366aa1a8ff2SEmmanuel Vadot		};
367aa1a8ff2SEmmanuel Vadot
368aa1a8ff2SEmmanuel Vadot		cpu6_opp4: opp-979200000 {
369aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <979200000>;
370aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <1200000 4800000>;
371aa1a8ff2SEmmanuel Vadot		};
372aa1a8ff2SEmmanuel Vadot
373aa1a8ff2SEmmanuel Vadot		cpu6_opp5: opp-1132800000 {
374aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1132800000>;
375aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <2188000 8908800>;
376aa1a8ff2SEmmanuel Vadot		};
377aa1a8ff2SEmmanuel Vadot
378aa1a8ff2SEmmanuel Vadot		cpu6_opp6: opp-1363200000 {
379aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1363200000>;
380aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <4068000 12902400>;
381aa1a8ff2SEmmanuel Vadot		};
382aa1a8ff2SEmmanuel Vadot
383aa1a8ff2SEmmanuel Vadot		cpu6_opp7: opp-1536000000 {
384aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1536000000>;
385aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <4068000 12902400>;
386aa1a8ff2SEmmanuel Vadot		};
387aa1a8ff2SEmmanuel Vadot
388aa1a8ff2SEmmanuel Vadot		cpu6_opp8: opp-1747200000 {
389aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1747200000>;
390aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <4068000 15052800>;
391aa1a8ff2SEmmanuel Vadot		};
392aa1a8ff2SEmmanuel Vadot
393aa1a8ff2SEmmanuel Vadot		cpu6_opp9: opp-1843200000 {
394aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1843200000>;
395aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <4068000 15052800>;
396aa1a8ff2SEmmanuel Vadot		};
397aa1a8ff2SEmmanuel Vadot
398aa1a8ff2SEmmanuel Vadot		cpu6_opp10: opp-1996800000 {
399aa1a8ff2SEmmanuel Vadot			opp-hz = /bits/ 64 <1996800000>;
400aa1a8ff2SEmmanuel Vadot			opp-peak-kBps = <6220000 19046400>;
401aa1a8ff2SEmmanuel Vadot		};
402aa1a8ff2SEmmanuel Vadot	};
403aa1a8ff2SEmmanuel Vadot
4048d13bc63SEmmanuel Vadot	dsi_opp_table: opp-table-dsi {
4058d13bc63SEmmanuel Vadot		compatible = "operating-points-v2";
4068d13bc63SEmmanuel Vadot
4078d13bc63SEmmanuel Vadot		opp-19200000 {
4088d13bc63SEmmanuel Vadot			opp-hz = /bits/ 64 <19200000>;
4098d13bc63SEmmanuel Vadot			required-opps = <&rpmhpd_opp_min_svs>;
4108d13bc63SEmmanuel Vadot		};
4118d13bc63SEmmanuel Vadot
4128d13bc63SEmmanuel Vadot		opp-180000000 {
4138d13bc63SEmmanuel Vadot			opp-hz = /bits/ 64 <180000000>;
4148d13bc63SEmmanuel Vadot			required-opps = <&rpmhpd_opp_low_svs>;
4158d13bc63SEmmanuel Vadot		};
4168d13bc63SEmmanuel Vadot
4178d13bc63SEmmanuel Vadot		opp-275000000 {
4188d13bc63SEmmanuel Vadot			opp-hz = /bits/ 64 <275000000>;
4198d13bc63SEmmanuel Vadot			required-opps = <&rpmhpd_opp_svs>;
4208d13bc63SEmmanuel Vadot		};
4218d13bc63SEmmanuel Vadot
4228d13bc63SEmmanuel Vadot		opp-358000000 {
4238d13bc63SEmmanuel Vadot			opp-hz = /bits/ 64 <358000000>;
4248d13bc63SEmmanuel Vadot			required-opps = <&rpmhpd_opp_svs_l1>;
4258d13bc63SEmmanuel Vadot		};
4268d13bc63SEmmanuel Vadot	};
4278d13bc63SEmmanuel Vadot
4288bab661aSEmmanuel Vadot	psci {
4298bab661aSEmmanuel Vadot		compatible = "arm,psci-1.0";
4308bab661aSEmmanuel Vadot		method = "smc";
4318bab661aSEmmanuel Vadot
4328bab661aSEmmanuel Vadot		CPU_PD0: power-domain-cpu0 {
4338bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4348bab661aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
4358bab661aSEmmanuel Vadot			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
4368bab661aSEmmanuel Vadot		};
4378bab661aSEmmanuel Vadot
4388bab661aSEmmanuel Vadot		CPU_PD1: power-domain-cpu1 {
4398bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4408bab661aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
4418bab661aSEmmanuel Vadot			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
4428bab661aSEmmanuel Vadot		};
4438bab661aSEmmanuel Vadot
4448bab661aSEmmanuel Vadot		CPU_PD2: power-domain-cpu2 {
4458bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4468bab661aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
4478bab661aSEmmanuel Vadot			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
4488bab661aSEmmanuel Vadot		};
4498bab661aSEmmanuel Vadot
4508bab661aSEmmanuel Vadot		CPU_PD3: power-domain-cpu3 {
4518bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4528bab661aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
4538bab661aSEmmanuel Vadot			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
4548bab661aSEmmanuel Vadot		};
4558bab661aSEmmanuel Vadot
4568bab661aSEmmanuel Vadot		CPU_PD4: power-domain-cpu4 {
4578bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4588bab661aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
4598bab661aSEmmanuel Vadot			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
4608bab661aSEmmanuel Vadot		};
4618bab661aSEmmanuel Vadot
4628bab661aSEmmanuel Vadot		CPU_PD5: power-domain-cpu5 {
4638bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4648bab661aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
4658bab661aSEmmanuel Vadot			domain-idle-states = <&LITTLE_CPU_SLEEP_0>;
4668bab661aSEmmanuel Vadot		};
4678bab661aSEmmanuel Vadot
4688bab661aSEmmanuel Vadot		CPU_PD6: power-domain-cpu6 {
4698bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4708bab661aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
4718bab661aSEmmanuel Vadot			domain-idle-states = <&BIG_CPU_SLEEP_0>;
4728bab661aSEmmanuel Vadot		};
4738bab661aSEmmanuel Vadot
4748bab661aSEmmanuel Vadot		CPU_PD7: power-domain-cpu7 {
4758bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4768bab661aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
4778bab661aSEmmanuel Vadot			domain-idle-states = <&BIG_CPU_SLEEP_0>;
4788bab661aSEmmanuel Vadot		};
4798bab661aSEmmanuel Vadot
4808bab661aSEmmanuel Vadot		CLUSTER_PD: power-domain-cluster {
4818bab661aSEmmanuel Vadot			#power-domain-cells = <0>;
4828bab661aSEmmanuel Vadot			domain-idle-states = <&CLUSTER_SLEEP_0>;
4838bab661aSEmmanuel Vadot		};
4848bab661aSEmmanuel Vadot	};
4858bab661aSEmmanuel Vadot
4868bab661aSEmmanuel Vadot	reserved-memory {
4878bab661aSEmmanuel Vadot		#address-cells = <2>;
4888bab661aSEmmanuel Vadot		#size-cells = <2>;
4898bab661aSEmmanuel Vadot		ranges;
4908bab661aSEmmanuel Vadot
4918bab661aSEmmanuel Vadot		hyp_mem: hyp-mem@85700000 {
4928bab661aSEmmanuel Vadot			reg = <0 0x85700000 0 0x600000>;
4938bab661aSEmmanuel Vadot			no-map;
4948bab661aSEmmanuel Vadot		};
4958bab661aSEmmanuel Vadot
4968bab661aSEmmanuel Vadot		xbl_mem: xbl-mem@85e00000 {
4978bab661aSEmmanuel Vadot			reg = <0 0x85e00000 0 0x100000>;
4988bab661aSEmmanuel Vadot			no-map;
4998bab661aSEmmanuel Vadot		};
5008bab661aSEmmanuel Vadot
5018bab661aSEmmanuel Vadot		aop_mem: aop-mem@85fc0000 {
5028bab661aSEmmanuel Vadot			reg = <0 0x85fc0000 0 0x20000>;
5038bab661aSEmmanuel Vadot			no-map;
5048bab661aSEmmanuel Vadot		};
5058bab661aSEmmanuel Vadot
5068bab661aSEmmanuel Vadot		aop_cmd_db_mem: aop-cmd-db-mem@85fe0000 {
5078bab661aSEmmanuel Vadot			compatible = "qcom,cmd-db";
5088bab661aSEmmanuel Vadot			reg = <0 0x85fe0000 0 0x20000>;
5098bab661aSEmmanuel Vadot			no-map;
5108bab661aSEmmanuel Vadot		};
5118bab661aSEmmanuel Vadot
512*0e8011faSEmmanuel Vadot		smem@86000000 {
513*0e8011faSEmmanuel Vadot			compatible = "qcom,smem";
514*0e8011faSEmmanuel Vadot			reg = <0 0x86000000 0 0x200000>;
515*0e8011faSEmmanuel Vadot			no-map;
516*0e8011faSEmmanuel Vadot			hwlocks = <&tcsr_mutex 3>;
517*0e8011faSEmmanuel Vadot		};
518*0e8011faSEmmanuel Vadot
519*0e8011faSEmmanuel Vadot		tz_mem: tz@86200000 {
520*0e8011faSEmmanuel Vadot			reg = <0 0x86200000 0 0x2d00000>;
521*0e8011faSEmmanuel Vadot			no-map;
522*0e8011faSEmmanuel Vadot		};
523*0e8011faSEmmanuel Vadot
5248bab661aSEmmanuel Vadot		camera_mem: camera-mem@8ab00000 {
5258bab661aSEmmanuel Vadot			reg = <0 0x8ab00000 0 0x500000>;
5268bab661aSEmmanuel Vadot			no-map;
5278bab661aSEmmanuel Vadot		};
5288bab661aSEmmanuel Vadot
5298bab661aSEmmanuel Vadot		mpss_region: mpss@8b000000 {
5308bab661aSEmmanuel Vadot			reg = <0 0x8b000000 0 0x7e00000>;
5318bab661aSEmmanuel Vadot			no-map;
5328bab661aSEmmanuel Vadot		};
5338bab661aSEmmanuel Vadot
5348bab661aSEmmanuel Vadot		venus_mem: venus@92e00000 {
5358bab661aSEmmanuel Vadot			reg = <0 0x92e00000 0 0x500000>;
5368bab661aSEmmanuel Vadot			no-map;
5378bab661aSEmmanuel Vadot		};
5388bab661aSEmmanuel Vadot
5398bab661aSEmmanuel Vadot		wlan_msa_mem: wlan-msa@93300000 {
5408bab661aSEmmanuel Vadot			reg = <0 0x93300000 0 0x100000>;
5418bab661aSEmmanuel Vadot			no-map;
5428bab661aSEmmanuel Vadot		};
5438bab661aSEmmanuel Vadot
5448bab661aSEmmanuel Vadot		cdsp_mem: cdsp@93400000 {
5458bab661aSEmmanuel Vadot			reg = <0 0x93400000 0 0x800000>;
5468bab661aSEmmanuel Vadot			no-map;
5478bab661aSEmmanuel Vadot		};
5488bab661aSEmmanuel Vadot
5498bab661aSEmmanuel Vadot		mba_region: mba@93c00000 {
5508bab661aSEmmanuel Vadot			reg = <0 0x93c00000 0 0x200000>;
5518bab661aSEmmanuel Vadot			no-map;
5528bab661aSEmmanuel Vadot		};
5538bab661aSEmmanuel Vadot
5548bab661aSEmmanuel Vadot		adsp_mem: adsp@93e00000 {
5558bab661aSEmmanuel Vadot			reg = <0 0x93e00000 0 0x1e00000>;
5568bab661aSEmmanuel Vadot			no-map;
5578bab661aSEmmanuel Vadot		};
5588bab661aSEmmanuel Vadot
5598bab661aSEmmanuel Vadot		ipa_fw_mem: ipa-fw@95c00000 {
5608bab661aSEmmanuel Vadot			reg = <0 0x95c00000 0 0x10000>;
5618bab661aSEmmanuel Vadot			no-map;
5628bab661aSEmmanuel Vadot		};
5638bab661aSEmmanuel Vadot
5648bab661aSEmmanuel Vadot		ipa_gsi_mem: ipa-gsi@95c10000 {
5658bab661aSEmmanuel Vadot			reg = <0 0x95c10000 0 0x5000>;
5668bab661aSEmmanuel Vadot			no-map;
5678bab661aSEmmanuel Vadot		};
5688bab661aSEmmanuel Vadot
5698bab661aSEmmanuel Vadot		gpu_mem: gpu@95c15000 {
5708bab661aSEmmanuel Vadot			reg = <0 0x95c15000 0 0x2000>;
5718bab661aSEmmanuel Vadot			no-map;
5728bab661aSEmmanuel Vadot		};
5738bab661aSEmmanuel Vadot
5748bab661aSEmmanuel Vadot		spss_mem: spss@97b00000 {
5758bab661aSEmmanuel Vadot			reg = <0 0x97b00000 0 0x100000>;
5768bab661aSEmmanuel Vadot			no-map;
5778bab661aSEmmanuel Vadot		};
5788bab661aSEmmanuel Vadot
5798bab661aSEmmanuel Vadot		qseecom_mem: qseecom@9e400000 {
5808bab661aSEmmanuel Vadot			reg = <0 0x9e400000 0 0x1400000>;
5818bab661aSEmmanuel Vadot			no-map;
5828bab661aSEmmanuel Vadot		};
5838bab661aSEmmanuel Vadot	};
5848bab661aSEmmanuel Vadot
5858bab661aSEmmanuel Vadot	timer {
5868bab661aSEmmanuel Vadot		compatible = "arm,armv8-timer";
5878bab661aSEmmanuel Vadot		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
5888bab661aSEmmanuel Vadot			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
5898bab661aSEmmanuel Vadot			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
5908bab661aSEmmanuel Vadot			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
5918bab661aSEmmanuel Vadot	};
5928bab661aSEmmanuel Vadot
5938bab661aSEmmanuel Vadot	soc: soc@0 {
5948bab661aSEmmanuel Vadot		#address-cells = <2>;
5958bab661aSEmmanuel Vadot		#size-cells = <2>;
5968bab661aSEmmanuel Vadot		ranges = <0 0 0 0 0x10 0>;
5978bab661aSEmmanuel Vadot		dma-ranges = <0 0 0 0 0x10 0>;
5988bab661aSEmmanuel Vadot		compatible = "simple-bus";
5998bab661aSEmmanuel Vadot
6008bab661aSEmmanuel Vadot		gcc: clock-controller@100000 {
6018bab661aSEmmanuel Vadot			compatible = "qcom,gcc-sdm670";
6028bab661aSEmmanuel Vadot			reg = <0 0x00100000 0 0x1f0000>;
6038bab661aSEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>,
6048bab661aSEmmanuel Vadot				 <&rpmhcc RPMH_CXO_CLK_A>,
6058bab661aSEmmanuel Vadot				 <&sleep_clk>;
6068bab661aSEmmanuel Vadot			clock-names = "bi_tcxo",
6078bab661aSEmmanuel Vadot				      "bi_tcxo_ao",
6088bab661aSEmmanuel Vadot				      "sleep_clk";
6098bab661aSEmmanuel Vadot			#clock-cells = <1>;
6108bab661aSEmmanuel Vadot			#reset-cells = <1>;
6118bab661aSEmmanuel Vadot			#power-domain-cells = <1>;
6128bab661aSEmmanuel Vadot		};
6138bab661aSEmmanuel Vadot
614cb7aa33aSEmmanuel Vadot		qfprom: qfprom@784000 {
615cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-qfprom", "qcom,qfprom";
616cb7aa33aSEmmanuel Vadot			reg = <0 0x00784000 0 0x1000>;
617cb7aa33aSEmmanuel Vadot			#address-cells = <1>;
618cb7aa33aSEmmanuel Vadot			#size-cells = <1>;
619cb7aa33aSEmmanuel Vadot
620cb7aa33aSEmmanuel Vadot			qusb2_hstx_trim: hstx-trim@1eb {
621cb7aa33aSEmmanuel Vadot				reg = <0x1eb 0x1>;
622cb7aa33aSEmmanuel Vadot				bits = <1 4>;
623cb7aa33aSEmmanuel Vadot			};
624cb7aa33aSEmmanuel Vadot		};
625cb7aa33aSEmmanuel Vadot
6268bab661aSEmmanuel Vadot		sdhc_1: mmc@7c4000 {
6278bab661aSEmmanuel Vadot			compatible = "qcom,sdm670-sdhci", "qcom,sdhci-msm-v5";
6288bab661aSEmmanuel Vadot			reg = <0 0x007c4000 0 0x1000>,
6298bab661aSEmmanuel Vadot			      <0 0x007c5000 0 0x1000>,
6308bab661aSEmmanuel Vadot			      <0 0x007c8000 0 0x8000>;
6318bab661aSEmmanuel Vadot			reg-names = "hc", "cqhci", "ice";
6328bab661aSEmmanuel Vadot
6338bab661aSEmmanuel Vadot			interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>,
6348bab661aSEmmanuel Vadot				     <GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>;
6358bab661aSEmmanuel Vadot			interrupt-names = "hc_irq", "pwr_irq";
6368bab661aSEmmanuel Vadot
6378bab661aSEmmanuel Vadot			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
6388bab661aSEmmanuel Vadot				 <&gcc GCC_SDCC1_APPS_CLK>,
6398bab661aSEmmanuel Vadot				 <&rpmhcc RPMH_CXO_CLK>,
6408bab661aSEmmanuel Vadot				 <&gcc GCC_SDCC1_ICE_CORE_CLK>,
6418bab661aSEmmanuel Vadot				 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>;
6428bab661aSEmmanuel Vadot			clock-names = "iface", "core", "xo", "ice", "bus";
643fac71e4eSEmmanuel Vadot			interconnects = <&aggre1_noc MASTER_EMMC 0 &aggre1_noc SLAVE_A1NOC_SNOC 0>,
644fac71e4eSEmmanuel Vadot					<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_EMMC_CFG 0>;
645fac71e4eSEmmanuel Vadot			interconnect-names = "sdhc-ddr", "cpu-sdhc";
646fac71e4eSEmmanuel Vadot			operating-points-v2 = <&sdhc1_opp_table>;
6478bab661aSEmmanuel Vadot
6488bab661aSEmmanuel Vadot			iommus = <&apps_smmu 0x140 0xf>;
6498bab661aSEmmanuel Vadot
6508bab661aSEmmanuel Vadot			pinctrl-names = "default", "sleep";
6518bab661aSEmmanuel Vadot			pinctrl-0 = <&sdc1_state_on>;
6528bab661aSEmmanuel Vadot			pinctrl-1 = <&sdc1_state_off>;
6538bab661aSEmmanuel Vadot			power-domains = <&rpmhpd SDM670_CX>;
6548bab661aSEmmanuel Vadot
6558bab661aSEmmanuel Vadot			bus-width = <8>;
6568bab661aSEmmanuel Vadot			non-removable;
6578bab661aSEmmanuel Vadot
6588bab661aSEmmanuel Vadot			status = "disabled";
659fac71e4eSEmmanuel Vadot
660fac71e4eSEmmanuel Vadot			sdhc1_opp_table: opp-table {
661fac71e4eSEmmanuel Vadot				compatible = "operating-points-v2";
662fac71e4eSEmmanuel Vadot
663fac71e4eSEmmanuel Vadot				opp-20000000 {
664fac71e4eSEmmanuel Vadot					opp-hz = /bits/ 64 <20000000>;
665fac71e4eSEmmanuel Vadot					required-opps = <&rpmhpd_opp_min_svs>;
666fac71e4eSEmmanuel Vadot					opp-peak-kBps = <80000 80000>;
667fac71e4eSEmmanuel Vadot					opp-avg-kBps = <52286 80000>;
668fac71e4eSEmmanuel Vadot				};
669fac71e4eSEmmanuel Vadot
670fac71e4eSEmmanuel Vadot				opp-50000000 {
671fac71e4eSEmmanuel Vadot					opp-hz = /bits/ 64 <50000000>;
672fac71e4eSEmmanuel Vadot					required-opps = <&rpmhpd_opp_low_svs>;
673fac71e4eSEmmanuel Vadot					opp-peak-kBps = <200000 100000>;
674fac71e4eSEmmanuel Vadot					opp-avg-kBps = <130718 100000>;
675fac71e4eSEmmanuel Vadot				};
676fac71e4eSEmmanuel Vadot
677fac71e4eSEmmanuel Vadot				opp-100000000 {
678fac71e4eSEmmanuel Vadot					opp-hz = /bits/ 64 <100000000>;
679fac71e4eSEmmanuel Vadot					required-opps = <&rpmhpd_opp_svs>;
680fac71e4eSEmmanuel Vadot					opp-peak-kBps = <200000 130000>;
681fac71e4eSEmmanuel Vadot					opp-avg-kBps = <130718 130000>;
682fac71e4eSEmmanuel Vadot				};
683fac71e4eSEmmanuel Vadot
684fac71e4eSEmmanuel Vadot				opp-384000000 {
685fac71e4eSEmmanuel Vadot					opp-hz = /bits/ 64 <384000000>;
686fac71e4eSEmmanuel Vadot					required-opps = <&rpmhpd_opp_nom>;
687fac71e4eSEmmanuel Vadot					opp-peak-kBps = <4096000 4096000>;
688fac71e4eSEmmanuel Vadot					opp-avg-kBps = <1338562 1338562>;
689fac71e4eSEmmanuel Vadot				};
690fac71e4eSEmmanuel Vadot			};
6918bab661aSEmmanuel Vadot		};
6928bab661aSEmmanuel Vadot
6938bab661aSEmmanuel Vadot		gpi_dma0: dma-controller@800000 {
6948bab661aSEmmanuel Vadot			#dma-cells = <3>;
6958bab661aSEmmanuel Vadot			compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma";
6968bab661aSEmmanuel Vadot			reg = <0 0x00800000 0 0x60000>;
6978bab661aSEmmanuel Vadot			interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
6988bab661aSEmmanuel Vadot				     <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
6998bab661aSEmmanuel Vadot				     <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>,
7008bab661aSEmmanuel Vadot				     <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
7018bab661aSEmmanuel Vadot				     <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
7028bab661aSEmmanuel Vadot				     <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
7038bab661aSEmmanuel Vadot				     <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
7048bab661aSEmmanuel Vadot				     <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
7058bab661aSEmmanuel Vadot				     <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
7068bab661aSEmmanuel Vadot				     <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
7078bab661aSEmmanuel Vadot				     <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
7088bab661aSEmmanuel Vadot				     <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
7098bab661aSEmmanuel Vadot				     <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>;
7108bab661aSEmmanuel Vadot			dma-channels = <13>;
7118bab661aSEmmanuel Vadot			dma-channel-mask = <0xfa>;
7128bab661aSEmmanuel Vadot			iommus = <&apps_smmu 0x16 0x0>;
7138bab661aSEmmanuel Vadot			status = "disabled";
7148bab661aSEmmanuel Vadot		};
7158bab661aSEmmanuel Vadot
7168bab661aSEmmanuel Vadot		qupv3_id_0: geniqup@8c0000 {
7178bab661aSEmmanuel Vadot			compatible = "qcom,geni-se-qup";
7188bab661aSEmmanuel Vadot			reg = <0 0x008c0000 0 0x6000>;
7198bab661aSEmmanuel Vadot			clock-names = "m-ahb", "s-ahb";
7208bab661aSEmmanuel Vadot			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
7218bab661aSEmmanuel Vadot				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
7228bab661aSEmmanuel Vadot			iommus = <&apps_smmu 0x3 0x0>;
7238bab661aSEmmanuel Vadot			#address-cells = <2>;
7248bab661aSEmmanuel Vadot			#size-cells = <2>;
7258bab661aSEmmanuel Vadot			ranges;
726fac71e4eSEmmanuel Vadot			interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>;
727fac71e4eSEmmanuel Vadot			interconnect-names = "qup-core";
7288bab661aSEmmanuel Vadot			status = "disabled";
7298bab661aSEmmanuel Vadot
7308bab661aSEmmanuel Vadot			i2c0: i2c@880000 {
7318bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
7328bab661aSEmmanuel Vadot				reg = <0 0x00880000 0 0x4000>;
7338bab661aSEmmanuel Vadot				clock-names = "se";
7348bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
7358bab661aSEmmanuel Vadot				pinctrl-names = "default";
7368bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c0_default>;
7378bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>;
7388bab661aSEmmanuel Vadot				#address-cells = <1>;
7398bab661aSEmmanuel Vadot				#size-cells = <0>;
7408bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
741fac71e4eSEmmanuel Vadot				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
742fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
743fac71e4eSEmmanuel Vadot						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
744fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
7458bab661aSEmmanuel Vadot				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
7468bab661aSEmmanuel Vadot				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
7478bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
7488bab661aSEmmanuel Vadot				status = "disabled";
7498bab661aSEmmanuel Vadot			};
7508bab661aSEmmanuel Vadot
7518bab661aSEmmanuel Vadot			i2c1: i2c@884000 {
7528bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
7538bab661aSEmmanuel Vadot				reg = <0 0x00884000 0 0x4000>;
7548bab661aSEmmanuel Vadot				clock-names = "se";
7558bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
7568bab661aSEmmanuel Vadot				pinctrl-names = "default";
7578bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c1_default>;
7588bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
7598bab661aSEmmanuel Vadot				#address-cells = <1>;
7608bab661aSEmmanuel Vadot				#size-cells = <0>;
7618bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
762fac71e4eSEmmanuel Vadot				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
763fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
764fac71e4eSEmmanuel Vadot						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
765fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
7668bab661aSEmmanuel Vadot				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
7678bab661aSEmmanuel Vadot				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
7688bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
7698bab661aSEmmanuel Vadot				status = "disabled";
7708bab661aSEmmanuel Vadot			};
7718bab661aSEmmanuel Vadot
7728bab661aSEmmanuel Vadot			i2c2: i2c@888000 {
7738bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
7748bab661aSEmmanuel Vadot				reg = <0 0x00888000 0 0x4000>;
7758bab661aSEmmanuel Vadot				clock-names = "se";
7768bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
7778bab661aSEmmanuel Vadot				pinctrl-names = "default";
7788bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c2_default>;
7798bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>;
7808bab661aSEmmanuel Vadot				#address-cells = <1>;
7818bab661aSEmmanuel Vadot				#size-cells = <0>;
7828bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
783fac71e4eSEmmanuel Vadot				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
784fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
785fac71e4eSEmmanuel Vadot						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
786fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
7878bab661aSEmmanuel Vadot				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
7888bab661aSEmmanuel Vadot				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
7898bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
7908bab661aSEmmanuel Vadot				status = "disabled";
7918bab661aSEmmanuel Vadot			};
7928bab661aSEmmanuel Vadot
7938bab661aSEmmanuel Vadot			i2c3: i2c@88c000 {
7948bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
7958bab661aSEmmanuel Vadot				reg = <0 0x0088c000 0 0x4000>;
7968bab661aSEmmanuel Vadot				clock-names = "se";
7978bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
7988bab661aSEmmanuel Vadot				pinctrl-names = "default";
7998bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c3_default>;
8008bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
8018bab661aSEmmanuel Vadot				#address-cells = <1>;
8028bab661aSEmmanuel Vadot				#size-cells = <0>;
8038bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
804fac71e4eSEmmanuel Vadot				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
805fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
806fac71e4eSEmmanuel Vadot						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
807fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
8088bab661aSEmmanuel Vadot				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
8098bab661aSEmmanuel Vadot				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
8108bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
8118bab661aSEmmanuel Vadot				status = "disabled";
8128bab661aSEmmanuel Vadot			};
8138bab661aSEmmanuel Vadot
8148bab661aSEmmanuel Vadot			i2c4: i2c@890000 {
8158bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
8168bab661aSEmmanuel Vadot				reg = <0 0x00890000 0 0x4000>;
8178bab661aSEmmanuel Vadot				clock-names = "se";
8188bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
8198bab661aSEmmanuel Vadot				pinctrl-names = "default";
8208bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c4_default>;
8218bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>;
8228bab661aSEmmanuel Vadot				#address-cells = <1>;
8238bab661aSEmmanuel Vadot				#size-cells = <0>;
8248bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
825fac71e4eSEmmanuel Vadot				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
826fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
827fac71e4eSEmmanuel Vadot						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
828fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
8298bab661aSEmmanuel Vadot				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
8308bab661aSEmmanuel Vadot				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
8318bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
8328bab661aSEmmanuel Vadot				status = "disabled";
8338bab661aSEmmanuel Vadot			};
8348bab661aSEmmanuel Vadot
8358bab661aSEmmanuel Vadot			i2c5: i2c@894000 {
8368bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
8378bab661aSEmmanuel Vadot				reg = <0 0x00894000 0 0x4000>;
8388bab661aSEmmanuel Vadot				clock-names = "se";
8398bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
8408bab661aSEmmanuel Vadot				pinctrl-names = "default";
8418bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c5_default>;
8428bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>;
8438bab661aSEmmanuel Vadot				#address-cells = <1>;
8448bab661aSEmmanuel Vadot				#size-cells = <0>;
8458bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
846fac71e4eSEmmanuel Vadot				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
847fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
848fac71e4eSEmmanuel Vadot						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
849fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
8508bab661aSEmmanuel Vadot				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
8518bab661aSEmmanuel Vadot				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
8528bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
8538bab661aSEmmanuel Vadot				status = "disabled";
8548bab661aSEmmanuel Vadot			};
8558bab661aSEmmanuel Vadot
8568bab661aSEmmanuel Vadot			i2c6: i2c@898000 {
8578bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
8588bab661aSEmmanuel Vadot				reg = <0 0x00898000 0 0x4000>;
8598bab661aSEmmanuel Vadot				clock-names = "se";
8608bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
8618bab661aSEmmanuel Vadot				pinctrl-names = "default";
8628bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c6_default>;
8638bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>;
8648bab661aSEmmanuel Vadot				#address-cells = <1>;
8658bab661aSEmmanuel Vadot				#size-cells = <0>;
8668bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
867fac71e4eSEmmanuel Vadot				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
868fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
869fac71e4eSEmmanuel Vadot						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
870fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
8718bab661aSEmmanuel Vadot				dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
8728bab661aSEmmanuel Vadot				       <&gpi_dma0 1 6 QCOM_GPI_I2C>;
8738bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
8748bab661aSEmmanuel Vadot				status = "disabled";
8758bab661aSEmmanuel Vadot			};
8768bab661aSEmmanuel Vadot
8778bab661aSEmmanuel Vadot			i2c7: i2c@89c000 {
8788bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
8798bab661aSEmmanuel Vadot				reg = <0 0x0089c000 0 0x4000>;
8808bab661aSEmmanuel Vadot				clock-names = "se";
8818bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
8828bab661aSEmmanuel Vadot				pinctrl-names = "default";
8838bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c7_default>;
8848bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
8858bab661aSEmmanuel Vadot				#address-cells = <1>;
8868bab661aSEmmanuel Vadot				#size-cells = <0>;
8878bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
888fac71e4eSEmmanuel Vadot				interconnects = <&aggre1_noc MASTER_BLSP_1 0 &config_noc SLAVE_BLSP_1 0>,
889fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_1 0>,
890fac71e4eSEmmanuel Vadot						<&aggre1_noc MASTER_BLSP_1 0 &mem_noc SLAVE_EBI_CH0 0>;
891fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
8928bab661aSEmmanuel Vadot				dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>,
8938bab661aSEmmanuel Vadot				       <&gpi_dma0 1 7 QCOM_GPI_I2C>;
8948bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
8958bab661aSEmmanuel Vadot				status = "disabled";
8968bab661aSEmmanuel Vadot			};
8978bab661aSEmmanuel Vadot		};
8988bab661aSEmmanuel Vadot
8998bab661aSEmmanuel Vadot		gpi_dma1: dma-controller@a00000 {
9008bab661aSEmmanuel Vadot			#dma-cells = <3>;
9018bab661aSEmmanuel Vadot			compatible = "qcom,sdm670-gpi-dma", "qcom,sdm845-gpi-dma";
9028bab661aSEmmanuel Vadot			reg = <0 0x00a00000 0 0x60000>;
9038bab661aSEmmanuel Vadot			interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>,
9048bab661aSEmmanuel Vadot				     <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>,
9058bab661aSEmmanuel Vadot				     <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>,
9068bab661aSEmmanuel Vadot				     <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>,
9078bab661aSEmmanuel Vadot				     <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>,
9088bab661aSEmmanuel Vadot				     <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>,
9098bab661aSEmmanuel Vadot				     <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>,
9108bab661aSEmmanuel Vadot				     <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>,
9118bab661aSEmmanuel Vadot				     <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>,
9128bab661aSEmmanuel Vadot				     <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>,
9138bab661aSEmmanuel Vadot				     <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>,
9148bab661aSEmmanuel Vadot				     <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>,
9158bab661aSEmmanuel Vadot				     <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
9168bab661aSEmmanuel Vadot			dma-channels = <13>;
9178bab661aSEmmanuel Vadot			dma-channel-mask = <0xfa>;
9188bab661aSEmmanuel Vadot			iommus = <&apps_smmu 0x6d6 0x0>;
9198bab661aSEmmanuel Vadot			status = "disabled";
9208bab661aSEmmanuel Vadot		};
9218bab661aSEmmanuel Vadot
9228bab661aSEmmanuel Vadot		qupv3_id_1: geniqup@ac0000 {
9238bab661aSEmmanuel Vadot			compatible = "qcom,geni-se-qup";
9248bab661aSEmmanuel Vadot			reg = <0 0x00ac0000 0 0x6000>;
9258bab661aSEmmanuel Vadot			clock-names = "m-ahb", "s-ahb";
9268bab661aSEmmanuel Vadot			clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>,
9278bab661aSEmmanuel Vadot				 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>;
9288bab661aSEmmanuel Vadot			iommus = <&apps_smmu 0x6c3 0x0>;
9298bab661aSEmmanuel Vadot			#address-cells = <2>;
9308bab661aSEmmanuel Vadot			#size-cells = <2>;
9318bab661aSEmmanuel Vadot			ranges;
932fac71e4eSEmmanuel Vadot			interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>;
933fac71e4eSEmmanuel Vadot			interconnect-names = "qup-core";
9348bab661aSEmmanuel Vadot			status = "disabled";
9358bab661aSEmmanuel Vadot
9368bab661aSEmmanuel Vadot			i2c8: i2c@a80000 {
9378bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
9388bab661aSEmmanuel Vadot				reg = <0 0x00a80000 0 0x4000>;
9398bab661aSEmmanuel Vadot				clock-names = "se";
9408bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>;
9418bab661aSEmmanuel Vadot				pinctrl-names = "default";
9428bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c8_default>;
9438bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
9448bab661aSEmmanuel Vadot				#address-cells = <1>;
9458bab661aSEmmanuel Vadot				#size-cells = <0>;
9468bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
947fac71e4eSEmmanuel Vadot				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
948fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
949fac71e4eSEmmanuel Vadot						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
950fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
9518bab661aSEmmanuel Vadot				dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>,
9528bab661aSEmmanuel Vadot				       <&gpi_dma1 1 0 QCOM_GPI_I2C>;
9538bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
9548bab661aSEmmanuel Vadot				status = "disabled";
9558bab661aSEmmanuel Vadot			};
9568bab661aSEmmanuel Vadot
9578bab661aSEmmanuel Vadot			i2c9: i2c@a84000 {
9588bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
9598bab661aSEmmanuel Vadot				reg = <0 0x00a84000 0 0x4000>;
9608bab661aSEmmanuel Vadot				clock-names = "se";
9618bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>;
9628bab661aSEmmanuel Vadot				pinctrl-names = "default";
9638bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c9_default>;
9648bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
9658bab661aSEmmanuel Vadot				#address-cells = <1>;
9668bab661aSEmmanuel Vadot				#size-cells = <0>;
9678bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
968fac71e4eSEmmanuel Vadot				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
969fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
970fac71e4eSEmmanuel Vadot						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
971fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
9728bab661aSEmmanuel Vadot				dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>,
9738bab661aSEmmanuel Vadot				       <&gpi_dma1 1 1 QCOM_GPI_I2C>;
9748bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
9758bab661aSEmmanuel Vadot				status = "disabled";
9768bab661aSEmmanuel Vadot			};
9778bab661aSEmmanuel Vadot
9788bab661aSEmmanuel Vadot			i2c10: i2c@a88000 {
9798bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
9808bab661aSEmmanuel Vadot				reg = <0 0x00a88000 0 0x4000>;
9818bab661aSEmmanuel Vadot				clock-names = "se";
9828bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>;
9838bab661aSEmmanuel Vadot				pinctrl-names = "default";
9848bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c10_default>;
9858bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
9868bab661aSEmmanuel Vadot				#address-cells = <1>;
9878bab661aSEmmanuel Vadot				#size-cells = <0>;
9888bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
989fac71e4eSEmmanuel Vadot				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
990fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
991fac71e4eSEmmanuel Vadot						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
992fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
9938bab661aSEmmanuel Vadot				dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>,
9948bab661aSEmmanuel Vadot				       <&gpi_dma1 1 2 QCOM_GPI_I2C>;
9958bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
9968bab661aSEmmanuel Vadot				status = "disabled";
9978bab661aSEmmanuel Vadot			};
9988bab661aSEmmanuel Vadot
9998bab661aSEmmanuel Vadot			i2c11: i2c@a8c000 {
10008bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
10018bab661aSEmmanuel Vadot				reg = <0 0x00a8c000 0 0x4000>;
10028bab661aSEmmanuel Vadot				clock-names = "se";
10038bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>;
10048bab661aSEmmanuel Vadot				pinctrl-names = "default";
10058bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c11_default>;
10068bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
10078bab661aSEmmanuel Vadot				#address-cells = <1>;
10088bab661aSEmmanuel Vadot				#size-cells = <0>;
10098bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
1010fac71e4eSEmmanuel Vadot				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
1011fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
1012fac71e4eSEmmanuel Vadot						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
1013fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
10148bab661aSEmmanuel Vadot				dmas = <&gpi_dma1 0 3 QCOM_GPI_I2C>,
10158bab661aSEmmanuel Vadot				       <&gpi_dma1 1 3 QCOM_GPI_I2C>;
10168bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
10178bab661aSEmmanuel Vadot				status = "disabled";
10188bab661aSEmmanuel Vadot			};
10198bab661aSEmmanuel Vadot
10208bab661aSEmmanuel Vadot			i2c12: i2c@a90000 {
10218bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
10228bab661aSEmmanuel Vadot				reg = <0 0x00a90000 0 0x4000>;
10238bab661aSEmmanuel Vadot				clock-names = "se";
10248bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>;
10258bab661aSEmmanuel Vadot				pinctrl-names = "default";
10268bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c12_default>;
10278bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
10288bab661aSEmmanuel Vadot				#address-cells = <1>;
10298bab661aSEmmanuel Vadot				#size-cells = <0>;
10308bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
1031fac71e4eSEmmanuel Vadot				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
1032fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
1033fac71e4eSEmmanuel Vadot						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
1034fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
10358bab661aSEmmanuel Vadot				dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>,
10368bab661aSEmmanuel Vadot				       <&gpi_dma1 1 4 QCOM_GPI_I2C>;
10378bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
10388bab661aSEmmanuel Vadot				status = "disabled";
10398bab661aSEmmanuel Vadot			};
10408bab661aSEmmanuel Vadot
10418bab661aSEmmanuel Vadot			i2c13: i2c@a94000 {
10428bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
10438bab661aSEmmanuel Vadot				reg = <0 0x00a94000 0 0x4000>;
10448bab661aSEmmanuel Vadot				clock-names = "se";
10458bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>;
10468bab661aSEmmanuel Vadot				pinctrl-names = "default";
10478bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c13_default>;
10488bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
10498bab661aSEmmanuel Vadot				#address-cells = <1>;
10508bab661aSEmmanuel Vadot				#size-cells = <0>;
10518bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
1052fac71e4eSEmmanuel Vadot				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
1053fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
1054fac71e4eSEmmanuel Vadot						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
1055fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
10568bab661aSEmmanuel Vadot				dmas = <&gpi_dma1 0 5 QCOM_GPI_I2C>,
10578bab661aSEmmanuel Vadot				       <&gpi_dma1 1 5 QCOM_GPI_I2C>;
10588bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
10598bab661aSEmmanuel Vadot				status = "disabled";
10608bab661aSEmmanuel Vadot			};
10618bab661aSEmmanuel Vadot
10628bab661aSEmmanuel Vadot			i2c14: i2c@a98000 {
10638bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
10648bab661aSEmmanuel Vadot				reg = <0 0x00a98000 0 0x4000>;
10658bab661aSEmmanuel Vadot				clock-names = "se";
10668bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S6_CLK>;
10678bab661aSEmmanuel Vadot				pinctrl-names = "default";
10688bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c14_default>;
10698bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
10708bab661aSEmmanuel Vadot				#address-cells = <1>;
10718bab661aSEmmanuel Vadot				#size-cells = <0>;
10728bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
1073fac71e4eSEmmanuel Vadot				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
1074fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
1075fac71e4eSEmmanuel Vadot						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
1076fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
10778bab661aSEmmanuel Vadot				dmas = <&gpi_dma1 0 6 QCOM_GPI_I2C>,
10788bab661aSEmmanuel Vadot				       <&gpi_dma1 1 6 QCOM_GPI_I2C>;
10798bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
10808bab661aSEmmanuel Vadot				status = "disabled";
10818bab661aSEmmanuel Vadot			};
10828bab661aSEmmanuel Vadot
10838bab661aSEmmanuel Vadot			i2c15: i2c@a9c000 {
10848bab661aSEmmanuel Vadot				compatible = "qcom,geni-i2c";
10858bab661aSEmmanuel Vadot				reg = <0 0x00a9c000 0 0x4000>;
10868bab661aSEmmanuel Vadot				clock-names = "se";
10878bab661aSEmmanuel Vadot				clocks = <&gcc GCC_QUPV3_WRAP1_S7_CLK>;
10888bab661aSEmmanuel Vadot				pinctrl-names = "default";
10898bab661aSEmmanuel Vadot				pinctrl-0 = <&qup_i2c15_default>;
10908bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
10918bab661aSEmmanuel Vadot				#address-cells = <1>;
10928bab661aSEmmanuel Vadot				#size-cells = <0>;
10938bab661aSEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
1094fac71e4eSEmmanuel Vadot				interconnects = <&aggre2_noc MASTER_BLSP_2 0 &config_noc SLAVE_BLSP_2 0>,
1095fac71e4eSEmmanuel Vadot						<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_BLSP_2 0>,
1096fac71e4eSEmmanuel Vadot						<&aggre2_noc MASTER_BLSP_2 0 &mem_noc SLAVE_EBI_CH0 0>;
1097fac71e4eSEmmanuel Vadot				interconnect-names = "qup-core", "qup-config", "qup-memory";
10988bab661aSEmmanuel Vadot				dmas = <&gpi_dma1 0 7 QCOM_GPI_I2C>,
10998bab661aSEmmanuel Vadot				       <&gpi_dma1 1 7 QCOM_GPI_I2C>;
11008bab661aSEmmanuel Vadot				dma-names = "tx", "rx";
11018bab661aSEmmanuel Vadot				status = "disabled";
11028bab661aSEmmanuel Vadot			};
11038bab661aSEmmanuel Vadot		};
11048bab661aSEmmanuel Vadot
1105cb7aa33aSEmmanuel Vadot		mem_noc: interconnect@1380000 {
1106cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-mem-noc";
1107cb7aa33aSEmmanuel Vadot			reg = <0 0x01380000 0 0x27200>;
1108cb7aa33aSEmmanuel Vadot			#interconnect-cells = <2>;
1109cb7aa33aSEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1110cb7aa33aSEmmanuel Vadot		};
1111cb7aa33aSEmmanuel Vadot
1112cb7aa33aSEmmanuel Vadot		dc_noc: interconnect@14e0000 {
1113cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-dc-noc";
1114cb7aa33aSEmmanuel Vadot			reg = <0 0x014e0000 0 0x400>;
1115cb7aa33aSEmmanuel Vadot			#interconnect-cells = <2>;
1116cb7aa33aSEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1117cb7aa33aSEmmanuel Vadot		};
1118cb7aa33aSEmmanuel Vadot
1119cb7aa33aSEmmanuel Vadot		config_noc: interconnect@1500000 {
1120cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-config-noc";
1121cb7aa33aSEmmanuel Vadot			reg = <0 0x01500000 0 0x5080>;
1122cb7aa33aSEmmanuel Vadot			#interconnect-cells = <2>;
1123cb7aa33aSEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1124cb7aa33aSEmmanuel Vadot		};
1125cb7aa33aSEmmanuel Vadot
1126cb7aa33aSEmmanuel Vadot		system_noc: interconnect@1620000 {
1127cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-system-noc";
1128cb7aa33aSEmmanuel Vadot			reg = <0 0x01620000 0 0x18080>;
1129cb7aa33aSEmmanuel Vadot			#interconnect-cells = <2>;
1130cb7aa33aSEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1131cb7aa33aSEmmanuel Vadot		};
1132cb7aa33aSEmmanuel Vadot
1133cb7aa33aSEmmanuel Vadot		aggre1_noc: interconnect@16e0000 {
1134cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-aggre1-noc";
1135cb7aa33aSEmmanuel Vadot			reg = <0 0x016e0000 0 0x15080>;
1136cb7aa33aSEmmanuel Vadot			#interconnect-cells = <2>;
1137cb7aa33aSEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1138cb7aa33aSEmmanuel Vadot		};
1139cb7aa33aSEmmanuel Vadot
1140cb7aa33aSEmmanuel Vadot		aggre2_noc: interconnect@1700000 {
1141cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-aggre2-noc";
1142cb7aa33aSEmmanuel Vadot			reg = <0 0x01700000 0 0x1f300>;
1143cb7aa33aSEmmanuel Vadot			#interconnect-cells = <2>;
1144cb7aa33aSEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1145cb7aa33aSEmmanuel Vadot		};
1146cb7aa33aSEmmanuel Vadot
1147cb7aa33aSEmmanuel Vadot		mmss_noc: interconnect@1740000 {
1148cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-mmss-noc";
1149cb7aa33aSEmmanuel Vadot			reg = <0 0x01740000 0 0x1c100>;
1150cb7aa33aSEmmanuel Vadot			#interconnect-cells = <2>;
1151cb7aa33aSEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1152cb7aa33aSEmmanuel Vadot		};
1153cb7aa33aSEmmanuel Vadot
1154*0e8011faSEmmanuel Vadot		tcsr_mutex: hwlock@1f40000 {
1155*0e8011faSEmmanuel Vadot			compatible = "qcom,tcsr-mutex";
1156*0e8011faSEmmanuel Vadot			reg = <0 0x01f40000 0 0x20000>;
1157*0e8011faSEmmanuel Vadot			#hwlock-cells = <1>;
1158*0e8011faSEmmanuel Vadot		};
1159*0e8011faSEmmanuel Vadot
11608bab661aSEmmanuel Vadot		tlmm: pinctrl@3400000 {
11618bab661aSEmmanuel Vadot			compatible = "qcom,sdm670-tlmm";
11628bab661aSEmmanuel Vadot			reg = <0 0x03400000 0 0xc00000>;
11638bab661aSEmmanuel Vadot			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
11648bab661aSEmmanuel Vadot			gpio-controller;
11658bab661aSEmmanuel Vadot			#gpio-cells = <2>;
11668bab661aSEmmanuel Vadot			interrupt-controller;
11678bab661aSEmmanuel Vadot			#interrupt-cells = <2>;
11688bab661aSEmmanuel Vadot			gpio-ranges = <&tlmm 0 0 151>;
1169aa1a8ff2SEmmanuel Vadot			wakeup-parent = <&pdc>;
11708bab661aSEmmanuel Vadot
11718bab661aSEmmanuel Vadot			qup_i2c0_default: qup-i2c0-default-state {
11728bab661aSEmmanuel Vadot				pins = "gpio0", "gpio1";
11738bab661aSEmmanuel Vadot				function = "qup0";
11748bab661aSEmmanuel Vadot			};
11758bab661aSEmmanuel Vadot
11768bab661aSEmmanuel Vadot			qup_i2c1_default: qup-i2c1-default-state {
11778bab661aSEmmanuel Vadot				pins = "gpio17", "gpio18";
11788bab661aSEmmanuel Vadot				function = "qup1";
11798bab661aSEmmanuel Vadot			};
11808bab661aSEmmanuel Vadot
11818bab661aSEmmanuel Vadot			qup_i2c2_default: qup-i2c2-default-state {
11828bab661aSEmmanuel Vadot				pins = "gpio27", "gpio28";
11838bab661aSEmmanuel Vadot				function = "qup2";
11848bab661aSEmmanuel Vadot			};
11858bab661aSEmmanuel Vadot
11868bab661aSEmmanuel Vadot			qup_i2c3_default: qup-i2c3-default-state {
11878bab661aSEmmanuel Vadot				pins = "gpio41", "gpio42";
11888bab661aSEmmanuel Vadot				function = "qup3";
11898bab661aSEmmanuel Vadot			};
11908bab661aSEmmanuel Vadot
11918bab661aSEmmanuel Vadot			qup_i2c4_default: qup-i2c4-default-state {
11928bab661aSEmmanuel Vadot				pins = "gpio89", "gpio90";
11938bab661aSEmmanuel Vadot				function = "qup4";
11948bab661aSEmmanuel Vadot			};
11958bab661aSEmmanuel Vadot
11968bab661aSEmmanuel Vadot			qup_i2c5_default: qup-i2c5-default-state {
11978bab661aSEmmanuel Vadot				pins = "gpio85", "gpio86";
11988bab661aSEmmanuel Vadot				function = "qup5";
11998bab661aSEmmanuel Vadot			};
12008bab661aSEmmanuel Vadot
12018bab661aSEmmanuel Vadot			qup_i2c6_default: qup-i2c6-default-state {
12028bab661aSEmmanuel Vadot				pins = "gpio45", "gpio46";
12038bab661aSEmmanuel Vadot				function = "qup6";
12048bab661aSEmmanuel Vadot			};
12058bab661aSEmmanuel Vadot
12068bab661aSEmmanuel Vadot			qup_i2c7_default: qup-i2c7-default-state {
12078bab661aSEmmanuel Vadot				pins = "gpio93", "gpio94";
12088bab661aSEmmanuel Vadot				function = "qup7";
12098bab661aSEmmanuel Vadot			};
12108bab661aSEmmanuel Vadot
12118bab661aSEmmanuel Vadot			qup_i2c8_default: qup-i2c8-default-state {
12128bab661aSEmmanuel Vadot				pins = "gpio65", "gpio66";
12138bab661aSEmmanuel Vadot				function = "qup8";
12148bab661aSEmmanuel Vadot			};
12158bab661aSEmmanuel Vadot
12168bab661aSEmmanuel Vadot			qup_i2c9_default: qup-i2c9-default-state {
12178bab661aSEmmanuel Vadot				pins = "gpio6", "gpio7";
12188bab661aSEmmanuel Vadot				function = "qup9";
12198bab661aSEmmanuel Vadot			};
12208bab661aSEmmanuel Vadot
12218bab661aSEmmanuel Vadot			qup_i2c10_default: qup-i2c10-default-state {
12228bab661aSEmmanuel Vadot				pins = "gpio55", "gpio56";
12238bab661aSEmmanuel Vadot				function = "qup10";
12248bab661aSEmmanuel Vadot			};
12258bab661aSEmmanuel Vadot
12268bab661aSEmmanuel Vadot			qup_i2c11_default: qup-i2c11-default-state {
12278bab661aSEmmanuel Vadot				pins = "gpio31", "gpio32";
12288bab661aSEmmanuel Vadot				function = "qup11";
12298bab661aSEmmanuel Vadot			};
12308bab661aSEmmanuel Vadot
12318bab661aSEmmanuel Vadot			qup_i2c12_default: qup-i2c12-default-state {
12328bab661aSEmmanuel Vadot				pins = "gpio49", "gpio50";
12338bab661aSEmmanuel Vadot				function = "qup12";
12348bab661aSEmmanuel Vadot			};
12358bab661aSEmmanuel Vadot
12368bab661aSEmmanuel Vadot			qup_i2c13_default: qup-i2c13-default-state {
12378bab661aSEmmanuel Vadot				pins = "gpio105", "gpio106";
12388bab661aSEmmanuel Vadot				function = "qup13";
12398bab661aSEmmanuel Vadot			};
12408bab661aSEmmanuel Vadot
12418bab661aSEmmanuel Vadot			qup_i2c14_default: qup-i2c14-default-state {
12428bab661aSEmmanuel Vadot				pins = "gpio33", "gpio34";
12438bab661aSEmmanuel Vadot				function = "qup14";
12448bab661aSEmmanuel Vadot			};
12458bab661aSEmmanuel Vadot
12468bab661aSEmmanuel Vadot			qup_i2c15_default: qup-i2c15-default-state {
12478bab661aSEmmanuel Vadot				pins = "gpio81", "gpio82";
12488bab661aSEmmanuel Vadot				function = "qup15";
12498bab661aSEmmanuel Vadot			};
12508bab661aSEmmanuel Vadot
12518bab661aSEmmanuel Vadot			sdc1_state_on: sdc1-on-state {
12528bab661aSEmmanuel Vadot				clk-pins {
12538bab661aSEmmanuel Vadot					pins = "sdc1_clk";
12548bab661aSEmmanuel Vadot					bias-disable;
12558bab661aSEmmanuel Vadot					drive-strength = <16>;
12568bab661aSEmmanuel Vadot				};
12578bab661aSEmmanuel Vadot
12588bab661aSEmmanuel Vadot				cmd-pins {
12598bab661aSEmmanuel Vadot					pins = "sdc1_cmd";
12608bab661aSEmmanuel Vadot					bias-pull-up;
12618bab661aSEmmanuel Vadot					drive-strength = <10>;
12628bab661aSEmmanuel Vadot				};
12638bab661aSEmmanuel Vadot
12648bab661aSEmmanuel Vadot				data-pins {
12658bab661aSEmmanuel Vadot					pins = "sdc1_data";
12668bab661aSEmmanuel Vadot					bias-pull-up;
12678bab661aSEmmanuel Vadot					drive-strength = <10>;
12688bab661aSEmmanuel Vadot				};
12698bab661aSEmmanuel Vadot
12708bab661aSEmmanuel Vadot				rclk-pins {
12718bab661aSEmmanuel Vadot					pins = "sdc1_rclk";
12728bab661aSEmmanuel Vadot					bias-pull-down;
12738bab661aSEmmanuel Vadot				};
12748bab661aSEmmanuel Vadot			};
12758bab661aSEmmanuel Vadot
12768bab661aSEmmanuel Vadot			sdc1_state_off: sdc1-off-state {
12778bab661aSEmmanuel Vadot				clk-pins {
12788bab661aSEmmanuel Vadot					pins = "sdc1_clk";
12798bab661aSEmmanuel Vadot					bias-disable;
12808bab661aSEmmanuel Vadot					drive-strength = <2>;
12818bab661aSEmmanuel Vadot				};
12828bab661aSEmmanuel Vadot
12838bab661aSEmmanuel Vadot				cmd-pins {
12848bab661aSEmmanuel Vadot					pins = "sdc1_cmd";
12858bab661aSEmmanuel Vadot					bias-pull-up;
12868bab661aSEmmanuel Vadot					drive-strength = <2>;
12878bab661aSEmmanuel Vadot				};
12888bab661aSEmmanuel Vadot
12898bab661aSEmmanuel Vadot				data-pins {
12908bab661aSEmmanuel Vadot					pins = "sdc1_data";
12918bab661aSEmmanuel Vadot					bias-pull-up;
12928bab661aSEmmanuel Vadot					drive-strength = <2>;
12938bab661aSEmmanuel Vadot				};
12948bab661aSEmmanuel Vadot
12958bab661aSEmmanuel Vadot				rclk-pins {
12968bab661aSEmmanuel Vadot					pins = "sdc1_rclk";
12978bab661aSEmmanuel Vadot					bias-pull-down;
12988bab661aSEmmanuel Vadot				};
12998bab661aSEmmanuel Vadot			};
13008bab661aSEmmanuel Vadot		};
13018bab661aSEmmanuel Vadot
13028bab661aSEmmanuel Vadot		usb_1_hsphy: phy@88e2000 {
13038bab661aSEmmanuel Vadot			compatible = "qcom,sdm670-qusb2-phy", "qcom,qusb2-v2-phy";
13048bab661aSEmmanuel Vadot			reg = <0 0x088e2000 0 0x400>;
13058bab661aSEmmanuel Vadot			#phy-cells = <0>;
13068bab661aSEmmanuel Vadot
13078bab661aSEmmanuel Vadot			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
13088bab661aSEmmanuel Vadot				 <&rpmhcc RPMH_CXO_CLK>;
13098bab661aSEmmanuel Vadot			clock-names = "cfg_ahb", "ref";
13108bab661aSEmmanuel Vadot
13118bab661aSEmmanuel Vadot			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
13128bab661aSEmmanuel Vadot
1313cb7aa33aSEmmanuel Vadot			nvmem-cells = <&qusb2_hstx_trim>;
1314cb7aa33aSEmmanuel Vadot
13158bab661aSEmmanuel Vadot			status = "disabled";
13168bab661aSEmmanuel Vadot		};
13178bab661aSEmmanuel Vadot
13188bab661aSEmmanuel Vadot		usb_1: usb@a6f8800 {
13198bab661aSEmmanuel Vadot			compatible = "qcom,sdm670-dwc3", "qcom,dwc3";
13208bab661aSEmmanuel Vadot			reg = <0 0x0a6f8800 0 0x400>;
13218bab661aSEmmanuel Vadot			#address-cells = <2>;
13228bab661aSEmmanuel Vadot			#size-cells = <2>;
13238bab661aSEmmanuel Vadot			ranges;
13248bab661aSEmmanuel Vadot			dma-ranges;
13258bab661aSEmmanuel Vadot
13268bab661aSEmmanuel Vadot			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
13278bab661aSEmmanuel Vadot				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
13288bab661aSEmmanuel Vadot				 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
13298bab661aSEmmanuel Vadot				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
13308bab661aSEmmanuel Vadot				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
13318bab661aSEmmanuel Vadot			clock-names = "cfg_noc",
13328bab661aSEmmanuel Vadot				      "core",
13338bab661aSEmmanuel Vadot				      "iface",
13348bab661aSEmmanuel Vadot				      "sleep",
13358bab661aSEmmanuel Vadot				      "mock_utmi";
13368bab661aSEmmanuel Vadot
13378bab661aSEmmanuel Vadot			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
13388bab661aSEmmanuel Vadot					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
13398bab661aSEmmanuel Vadot			assigned-clock-rates = <19200000>, <150000000>;
13408bab661aSEmmanuel Vadot
134101950c46SEmmanuel Vadot			interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>,
134201950c46SEmmanuel Vadot					      <&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>,
134301950c46SEmmanuel Vadot					      <&pdc 9 IRQ_TYPE_EDGE_BOTH>,
13448d13bc63SEmmanuel Vadot					      <&pdc 8 IRQ_TYPE_EDGE_BOTH>,
134501950c46SEmmanuel Vadot					      <&pdc 6 IRQ_TYPE_LEVEL_HIGH>;
134601950c46SEmmanuel Vadot			interrupt-names = "pwr_event",
134701950c46SEmmanuel Vadot					  "hs_phy_irq",
134801950c46SEmmanuel Vadot					  "dp_hs_phy_irq",
134901950c46SEmmanuel Vadot					  "dm_hs_phy_irq",
135001950c46SEmmanuel Vadot					  "ss_phy_irq";
13518bab661aSEmmanuel Vadot
13528bab661aSEmmanuel Vadot			power-domains = <&gcc USB30_PRIM_GDSC>;
13538bab661aSEmmanuel Vadot
13548bab661aSEmmanuel Vadot			resets = <&gcc GCC_USB30_PRIM_BCR>;
13558bab661aSEmmanuel Vadot
1356fac71e4eSEmmanuel Vadot			interconnects = <&aggre2_noc MASTER_USB3 0 &mem_noc SLAVE_EBI_CH0 0>,
1357fac71e4eSEmmanuel Vadot					<&gladiator_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>;
1358fac71e4eSEmmanuel Vadot			interconnect-names = "usb-ddr", "apps-usb";
1359fac71e4eSEmmanuel Vadot
13608bab661aSEmmanuel Vadot			status = "disabled";
13618bab661aSEmmanuel Vadot
13628bab661aSEmmanuel Vadot			usb_1_dwc3: usb@a600000 {
13638bab661aSEmmanuel Vadot				compatible = "snps,dwc3";
13648bab661aSEmmanuel Vadot				reg = <0 0x0a600000 0 0xcd00>;
13658bab661aSEmmanuel Vadot				interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
13668bab661aSEmmanuel Vadot				iommus = <&apps_smmu 0x740 0>;
13678bab661aSEmmanuel Vadot				snps,dis_u2_susphy_quirk;
13688bab661aSEmmanuel Vadot				snps,dis_enblslpm_quirk;
13698bab661aSEmmanuel Vadot				phys = <&usb_1_hsphy>;
13708bab661aSEmmanuel Vadot				phy-names = "usb2-phy";
13718bab661aSEmmanuel Vadot			};
13728bab661aSEmmanuel Vadot		};
13738bab661aSEmmanuel Vadot
1374aa1a8ff2SEmmanuel Vadot		pdc: interrupt-controller@b220000 {
1375aa1a8ff2SEmmanuel Vadot			compatible = "qcom,sdm670-pdc", "qcom,pdc";
1376aa1a8ff2SEmmanuel Vadot			reg = <0 0x0b220000 0 0x30000>;
1377aa1a8ff2SEmmanuel Vadot			qcom,pdc-ranges = <0 480 40>, <41 521 7>, <49 529 4>,
137884943d6fSEmmanuel Vadot					  <54 534 24>, <79 559 15>, <94 609 15>,
137984943d6fSEmmanuel Vadot					  <115 630 7>;
1380aa1a8ff2SEmmanuel Vadot			#interrupt-cells = <2>;
1381aa1a8ff2SEmmanuel Vadot			interrupt-parent = <&intc>;
1382aa1a8ff2SEmmanuel Vadot			interrupt-controller;
1383aa1a8ff2SEmmanuel Vadot		};
1384aa1a8ff2SEmmanuel Vadot
13858bab661aSEmmanuel Vadot		spmi_bus: spmi@c440000 {
13868bab661aSEmmanuel Vadot			compatible = "qcom,spmi-pmic-arb";
13878bab661aSEmmanuel Vadot			reg = <0 0x0c440000 0 0x1100>,
13888bab661aSEmmanuel Vadot			      <0 0x0c600000 0 0x2000000>,
13898bab661aSEmmanuel Vadot			      <0 0x0e600000 0 0x100000>,
13908bab661aSEmmanuel Vadot			      <0 0x0e700000 0 0xa0000>,
13918bab661aSEmmanuel Vadot			      <0 0x0c40a000 0 0x26000>;
13928bab661aSEmmanuel Vadot			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
13938bab661aSEmmanuel Vadot			interrupt-names = "periph_irq";
13948bab661aSEmmanuel Vadot			interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>;
13958bab661aSEmmanuel Vadot			qcom,ee = <0>;
13968bab661aSEmmanuel Vadot			qcom,channel = <0>;
13978bab661aSEmmanuel Vadot			#address-cells = <2>;
13988bab661aSEmmanuel Vadot			#size-cells = <0>;
13998bab661aSEmmanuel Vadot			interrupt-controller;
14008bab661aSEmmanuel Vadot			#interrupt-cells = <4>;
14018bab661aSEmmanuel Vadot		};
14028bab661aSEmmanuel Vadot
14038d13bc63SEmmanuel Vadot		mdss: display-subsystem@ae00000 {
14048d13bc63SEmmanuel Vadot			compatible = "qcom,sdm670-mdss";
14058d13bc63SEmmanuel Vadot			reg = <0 0x0ae00000 0 0x1000>;
14068d13bc63SEmmanuel Vadot			reg-names = "mdss";
14078d13bc63SEmmanuel Vadot
14088d13bc63SEmmanuel Vadot			power-domains = <&dispcc MDSS_GDSC>;
14098d13bc63SEmmanuel Vadot
14108d13bc63SEmmanuel Vadot			clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
14118d13bc63SEmmanuel Vadot				 <&dispcc DISP_CC_MDSS_MDP_CLK>;
14128d13bc63SEmmanuel Vadot			clock-names = "iface", "core";
14138d13bc63SEmmanuel Vadot
14148d13bc63SEmmanuel Vadot			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
14158d13bc63SEmmanuel Vadot			interrupt-controller;
14168d13bc63SEmmanuel Vadot			#interrupt-cells = <1>;
14178d13bc63SEmmanuel Vadot
14188d13bc63SEmmanuel Vadot			interconnects = <&mmss_noc MASTER_MDP_PORT0 0 &mem_noc SLAVE_EBI_CH0 0>,
14198d13bc63SEmmanuel Vadot					<&mmss_noc MASTER_MDP_PORT1 0 &mem_noc SLAVE_EBI_CH0 0>;
14208d13bc63SEmmanuel Vadot			interconnect-names = "mdp0-mem", "mdp1-mem";
14218d13bc63SEmmanuel Vadot
14228d13bc63SEmmanuel Vadot			iommus = <&apps_smmu 0x880 0x8>,
14238d13bc63SEmmanuel Vadot				 <&apps_smmu 0xc80 0x8>;
14248d13bc63SEmmanuel Vadot
14258d13bc63SEmmanuel Vadot			#address-cells = <2>;
14268d13bc63SEmmanuel Vadot			#size-cells = <2>;
14278d13bc63SEmmanuel Vadot			ranges;
14288d13bc63SEmmanuel Vadot
14298d13bc63SEmmanuel Vadot			status = "disabled";
14308d13bc63SEmmanuel Vadot
14318d13bc63SEmmanuel Vadot			mdss_mdp: display-controller@ae01000 {
14328d13bc63SEmmanuel Vadot				compatible = "qcom,sdm670-dpu";
14338d13bc63SEmmanuel Vadot				reg = <0 0x0ae01000 0 0x8f000>,
14348d13bc63SEmmanuel Vadot				      <0 0x0aeb0000 0 0x2008>;
14358d13bc63SEmmanuel Vadot				reg-names = "mdp", "vbif";
14368d13bc63SEmmanuel Vadot
14378d13bc63SEmmanuel Vadot				clocks = <&gcc GCC_DISP_AXI_CLK>,
14388d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
14398d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_AXI_CLK>,
14408d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_MDP_CLK>,
14418d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
14428d13bc63SEmmanuel Vadot				clock-names = "gcc-bus", "iface", "bus", "core", "vsync";
14438d13bc63SEmmanuel Vadot
14448d13bc63SEmmanuel Vadot				assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>;
14458d13bc63SEmmanuel Vadot				assigned-clock-rates = <19200000>;
14468d13bc63SEmmanuel Vadot				operating-points-v2 = <&mdp_opp_table>;
14478d13bc63SEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
14488d13bc63SEmmanuel Vadot
14498d13bc63SEmmanuel Vadot				interrupt-parent = <&mdss>;
14508d13bc63SEmmanuel Vadot				interrupts = <0>;
14518d13bc63SEmmanuel Vadot
14528d13bc63SEmmanuel Vadot				ports {
14538d13bc63SEmmanuel Vadot					#address-cells = <1>;
14548d13bc63SEmmanuel Vadot					#size-cells = <0>;
14558d13bc63SEmmanuel Vadot
14568d13bc63SEmmanuel Vadot					port@0 {
14578d13bc63SEmmanuel Vadot						reg = <0>;
14588d13bc63SEmmanuel Vadot						dpu_intf0_out: endpoint {
14598d13bc63SEmmanuel Vadot							remote-endpoint = <&mdss_dsi0_in>;
14608d13bc63SEmmanuel Vadot						};
14618d13bc63SEmmanuel Vadot					};
14628d13bc63SEmmanuel Vadot
14638d13bc63SEmmanuel Vadot					port@1 {
14648d13bc63SEmmanuel Vadot						reg = <1>;
14658d13bc63SEmmanuel Vadot						dpu_intf1_out: endpoint {
14668d13bc63SEmmanuel Vadot							remote-endpoint = <&mdss_dsi1_in>;
14678d13bc63SEmmanuel Vadot						};
14688d13bc63SEmmanuel Vadot					};
14698d13bc63SEmmanuel Vadot				};
14708d13bc63SEmmanuel Vadot
14718d13bc63SEmmanuel Vadot				mdp_opp_table: opp-table {
14728d13bc63SEmmanuel Vadot					compatible = "operating-points-v2";
14738d13bc63SEmmanuel Vadot
14748d13bc63SEmmanuel Vadot					opp-19200000 {
14758d13bc63SEmmanuel Vadot						opp-hz = /bits/ 64 <19200000>;
14768d13bc63SEmmanuel Vadot						required-opps = <&rpmhpd_opp_min_svs>;
14778d13bc63SEmmanuel Vadot					};
14788d13bc63SEmmanuel Vadot
14798d13bc63SEmmanuel Vadot					opp-171428571 {
14808d13bc63SEmmanuel Vadot						opp-hz = /bits/ 64 <171428571>;
14818d13bc63SEmmanuel Vadot						required-opps = <&rpmhpd_opp_low_svs>;
14828d13bc63SEmmanuel Vadot					};
14838d13bc63SEmmanuel Vadot
14848d13bc63SEmmanuel Vadot					opp-358000000 {
14858d13bc63SEmmanuel Vadot						opp-hz = /bits/ 64 <358000000>;
14868d13bc63SEmmanuel Vadot						required-opps = <&rpmhpd_opp_svs_l1>;
14878d13bc63SEmmanuel Vadot					};
14888d13bc63SEmmanuel Vadot
14898d13bc63SEmmanuel Vadot					opp-430000000 {
14908d13bc63SEmmanuel Vadot						opp-hz = /bits/ 64 <430000000>;
14918d13bc63SEmmanuel Vadot						required-opps = <&rpmhpd_opp_nom>;
14928d13bc63SEmmanuel Vadot					};
14938d13bc63SEmmanuel Vadot				};
14948d13bc63SEmmanuel Vadot			};
14958d13bc63SEmmanuel Vadot
14968d13bc63SEmmanuel Vadot			mdss_dsi0: dsi@ae94000 {
14978d13bc63SEmmanuel Vadot				compatible = "qcom,sdm670-dsi-ctrl",
14988d13bc63SEmmanuel Vadot					     "qcom,mdss-dsi-ctrl";
14998d13bc63SEmmanuel Vadot				reg = <0 0x0ae94000 0 0x400>;
15008d13bc63SEmmanuel Vadot				reg-names = "dsi_ctrl";
15018d13bc63SEmmanuel Vadot
15028d13bc63SEmmanuel Vadot				interrupt-parent = <&mdss>;
15038d13bc63SEmmanuel Vadot				interrupts = <4>;
15048d13bc63SEmmanuel Vadot
15058d13bc63SEmmanuel Vadot				clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
15068d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
15078d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_PCLK0_CLK>,
15088d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_ESC0_CLK>,
15098d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
15108d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_AXI_CLK>;
15118d13bc63SEmmanuel Vadot				clock-names = "byte",
15128d13bc63SEmmanuel Vadot					      "byte_intf",
15138d13bc63SEmmanuel Vadot					      "pixel",
15148d13bc63SEmmanuel Vadot					      "core",
15158d13bc63SEmmanuel Vadot					      "iface",
15168d13bc63SEmmanuel Vadot					      "bus";
15178d13bc63SEmmanuel Vadot				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>,
15188d13bc63SEmmanuel Vadot						  <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
15198d13bc63SEmmanuel Vadot				assigned-clock-parents = <&mdss_dsi0_phy 0>,
15208d13bc63SEmmanuel Vadot							 <&mdss_dsi0_phy 1>;
15218d13bc63SEmmanuel Vadot
15228d13bc63SEmmanuel Vadot				operating-points-v2 = <&dsi_opp_table>;
15238d13bc63SEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
15248d13bc63SEmmanuel Vadot
15258d13bc63SEmmanuel Vadot				phys = <&mdss_dsi0_phy>;
15268d13bc63SEmmanuel Vadot
15278d13bc63SEmmanuel Vadot				#address-cells = <1>;
15288d13bc63SEmmanuel Vadot				#size-cells = <0>;
15298d13bc63SEmmanuel Vadot
15308d13bc63SEmmanuel Vadot				status = "disabled";
15318d13bc63SEmmanuel Vadot
15328d13bc63SEmmanuel Vadot				ports {
15338d13bc63SEmmanuel Vadot					#address-cells = <1>;
15348d13bc63SEmmanuel Vadot					#size-cells = <0>;
15358d13bc63SEmmanuel Vadot
15368d13bc63SEmmanuel Vadot					port@0 {
15378d13bc63SEmmanuel Vadot						reg = <0>;
15388d13bc63SEmmanuel Vadot						mdss_dsi0_in: endpoint {
15398d13bc63SEmmanuel Vadot							remote-endpoint = <&dpu_intf0_out>;
15408d13bc63SEmmanuel Vadot						};
15418d13bc63SEmmanuel Vadot					};
15428d13bc63SEmmanuel Vadot
15438d13bc63SEmmanuel Vadot					port@1 {
15448d13bc63SEmmanuel Vadot						reg = <1>;
15458d13bc63SEmmanuel Vadot						mdss_dsi0_out: endpoint {
15468d13bc63SEmmanuel Vadot						};
15478d13bc63SEmmanuel Vadot					};
15488d13bc63SEmmanuel Vadot				};
15498d13bc63SEmmanuel Vadot			};
15508d13bc63SEmmanuel Vadot
15518d13bc63SEmmanuel Vadot			mdss_dsi0_phy: phy@ae94400 {
15528d13bc63SEmmanuel Vadot				compatible = "qcom,dsi-phy-10nm";
15538d13bc63SEmmanuel Vadot				reg = <0 0x0ae94400 0 0x200>,
15548d13bc63SEmmanuel Vadot				      <0 0x0ae94600 0 0x280>,
15558d13bc63SEmmanuel Vadot				      <0 0x0ae94a00 0 0x1e0>;
15568d13bc63SEmmanuel Vadot				reg-names = "dsi_phy",
15578d13bc63SEmmanuel Vadot					    "dsi_phy_lane",
15588d13bc63SEmmanuel Vadot					    "dsi_pll";
15598d13bc63SEmmanuel Vadot
15608d13bc63SEmmanuel Vadot				#clock-cells = <1>;
15618d13bc63SEmmanuel Vadot				#phy-cells = <0>;
15628d13bc63SEmmanuel Vadot
15638d13bc63SEmmanuel Vadot				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
15648d13bc63SEmmanuel Vadot					 <&rpmhcc RPMH_CXO_CLK>;
15658d13bc63SEmmanuel Vadot				clock-names = "iface", "ref";
15668d13bc63SEmmanuel Vadot
15678d13bc63SEmmanuel Vadot				status = "disabled";
15688d13bc63SEmmanuel Vadot			};
15698d13bc63SEmmanuel Vadot
15708d13bc63SEmmanuel Vadot			mdss_dsi1: dsi@ae96000 {
15718d13bc63SEmmanuel Vadot				compatible = "qcom,sdm670-dsi-ctrl",
15728d13bc63SEmmanuel Vadot					     "qcom,mdss-dsi-ctrl";
15738d13bc63SEmmanuel Vadot				reg = <0 0x0ae96000 0 0x400>;
15748d13bc63SEmmanuel Vadot				reg-names = "dsi_ctrl";
15758d13bc63SEmmanuel Vadot
15768d13bc63SEmmanuel Vadot				interrupt-parent = <&mdss>;
15778d13bc63SEmmanuel Vadot				interrupts = <5>;
15788d13bc63SEmmanuel Vadot
15798d13bc63SEmmanuel Vadot				clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK>,
15808d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_BYTE1_INTF_CLK>,
15818d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_PCLK1_CLK>,
15828d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_ESC1_CLK>,
15838d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_AHB_CLK>,
15848d13bc63SEmmanuel Vadot					 <&dispcc DISP_CC_MDSS_AXI_CLK>;
15858d13bc63SEmmanuel Vadot				clock-names = "byte",
15868d13bc63SEmmanuel Vadot					      "byte_intf",
15878d13bc63SEmmanuel Vadot					      "pixel",
15888d13bc63SEmmanuel Vadot					      "core",
15898d13bc63SEmmanuel Vadot					      "iface",
15908d13bc63SEmmanuel Vadot					      "bus";
15918d13bc63SEmmanuel Vadot				assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE1_CLK_SRC>,
15928d13bc63SEmmanuel Vadot						  <&dispcc DISP_CC_MDSS_PCLK1_CLK_SRC>;
15938d13bc63SEmmanuel Vadot				assigned-clock-parents = <&mdss_dsi1_phy 0>, <&mdss_dsi1_phy 1>;
15948d13bc63SEmmanuel Vadot
15958d13bc63SEmmanuel Vadot				operating-points-v2 = <&dsi_opp_table>;
15968d13bc63SEmmanuel Vadot				power-domains = <&rpmhpd SDM670_CX>;
15978d13bc63SEmmanuel Vadot
15988d13bc63SEmmanuel Vadot				phys = <&mdss_dsi1_phy>;
15998d13bc63SEmmanuel Vadot
16008d13bc63SEmmanuel Vadot				#address-cells = <1>;
16018d13bc63SEmmanuel Vadot				#size-cells = <0>;
16028d13bc63SEmmanuel Vadot
16038d13bc63SEmmanuel Vadot				status = "disabled";
16048d13bc63SEmmanuel Vadot
16058d13bc63SEmmanuel Vadot				ports {
16068d13bc63SEmmanuel Vadot					#address-cells = <1>;
16078d13bc63SEmmanuel Vadot					#size-cells = <0>;
16088d13bc63SEmmanuel Vadot
16098d13bc63SEmmanuel Vadot					port@0 {
16108d13bc63SEmmanuel Vadot						reg = <0>;
16118d13bc63SEmmanuel Vadot						mdss_dsi1_in: endpoint {
16128d13bc63SEmmanuel Vadot							remote-endpoint = <&dpu_intf1_out>;
16138d13bc63SEmmanuel Vadot						};
16148d13bc63SEmmanuel Vadot					};
16158d13bc63SEmmanuel Vadot
16168d13bc63SEmmanuel Vadot					port@1 {
16178d13bc63SEmmanuel Vadot						reg = <1>;
16188d13bc63SEmmanuel Vadot						mdss_dsi1_out: endpoint {
16198d13bc63SEmmanuel Vadot						};
16208d13bc63SEmmanuel Vadot					};
16218d13bc63SEmmanuel Vadot				};
16228d13bc63SEmmanuel Vadot			};
16238d13bc63SEmmanuel Vadot
16248d13bc63SEmmanuel Vadot			mdss_dsi1_phy: phy@ae96400 {
16258d13bc63SEmmanuel Vadot				compatible = "qcom,dsi-phy-10nm";
16268d13bc63SEmmanuel Vadot				reg = <0 0x0ae96400 0 0x200>,
16278d13bc63SEmmanuel Vadot				      <0 0x0ae96600 0 0x280>,
16288d13bc63SEmmanuel Vadot				      <0 0x0ae96a00 0 0x10e>;
16298d13bc63SEmmanuel Vadot				reg-names = "dsi_phy",
16308d13bc63SEmmanuel Vadot					    "dsi_phy_lane",
16318d13bc63SEmmanuel Vadot					    "dsi_pll";
16328d13bc63SEmmanuel Vadot
16338d13bc63SEmmanuel Vadot				#clock-cells = <1>;
16348d13bc63SEmmanuel Vadot				#phy-cells = <0>;
16358d13bc63SEmmanuel Vadot
16368d13bc63SEmmanuel Vadot				clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
16378d13bc63SEmmanuel Vadot					 <&rpmhcc RPMH_CXO_CLK>;
16388d13bc63SEmmanuel Vadot				clock-names = "iface", "ref";
16398d13bc63SEmmanuel Vadot
16408d13bc63SEmmanuel Vadot				status = "disabled";
16418d13bc63SEmmanuel Vadot			};
16428d13bc63SEmmanuel Vadot		};
16438d13bc63SEmmanuel Vadot
16448d13bc63SEmmanuel Vadot		dispcc: clock-controller@af00000 {
16458d13bc63SEmmanuel Vadot			compatible = "qcom,sdm845-dispcc";
16468d13bc63SEmmanuel Vadot			reg = <0 0x0af00000 0 0x10000>;
16478d13bc63SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>,
16488d13bc63SEmmanuel Vadot				 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
16498d13bc63SEmmanuel Vadot				 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
16508d13bc63SEmmanuel Vadot				 <&mdss_dsi0_phy 0>,
16518d13bc63SEmmanuel Vadot				 <&mdss_dsi0_phy 1>,
16528d13bc63SEmmanuel Vadot				 <&mdss_dsi1_phy 0>,
16538d13bc63SEmmanuel Vadot				 <&mdss_dsi1_phy 1>,
16548d13bc63SEmmanuel Vadot				 <0>,
16558d13bc63SEmmanuel Vadot				 <0>;
16568d13bc63SEmmanuel Vadot			clock-names = "bi_tcxo",
16578d13bc63SEmmanuel Vadot				      "gcc_disp_gpll0_clk_src",
16588d13bc63SEmmanuel Vadot				      "gcc_disp_gpll0_div_clk_src",
16598d13bc63SEmmanuel Vadot				      "dsi0_phy_pll_out_byteclk",
16608d13bc63SEmmanuel Vadot				      "dsi0_phy_pll_out_dsiclk",
16618d13bc63SEmmanuel Vadot				      "dsi1_phy_pll_out_byteclk",
16628d13bc63SEmmanuel Vadot				      "dsi1_phy_pll_out_dsiclk",
16638d13bc63SEmmanuel Vadot				      "dp_link_clk_divsel_ten",
16648d13bc63SEmmanuel Vadot				      "dp_vco_divided_clk_src_mux";
16658d13bc63SEmmanuel Vadot			#clock-cells = <1>;
16668d13bc63SEmmanuel Vadot			#reset-cells = <1>;
16678d13bc63SEmmanuel Vadot			#power-domain-cells = <1>;
16688d13bc63SEmmanuel Vadot		};
16698d13bc63SEmmanuel Vadot
16708bab661aSEmmanuel Vadot		apps_smmu: iommu@15000000 {
16718bab661aSEmmanuel Vadot			compatible = "qcom,sdm670-smmu-500", "qcom,smmu-500", "arm,mmu-500";
16728bab661aSEmmanuel Vadot			reg = <0 0x15000000 0 0x80000>;
16738bab661aSEmmanuel Vadot			#iommu-cells = <2>;
16748bab661aSEmmanuel Vadot			#global-interrupts = <1>;
16758bab661aSEmmanuel Vadot			interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>,
16768bab661aSEmmanuel Vadot				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>,
16778bab661aSEmmanuel Vadot				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>,
16788bab661aSEmmanuel Vadot				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>,
16798bab661aSEmmanuel Vadot				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>,
16808bab661aSEmmanuel Vadot				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>,
16818bab661aSEmmanuel Vadot				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>,
16828bab661aSEmmanuel Vadot				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>,
16838bab661aSEmmanuel Vadot				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>,
16848bab661aSEmmanuel Vadot				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
16858bab661aSEmmanuel Vadot				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
16868bab661aSEmmanuel Vadot				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
16878bab661aSEmmanuel Vadot				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
16888bab661aSEmmanuel Vadot				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
16898bab661aSEmmanuel Vadot				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
16908bab661aSEmmanuel Vadot				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
16918bab661aSEmmanuel Vadot				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
16928bab661aSEmmanuel Vadot				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
16938bab661aSEmmanuel Vadot				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
16948bab661aSEmmanuel Vadot				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
16958bab661aSEmmanuel Vadot				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
16968bab661aSEmmanuel Vadot				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
16978bab661aSEmmanuel Vadot				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
16988bab661aSEmmanuel Vadot				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
16998bab661aSEmmanuel Vadot				     <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>,
17008bab661aSEmmanuel Vadot				     <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>,
17018bab661aSEmmanuel Vadot				     <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>,
17028bab661aSEmmanuel Vadot				     <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
17038bab661aSEmmanuel Vadot				     <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>,
17048bab661aSEmmanuel Vadot				     <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>,
17058bab661aSEmmanuel Vadot				     <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>,
17068bab661aSEmmanuel Vadot				     <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>,
17078bab661aSEmmanuel Vadot				     <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>,
17088bab661aSEmmanuel Vadot				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>,
17098bab661aSEmmanuel Vadot				     <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>,
17108bab661aSEmmanuel Vadot				     <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>,
17118bab661aSEmmanuel Vadot				     <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
17128bab661aSEmmanuel Vadot				     <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
17138bab661aSEmmanuel Vadot				     <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
17148bab661aSEmmanuel Vadot				     <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>,
17158bab661aSEmmanuel Vadot				     <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>,
17168bab661aSEmmanuel Vadot				     <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
17178bab661aSEmmanuel Vadot				     <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
17188bab661aSEmmanuel Vadot				     <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
17198bab661aSEmmanuel Vadot				     <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
17208bab661aSEmmanuel Vadot				     <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
17218bab661aSEmmanuel Vadot				     <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
17228bab661aSEmmanuel Vadot				     <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
17238bab661aSEmmanuel Vadot				     <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
17248bab661aSEmmanuel Vadot				     <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
17258bab661aSEmmanuel Vadot				     <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
17268bab661aSEmmanuel Vadot				     <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
17278bab661aSEmmanuel Vadot				     <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
17288bab661aSEmmanuel Vadot				     <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>,
17298bab661aSEmmanuel Vadot				     <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
17308bab661aSEmmanuel Vadot				     <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
17318bab661aSEmmanuel Vadot				     <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
17328bab661aSEmmanuel Vadot				     <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
17338bab661aSEmmanuel Vadot				     <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
17348bab661aSEmmanuel Vadot				     <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
17358bab661aSEmmanuel Vadot				     <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
17368bab661aSEmmanuel Vadot				     <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
17378bab661aSEmmanuel Vadot				     <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
17388bab661aSEmmanuel Vadot				     <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
17398bab661aSEmmanuel Vadot				     <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>;
17408bab661aSEmmanuel Vadot		};
17418bab661aSEmmanuel Vadot
1742cb7aa33aSEmmanuel Vadot		gladiator_noc: interconnect@17900000 {
1743cb7aa33aSEmmanuel Vadot			compatible = "qcom,sdm670-gladiator-noc";
1744cb7aa33aSEmmanuel Vadot			reg = <0 0x17900000 0 0xd080>;
1745cb7aa33aSEmmanuel Vadot			#interconnect-cells = <2>;
1746cb7aa33aSEmmanuel Vadot			qcom,bcm-voters = <&apps_bcm_voter>;
1747cb7aa33aSEmmanuel Vadot		};
1748cb7aa33aSEmmanuel Vadot
17498bab661aSEmmanuel Vadot		apps_rsc: rsc@179c0000 {
17508bab661aSEmmanuel Vadot			compatible = "qcom,rpmh-rsc";
17518bab661aSEmmanuel Vadot			reg = <0 0x179c0000 0 0x10000>,
17528bab661aSEmmanuel Vadot			      <0 0x179d0000 0 0x10000>,
17538bab661aSEmmanuel Vadot			      <0 0x179e0000 0 0x10000>;
17548bab661aSEmmanuel Vadot			reg-names = "drv-0", "drv-1", "drv-2";
17558bab661aSEmmanuel Vadot			interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
17568bab661aSEmmanuel Vadot				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
17578bab661aSEmmanuel Vadot				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
17588bab661aSEmmanuel Vadot			label = "apps_rsc";
17598bab661aSEmmanuel Vadot			qcom,tcs-offset = <0xd00>;
17608bab661aSEmmanuel Vadot			qcom,drv-id = <2>;
17618bab661aSEmmanuel Vadot			qcom,tcs-config = <ACTIVE_TCS  2>,
17628bab661aSEmmanuel Vadot					  <SLEEP_TCS   3>,
17638bab661aSEmmanuel Vadot					  <WAKE_TCS    3>,
17648bab661aSEmmanuel Vadot					  <CONTROL_TCS 1>;
1765f126890aSEmmanuel Vadot			power-domains = <&CLUSTER_PD>;
17668bab661aSEmmanuel Vadot
17678bab661aSEmmanuel Vadot			apps_bcm_voter: bcm-voter {
17688bab661aSEmmanuel Vadot				compatible = "qcom,bcm-voter";
17698bab661aSEmmanuel Vadot			};
17708bab661aSEmmanuel Vadot
17718bab661aSEmmanuel Vadot			rpmhcc: clock-controller {
17728bab661aSEmmanuel Vadot				compatible = "qcom,sdm670-rpmh-clk";
17738bab661aSEmmanuel Vadot				#clock-cells = <1>;
17748bab661aSEmmanuel Vadot				clock-names = "xo";
17758bab661aSEmmanuel Vadot				clocks = <&xo_board>;
17768bab661aSEmmanuel Vadot			};
17778bab661aSEmmanuel Vadot
17788bab661aSEmmanuel Vadot			rpmhpd: power-controller {
17798bab661aSEmmanuel Vadot				compatible = "qcom,sdm670-rpmhpd";
17808bab661aSEmmanuel Vadot				#power-domain-cells = <1>;
17818bab661aSEmmanuel Vadot				operating-points-v2 = <&rpmhpd_opp_table>;
17828bab661aSEmmanuel Vadot
17838bab661aSEmmanuel Vadot				rpmhpd_opp_table: opp-table {
17848bab661aSEmmanuel Vadot					compatible = "operating-points-v2";
17858bab661aSEmmanuel Vadot
17868bab661aSEmmanuel Vadot					rpmhpd_opp_ret: opp1 {
17878bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>;
17888bab661aSEmmanuel Vadot					};
17898bab661aSEmmanuel Vadot
17908bab661aSEmmanuel Vadot					rpmhpd_opp_min_svs: opp2 {
17918bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>;
17928bab661aSEmmanuel Vadot					};
17938bab661aSEmmanuel Vadot
17948bab661aSEmmanuel Vadot					rpmhpd_opp_low_svs: opp3 {
17958bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>;
17968bab661aSEmmanuel Vadot					};
17978bab661aSEmmanuel Vadot
17988bab661aSEmmanuel Vadot					rpmhpd_opp_svs: opp4 {
17998bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_SVS>;
18008bab661aSEmmanuel Vadot					};
18018bab661aSEmmanuel Vadot
18028bab661aSEmmanuel Vadot					rpmhpd_opp_svs_l1: opp5 {
18038bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>;
18048bab661aSEmmanuel Vadot					};
18058bab661aSEmmanuel Vadot
18068bab661aSEmmanuel Vadot					rpmhpd_opp_nom: opp6 {
18078bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_NOM>;
18088bab661aSEmmanuel Vadot					};
18098bab661aSEmmanuel Vadot
18108bab661aSEmmanuel Vadot					rpmhpd_opp_nom_l1: opp7 {
18118bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>;
18128bab661aSEmmanuel Vadot					};
18138bab661aSEmmanuel Vadot
18148bab661aSEmmanuel Vadot					rpmhpd_opp_nom_l2: opp8 {
18158bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>;
18168bab661aSEmmanuel Vadot					};
18178bab661aSEmmanuel Vadot
18188bab661aSEmmanuel Vadot					rpmhpd_opp_turbo: opp9 {
18198bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_TURBO>;
18208bab661aSEmmanuel Vadot					};
18218bab661aSEmmanuel Vadot
18228bab661aSEmmanuel Vadot					rpmhpd_opp_turbo_l1: opp10 {
18238bab661aSEmmanuel Vadot						opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>;
18248bab661aSEmmanuel Vadot					};
18258bab661aSEmmanuel Vadot				};
18268bab661aSEmmanuel Vadot			};
18278bab661aSEmmanuel Vadot		};
18288bab661aSEmmanuel Vadot
18298bab661aSEmmanuel Vadot		intc: interrupt-controller@17a00000 {
18308bab661aSEmmanuel Vadot			compatible = "arm,gic-v3";
18318bab661aSEmmanuel Vadot			reg = <0 0x17a00000 0 0x10000>,     /* GICD */
18328bab661aSEmmanuel Vadot			      <0 0x17a60000 0 0x100000>;    /* GICR * 8 */
18338bab661aSEmmanuel Vadot			interrupt-controller;
18348bab661aSEmmanuel Vadot			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
18358bab661aSEmmanuel Vadot			#interrupt-cells = <3>;
18368bab661aSEmmanuel Vadot		};
1837aa1a8ff2SEmmanuel Vadot
1838aa1a8ff2SEmmanuel Vadot		osm_l3: interconnect@17d41000 {
1839aa1a8ff2SEmmanuel Vadot			compatible = "qcom,sdm670-osm-l3", "qcom,osm-l3";
1840aa1a8ff2SEmmanuel Vadot			reg = <0 0x17d41000 0 0x1400>;
1841aa1a8ff2SEmmanuel Vadot
1842aa1a8ff2SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
1843aa1a8ff2SEmmanuel Vadot			clock-names = "xo", "alternate";
1844aa1a8ff2SEmmanuel Vadot
1845aa1a8ff2SEmmanuel Vadot			#interconnect-cells = <1>;
1846aa1a8ff2SEmmanuel Vadot		};
1847aa1a8ff2SEmmanuel Vadot
1848aa1a8ff2SEmmanuel Vadot		cpufreq_hw: cpufreq@17d43000 {
18498d13bc63SEmmanuel Vadot			compatible = "qcom,sdm670-cpufreq-hw", "qcom,cpufreq-hw";
1850aa1a8ff2SEmmanuel Vadot			reg = <0 0x17d43000 0 0x1400>, <0 0x17d45800 0 0x1400>;
1851aa1a8ff2SEmmanuel Vadot			reg-names = "freq-domain0", "freq-domain1";
1852aa1a8ff2SEmmanuel Vadot
1853aa1a8ff2SEmmanuel Vadot			clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
1854aa1a8ff2SEmmanuel Vadot			clock-names = "xo", "alternate";
1855aa1a8ff2SEmmanuel Vadot
1856aa1a8ff2SEmmanuel Vadot			#freq-domain-cells = <1>;
1857aa1a8ff2SEmmanuel Vadot		};
18588bab661aSEmmanuel Vadot	};
18598bab661aSEmmanuel Vadot};
1860