14807c71cSJoonwoo Park// SPDX-License-Identifier: GPL-2.0
24807c71cSJoonwoo Park/* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
34807c71cSJoonwoo Park
44807c71cSJoonwoo Park#include <dt-bindings/interrupt-controller/arm-gic.h>
54807c71cSJoonwoo Park#include <dt-bindings/clock/qcom,gcc-msm8998.h>
61fb28636SMarc Gonzalez#include <dt-bindings/clock/qcom,rpmcc.h>
7460f13caSSibi Sankar#include <dt-bindings/power/qcom-rpmpd.h>
823bd4f78SJeffrey Hugo#include <dt-bindings/gpio/gpio.h>
94807c71cSJoonwoo Park
104807c71cSJoonwoo Park/ {
114807c71cSJoonwoo Park	interrupt-parent = <&intc>;
124807c71cSJoonwoo Park
134807c71cSJoonwoo Park	qcom,msm-id = <292 0x0>;
144807c71cSJoonwoo Park
154807c71cSJoonwoo Park	#address-cells = <2>;
164807c71cSJoonwoo Park	#size-cells = <2>;
174807c71cSJoonwoo Park
184807c71cSJoonwoo Park	chosen { };
194807c71cSJoonwoo Park
204807c71cSJoonwoo Park	memory {
214807c71cSJoonwoo Park		device_type = "memory";
224807c71cSJoonwoo Park		/* We expect the bootloader to fill in the reg */
234807c71cSJoonwoo Park		reg = <0 0 0 0>;
244807c71cSJoonwoo Park	};
254807c71cSJoonwoo Park
26c7833949SBjorn Andersson	reserved-memory {
27c7833949SBjorn Andersson		#address-cells = <2>;
28c7833949SBjorn Andersson		#size-cells = <2>;
29c7833949SBjorn Andersson		ranges;
30c7833949SBjorn Andersson
31c7833949SBjorn Andersson		memory@85800000 {
32c7833949SBjorn Andersson			reg = <0x0 0x85800000 0x0 0x800000>;
33c7833949SBjorn Andersson			no-map;
34c7833949SBjorn Andersson		};
35c7833949SBjorn Andersson
36c7833949SBjorn Andersson		smem_mem: smem-mem@86000000 {
37c7833949SBjorn Andersson			reg = <0x0 0x86000000 0x0 0x200000>;
38c7833949SBjorn Andersson			no-map;
39c7833949SBjorn Andersson		};
40c7833949SBjorn Andersson
41c7833949SBjorn Andersson		memory@86200000 {
426e533309SMarc Gonzalez			reg = <0x0 0x86200000 0x0 0x2d00000>;
43c7833949SBjorn Andersson			no-map;
44c7833949SBjorn Andersson		};
45c7833949SBjorn Andersson
46c7833949SBjorn Andersson		rmtfs {
47c7833949SBjorn Andersson			compatible = "qcom,rmtfs-mem";
48c7833949SBjorn Andersson
49c7833949SBjorn Andersson			size = <0x0 0x200000>;
50c7833949SBjorn Andersson			alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
51c7833949SBjorn Andersson			no-map;
52c7833949SBjorn Andersson
53c7833949SBjorn Andersson			qcom,client-id = <1>;
54c7833949SBjorn Andersson			qcom,vmid = <15>;
55c7833949SBjorn Andersson		};
56c7833949SBjorn Andersson	};
57c7833949SBjorn Andersson
584807c71cSJoonwoo Park	clocks {
59818046ebSAndy Gross		xo: xo-board {
604807c71cSJoonwoo Park			compatible = "fixed-clock";
614807c71cSJoonwoo Park			#clock-cells = <0>;
624807c71cSJoonwoo Park			clock-frequency = <19200000>;
63818046ebSAndy Gross			clock-output-names = "xo_board";
644807c71cSJoonwoo Park		};
654807c71cSJoonwoo Park
664807c71cSJoonwoo Park		sleep_clk {
674807c71cSJoonwoo Park			compatible = "fixed-clock";
684807c71cSJoonwoo Park			#clock-cells = <0>;
694807c71cSJoonwoo Park			clock-frequency = <32764>;
704807c71cSJoonwoo Park		};
714807c71cSJoonwoo Park	};
724807c71cSJoonwoo Park
734807c71cSJoonwoo Park	cpus {
744807c71cSJoonwoo Park		#address-cells = <2>;
754807c71cSJoonwoo Park		#size-cells = <0>;
764807c71cSJoonwoo Park
774807c71cSJoonwoo Park		CPU0: cpu@0 {
784807c71cSJoonwoo Park			device_type = "cpu";
794807c71cSJoonwoo Park			compatible = "arm,armv8";
804807c71cSJoonwoo Park			reg = <0x0 0x0>;
814807c71cSJoonwoo Park			enable-method = "psci";
82c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
834807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
844807c71cSJoonwoo Park			L2_0: l2-cache {
854807c71cSJoonwoo Park				compatible = "arm,arch-cache";
864807c71cSJoonwoo Park				cache-level = <2>;
874807c71cSJoonwoo Park			};
884807c71cSJoonwoo Park			L1_I_0: l1-icache {
894807c71cSJoonwoo Park				compatible = "arm,arch-cache";
904807c71cSJoonwoo Park			};
914807c71cSJoonwoo Park			L1_D_0: l1-dcache {
924807c71cSJoonwoo Park				compatible = "arm,arch-cache";
934807c71cSJoonwoo Park			};
944807c71cSJoonwoo Park		};
954807c71cSJoonwoo Park
964807c71cSJoonwoo Park		CPU1: cpu@1 {
974807c71cSJoonwoo Park			device_type = "cpu";
984807c71cSJoonwoo Park			compatible = "arm,armv8";
994807c71cSJoonwoo Park			reg = <0x0 0x1>;
1004807c71cSJoonwoo Park			enable-method = "psci";
101c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1024807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1034807c71cSJoonwoo Park			L1_I_1: l1-icache {
1044807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1054807c71cSJoonwoo Park			};
1064807c71cSJoonwoo Park			L1_D_1: l1-dcache {
1074807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1084807c71cSJoonwoo Park			};
1094807c71cSJoonwoo Park		};
1104807c71cSJoonwoo Park
1114807c71cSJoonwoo Park		CPU2: cpu@2 {
1124807c71cSJoonwoo Park			device_type = "cpu";
1134807c71cSJoonwoo Park			compatible = "arm,armv8";
1144807c71cSJoonwoo Park			reg = <0x0 0x2>;
1154807c71cSJoonwoo Park			enable-method = "psci";
116c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1174807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1184807c71cSJoonwoo Park			L1_I_2: l1-icache {
1194807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1204807c71cSJoonwoo Park			};
1214807c71cSJoonwoo Park			L1_D_2: l1-dcache {
1224807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1234807c71cSJoonwoo Park			};
1244807c71cSJoonwoo Park		};
1254807c71cSJoonwoo Park
1264807c71cSJoonwoo Park		CPU3: cpu@3 {
1274807c71cSJoonwoo Park			device_type = "cpu";
1284807c71cSJoonwoo Park			compatible = "arm,armv8";
1294807c71cSJoonwoo Park			reg = <0x0 0x3>;
1304807c71cSJoonwoo Park			enable-method = "psci";
131c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1324807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1334807c71cSJoonwoo Park			L1_I_3: l1-icache {
1344807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1354807c71cSJoonwoo Park			};
1364807c71cSJoonwoo Park			L1_D_3: l1-dcache {
1374807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1384807c71cSJoonwoo Park			};
1394807c71cSJoonwoo Park		};
1404807c71cSJoonwoo Park
1414807c71cSJoonwoo Park		CPU4: cpu@100 {
1424807c71cSJoonwoo Park			device_type = "cpu";
1434807c71cSJoonwoo Park			compatible = "arm,armv8";
1444807c71cSJoonwoo Park			reg = <0x0 0x100>;
1454807c71cSJoonwoo Park			enable-method = "psci";
146c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
1474807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1484807c71cSJoonwoo Park			L2_1: l2-cache {
1494807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1504807c71cSJoonwoo Park				cache-level = <2>;
1514807c71cSJoonwoo Park			};
1524807c71cSJoonwoo Park			L1_I_100: l1-icache {
1534807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1544807c71cSJoonwoo Park			};
1554807c71cSJoonwoo Park			L1_D_100: l1-dcache {
1564807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1574807c71cSJoonwoo Park			};
1584807c71cSJoonwoo Park		};
1594807c71cSJoonwoo Park
1604807c71cSJoonwoo Park		CPU5: cpu@101 {
1614807c71cSJoonwoo Park			device_type = "cpu";
1624807c71cSJoonwoo Park			compatible = "arm,armv8";
1634807c71cSJoonwoo Park			reg = <0x0 0x101>;
1644807c71cSJoonwoo Park			enable-method = "psci";
165c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
1664807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1674807c71cSJoonwoo Park			L1_I_101: l1-icache {
1684807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1694807c71cSJoonwoo Park			};
1704807c71cSJoonwoo Park			L1_D_101: l1-dcache {
1714807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1724807c71cSJoonwoo Park			};
1734807c71cSJoonwoo Park		};
1744807c71cSJoonwoo Park
1754807c71cSJoonwoo Park		CPU6: cpu@102 {
1764807c71cSJoonwoo Park			device_type = "cpu";
1774807c71cSJoonwoo Park			compatible = "arm,armv8";
1784807c71cSJoonwoo Park			reg = <0x0 0x102>;
1794807c71cSJoonwoo Park			enable-method = "psci";
180c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
1814807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1824807c71cSJoonwoo Park			L1_I_102: l1-icache {
1834807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1844807c71cSJoonwoo Park			};
1854807c71cSJoonwoo Park			L1_D_102: l1-dcache {
1864807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1874807c71cSJoonwoo Park			};
1884807c71cSJoonwoo Park		};
1894807c71cSJoonwoo Park
1904807c71cSJoonwoo Park		CPU7: cpu@103 {
1914807c71cSJoonwoo Park			device_type = "cpu";
1924807c71cSJoonwoo Park			compatible = "arm,armv8";
1934807c71cSJoonwoo Park			reg = <0x0 0x103>;
1944807c71cSJoonwoo Park			enable-method = "psci";
195c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
1964807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1974807c71cSJoonwoo Park			L1_I_103: l1-icache {
1984807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1994807c71cSJoonwoo Park			};
2004807c71cSJoonwoo Park			L1_D_103: l1-dcache {
2014807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2024807c71cSJoonwoo Park			};
2034807c71cSJoonwoo Park		};
2044807c71cSJoonwoo Park
2054807c71cSJoonwoo Park		cpu-map {
2064807c71cSJoonwoo Park			cluster0 {
2074807c71cSJoonwoo Park				core0 {
2084807c71cSJoonwoo Park					cpu = <&CPU0>;
2094807c71cSJoonwoo Park				};
2104807c71cSJoonwoo Park
2114807c71cSJoonwoo Park				core1 {
2124807c71cSJoonwoo Park					cpu = <&CPU1>;
2134807c71cSJoonwoo Park				};
2144807c71cSJoonwoo Park
2154807c71cSJoonwoo Park				core2 {
2164807c71cSJoonwoo Park					cpu = <&CPU2>;
2174807c71cSJoonwoo Park				};
2184807c71cSJoonwoo Park
2194807c71cSJoonwoo Park				core3 {
2204807c71cSJoonwoo Park					cpu = <&CPU3>;
2214807c71cSJoonwoo Park				};
2224807c71cSJoonwoo Park			};
2234807c71cSJoonwoo Park
2244807c71cSJoonwoo Park			cluster1 {
2254807c71cSJoonwoo Park				core0 {
2264807c71cSJoonwoo Park					cpu = <&CPU4>;
2274807c71cSJoonwoo Park				};
2284807c71cSJoonwoo Park
2294807c71cSJoonwoo Park				core1 {
2304807c71cSJoonwoo Park					cpu = <&CPU5>;
2314807c71cSJoonwoo Park				};
2324807c71cSJoonwoo Park
2334807c71cSJoonwoo Park				core2 {
2344807c71cSJoonwoo Park					cpu = <&CPU6>;
2354807c71cSJoonwoo Park				};
2364807c71cSJoonwoo Park
2374807c71cSJoonwoo Park				core3 {
2384807c71cSJoonwoo Park					cpu = <&CPU7>;
2394807c71cSJoonwoo Park				};
2404807c71cSJoonwoo Park			};
2414807c71cSJoonwoo Park		};
242c3083c80SAmit Kucheria
243c3083c80SAmit Kucheria		idle-states {
244c3083c80SAmit Kucheria			entry-method = "psci";
245c3083c80SAmit Kucheria
246c3083c80SAmit Kucheria			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
247c3083c80SAmit Kucheria				compatible = "arm,idle-state";
248c3083c80SAmit Kucheria				idle-state-name = "little-retention";
249c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x00000002>;
250c3083c80SAmit Kucheria				entry-latency-us = <81>;
251c3083c80SAmit Kucheria				exit-latency-us = <86>;
252c3083c80SAmit Kucheria				min-residency-us = <200>;
253c3083c80SAmit Kucheria			};
254c3083c80SAmit Kucheria
255c3083c80SAmit Kucheria			LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
256c3083c80SAmit Kucheria				compatible = "arm,idle-state";
257c3083c80SAmit Kucheria				idle-state-name = "little-power-collapse";
258c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x40000003>;
259c3083c80SAmit Kucheria				entry-latency-us = <273>;
260c3083c80SAmit Kucheria				exit-latency-us = <612>;
261c3083c80SAmit Kucheria				min-residency-us = <1000>;
262c3083c80SAmit Kucheria				local-timer-stop;
263c3083c80SAmit Kucheria			};
264c3083c80SAmit Kucheria
265c3083c80SAmit Kucheria			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
266c3083c80SAmit Kucheria				compatible = "arm,idle-state";
267c3083c80SAmit Kucheria				idle-state-name = "big-retention";
268c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x00000002>;
269c3083c80SAmit Kucheria				entry-latency-us = <79>;
270c3083c80SAmit Kucheria				exit-latency-us = <82>;
271c3083c80SAmit Kucheria				min-residency-us = <200>;
272c3083c80SAmit Kucheria			};
273c3083c80SAmit Kucheria
274c3083c80SAmit Kucheria			BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
275c3083c80SAmit Kucheria				compatible = "arm,idle-state";
276c3083c80SAmit Kucheria				idle-state-name = "big-power-collapse";
277c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x40000003>;
278c3083c80SAmit Kucheria				entry-latency-us = <336>;
279c3083c80SAmit Kucheria				exit-latency-us = <525>;
280c3083c80SAmit Kucheria				min-residency-us = <1000>;
281c3083c80SAmit Kucheria				local-timer-stop;
282c3083c80SAmit Kucheria			};
283c3083c80SAmit Kucheria		};
2844807c71cSJoonwoo Park	};
2854807c71cSJoonwoo Park
286d850156aSBjorn Andersson	firmware {
287d850156aSBjorn Andersson		scm {
28870827d9fSBjorn Andersson			compatible = "qcom,scm-msm8998", "qcom,scm";
289d850156aSBjorn Andersson		};
290d850156aSBjorn Andersson	};
291d850156aSBjorn Andersson
292c7833949SBjorn Andersson	tcsr_mutex: hwlock {
293c7833949SBjorn Andersson		compatible = "qcom,tcsr-mutex";
294c7833949SBjorn Andersson		syscon = <&tcsr_mutex_regs 0 0x1000>;
295c7833949SBjorn Andersson		#hwlock-cells = <1>;
296c7833949SBjorn Andersson	};
297c7833949SBjorn Andersson
2984807c71cSJoonwoo Park	psci {
2994807c71cSJoonwoo Park		compatible = "arm,psci-1.0";
3004807c71cSJoonwoo Park		method = "smc";
3014807c71cSJoonwoo Park	};
3024807c71cSJoonwoo Park
30331c1f0e3SBjorn Andersson	rpm-glink {
30431c1f0e3SBjorn Andersson		compatible = "qcom,glink-rpm";
30531c1f0e3SBjorn Andersson
30631c1f0e3SBjorn Andersson		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
30731c1f0e3SBjorn Andersson		qcom,rpm-msg-ram = <&rpm_msg_ram>;
30831c1f0e3SBjorn Andersson		mboxes = <&apcs_glb 0>;
30931c1f0e3SBjorn Andersson
31031c1f0e3SBjorn Andersson		rpm_requests: rpm-requests {
31131c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msm8998";
31231c1f0e3SBjorn Andersson			qcom,glink-channels = "rpm_requests";
3131fb28636SMarc Gonzalez
3141fb28636SMarc Gonzalez			rpmcc: clock-controller {
3151fb28636SMarc Gonzalez				compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
3161fb28636SMarc Gonzalez				#clock-cells = <1>;
3171fb28636SMarc Gonzalez			};
318460f13caSSibi Sankar
319460f13caSSibi Sankar			rpmpd: power-controller {
320460f13caSSibi Sankar				compatible = "qcom,msm8998-rpmpd";
321460f13caSSibi Sankar				#power-domain-cells = <1>;
322460f13caSSibi Sankar				operating-points-v2 = <&rpmpd_opp_table>;
323460f13caSSibi Sankar
324460f13caSSibi Sankar				rpmpd_opp_table: opp-table {
325460f13caSSibi Sankar					compatible = "operating-points-v2";
326460f13caSSibi Sankar
327460f13caSSibi Sankar					rpmpd_opp_ret: opp1 {
328460f13caSSibi Sankar						opp-level = <16>;
329460f13caSSibi Sankar					};
330460f13caSSibi Sankar
331460f13caSSibi Sankar					rpmpd_opp_ret_plus: opp2 {
332460f13caSSibi Sankar						opp-level = <32>;
333460f13caSSibi Sankar					};
334460f13caSSibi Sankar
335460f13caSSibi Sankar					rpmpd_opp_min_svs: opp3 {
336460f13caSSibi Sankar						opp-level = <48>;
337460f13caSSibi Sankar					};
338460f13caSSibi Sankar
339460f13caSSibi Sankar					rpmpd_opp_low_svs: opp4 {
340460f13caSSibi Sankar						opp-level = <64>;
341460f13caSSibi Sankar					};
342460f13caSSibi Sankar
343460f13caSSibi Sankar					rpmpd_opp_svs: opp5 {
344460f13caSSibi Sankar						opp-level = <128>;
345460f13caSSibi Sankar					};
346460f13caSSibi Sankar
347460f13caSSibi Sankar					rpmpd_opp_svs_plus: opp6 {
348460f13caSSibi Sankar						opp-level = <192>;
349460f13caSSibi Sankar					};
350460f13caSSibi Sankar
351460f13caSSibi Sankar					rpmpd_opp_nom: opp7 {
352460f13caSSibi Sankar						opp-level = <256>;
353460f13caSSibi Sankar					};
354460f13caSSibi Sankar
355460f13caSSibi Sankar					rpmpd_opp_nom_plus: opp8 {
356460f13caSSibi Sankar						opp-level = <320>;
357460f13caSSibi Sankar					};
358460f13caSSibi Sankar
359460f13caSSibi Sankar					rpmpd_opp_turbo: opp9 {
360460f13caSSibi Sankar						opp-level = <384>;
361460f13caSSibi Sankar					};
362460f13caSSibi Sankar
363460f13caSSibi Sankar					rpmpd_opp_turbo_plus: opp10 {
364460f13caSSibi Sankar						opp-level = <512>;
365460f13caSSibi Sankar					};
366460f13caSSibi Sankar				};
367460f13caSSibi Sankar			};
36831c1f0e3SBjorn Andersson		};
36931c1f0e3SBjorn Andersson	};
37031c1f0e3SBjorn Andersson
371c7833949SBjorn Andersson	smem {
372c7833949SBjorn Andersson		compatible = "qcom,smem";
373c7833949SBjorn Andersson		memory-region = <&smem_mem>;
374c7833949SBjorn Andersson		hwlocks = <&tcsr_mutex 3>;
375c7833949SBjorn Andersson	};
376c7833949SBjorn Andersson
377e8d006fdSBjorn Andersson	smp2p-lpass {
378e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
379e8d006fdSBjorn Andersson		qcom,smem = <443>, <429>;
380e8d006fdSBjorn Andersson
381e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
382e8d006fdSBjorn Andersson
383e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 10>;
384e8d006fdSBjorn Andersson
385e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
386e8d006fdSBjorn Andersson		qcom,remote-pid = <2>;
387e8d006fdSBjorn Andersson
388e8d006fdSBjorn Andersson		adsp_smp2p_out: master-kernel {
389e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
390e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
391e8d006fdSBjorn Andersson		};
392e8d006fdSBjorn Andersson
393e8d006fdSBjorn Andersson		adsp_smp2p_in: slave-kernel {
394e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
395e8d006fdSBjorn Andersson
396e8d006fdSBjorn Andersson			interrupt-controller;
397e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
398e8d006fdSBjorn Andersson		};
399e8d006fdSBjorn Andersson	};
400e8d006fdSBjorn Andersson
401e8d006fdSBjorn Andersson	smp2p-mpss {
402e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
403e8d006fdSBjorn Andersson		qcom,smem = <435>, <428>;
404e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
405e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 14>;
406e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
407e8d006fdSBjorn Andersson		qcom,remote-pid = <1>;
408e8d006fdSBjorn Andersson
409e8d006fdSBjorn Andersson		modem_smp2p_out: master-kernel {
410e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
411e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
412e8d006fdSBjorn Andersson		};
413e8d006fdSBjorn Andersson
414e8d006fdSBjorn Andersson		modem_smp2p_in: slave-kernel {
415e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
416e8d006fdSBjorn Andersson			interrupt-controller;
417e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
418e8d006fdSBjorn Andersson		};
419e8d006fdSBjorn Andersson	};
420e8d006fdSBjorn Andersson
421e8d006fdSBjorn Andersson	smp2p-slpi {
422e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
423e8d006fdSBjorn Andersson		qcom,smem = <481>, <430>;
424e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
425e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 26>;
426e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
427e8d006fdSBjorn Andersson		qcom,remote-pid = <3>;
428e8d006fdSBjorn Andersson
429e8d006fdSBjorn Andersson		slpi_smp2p_out: master-kernel {
430e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
431e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
432e8d006fdSBjorn Andersson		};
433e8d006fdSBjorn Andersson
434e8d006fdSBjorn Andersson		slpi_smp2p_in: slave-kernel {
435e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
436e8d006fdSBjorn Andersson			interrupt-controller;
437e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
438e8d006fdSBjorn Andersson		};
439e8d006fdSBjorn Andersson	};
440e8d006fdSBjorn Andersson
4414449b6f2SBjorn Andersson	thermal-zones {
442ae8876ddSAmit Kucheria		cpu0-thermal {
4434449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4444449b6f2SBjorn Andersson			polling-delay = <1000>;
4454449b6f2SBjorn Andersson
446b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 1>;
4474449b6f2SBjorn Andersson
4484449b6f2SBjorn Andersson			trips {
449ae8876ddSAmit Kucheria				cpu0_alert0: trip-point@0 {
4504449b6f2SBjorn Andersson					temperature = <75000>;
4514449b6f2SBjorn Andersson					hysteresis = <2000>;
4524449b6f2SBjorn Andersson					type = "passive";
4534449b6f2SBjorn Andersson				};
4544449b6f2SBjorn Andersson
455ae8876ddSAmit Kucheria				cpu0_crit: cpu_crit {
4564449b6f2SBjorn Andersson					temperature = <110000>;
4574449b6f2SBjorn Andersson					hysteresis = <2000>;
4584449b6f2SBjorn Andersson					type = "critical";
4594449b6f2SBjorn Andersson				};
4604449b6f2SBjorn Andersson			};
4614449b6f2SBjorn Andersson		};
4624449b6f2SBjorn Andersson
463ae8876ddSAmit Kucheria		cpu1-thermal {
4644449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4654449b6f2SBjorn Andersson			polling-delay = <1000>;
4664449b6f2SBjorn Andersson
467b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 2>;
4684449b6f2SBjorn Andersson
4694449b6f2SBjorn Andersson			trips {
470ae8876ddSAmit Kucheria				cpu1_alert0: trip-point@0 {
4714449b6f2SBjorn Andersson					temperature = <75000>;
4724449b6f2SBjorn Andersson					hysteresis = <2000>;
4734449b6f2SBjorn Andersson					type = "passive";
4744449b6f2SBjorn Andersson				};
4754449b6f2SBjorn Andersson
476ae8876ddSAmit Kucheria				cpu1_crit: cpu_crit {
4774449b6f2SBjorn Andersson					temperature = <110000>;
4784449b6f2SBjorn Andersson					hysteresis = <2000>;
4794449b6f2SBjorn Andersson					type = "critical";
4804449b6f2SBjorn Andersson				};
4814449b6f2SBjorn Andersson			};
4824449b6f2SBjorn Andersson		};
4834449b6f2SBjorn Andersson
484ae8876ddSAmit Kucheria		cpu2-thermal {
4854449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4864449b6f2SBjorn Andersson			polling-delay = <1000>;
4874449b6f2SBjorn Andersson
488b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 3>;
4894449b6f2SBjorn Andersson
4904449b6f2SBjorn Andersson			trips {
491ae8876ddSAmit Kucheria				cpu2_alert0: trip-point@0 {
4924449b6f2SBjorn Andersson					temperature = <75000>;
4934449b6f2SBjorn Andersson					hysteresis = <2000>;
4944449b6f2SBjorn Andersson					type = "passive";
4954449b6f2SBjorn Andersson				};
4964449b6f2SBjorn Andersson
497ae8876ddSAmit Kucheria				cpu2_crit: cpu_crit {
4984449b6f2SBjorn Andersson					temperature = <110000>;
4994449b6f2SBjorn Andersson					hysteresis = <2000>;
5004449b6f2SBjorn Andersson					type = "critical";
5014449b6f2SBjorn Andersson				};
5024449b6f2SBjorn Andersson			};
5034449b6f2SBjorn Andersson		};
5044449b6f2SBjorn Andersson
505ae8876ddSAmit Kucheria		cpu3-thermal {
5064449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5074449b6f2SBjorn Andersson			polling-delay = <1000>;
5084449b6f2SBjorn Andersson
509b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 4>;
5104449b6f2SBjorn Andersson
5114449b6f2SBjorn Andersson			trips {
512ae8876ddSAmit Kucheria				cpu3_alert0: trip-point@0 {
5134449b6f2SBjorn Andersson					temperature = <75000>;
5144449b6f2SBjorn Andersson					hysteresis = <2000>;
5154449b6f2SBjorn Andersson					type = "passive";
5164449b6f2SBjorn Andersson				};
5174449b6f2SBjorn Andersson
518ae8876ddSAmit Kucheria				cpu3_crit: cpu_crit {
5194449b6f2SBjorn Andersson					temperature = <110000>;
5204449b6f2SBjorn Andersson					hysteresis = <2000>;
5214449b6f2SBjorn Andersson					type = "critical";
5224449b6f2SBjorn Andersson				};
5234449b6f2SBjorn Andersson			};
5244449b6f2SBjorn Andersson		};
5254449b6f2SBjorn Andersson
526ae8876ddSAmit Kucheria		cpu4-thermal {
5274449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5284449b6f2SBjorn Andersson			polling-delay = <1000>;
5294449b6f2SBjorn Andersson
5304449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 7>;
5314449b6f2SBjorn Andersson
5324449b6f2SBjorn Andersson			trips {
533ae8876ddSAmit Kucheria				cpu4_alert0: trip-point@0 {
5344449b6f2SBjorn Andersson					temperature = <75000>;
5354449b6f2SBjorn Andersson					hysteresis = <2000>;
5364449b6f2SBjorn Andersson					type = "passive";
5374449b6f2SBjorn Andersson				};
5384449b6f2SBjorn Andersson
539ae8876ddSAmit Kucheria				cpu4_crit: cpu_crit {
5404449b6f2SBjorn Andersson					temperature = <110000>;
5414449b6f2SBjorn Andersson					hysteresis = <2000>;
5424449b6f2SBjorn Andersson					type = "critical";
5434449b6f2SBjorn Andersson				};
5444449b6f2SBjorn Andersson			};
5454449b6f2SBjorn Andersson		};
5464449b6f2SBjorn Andersson
547ae8876ddSAmit Kucheria		cpu5-thermal {
5484449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5494449b6f2SBjorn Andersson			polling-delay = <1000>;
5504449b6f2SBjorn Andersson
5514449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 8>;
5524449b6f2SBjorn Andersson
5534449b6f2SBjorn Andersson			trips {
554ae8876ddSAmit Kucheria				cpu5_alert0: trip-point@0 {
5554449b6f2SBjorn Andersson					temperature = <75000>;
5564449b6f2SBjorn Andersson					hysteresis = <2000>;
5574449b6f2SBjorn Andersson					type = "passive";
5584449b6f2SBjorn Andersson				};
5594449b6f2SBjorn Andersson
560ae8876ddSAmit Kucheria				cpu5_crit: cpu_crit {
5614449b6f2SBjorn Andersson					temperature = <110000>;
5624449b6f2SBjorn Andersson					hysteresis = <2000>;
5634449b6f2SBjorn Andersson					type = "critical";
5644449b6f2SBjorn Andersson				};
5654449b6f2SBjorn Andersson			};
5664449b6f2SBjorn Andersson		};
5674449b6f2SBjorn Andersson
568ae8876ddSAmit Kucheria		cpu6-thermal {
5694449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5704449b6f2SBjorn Andersson			polling-delay = <1000>;
5714449b6f2SBjorn Andersson
5724449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 9>;
5734449b6f2SBjorn Andersson
5744449b6f2SBjorn Andersson			trips {
575ae8876ddSAmit Kucheria				cpu6_alert0: trip-point@0 {
5764449b6f2SBjorn Andersson					temperature = <75000>;
5774449b6f2SBjorn Andersson					hysteresis = <2000>;
5784449b6f2SBjorn Andersson					type = "passive";
5794449b6f2SBjorn Andersson				};
5804449b6f2SBjorn Andersson
581ae8876ddSAmit Kucheria				cpu6_crit: cpu_crit {
5824449b6f2SBjorn Andersson					temperature = <110000>;
5834449b6f2SBjorn Andersson					hysteresis = <2000>;
5844449b6f2SBjorn Andersson					type = "critical";
5854449b6f2SBjorn Andersson				};
5864449b6f2SBjorn Andersson			};
5874449b6f2SBjorn Andersson		};
5884449b6f2SBjorn Andersson
589ae8876ddSAmit Kucheria		cpu7-thermal {
5904449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5914449b6f2SBjorn Andersson			polling-delay = <1000>;
5924449b6f2SBjorn Andersson
5934449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 10>;
5944449b6f2SBjorn Andersson
5954449b6f2SBjorn Andersson			trips {
596ae8876ddSAmit Kucheria				cpu7_alert0: trip-point@0 {
5974449b6f2SBjorn Andersson					temperature = <75000>;
5984449b6f2SBjorn Andersson					hysteresis = <2000>;
5994449b6f2SBjorn Andersson					type = "passive";
6004449b6f2SBjorn Andersson				};
6014449b6f2SBjorn Andersson
602ae8876ddSAmit Kucheria				cpu7_crit: cpu_crit {
6034449b6f2SBjorn Andersson					temperature = <110000>;
6044449b6f2SBjorn Andersson					hysteresis = <2000>;
6054449b6f2SBjorn Andersson					type = "critical";
6064449b6f2SBjorn Andersson				};
6074449b6f2SBjorn Andersson			};
6084449b6f2SBjorn Andersson		};
6094449b6f2SBjorn Andersson
6102fa2d301SAmit Kucheria		gpu-thermal-bottom {
6112fa2d301SAmit Kucheria			polling-delay-passive = <250>;
6122fa2d301SAmit Kucheria			polling-delay = <1000>;
6132fa2d301SAmit Kucheria
6142fa2d301SAmit Kucheria			thermal-sensors = <&tsens0 12>;
6152fa2d301SAmit Kucheria
6162fa2d301SAmit Kucheria			trips {
6172fa2d301SAmit Kucheria				gpu1_alert0: trip-point@0 {
6182fa2d301SAmit Kucheria					temperature = <90000>;
6192fa2d301SAmit Kucheria					hysteresis = <2000>;
6202fa2d301SAmit Kucheria					type = "hot";
6212fa2d301SAmit Kucheria				};
6222fa2d301SAmit Kucheria			};
6232fa2d301SAmit Kucheria		};
6242fa2d301SAmit Kucheria
6252fa2d301SAmit Kucheria		gpu-thermal-top {
6264449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6274449b6f2SBjorn Andersson			polling-delay = <1000>;
6284449b6f2SBjorn Andersson
6299284aa44SAmit Kucheria			thermal-sensors = <&tsens0 13>;
6302fa2d301SAmit Kucheria
6312fa2d301SAmit Kucheria			trips {
6322fa2d301SAmit Kucheria				gpu2_alert0: trip-point@0 {
6332fa2d301SAmit Kucheria					temperature = <90000>;
6342fa2d301SAmit Kucheria					hysteresis = <2000>;
6352fa2d301SAmit Kucheria					type = "hot";
6362fa2d301SAmit Kucheria				};
6372fa2d301SAmit Kucheria			};
6384449b6f2SBjorn Andersson		};
639e9d2729dSAmit Kucheria
640060f4211SAmit Kucheria		clust0-mhm-thermal {
641e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
642e9d2729dSAmit Kucheria			polling-delay = <1000>;
643e9d2729dSAmit Kucheria
644e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 5>;
645e9d2729dSAmit Kucheria
646e9d2729dSAmit Kucheria			trips {
647e9d2729dSAmit Kucheria				cluster0_mhm_alert0: trip-point@0 {
648e9d2729dSAmit Kucheria					temperature = <90000>;
649e9d2729dSAmit Kucheria					hysteresis = <2000>;
650e9d2729dSAmit Kucheria					type = "hot";
651e9d2729dSAmit Kucheria				};
652e9d2729dSAmit Kucheria			};
653e9d2729dSAmit Kucheria		};
654e9d2729dSAmit Kucheria
655060f4211SAmit Kucheria		clust1-mhm-thermal {
656e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
657e9d2729dSAmit Kucheria			polling-delay = <1000>;
658e9d2729dSAmit Kucheria
659e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 6>;
660e9d2729dSAmit Kucheria
661e9d2729dSAmit Kucheria			trips {
662e9d2729dSAmit Kucheria				cluster1_mhm_alert0: trip-point@0 {
663e9d2729dSAmit Kucheria					temperature = <90000>;
664e9d2729dSAmit Kucheria					hysteresis = <2000>;
665e9d2729dSAmit Kucheria					type = "hot";
666e9d2729dSAmit Kucheria				};
667e9d2729dSAmit Kucheria			};
668e9d2729dSAmit Kucheria		};
669e9d2729dSAmit Kucheria
670e9d2729dSAmit Kucheria		cluster1-l2-thermal {
6714449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6724449b6f2SBjorn Andersson			polling-delay = <1000>;
6734449b6f2SBjorn Andersson
6744449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 11>;
6754449b6f2SBjorn Andersson
6764449b6f2SBjorn Andersson			trips {
677e9d2729dSAmit Kucheria				cluster1_l2_alert0: trip-point@0 {
678e9d2729dSAmit Kucheria					temperature = <90000>;
6794449b6f2SBjorn Andersson					hysteresis = <2000>;
680e9d2729dSAmit Kucheria					type = "hot";
6814449b6f2SBjorn Andersson				};
6824449b6f2SBjorn Andersson			};
6834449b6f2SBjorn Andersson		};
6844449b6f2SBjorn Andersson
685e9d2729dSAmit Kucheria		modem-thermal {
6864449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6874449b6f2SBjorn Andersson			polling-delay = <1000>;
6884449b6f2SBjorn Andersson
6894449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 1>;
6904449b6f2SBjorn Andersson
6914449b6f2SBjorn Andersson			trips {
692e9d2729dSAmit Kucheria				modem_alert0: trip-point@0 {
693e9d2729dSAmit Kucheria					temperature = <90000>;
6944449b6f2SBjorn Andersson					hysteresis = <2000>;
695e9d2729dSAmit Kucheria					type = "hot";
6964449b6f2SBjorn Andersson				};
6974449b6f2SBjorn Andersson			};
6984449b6f2SBjorn Andersson		};
6994449b6f2SBjorn Andersson
700e9d2729dSAmit Kucheria		mem-thermal {
701e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
702e9d2729dSAmit Kucheria			polling-delay = <1000>;
703e9d2729dSAmit Kucheria
704e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 2>;
705e9d2729dSAmit Kucheria
706e9d2729dSAmit Kucheria			trips {
707e9d2729dSAmit Kucheria				mem_alert0: trip-point@0 {
708e9d2729dSAmit Kucheria					temperature = <90000>;
709e9d2729dSAmit Kucheria					hysteresis = <2000>;
710e9d2729dSAmit Kucheria					type = "hot";
711e9d2729dSAmit Kucheria				};
712e9d2729dSAmit Kucheria			};
713e9d2729dSAmit Kucheria		};
714e9d2729dSAmit Kucheria
715e9d2729dSAmit Kucheria		wlan-thermal {
7164449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7174449b6f2SBjorn Andersson			polling-delay = <1000>;
7184449b6f2SBjorn Andersson
7194449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 3>;
720e9d2729dSAmit Kucheria
721e9d2729dSAmit Kucheria			trips {
722e9d2729dSAmit Kucheria				wlan_alert0: trip-point@0 {
723e9d2729dSAmit Kucheria					temperature = <90000>;
724e9d2729dSAmit Kucheria					hysteresis = <2000>;
725e9d2729dSAmit Kucheria					type = "hot";
726e9d2729dSAmit Kucheria				};
727e9d2729dSAmit Kucheria			};
728e9d2729dSAmit Kucheria		};
729e9d2729dSAmit Kucheria
730e9d2729dSAmit Kucheria		q6-dsp-thermal {
731e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
732e9d2729dSAmit Kucheria			polling-delay = <1000>;
733e9d2729dSAmit Kucheria
734e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 4>;
735e9d2729dSAmit Kucheria
736e9d2729dSAmit Kucheria			trips {
737e9d2729dSAmit Kucheria				q6_dsp_alert0: trip-point@0 {
738e9d2729dSAmit Kucheria					temperature = <90000>;
739e9d2729dSAmit Kucheria					hysteresis = <2000>;
740e9d2729dSAmit Kucheria					type = "hot";
741e9d2729dSAmit Kucheria				};
742e9d2729dSAmit Kucheria			};
743e9d2729dSAmit Kucheria		};
744e9d2729dSAmit Kucheria
745e9d2729dSAmit Kucheria		camera-thermal {
746e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
747e9d2729dSAmit Kucheria			polling-delay = <1000>;
748e9d2729dSAmit Kucheria
749e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 5>;
750e9d2729dSAmit Kucheria
751e9d2729dSAmit Kucheria			trips {
752e9d2729dSAmit Kucheria				camera_alert0: trip-point@0 {
753e9d2729dSAmit Kucheria					temperature = <90000>;
754e9d2729dSAmit Kucheria					hysteresis = <2000>;
755e9d2729dSAmit Kucheria					type = "hot";
756e9d2729dSAmit Kucheria				};
757e9d2729dSAmit Kucheria			};
758e9d2729dSAmit Kucheria		};
759e9d2729dSAmit Kucheria
760e9d2729dSAmit Kucheria		multimedia-thermal {
761e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
762e9d2729dSAmit Kucheria			polling-delay = <1000>;
763e9d2729dSAmit Kucheria
764e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 6>;
765e9d2729dSAmit Kucheria
766e9d2729dSAmit Kucheria			trips {
767e9d2729dSAmit Kucheria				multimedia_alert0: trip-point@0 {
768e9d2729dSAmit Kucheria					temperature = <90000>;
769e9d2729dSAmit Kucheria					hysteresis = <2000>;
770e9d2729dSAmit Kucheria					type = "hot";
771e9d2729dSAmit Kucheria				};
772e9d2729dSAmit Kucheria			};
7734449b6f2SBjorn Andersson		};
7744449b6f2SBjorn Andersson	};
7754449b6f2SBjorn Andersson
7764807c71cSJoonwoo Park	timer {
7774807c71cSJoonwoo Park		compatible = "arm,armv8-timer";
7784807c71cSJoonwoo Park		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
7794807c71cSJoonwoo Park			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
7804807c71cSJoonwoo Park			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
7814807c71cSJoonwoo Park			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
7824807c71cSJoonwoo Park	};
7834807c71cSJoonwoo Park
7844807c71cSJoonwoo Park	soc: soc {
7854807c71cSJoonwoo Park		#address-cells = <1>;
7864807c71cSJoonwoo Park		#size-cells = <1>;
7874807c71cSJoonwoo Park		ranges = <0 0 0 0xffffffff>;
7884807c71cSJoonwoo Park		compatible = "simple-bus";
7894807c71cSJoonwoo Park
79032a5da21SJeffrey Hugo		gcc: clock-controller@100000 {
79132a5da21SJeffrey Hugo			compatible = "qcom,gcc-msm8998";
79232a5da21SJeffrey Hugo			#clock-cells = <1>;
79332a5da21SJeffrey Hugo			#reset-cells = <1>;
79432a5da21SJeffrey Hugo			#power-domain-cells = <1>;
79532a5da21SJeffrey Hugo			reg = <0x00100000 0xb0000>;
79632a5da21SJeffrey Hugo		};
79732a5da21SJeffrey Hugo
79832a5da21SJeffrey Hugo		rpm_msg_ram: memory@778000 {
79931c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msg-ram";
80032a5da21SJeffrey Hugo			reg = <0x00778000 0x7000>;
80131c1f0e3SBjorn Andersson		};
80231c1f0e3SBjorn Andersson
803f259e398SBjorn Andersson		qfprom: qfprom@780000 {
804f259e398SBjorn Andersson			compatible = "qcom,qfprom";
80532a5da21SJeffrey Hugo			reg = <0x00780000 0x621c>;
806f259e398SBjorn Andersson			#address-cells = <1>;
807f259e398SBjorn Andersson			#size-cells = <1>;
808026dad8fSJeffrey Hugo
809026dad8fSJeffrey Hugo			qusb2_hstx_trim: hstx-trim@423a {
810026dad8fSJeffrey Hugo				reg = <0x423a 0x1>;
811026dad8fSJeffrey Hugo				bits = <0 4>;
812026dad8fSJeffrey Hugo			};
813f259e398SBjorn Andersson		};
814f259e398SBjorn Andersson
81550325048SAmit Kucheria		tsens0: thermal@10ab000 {
8164449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
81732a5da21SJeffrey Hugo			reg = <0x010ab000 0x1000>, /* TM */
81832a5da21SJeffrey Hugo			      <0x010aa000 0x1000>; /* SROT */
819280acabbSAmit Kucheria			#qcom,sensors = <14>;
820bb54e3faSAmit Kucheria			interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>;
821bb54e3faSAmit Kucheria			interrupt-names = "uplow";
8224449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8234449b6f2SBjorn Andersson		};
8244449b6f2SBjorn Andersson
82550325048SAmit Kucheria		tsens1: thermal@10ae000 {
8264449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
82732a5da21SJeffrey Hugo			reg = <0x010ae000 0x1000>, /* TM */
82832a5da21SJeffrey Hugo			      <0x010ad000 0x1000>; /* SROT */
8294449b6f2SBjorn Andersson			#qcom,sensors = <8>;
830bb54e3faSAmit Kucheria			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
831bb54e3faSAmit Kucheria			interrupt-names = "uplow";
8324449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8334449b6f2SBjorn Andersson		};
8344449b6f2SBjorn Andersson
8358389b869SMarc Gonzalez		anoc1_smmu: iommu@1680000 {
8368389b869SMarc Gonzalez			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
8378389b869SMarc Gonzalez			reg = <0x01680000 0x10000>;
8388389b869SMarc Gonzalez			#iommu-cells = <1>;
8398389b869SMarc Gonzalez
8408389b869SMarc Gonzalez			#global-interrupts = <0>;
8418389b869SMarc Gonzalez			interrupts =
8428389b869SMarc Gonzalez				<GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
8438389b869SMarc Gonzalez				<GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
8448389b869SMarc Gonzalez				<GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
8458389b869SMarc Gonzalez				<GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
8468389b869SMarc Gonzalez				<GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
8478389b869SMarc Gonzalez				<GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
8488389b869SMarc Gonzalez		};
8498389b869SMarc Gonzalez
850b84dfd17SMarc Gonzalez		pcie0: pci@1c00000 {
851b84dfd17SMarc Gonzalez			compatible = "qcom,pcie-msm8996";
852b84dfd17SMarc Gonzalez			reg =	<0x01c00000 0x2000>,
853b84dfd17SMarc Gonzalez				<0x1b000000 0xf1d>,
854b84dfd17SMarc Gonzalez				<0x1b000f20 0xa8>,
855b84dfd17SMarc Gonzalez				<0x1b100000 0x100000>;
856b84dfd17SMarc Gonzalez			reg-names = "parf", "dbi", "elbi", "config";
857b84dfd17SMarc Gonzalez			device_type = "pci";
858b84dfd17SMarc Gonzalez			linux,pci-domain = <0>;
859b84dfd17SMarc Gonzalez			bus-range = <0x00 0xff>;
860b84dfd17SMarc Gonzalez			#address-cells = <3>;
861b84dfd17SMarc Gonzalez			#size-cells = <2>;
862b84dfd17SMarc Gonzalez			num-lanes = <1>;
863b84dfd17SMarc Gonzalez			phys = <&pciephy>;
864b84dfd17SMarc Gonzalez			phy-names = "pciephy";
865b84dfd17SMarc Gonzalez
866b84dfd17SMarc Gonzalez			ranges = <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>,
867b84dfd17SMarc Gonzalez				 <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>;
868b84dfd17SMarc Gonzalez
869b84dfd17SMarc Gonzalez			#interrupt-cells = <1>;
870b84dfd17SMarc Gonzalez			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
871b84dfd17SMarc Gonzalez			interrupt-names = "msi";
872b84dfd17SMarc Gonzalez			interrupt-map-mask = <0 0 0 0x7>;
873b84dfd17SMarc Gonzalez			interrupt-map =	<0 0 0 1 &intc 0 135 IRQ_TYPE_LEVEL_HIGH>,
874b84dfd17SMarc Gonzalez					<0 0 0 2 &intc 0 136 IRQ_TYPE_LEVEL_HIGH>,
875b84dfd17SMarc Gonzalez					<0 0 0 3 &intc 0 138 IRQ_TYPE_LEVEL_HIGH>,
876b84dfd17SMarc Gonzalez					<0 0 0 4 &intc 0 139 IRQ_TYPE_LEVEL_HIGH>;
877b84dfd17SMarc Gonzalez
878b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
879b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
880b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
881b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
882b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_AUX_CLK>;
883b84dfd17SMarc Gonzalez			clock-names = "pipe", "bus_master", "bus_slave", "cfg", "aux";
884b84dfd17SMarc Gonzalez
885b84dfd17SMarc Gonzalez			power-domains = <&gcc PCIE_0_GDSC>;
886b84dfd17SMarc Gonzalez			iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
887b84dfd17SMarc Gonzalez			perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
888b84dfd17SMarc Gonzalez		};
889b84dfd17SMarc Gonzalez
890b84dfd17SMarc Gonzalez		phy@1c06000 {
891b84dfd17SMarc Gonzalez			compatible = "qcom,msm8998-qmp-pcie-phy";
892b84dfd17SMarc Gonzalez			reg = <0x01c06000 0x18c>;
893b84dfd17SMarc Gonzalez			#address-cells = <1>;
894b84dfd17SMarc Gonzalez			#size-cells = <1>;
895b84dfd17SMarc Gonzalez			ranges;
896b84dfd17SMarc Gonzalez
897b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
898b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
899b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_CLKREF_CLK>;
900b84dfd17SMarc Gonzalez			clock-names = "aux", "cfg_ahb", "ref";
901b84dfd17SMarc Gonzalez
902b84dfd17SMarc Gonzalez			resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
903b84dfd17SMarc Gonzalez			reset-names = "phy", "common";
904b84dfd17SMarc Gonzalez
905b84dfd17SMarc Gonzalez			vdda-phy-supply = <&vreg_l1a_0p875>;
906b84dfd17SMarc Gonzalez			vdda-pll-supply = <&vreg_l2a_1p2>;
907b84dfd17SMarc Gonzalez
908b84dfd17SMarc Gonzalez			pciephy: lane@1c06800 {
909b84dfd17SMarc Gonzalez				reg = <0x01c06200 0x128>, <0x01c06400 0x1fc>, <0x01c06800 0x20c>;
910b84dfd17SMarc Gonzalez				#phy-cells = <0>;
911b84dfd17SMarc Gonzalez
912b84dfd17SMarc Gonzalez				clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
913b84dfd17SMarc Gonzalez				clock-names = "pipe0";
914b84dfd17SMarc Gonzalez				clock-output-names = "pcie_0_pipe_clk_src";
915b84dfd17SMarc Gonzalez				#clock-cells = <0>;
916b84dfd17SMarc Gonzalez			};
917b84dfd17SMarc Gonzalez		};
918b84dfd17SMarc Gonzalez
91932a5da21SJeffrey Hugo		ufshc: ufshc@1da4000 {
92032a5da21SJeffrey Hugo			compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
92132a5da21SJeffrey Hugo			reg = <0x01da4000 0x2500>;
92232a5da21SJeffrey Hugo			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
92332a5da21SJeffrey Hugo			phys = <&ufsphy_lanes>;
92432a5da21SJeffrey Hugo			phy-names = "ufsphy";
92532a5da21SJeffrey Hugo			lanes-per-direction = <2>;
92632a5da21SJeffrey Hugo			power-domains = <&gcc UFS_GDSC>;
92732a5da21SJeffrey Hugo			#reset-cells = <1>;
92832a5da21SJeffrey Hugo
92932a5da21SJeffrey Hugo			clock-names =
93032a5da21SJeffrey Hugo				"core_clk",
93132a5da21SJeffrey Hugo				"bus_aggr_clk",
93232a5da21SJeffrey Hugo				"iface_clk",
93332a5da21SJeffrey Hugo				"core_clk_unipro",
93432a5da21SJeffrey Hugo				"ref_clk",
93532a5da21SJeffrey Hugo				"tx_lane0_sync_clk",
93632a5da21SJeffrey Hugo				"rx_lane0_sync_clk",
93732a5da21SJeffrey Hugo				"rx_lane1_sync_clk";
93832a5da21SJeffrey Hugo			clocks =
93932a5da21SJeffrey Hugo				<&gcc GCC_UFS_AXI_CLK>,
94032a5da21SJeffrey Hugo				<&gcc GCC_AGGRE1_UFS_AXI_CLK>,
94132a5da21SJeffrey Hugo				<&gcc GCC_UFS_AHB_CLK>,
94232a5da21SJeffrey Hugo				<&gcc GCC_UFS_UNIPRO_CORE_CLK>,
94332a5da21SJeffrey Hugo				<&rpmcc RPM_SMD_LN_BB_CLK1>,
94432a5da21SJeffrey Hugo				<&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
94532a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
94632a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
94732a5da21SJeffrey Hugo			freq-table-hz =
94832a5da21SJeffrey Hugo				<50000000 200000000>,
94932a5da21SJeffrey Hugo				<0 0>,
95032a5da21SJeffrey Hugo				<0 0>,
95132a5da21SJeffrey Hugo				<37500000 150000000>,
95232a5da21SJeffrey Hugo				<0 0>,
95332a5da21SJeffrey Hugo				<0 0>,
95432a5da21SJeffrey Hugo				<0 0>,
95532a5da21SJeffrey Hugo				<0 0>;
95632a5da21SJeffrey Hugo
95732a5da21SJeffrey Hugo			resets = <&gcc GCC_UFS_BCR>;
95832a5da21SJeffrey Hugo			reset-names = "rst";
959c7833949SBjorn Andersson		};
960c7833949SBjorn Andersson
96132a5da21SJeffrey Hugo		ufsphy: phy@1da7000 {
96232a5da21SJeffrey Hugo			compatible = "qcom,msm8998-qmp-ufs-phy";
96332a5da21SJeffrey Hugo			reg = <0x01da7000 0x18c>;
96432a5da21SJeffrey Hugo			#address-cells = <1>;
96532a5da21SJeffrey Hugo			#size-cells = <1>;
96632a5da21SJeffrey Hugo			ranges;
96731c1f0e3SBjorn Andersson
96832a5da21SJeffrey Hugo			clock-names =
96932a5da21SJeffrey Hugo				"ref",
97032a5da21SJeffrey Hugo				"ref_aux";
97132a5da21SJeffrey Hugo			clocks =
97232a5da21SJeffrey Hugo				<&gcc GCC_UFS_CLKREF_CLK>,
97332a5da21SJeffrey Hugo				<&gcc GCC_UFS_PHY_AUX_CLK>;
97432a5da21SJeffrey Hugo
97532a5da21SJeffrey Hugo			reset-names = "ufsphy";
97632a5da21SJeffrey Hugo			resets = <&ufshc 0>;
97732a5da21SJeffrey Hugo
97832a5da21SJeffrey Hugo			ufsphy_lanes: lanes@1da7400 {
97932a5da21SJeffrey Hugo				reg = <0x01da7400 0x128>,
98032a5da21SJeffrey Hugo				      <0x01da7600 0x1fc>,
98132a5da21SJeffrey Hugo				      <0x01da7c00 0x1dc>,
98232a5da21SJeffrey Hugo				      <0x01da7800 0x128>,
98332a5da21SJeffrey Hugo				      <0x01da7a00 0x1fc>;
98432a5da21SJeffrey Hugo				#phy-cells = <0>;
98532a5da21SJeffrey Hugo			};
98632a5da21SJeffrey Hugo		};
98732a5da21SJeffrey Hugo
98832a5da21SJeffrey Hugo		tcsr_mutex_regs: syscon@1f40000 {
98932a5da21SJeffrey Hugo			compatible = "syscon";
99032a5da21SJeffrey Hugo			reg = <0x01f40000 0x20000>;
99132a5da21SJeffrey Hugo		};
99232a5da21SJeffrey Hugo
99332a5da21SJeffrey Hugo		tlmm: pinctrl@3400000 {
99432a5da21SJeffrey Hugo			compatible = "qcom,msm8998-pinctrl";
99532a5da21SJeffrey Hugo			reg = <0x03400000 0xc00000>;
99632a5da21SJeffrey Hugo			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
99732a5da21SJeffrey Hugo			gpio-controller;
99832a5da21SJeffrey Hugo			#gpio-cells = <0x2>;
99932a5da21SJeffrey Hugo			interrupt-controller;
100032a5da21SJeffrey Hugo			#interrupt-cells = <0x2>;
100132a5da21SJeffrey Hugo		};
100232a5da21SJeffrey Hugo
1003*a636f93fSSai Prakash Ranjan		stm: stm@6002000 {
1004783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-stm", "arm,primecell";
1005783abfa2SSai Prakash Ranjan			reg = <0x06002000 0x1000>,
1006783abfa2SSai Prakash Ranjan			      <0x16280000 0x180000>;
1007783abfa2SSai Prakash Ranjan			reg-names = "stm-base", "stm-data-base";
1008*a636f93fSSai Prakash Ranjan			status = "disabled";
1009783abfa2SSai Prakash Ranjan
1010783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1011783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1012783abfa2SSai Prakash Ranjan
1013783abfa2SSai Prakash Ranjan			out-ports {
1014783abfa2SSai Prakash Ranjan				port {
1015783abfa2SSai Prakash Ranjan					stm_out: endpoint {
1016783abfa2SSai Prakash Ranjan						remote-endpoint = <&funnel0_in7>;
1017783abfa2SSai Prakash Ranjan					};
1018783abfa2SSai Prakash Ranjan				};
1019783abfa2SSai Prakash Ranjan			};
1020783abfa2SSai Prakash Ranjan		};
1021783abfa2SSai Prakash Ranjan
1022*a636f93fSSai Prakash Ranjan		funnel1: funnel@6041000 {
1023783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1024783abfa2SSai Prakash Ranjan			reg = <0x06041000 0x1000>;
1025*a636f93fSSai Prakash Ranjan			status = "disabled";
1026783abfa2SSai Prakash Ranjan
1027783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1028783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1029783abfa2SSai Prakash Ranjan
1030783abfa2SSai Prakash Ranjan			out-ports {
1031783abfa2SSai Prakash Ranjan				port {
1032783abfa2SSai Prakash Ranjan					funnel0_out: endpoint {
1033783abfa2SSai Prakash Ranjan						remote-endpoint =
1034783abfa2SSai Prakash Ranjan						  <&merge_funnel_in0>;
1035783abfa2SSai Prakash Ranjan					};
1036783abfa2SSai Prakash Ranjan				};
1037783abfa2SSai Prakash Ranjan			};
1038783abfa2SSai Prakash Ranjan
1039783abfa2SSai Prakash Ranjan			in-ports {
1040783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1041783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1042783abfa2SSai Prakash Ranjan
1043783abfa2SSai Prakash Ranjan				port@7 {
1044783abfa2SSai Prakash Ranjan					reg = <7>;
1045783abfa2SSai Prakash Ranjan					funnel0_in7: endpoint {
1046783abfa2SSai Prakash Ranjan						remote-endpoint = <&stm_out>;
1047783abfa2SSai Prakash Ranjan					};
1048783abfa2SSai Prakash Ranjan				};
1049783abfa2SSai Prakash Ranjan			};
1050783abfa2SSai Prakash Ranjan		};
1051783abfa2SSai Prakash Ranjan
1052*a636f93fSSai Prakash Ranjan		funnel2: funnel@6042000 {
1053783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1054783abfa2SSai Prakash Ranjan			reg = <0x06042000 0x1000>;
1055*a636f93fSSai Prakash Ranjan			status = "disabled";
1056783abfa2SSai Prakash Ranjan
1057783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1058783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1059783abfa2SSai Prakash Ranjan
1060783abfa2SSai Prakash Ranjan			out-ports {
1061783abfa2SSai Prakash Ranjan				port {
1062783abfa2SSai Prakash Ranjan					funnel1_out: endpoint {
1063783abfa2SSai Prakash Ranjan						remote-endpoint =
1064783abfa2SSai Prakash Ranjan						  <&merge_funnel_in1>;
1065783abfa2SSai Prakash Ranjan					};
1066783abfa2SSai Prakash Ranjan				};
1067783abfa2SSai Prakash Ranjan			};
1068783abfa2SSai Prakash Ranjan
1069783abfa2SSai Prakash Ranjan			in-ports {
1070783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1071783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1072783abfa2SSai Prakash Ranjan
1073783abfa2SSai Prakash Ranjan				port@6 {
1074783abfa2SSai Prakash Ranjan					reg = <6>;
1075783abfa2SSai Prakash Ranjan					funnel1_in6: endpoint {
1076783abfa2SSai Prakash Ranjan						remote-endpoint =
1077783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_out>;
1078783abfa2SSai Prakash Ranjan					};
1079783abfa2SSai Prakash Ranjan				};
1080783abfa2SSai Prakash Ranjan			};
1081783abfa2SSai Prakash Ranjan		};
1082783abfa2SSai Prakash Ranjan
1083*a636f93fSSai Prakash Ranjan		funnel3: funnel@6045000 {
1084783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1085783abfa2SSai Prakash Ranjan			reg = <0x06045000 0x1000>;
1086*a636f93fSSai Prakash Ranjan			status = "disabled";
1087783abfa2SSai Prakash Ranjan
1088783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1089783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1090783abfa2SSai Prakash Ranjan
1091783abfa2SSai Prakash Ranjan			out-ports {
1092783abfa2SSai Prakash Ranjan				port {
1093783abfa2SSai Prakash Ranjan					merge_funnel_out: endpoint {
1094783abfa2SSai Prakash Ranjan						remote-endpoint =
1095783abfa2SSai Prakash Ranjan						  <&etf_in>;
1096783abfa2SSai Prakash Ranjan					};
1097783abfa2SSai Prakash Ranjan				};
1098783abfa2SSai Prakash Ranjan			};
1099783abfa2SSai Prakash Ranjan
1100783abfa2SSai Prakash Ranjan			in-ports {
1101783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1102783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1103783abfa2SSai Prakash Ranjan
1104783abfa2SSai Prakash Ranjan				port@0 {
1105783abfa2SSai Prakash Ranjan					reg = <0>;
1106783abfa2SSai Prakash Ranjan					merge_funnel_in0: endpoint {
1107783abfa2SSai Prakash Ranjan						remote-endpoint =
1108783abfa2SSai Prakash Ranjan						  <&funnel0_out>;
1109783abfa2SSai Prakash Ranjan					};
1110783abfa2SSai Prakash Ranjan				};
1111783abfa2SSai Prakash Ranjan
1112783abfa2SSai Prakash Ranjan				port@1 {
1113783abfa2SSai Prakash Ranjan					reg = <1>;
1114783abfa2SSai Prakash Ranjan					merge_funnel_in1: endpoint {
1115783abfa2SSai Prakash Ranjan						remote-endpoint =
1116783abfa2SSai Prakash Ranjan						  <&funnel1_out>;
1117783abfa2SSai Prakash Ranjan					};
1118783abfa2SSai Prakash Ranjan				};
1119783abfa2SSai Prakash Ranjan			};
1120783abfa2SSai Prakash Ranjan		};
1121783abfa2SSai Prakash Ranjan
1122*a636f93fSSai Prakash Ranjan		replicator1: replicator@6046000 {
1123783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1124783abfa2SSai Prakash Ranjan			reg = <0x06046000 0x1000>;
1125*a636f93fSSai Prakash Ranjan			status = "disabled";
1126783abfa2SSai Prakash Ranjan
1127783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1128783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1129783abfa2SSai Prakash Ranjan
1130783abfa2SSai Prakash Ranjan			out-ports {
1131783abfa2SSai Prakash Ranjan				port {
1132783abfa2SSai Prakash Ranjan					replicator_out: endpoint {
1133783abfa2SSai Prakash Ranjan						remote-endpoint = <&etr_in>;
1134783abfa2SSai Prakash Ranjan					};
1135783abfa2SSai Prakash Ranjan				};
1136783abfa2SSai Prakash Ranjan			};
1137783abfa2SSai Prakash Ranjan
1138783abfa2SSai Prakash Ranjan			in-ports {
1139783abfa2SSai Prakash Ranjan				port {
1140783abfa2SSai Prakash Ranjan					replicator_in: endpoint {
1141783abfa2SSai Prakash Ranjan						remote-endpoint = <&etf_out>;
1142783abfa2SSai Prakash Ranjan					};
1143783abfa2SSai Prakash Ranjan				};
1144783abfa2SSai Prakash Ranjan			};
1145783abfa2SSai Prakash Ranjan		};
1146783abfa2SSai Prakash Ranjan
1147*a636f93fSSai Prakash Ranjan		etf: etf@6047000 {
1148783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1149783abfa2SSai Prakash Ranjan			reg = <0x06047000 0x1000>;
1150*a636f93fSSai Prakash Ranjan			status = "disabled";
1151783abfa2SSai Prakash Ranjan
1152783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1153783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1154783abfa2SSai Prakash Ranjan
1155783abfa2SSai Prakash Ranjan			out-ports {
1156783abfa2SSai Prakash Ranjan				port {
1157783abfa2SSai Prakash Ranjan					etf_out: endpoint {
1158783abfa2SSai Prakash Ranjan						remote-endpoint =
1159783abfa2SSai Prakash Ranjan						  <&replicator_in>;
1160783abfa2SSai Prakash Ranjan					};
1161783abfa2SSai Prakash Ranjan				};
1162783abfa2SSai Prakash Ranjan			};
1163783abfa2SSai Prakash Ranjan
1164783abfa2SSai Prakash Ranjan			in-ports {
1165783abfa2SSai Prakash Ranjan				port {
1166783abfa2SSai Prakash Ranjan					etf_in: endpoint {
1167783abfa2SSai Prakash Ranjan						remote-endpoint =
1168783abfa2SSai Prakash Ranjan						  <&merge_funnel_out>;
1169783abfa2SSai Prakash Ranjan					};
1170783abfa2SSai Prakash Ranjan				};
1171783abfa2SSai Prakash Ranjan			};
1172783abfa2SSai Prakash Ranjan		};
1173783abfa2SSai Prakash Ranjan
1174*a636f93fSSai Prakash Ranjan		etr: etr@6048000 {
1175783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1176783abfa2SSai Prakash Ranjan			reg = <0x06048000 0x1000>;
1177*a636f93fSSai Prakash Ranjan			status = "disabled";
1178783abfa2SSai Prakash Ranjan
1179783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1180783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1181783abfa2SSai Prakash Ranjan			arm,scatter-gather;
1182783abfa2SSai Prakash Ranjan
1183783abfa2SSai Prakash Ranjan			in-ports {
1184783abfa2SSai Prakash Ranjan				port {
1185783abfa2SSai Prakash Ranjan					etr_in: endpoint {
1186783abfa2SSai Prakash Ranjan						remote-endpoint =
1187783abfa2SSai Prakash Ranjan						  <&replicator_out>;
1188783abfa2SSai Prakash Ranjan					};
1189783abfa2SSai Prakash Ranjan				};
1190783abfa2SSai Prakash Ranjan			};
1191783abfa2SSai Prakash Ranjan		};
1192783abfa2SSai Prakash Ranjan
1193*a636f93fSSai Prakash Ranjan		etm1: etm@7840000 {
1194783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1195783abfa2SSai Prakash Ranjan			reg = <0x07840000 0x1000>;
1196*a636f93fSSai Prakash Ranjan			status = "disabled";
1197783abfa2SSai Prakash Ranjan
1198783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1199783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1200783abfa2SSai Prakash Ranjan
1201783abfa2SSai Prakash Ranjan			cpu = <&CPU0>;
1202783abfa2SSai Prakash Ranjan
1203783abfa2SSai Prakash Ranjan			out-ports {
1204783abfa2SSai Prakash Ranjan				port {
1205783abfa2SSai Prakash Ranjan					etm0_out: endpoint {
1206783abfa2SSai Prakash Ranjan						remote-endpoint =
1207783abfa2SSai Prakash Ranjan						  <&apss_funnel_in0>;
1208783abfa2SSai Prakash Ranjan					};
1209783abfa2SSai Prakash Ranjan				};
1210783abfa2SSai Prakash Ranjan			};
1211783abfa2SSai Prakash Ranjan		};
1212783abfa2SSai Prakash Ranjan
1213*a636f93fSSai Prakash Ranjan		etm2: etm@7940000 {
1214783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1215783abfa2SSai Prakash Ranjan			reg = <0x07940000 0x1000>;
1216*a636f93fSSai Prakash Ranjan			status = "disabled";
1217783abfa2SSai Prakash Ranjan
1218783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1219783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1220783abfa2SSai Prakash Ranjan
1221783abfa2SSai Prakash Ranjan			cpu = <&CPU1>;
1222783abfa2SSai Prakash Ranjan
1223783abfa2SSai Prakash Ranjan			out-ports {
1224783abfa2SSai Prakash Ranjan				port {
1225783abfa2SSai Prakash Ranjan					etm1_out: endpoint {
1226783abfa2SSai Prakash Ranjan						remote-endpoint =
1227783abfa2SSai Prakash Ranjan						  <&apss_funnel_in1>;
1228783abfa2SSai Prakash Ranjan					};
1229783abfa2SSai Prakash Ranjan				};
1230783abfa2SSai Prakash Ranjan			};
1231783abfa2SSai Prakash Ranjan		};
1232783abfa2SSai Prakash Ranjan
1233*a636f93fSSai Prakash Ranjan		etm3: etm@7a40000 {
1234783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1235783abfa2SSai Prakash Ranjan			reg = <0x07a40000 0x1000>;
1236*a636f93fSSai Prakash Ranjan			status = "disabled";
1237783abfa2SSai Prakash Ranjan
1238783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1239783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1240783abfa2SSai Prakash Ranjan
1241783abfa2SSai Prakash Ranjan			cpu = <&CPU2>;
1242783abfa2SSai Prakash Ranjan
1243783abfa2SSai Prakash Ranjan			out-ports {
1244783abfa2SSai Prakash Ranjan				port {
1245783abfa2SSai Prakash Ranjan					etm2_out: endpoint {
1246783abfa2SSai Prakash Ranjan						remote-endpoint =
1247783abfa2SSai Prakash Ranjan						  <&apss_funnel_in2>;
1248783abfa2SSai Prakash Ranjan					};
1249783abfa2SSai Prakash Ranjan				};
1250783abfa2SSai Prakash Ranjan			};
1251783abfa2SSai Prakash Ranjan		};
1252783abfa2SSai Prakash Ranjan
1253*a636f93fSSai Prakash Ranjan		etm4: etm@7b40000 {
1254783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1255783abfa2SSai Prakash Ranjan			reg = <0x07b40000 0x1000>;
1256*a636f93fSSai Prakash Ranjan			status = "disabled";
1257783abfa2SSai Prakash Ranjan
1258783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1259783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1260783abfa2SSai Prakash Ranjan
1261783abfa2SSai Prakash Ranjan			cpu = <&CPU3>;
1262783abfa2SSai Prakash Ranjan
1263783abfa2SSai Prakash Ranjan			out-ports {
1264783abfa2SSai Prakash Ranjan				port {
1265783abfa2SSai Prakash Ranjan					etm3_out: endpoint {
1266783abfa2SSai Prakash Ranjan						remote-endpoint =
1267783abfa2SSai Prakash Ranjan						  <&apss_funnel_in3>;
1268783abfa2SSai Prakash Ranjan					};
1269783abfa2SSai Prakash Ranjan				};
1270783abfa2SSai Prakash Ranjan			};
1271783abfa2SSai Prakash Ranjan		};
1272783abfa2SSai Prakash Ranjan
1273*a636f93fSSai Prakash Ranjan		funnel4: funnel@7b60000 { /* APSS Funnel */
1274783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1275783abfa2SSai Prakash Ranjan			reg = <0x07b60000 0x1000>;
1276*a636f93fSSai Prakash Ranjan			status = "disabled";
1277783abfa2SSai Prakash Ranjan
1278783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1279783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1280783abfa2SSai Prakash Ranjan
1281783abfa2SSai Prakash Ranjan			out-ports {
1282783abfa2SSai Prakash Ranjan				port {
1283783abfa2SSai Prakash Ranjan					apss_funnel_out: endpoint {
1284783abfa2SSai Prakash Ranjan						remote-endpoint =
1285783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_in>;
1286783abfa2SSai Prakash Ranjan					};
1287783abfa2SSai Prakash Ranjan				};
1288783abfa2SSai Prakash Ranjan			};
1289783abfa2SSai Prakash Ranjan
1290783abfa2SSai Prakash Ranjan			in-ports {
1291783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1292783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1293783abfa2SSai Prakash Ranjan
1294783abfa2SSai Prakash Ranjan				port@0 {
1295783abfa2SSai Prakash Ranjan					reg = <0>;
1296783abfa2SSai Prakash Ranjan					apss_funnel_in0: endpoint {
1297783abfa2SSai Prakash Ranjan						remote-endpoint =
1298783abfa2SSai Prakash Ranjan						  <&etm0_out>;
1299783abfa2SSai Prakash Ranjan					};
1300783abfa2SSai Prakash Ranjan				};
1301783abfa2SSai Prakash Ranjan
1302783abfa2SSai Prakash Ranjan				port@1 {
1303783abfa2SSai Prakash Ranjan					reg = <1>;
1304783abfa2SSai Prakash Ranjan					apss_funnel_in1: endpoint {
1305783abfa2SSai Prakash Ranjan						remote-endpoint =
1306783abfa2SSai Prakash Ranjan						  <&etm1_out>;
1307783abfa2SSai Prakash Ranjan					};
1308783abfa2SSai Prakash Ranjan				};
1309783abfa2SSai Prakash Ranjan
1310783abfa2SSai Prakash Ranjan				port@2 {
1311783abfa2SSai Prakash Ranjan					reg = <2>;
1312783abfa2SSai Prakash Ranjan					apss_funnel_in2: endpoint {
1313783abfa2SSai Prakash Ranjan						remote-endpoint =
1314783abfa2SSai Prakash Ranjan						  <&etm2_out>;
1315783abfa2SSai Prakash Ranjan					};
1316783abfa2SSai Prakash Ranjan				};
1317783abfa2SSai Prakash Ranjan
1318783abfa2SSai Prakash Ranjan				port@3 {
1319783abfa2SSai Prakash Ranjan					reg = <3>;
1320783abfa2SSai Prakash Ranjan					apss_funnel_in3: endpoint {
1321783abfa2SSai Prakash Ranjan						remote-endpoint =
1322783abfa2SSai Prakash Ranjan						  <&etm3_out>;
1323783abfa2SSai Prakash Ranjan					};
1324783abfa2SSai Prakash Ranjan				};
1325783abfa2SSai Prakash Ranjan
1326783abfa2SSai Prakash Ranjan				port@4 {
1327783abfa2SSai Prakash Ranjan					reg = <4>;
1328783abfa2SSai Prakash Ranjan					apss_funnel_in4: endpoint {
1329783abfa2SSai Prakash Ranjan						remote-endpoint =
1330783abfa2SSai Prakash Ranjan						  <&etm4_out>;
1331783abfa2SSai Prakash Ranjan					};
1332783abfa2SSai Prakash Ranjan				};
1333783abfa2SSai Prakash Ranjan
1334783abfa2SSai Prakash Ranjan				port@5 {
1335783abfa2SSai Prakash Ranjan					reg = <5>;
1336783abfa2SSai Prakash Ranjan					apss_funnel_in5: endpoint {
1337783abfa2SSai Prakash Ranjan						remote-endpoint =
1338783abfa2SSai Prakash Ranjan						  <&etm5_out>;
1339783abfa2SSai Prakash Ranjan					};
1340783abfa2SSai Prakash Ranjan				};
1341783abfa2SSai Prakash Ranjan
1342783abfa2SSai Prakash Ranjan				port@6 {
1343783abfa2SSai Prakash Ranjan					reg = <6>;
1344783abfa2SSai Prakash Ranjan					apss_funnel_in6: endpoint {
1345783abfa2SSai Prakash Ranjan						remote-endpoint =
1346783abfa2SSai Prakash Ranjan						  <&etm6_out>;
1347783abfa2SSai Prakash Ranjan					};
1348783abfa2SSai Prakash Ranjan				};
1349783abfa2SSai Prakash Ranjan
1350783abfa2SSai Prakash Ranjan				port@7 {
1351783abfa2SSai Prakash Ranjan					reg = <7>;
1352783abfa2SSai Prakash Ranjan					apss_funnel_in7: endpoint {
1353783abfa2SSai Prakash Ranjan						remote-endpoint =
1354783abfa2SSai Prakash Ranjan						  <&etm7_out>;
1355783abfa2SSai Prakash Ranjan					};
1356783abfa2SSai Prakash Ranjan				};
1357783abfa2SSai Prakash Ranjan			};
1358783abfa2SSai Prakash Ranjan		};
1359783abfa2SSai Prakash Ranjan
1360*a636f93fSSai Prakash Ranjan		funnel5: funnel@7b70000 {
1361783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1362783abfa2SSai Prakash Ranjan			reg = <0x07b70000 0x1000>;
1363*a636f93fSSai Prakash Ranjan			status = "disabled";
1364783abfa2SSai Prakash Ranjan
1365783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1366783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1367783abfa2SSai Prakash Ranjan
1368783abfa2SSai Prakash Ranjan			out-ports {
1369783abfa2SSai Prakash Ranjan				port {
1370783abfa2SSai Prakash Ranjan					apss_merge_funnel_out: endpoint {
1371783abfa2SSai Prakash Ranjan						remote-endpoint =
1372783abfa2SSai Prakash Ranjan						  <&funnel1_in6>;
1373783abfa2SSai Prakash Ranjan					};
1374783abfa2SSai Prakash Ranjan				};
1375783abfa2SSai Prakash Ranjan			};
1376783abfa2SSai Prakash Ranjan
1377783abfa2SSai Prakash Ranjan			in-ports {
1378783abfa2SSai Prakash Ranjan				port {
1379783abfa2SSai Prakash Ranjan					apss_merge_funnel_in: endpoint {
1380783abfa2SSai Prakash Ranjan						remote-endpoint =
1381783abfa2SSai Prakash Ranjan						  <&apss_funnel_out>;
1382783abfa2SSai Prakash Ranjan					};
1383783abfa2SSai Prakash Ranjan				};
1384783abfa2SSai Prakash Ranjan			};
1385783abfa2SSai Prakash Ranjan		};
1386783abfa2SSai Prakash Ranjan
1387*a636f93fSSai Prakash Ranjan		etm5: etm@7c40000 {
1388783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1389783abfa2SSai Prakash Ranjan			reg = <0x07c40000 0x1000>;
1390*a636f93fSSai Prakash Ranjan			status = "disabled";
1391783abfa2SSai Prakash Ranjan
1392783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1393783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1394783abfa2SSai Prakash Ranjan
1395783abfa2SSai Prakash Ranjan			cpu = <&CPU4>;
1396783abfa2SSai Prakash Ranjan
1397783abfa2SSai Prakash Ranjan			port{
1398783abfa2SSai Prakash Ranjan				etm4_out: endpoint {
1399783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in4>;
1400783abfa2SSai Prakash Ranjan				};
1401783abfa2SSai Prakash Ranjan			};
1402783abfa2SSai Prakash Ranjan		};
1403783abfa2SSai Prakash Ranjan
1404*a636f93fSSai Prakash Ranjan		etm6: etm@7d40000 {
1405783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1406783abfa2SSai Prakash Ranjan			reg = <0x07d40000 0x1000>;
1407*a636f93fSSai Prakash Ranjan			status = "disabled";
1408783abfa2SSai Prakash Ranjan
1409783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1410783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1411783abfa2SSai Prakash Ranjan
1412783abfa2SSai Prakash Ranjan			cpu = <&CPU5>;
1413783abfa2SSai Prakash Ranjan
1414783abfa2SSai Prakash Ranjan			port{
1415783abfa2SSai Prakash Ranjan				etm5_out: endpoint {
1416783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in5>;
1417783abfa2SSai Prakash Ranjan				};
1418783abfa2SSai Prakash Ranjan			};
1419783abfa2SSai Prakash Ranjan		};
1420783abfa2SSai Prakash Ranjan
1421*a636f93fSSai Prakash Ranjan		etm7: etm@7e40000 {
1422783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1423783abfa2SSai Prakash Ranjan			reg = <0x07e40000 0x1000>;
1424*a636f93fSSai Prakash Ranjan			status = "disabled";
1425783abfa2SSai Prakash Ranjan
1426783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1427783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1428783abfa2SSai Prakash Ranjan
1429783abfa2SSai Prakash Ranjan			cpu = <&CPU6>;
1430783abfa2SSai Prakash Ranjan
1431783abfa2SSai Prakash Ranjan			port{
1432783abfa2SSai Prakash Ranjan				etm6_out: endpoint {
1433783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in6>;
1434783abfa2SSai Prakash Ranjan				};
1435783abfa2SSai Prakash Ranjan			};
1436783abfa2SSai Prakash Ranjan		};
1437783abfa2SSai Prakash Ranjan
1438*a636f93fSSai Prakash Ranjan		etm8: etm@7f40000 {
1439783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1440783abfa2SSai Prakash Ranjan			reg = <0x07f40000 0x1000>;
1441*a636f93fSSai Prakash Ranjan			status = "disabled";
1442783abfa2SSai Prakash Ranjan
1443783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1444783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1445783abfa2SSai Prakash Ranjan
1446783abfa2SSai Prakash Ranjan			cpu = <&CPU7>;
1447783abfa2SSai Prakash Ranjan
1448783abfa2SSai Prakash Ranjan			port{
1449783abfa2SSai Prakash Ranjan				etm7_out: endpoint {
1450783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in7>;
1451783abfa2SSai Prakash Ranjan				};
1452783abfa2SSai Prakash Ranjan			};
1453783abfa2SSai Prakash Ranjan		};
1454783abfa2SSai Prakash Ranjan
145532a5da21SJeffrey Hugo		spmi_bus: spmi@800f000 {
145632a5da21SJeffrey Hugo			compatible = "qcom,spmi-pmic-arb";
145732a5da21SJeffrey Hugo			reg =	<0x0800f000 0x1000>,
145832a5da21SJeffrey Hugo				<0x08400000 0x1000000>,
145932a5da21SJeffrey Hugo				<0x09400000 0x1000000>,
146032a5da21SJeffrey Hugo				<0x0a400000 0x220000>,
146132a5da21SJeffrey Hugo				<0x0800a000 0x3000>;
146232a5da21SJeffrey Hugo			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
146332a5da21SJeffrey Hugo			interrupt-names = "periph_irq";
146432a5da21SJeffrey Hugo			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
146532a5da21SJeffrey Hugo			qcom,ee = <0>;
146632a5da21SJeffrey Hugo			qcom,channel = <0>;
146732a5da21SJeffrey Hugo			#address-cells = <2>;
146832a5da21SJeffrey Hugo			#size-cells = <0>;
146932a5da21SJeffrey Hugo			interrupt-controller;
147032a5da21SJeffrey Hugo			#interrupt-cells = <4>;
147132a5da21SJeffrey Hugo			cell-index = <0>;
147231c1f0e3SBjorn Andersson		};
147331c1f0e3SBjorn Andersson
1474026dad8fSJeffrey Hugo		usb3: usb@a8f8800 {
1475026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
1476026dad8fSJeffrey Hugo			reg = <0x0a8f8800 0x400>;
1477026dad8fSJeffrey Hugo			status = "disabled";
1478026dad8fSJeffrey Hugo			#address-cells = <1>;
1479026dad8fSJeffrey Hugo			#size-cells = <1>;
1480026dad8fSJeffrey Hugo			ranges;
1481026dad8fSJeffrey Hugo
1482026dad8fSJeffrey Hugo			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
1483026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MASTER_CLK>,
1484026dad8fSJeffrey Hugo				 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
1485026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1486026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_SLEEP_CLK>;
1487026dad8fSJeffrey Hugo			clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1488026dad8fSJeffrey Hugo				      "sleep";
1489026dad8fSJeffrey Hugo
1490026dad8fSJeffrey Hugo			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1491026dad8fSJeffrey Hugo					  <&gcc GCC_USB30_MASTER_CLK>;
1492026dad8fSJeffrey Hugo			assigned-clock-rates = <19200000>, <120000000>;
1493026dad8fSJeffrey Hugo
1494026dad8fSJeffrey Hugo			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
1495026dad8fSJeffrey Hugo				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
1496026dad8fSJeffrey Hugo			interrupt-names = "hs_phy_irq", "ss_phy_irq";
1497026dad8fSJeffrey Hugo
1498026dad8fSJeffrey Hugo			power-domains = <&gcc USB_30_GDSC>;
1499026dad8fSJeffrey Hugo
1500026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB_30_BCR>;
1501026dad8fSJeffrey Hugo
1502026dad8fSJeffrey Hugo			usb3_dwc3: dwc3@a800000 {
1503026dad8fSJeffrey Hugo				compatible = "snps,dwc3";
1504026dad8fSJeffrey Hugo				reg = <0x0a800000 0xcd00>;
1505026dad8fSJeffrey Hugo				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
1506026dad8fSJeffrey Hugo				snps,dis_u2_susphy_quirk;
1507026dad8fSJeffrey Hugo				snps,dis_enblslpm_quirk;
1508026dad8fSJeffrey Hugo				phys = <&qusb2phy>, <&usb1_ssphy>;
1509026dad8fSJeffrey Hugo				phy-names = "usb2-phy", "usb3-phy";
1510026dad8fSJeffrey Hugo				snps,has-lpm-erratum;
1511026dad8fSJeffrey Hugo				snps,hird-threshold = /bits/ 8 <0x10>;
1512026dad8fSJeffrey Hugo			};
1513026dad8fSJeffrey Hugo		};
1514026dad8fSJeffrey Hugo
1515026dad8fSJeffrey Hugo		usb3phy: phy@c010000 {
1516026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qmp-usb3-phy";
1517026dad8fSJeffrey Hugo			reg = <0x0c010000 0x18c>;
1518026dad8fSJeffrey Hugo			status = "disabled";
1519026dad8fSJeffrey Hugo			#clock-cells = <1>;
1520026dad8fSJeffrey Hugo			#address-cells = <1>;
1521026dad8fSJeffrey Hugo			#size-cells = <1>;
1522026dad8fSJeffrey Hugo			ranges;
1523026dad8fSJeffrey Hugo
1524026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
1525026dad8fSJeffrey Hugo				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1526026dad8fSJeffrey Hugo				 <&gcc GCC_USB3_CLKREF_CLK>;
1527026dad8fSJeffrey Hugo			clock-names = "aux", "cfg_ahb", "ref";
1528026dad8fSJeffrey Hugo
1529026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB3_PHY_BCR>,
1530026dad8fSJeffrey Hugo				 <&gcc GCC_USB3PHY_PHY_BCR>;
1531026dad8fSJeffrey Hugo			reset-names = "phy", "common";
1532026dad8fSJeffrey Hugo
1533026dad8fSJeffrey Hugo			usb1_ssphy: lane@c010200 {
1534026dad8fSJeffrey Hugo				reg = <0xc010200 0x128>,
1535026dad8fSJeffrey Hugo				      <0xc010400 0x200>,
1536026dad8fSJeffrey Hugo				      <0xc010c00 0x20c>,
1537026dad8fSJeffrey Hugo				      <0xc010600 0x128>,
1538026dad8fSJeffrey Hugo				      <0xc010800 0x200>;
1539026dad8fSJeffrey Hugo				#phy-cells = <0>;
1540026dad8fSJeffrey Hugo				clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
1541026dad8fSJeffrey Hugo				clock-names = "pipe0";
1542026dad8fSJeffrey Hugo				clock-output-names = "usb3_phy_pipe_clk_src";
1543026dad8fSJeffrey Hugo			};
1544026dad8fSJeffrey Hugo		};
1545026dad8fSJeffrey Hugo
1546026dad8fSJeffrey Hugo		qusb2phy: phy@c012000 {
1547026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qusb2-phy";
1548026dad8fSJeffrey Hugo			reg = <0x0c012000 0x2a8>;
1549026dad8fSJeffrey Hugo			status = "disabled";
1550026dad8fSJeffrey Hugo			#phy-cells = <0>;
1551026dad8fSJeffrey Hugo
1552026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1553026dad8fSJeffrey Hugo				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
1554026dad8fSJeffrey Hugo			clock-names = "cfg_ahb", "ref";
1555026dad8fSJeffrey Hugo
1556026dad8fSJeffrey Hugo			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1557026dad8fSJeffrey Hugo
1558026dad8fSJeffrey Hugo			nvmem-cells = <&qusb2_hstx_trim>;
1559026dad8fSJeffrey Hugo		};
1560026dad8fSJeffrey Hugo
15611cfce828SJeffrey Hugo		sdhc2: sdhci@c0a4900 {
15621cfce828SJeffrey Hugo			compatible = "qcom,sdhci-msm-v4";
156332a5da21SJeffrey Hugo			reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>;
15641cfce828SJeffrey Hugo			reg-names = "hc_mem", "core_mem";
15651cfce828SJeffrey Hugo
15661cfce828SJeffrey Hugo			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
15671cfce828SJeffrey Hugo				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
15681cfce828SJeffrey Hugo			interrupt-names = "hc_irq", "pwr_irq";
15691cfce828SJeffrey Hugo
15701cfce828SJeffrey Hugo			clock-names = "iface", "core", "xo";
15711cfce828SJeffrey Hugo			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
15721cfce828SJeffrey Hugo				 <&gcc GCC_SDCC2_APPS_CLK>,
15731cfce828SJeffrey Hugo				 <&xo>;
15741cfce828SJeffrey Hugo			bus-width = <4>;
15751cfce828SJeffrey Hugo			status = "disabled";
15761cfce828SJeffrey Hugo		};
15771cfce828SJeffrey Hugo
1578f1c1d4feSJeffrey Hugo		blsp1_dma: dma@c144000 {
1579f1c1d4feSJeffrey Hugo			compatible = "qcom,bam-v1.7.0";
1580f1c1d4feSJeffrey Hugo			reg = <0x0c144000 0x25000>;
1581f1c1d4feSJeffrey Hugo			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1582f1c1d4feSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
1583f1c1d4feSJeffrey Hugo			clock-names = "bam_clk";
1584f1c1d4feSJeffrey Hugo			#dma-cells = <1>;
1585f1c1d4feSJeffrey Hugo			qcom,ee = <0>;
1586f1c1d4feSJeffrey Hugo			qcom,controlled-remotely;
1587f1c1d4feSJeffrey Hugo			num-channels = <18>;
1588f1c1d4feSJeffrey Hugo			qcom,num-ees = <4>;
1589f1c1d4feSJeffrey Hugo		};
1590f1c1d4feSJeffrey Hugo
159173d4d2efSJeffrey Hugo		blsp1_uart3: serial@c171000 {
159273d4d2efSJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
159373d4d2efSJeffrey Hugo			reg = <0x0c171000 0x1000>;
159473d4d2efSJeffrey Hugo			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
159573d4d2efSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
159673d4d2efSJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
159773d4d2efSJeffrey Hugo			clock-names = "core", "iface";
159873d4d2efSJeffrey Hugo			dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
159973d4d2efSJeffrey Hugo			dma-names = "tx", "rx";
160073d4d2efSJeffrey Hugo			pinctrl-names = "default";
160173d4d2efSJeffrey Hugo			pinctrl-0 = <&blsp1_uart3_on>;
160273d4d2efSJeffrey Hugo			status = "disabled";
160373d4d2efSJeffrey Hugo		};
160473d4d2efSJeffrey Hugo
16051e71d0c2SJeffrey Hugo		blsp1_i2c1: i2c@c175000 {
16061e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
16071e71d0c2SJeffrey Hugo			reg = <0x0c175000 0x600>;
16081e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
16091e71d0c2SJeffrey Hugo
16101e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
16111e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
16121e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
16131e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
16141e71d0c2SJeffrey Hugo
16151e71d0c2SJeffrey Hugo			status = "disabled";
16161e71d0c2SJeffrey Hugo			#address-cells = <1>;
16171e71d0c2SJeffrey Hugo			#size-cells = <0>;
16181e71d0c2SJeffrey Hugo		};
16191e71d0c2SJeffrey Hugo
16201e71d0c2SJeffrey Hugo		blsp1_i2c2: i2c@c176000 {
16211e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
16221e71d0c2SJeffrey Hugo			reg = <0x0c176000 0x600>;
16231e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
16241e71d0c2SJeffrey Hugo
16251e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
16261e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
16271e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
16281e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
16291e71d0c2SJeffrey Hugo
16301e71d0c2SJeffrey Hugo			status = "disabled";
16311e71d0c2SJeffrey Hugo			#address-cells = <1>;
16321e71d0c2SJeffrey Hugo			#size-cells = <0>;
16331e71d0c2SJeffrey Hugo		};
16341e71d0c2SJeffrey Hugo
16351e71d0c2SJeffrey Hugo		blsp1_i2c3: i2c@c177000 {
16361e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
16371e71d0c2SJeffrey Hugo			reg = <0x0c177000 0x600>;
16381e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
16391e71d0c2SJeffrey Hugo
16401e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
16411e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
16421e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
16431e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
16441e71d0c2SJeffrey Hugo
16451e71d0c2SJeffrey Hugo			status = "disabled";
16461e71d0c2SJeffrey Hugo			#address-cells = <1>;
16471e71d0c2SJeffrey Hugo			#size-cells = <0>;
16481e71d0c2SJeffrey Hugo		};
16491e71d0c2SJeffrey Hugo
16501e71d0c2SJeffrey Hugo		blsp1_i2c4: i2c@c178000 {
16511e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
16521e71d0c2SJeffrey Hugo			reg = <0x0c178000 0x600>;
16531e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
16541e71d0c2SJeffrey Hugo
16551e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
16561e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
16571e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
16581e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
16591e71d0c2SJeffrey Hugo
16601e71d0c2SJeffrey Hugo			status = "disabled";
16611e71d0c2SJeffrey Hugo			#address-cells = <1>;
16621e71d0c2SJeffrey Hugo			#size-cells = <0>;
16631e71d0c2SJeffrey Hugo		};
16641e71d0c2SJeffrey Hugo
16651e71d0c2SJeffrey Hugo		blsp1_i2c5: i2c@c179000 {
16661e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
16671e71d0c2SJeffrey Hugo			reg = <0x0c179000 0x600>;
16681e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
16691e71d0c2SJeffrey Hugo
16701e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
16711e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
16721e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
16731e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
16741e71d0c2SJeffrey Hugo
16751e71d0c2SJeffrey Hugo			status = "disabled";
16761e71d0c2SJeffrey Hugo			#address-cells = <1>;
16771e71d0c2SJeffrey Hugo			#size-cells = <0>;
16781e71d0c2SJeffrey Hugo		};
16791e71d0c2SJeffrey Hugo
16801e71d0c2SJeffrey Hugo		blsp1_i2c6: i2c@c17a000 {
16811e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
16821e71d0c2SJeffrey Hugo			reg = <0x0c17a000 0x600>;
16831e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
16841e71d0c2SJeffrey Hugo
16851e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
16861e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
16871e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
16881e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
16891e71d0c2SJeffrey Hugo
16901e71d0c2SJeffrey Hugo			status = "disabled";
16911e71d0c2SJeffrey Hugo			#address-cells = <1>;
16921e71d0c2SJeffrey Hugo			#size-cells = <0>;
16931e71d0c2SJeffrey Hugo		};
16941e71d0c2SJeffrey Hugo
169532a5da21SJeffrey Hugo		blsp2_uart1: serial@c1b0000 {
169632a5da21SJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
169732a5da21SJeffrey Hugo			reg = <0x0c1b0000 0x1000>;
169832a5da21SJeffrey Hugo			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
169932a5da21SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
170032a5da21SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
170132a5da21SJeffrey Hugo			clock-names = "core", "iface";
170232a5da21SJeffrey Hugo			status = "disabled";
170332a5da21SJeffrey Hugo		};
170432a5da21SJeffrey Hugo
17051e71d0c2SJeffrey Hugo		blsp2_i2c0: i2c@c1b5000 {
17061e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17071e71d0c2SJeffrey Hugo			reg = <0x0c1b5000 0x600>;
17081e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
17091e71d0c2SJeffrey Hugo
17101e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
17111e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
17121e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17131e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17141e71d0c2SJeffrey Hugo
17151e71d0c2SJeffrey Hugo			status = "disabled";
17161e71d0c2SJeffrey Hugo			#address-cells = <1>;
17171e71d0c2SJeffrey Hugo			#size-cells = <0>;
17181e71d0c2SJeffrey Hugo		};
17191e71d0c2SJeffrey Hugo
17201e71d0c2SJeffrey Hugo		blsp2_i2c1: i2c@c1b6000 {
17211e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17221e71d0c2SJeffrey Hugo			reg = <0x0c1b6000 0x600>;
17231e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
17241e71d0c2SJeffrey Hugo
17251e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
17261e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
17271e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17281e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17291e71d0c2SJeffrey Hugo
17301e71d0c2SJeffrey Hugo			status = "disabled";
17311e71d0c2SJeffrey Hugo			#address-cells = <1>;
17321e71d0c2SJeffrey Hugo			#size-cells = <0>;
17331e71d0c2SJeffrey Hugo		};
17341e71d0c2SJeffrey Hugo
17351e71d0c2SJeffrey Hugo		blsp2_i2c2: i2c@c1b7000 {
17361e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17371e71d0c2SJeffrey Hugo			reg = <0x0c1b7000 0x600>;
17381e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
17391e71d0c2SJeffrey Hugo
17401e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
17411e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
17421e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17431e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17441e71d0c2SJeffrey Hugo
17451e71d0c2SJeffrey Hugo			status = "disabled";
17461e71d0c2SJeffrey Hugo			#address-cells = <1>;
17471e71d0c2SJeffrey Hugo			#size-cells = <0>;
17481e71d0c2SJeffrey Hugo		};
17491e71d0c2SJeffrey Hugo
17501e71d0c2SJeffrey Hugo		blsp2_i2c3: i2c@c1b8000 {
17511e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17521e71d0c2SJeffrey Hugo			reg = <0x0c1b8000 0x600>;
17531e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
17541e71d0c2SJeffrey Hugo
17551e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
17561e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
17571e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17581e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17591e71d0c2SJeffrey Hugo
17601e71d0c2SJeffrey Hugo			status = "disabled";
17611e71d0c2SJeffrey Hugo			#address-cells = <1>;
17621e71d0c2SJeffrey Hugo			#size-cells = <0>;
17631e71d0c2SJeffrey Hugo		};
17641e71d0c2SJeffrey Hugo
17651e71d0c2SJeffrey Hugo		blsp2_i2c4: i2c@c1b9000 {
17661e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17671e71d0c2SJeffrey Hugo			reg = <0x0c1b9000 0x600>;
17681e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
17691e71d0c2SJeffrey Hugo
17701e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
17711e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
17721e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17731e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17741e71d0c2SJeffrey Hugo
17751e71d0c2SJeffrey Hugo			status = "disabled";
17761e71d0c2SJeffrey Hugo			#address-cells = <1>;
17771e71d0c2SJeffrey Hugo			#size-cells = <0>;
17781e71d0c2SJeffrey Hugo		};
17791e71d0c2SJeffrey Hugo
17801e71d0c2SJeffrey Hugo		blsp2_i2c5: i2c@c1ba000 {
17811e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
1782c8be5541SMarc Gonzalez			reg = <0x0c1ba000 0x600>;
17831e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
17841e71d0c2SJeffrey Hugo
17851e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
17861e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
17871e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17881e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17891e71d0c2SJeffrey Hugo
17901e71d0c2SJeffrey Hugo			status = "disabled";
17911e71d0c2SJeffrey Hugo			#address-cells = <1>;
17921e71d0c2SJeffrey Hugo			#size-cells = <0>;
17931e71d0c2SJeffrey Hugo		};
17941e71d0c2SJeffrey Hugo
179532a5da21SJeffrey Hugo		apcs_glb: mailbox@17911000 {
179632a5da21SJeffrey Hugo			compatible = "qcom,msm8998-apcs-hmss-global";
179732a5da21SJeffrey Hugo			reg = <0x17911000 0x1000>;
179832a5da21SJeffrey Hugo
179932a5da21SJeffrey Hugo			#mbox-cells = <1>;
18004807c71cSJoonwoo Park		};
18014807c71cSJoonwoo Park
18024807c71cSJoonwoo Park		timer@17920000 {
18034807c71cSJoonwoo Park			#address-cells = <1>;
18044807c71cSJoonwoo Park			#size-cells = <1>;
18054807c71cSJoonwoo Park			ranges;
18064807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
18074807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
18084807c71cSJoonwoo Park
18094807c71cSJoonwoo Park			frame@17921000 {
18104807c71cSJoonwoo Park				frame-number = <0>;
18114807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
18124807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
18134807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
18144807c71cSJoonwoo Park				      <0x17922000 0x1000>;
18154807c71cSJoonwoo Park			};
18164807c71cSJoonwoo Park
18174807c71cSJoonwoo Park			frame@17923000 {
18184807c71cSJoonwoo Park				frame-number = <1>;
18194807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
18204807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
18214807c71cSJoonwoo Park				status = "disabled";
18224807c71cSJoonwoo Park			};
18234807c71cSJoonwoo Park
18244807c71cSJoonwoo Park			frame@17924000 {
18254807c71cSJoonwoo Park				frame-number = <2>;
18264807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
18274807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
18284807c71cSJoonwoo Park				status = "disabled";
18294807c71cSJoonwoo Park			};
18304807c71cSJoonwoo Park
18314807c71cSJoonwoo Park			frame@17925000 {
18324807c71cSJoonwoo Park				frame-number = <3>;
18334807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
18344807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
18354807c71cSJoonwoo Park				status = "disabled";
18364807c71cSJoonwoo Park			};
18374807c71cSJoonwoo Park
18384807c71cSJoonwoo Park			frame@17926000 {
18394807c71cSJoonwoo Park				frame-number = <4>;
18404807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
18414807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
18424807c71cSJoonwoo Park				status = "disabled";
18434807c71cSJoonwoo Park			};
18444807c71cSJoonwoo Park
18454807c71cSJoonwoo Park			frame@17927000 {
18464807c71cSJoonwoo Park				frame-number = <5>;
18474807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
18484807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
18494807c71cSJoonwoo Park				status = "disabled";
18504807c71cSJoonwoo Park			};
18514807c71cSJoonwoo Park
18524807c71cSJoonwoo Park			frame@17928000 {
18534807c71cSJoonwoo Park				frame-number = <6>;
18544807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
18554807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
18564807c71cSJoonwoo Park				status = "disabled";
18574807c71cSJoonwoo Park			};
18584807c71cSJoonwoo Park		};
18594807c71cSJoonwoo Park
18604807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
18614807c71cSJoonwoo Park			compatible = "arm,gic-v3";
18624807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
18634807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
18644807c71cSJoonwoo Park			#interrupt-cells = <3>;
18654807c71cSJoonwoo Park			#address-cells = <1>;
18664807c71cSJoonwoo Park			#size-cells = <1>;
18674807c71cSJoonwoo Park			ranges;
18684807c71cSJoonwoo Park			interrupt-controller;
18694807c71cSJoonwoo Park			#redistributor-regions = <1>;
18704807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
18714807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
18724807c71cSJoonwoo Park		};
18734807c71cSJoonwoo Park	};
18744807c71cSJoonwoo Park};
18756da80161SJeffrey Hugo
18766da80161SJeffrey Hugo#include "msm8998-pins.dtsi"
1877