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>
6876a7573SJeffrey Hugo#include <dt-bindings/clock/qcom,gpucc-msm8998.h>
71fb28636SMarc Gonzalez#include <dt-bindings/clock/qcom,rpmcc.h>
8460f13caSSibi Sankar#include <dt-bindings/power/qcom-rpmpd.h>
923bd4f78SJeffrey Hugo#include <dt-bindings/gpio/gpio.h>
104807c71cSJoonwoo Park
114807c71cSJoonwoo Park/ {
124807c71cSJoonwoo Park	interrupt-parent = <&intc>;
134807c71cSJoonwoo Park
144807c71cSJoonwoo Park	qcom,msm-id = <292 0x0>;
154807c71cSJoonwoo Park
164807c71cSJoonwoo Park	#address-cells = <2>;
174807c71cSJoonwoo Park	#size-cells = <2>;
184807c71cSJoonwoo Park
194807c71cSJoonwoo Park	chosen { };
204807c71cSJoonwoo Park
214807c71cSJoonwoo Park	memory {
224807c71cSJoonwoo Park		device_type = "memory";
234807c71cSJoonwoo Park		/* We expect the bootloader to fill in the reg */
244807c71cSJoonwoo Park		reg = <0 0 0 0>;
254807c71cSJoonwoo Park	};
264807c71cSJoonwoo Park
27c7833949SBjorn Andersson	reserved-memory {
28c7833949SBjorn Andersson		#address-cells = <2>;
29c7833949SBjorn Andersson		#size-cells = <2>;
30c7833949SBjorn Andersson		ranges;
31c7833949SBjorn Andersson
32*fda8fba6SSibi Sankar		hyp_mem: memory@85800000 {
33*fda8fba6SSibi Sankar			reg = <0x0 0x85800000 0x0 0x600000>;
34*fda8fba6SSibi Sankar			no-map;
35*fda8fba6SSibi Sankar		};
36*fda8fba6SSibi Sankar
37*fda8fba6SSibi Sankar		xbl_mem: memory@85e00000 {
38*fda8fba6SSibi Sankar			reg = <0x0 0x85e00000 0x0 0x100000>;
39c7833949SBjorn Andersson			no-map;
40c7833949SBjorn Andersson		};
41c7833949SBjorn Andersson
42c7833949SBjorn Andersson		smem_mem: smem-mem@86000000 {
43c7833949SBjorn Andersson			reg = <0x0 0x86000000 0x0 0x200000>;
44c7833949SBjorn Andersson			no-map;
45c7833949SBjorn Andersson		};
46c7833949SBjorn Andersson
47*fda8fba6SSibi Sankar		tz_mem: memory@86200000 {
486e533309SMarc Gonzalez			reg = <0x0 0x86200000 0x0 0x2d00000>;
49c7833949SBjorn Andersson			no-map;
50c7833949SBjorn Andersson		};
51c7833949SBjorn Andersson
52*fda8fba6SSibi Sankar		rmtfs_mem: memory@88f00000 {
53*fda8fba6SSibi Sankar			compatible = "qcom,rmtfs-mem";
54*fda8fba6SSibi Sankar			reg = <0x0 0x88f00000 0x0 0x200000>;
55*fda8fba6SSibi Sankar			no-map;
56*fda8fba6SSibi Sankar
57*fda8fba6SSibi Sankar			qcom,client-id = <1>;
58*fda8fba6SSibi Sankar			qcom,vmid = <15>;
59*fda8fba6SSibi Sankar		};
60*fda8fba6SSibi Sankar
61*fda8fba6SSibi Sankar		spss_mem: memory@8ab00000 {
62*fda8fba6SSibi Sankar			reg = <0x0 0x8ab00000 0x0 0x700000>;
63*fda8fba6SSibi Sankar			no-map;
64*fda8fba6SSibi Sankar		};
65*fda8fba6SSibi Sankar
66*fda8fba6SSibi Sankar		adsp_mem: memory@8b200000 {
67*fda8fba6SSibi Sankar			reg = <0x0 0x8b200000 0x0 0x1a00000>;
68*fda8fba6SSibi Sankar			no-map;
69*fda8fba6SSibi Sankar		};
70*fda8fba6SSibi Sankar
71*fda8fba6SSibi Sankar		mpss_mem: memory@8cc00000 {
72*fda8fba6SSibi Sankar			reg = <0x0 0x8cc00000 0x0 0x7000000>;
73*fda8fba6SSibi Sankar			no-map;
74*fda8fba6SSibi Sankar		};
75*fda8fba6SSibi Sankar
76*fda8fba6SSibi Sankar		venus_mem: memory@93c00000 {
77*fda8fba6SSibi Sankar			reg = <0x0 0x93c00000 0x0 0x500000>;
78*fda8fba6SSibi Sankar			no-map;
79*fda8fba6SSibi Sankar		};
80*fda8fba6SSibi Sankar
81*fda8fba6SSibi Sankar		mba_mem: memory@94100000 {
82*fda8fba6SSibi Sankar			reg = <0x0 0x94100000 0x0 0x200000>;
83*fda8fba6SSibi Sankar			no-map;
84*fda8fba6SSibi Sankar		};
85*fda8fba6SSibi Sankar
86*fda8fba6SSibi Sankar		slpi_mem: memory@94300000 {
87*fda8fba6SSibi Sankar			reg = <0x0 0x94300000 0x0 0xf00000>;
88*fda8fba6SSibi Sankar			no-map;
89*fda8fba6SSibi Sankar		};
90*fda8fba6SSibi Sankar
91*fda8fba6SSibi Sankar		ipa_fw_mem: memory@95200000 {
92*fda8fba6SSibi Sankar			reg = <0x0 0x95200000 0x0 0x10000>;
93*fda8fba6SSibi Sankar			no-map;
94*fda8fba6SSibi Sankar		};
95*fda8fba6SSibi Sankar
96*fda8fba6SSibi Sankar		ipa_gsi_mem: memory@95210000 {
97*fda8fba6SSibi Sankar			reg = <0x0 0x95210000 0x0 0x5000>;
98*fda8fba6SSibi Sankar			no-map;
99*fda8fba6SSibi Sankar		};
100*fda8fba6SSibi Sankar
101*fda8fba6SSibi Sankar		gpu_mem: memory@95600000 {
102*fda8fba6SSibi Sankar			reg = <0x0 0x95600000 0x0 0x100000>;
103*fda8fba6SSibi Sankar			no-map;
104*fda8fba6SSibi Sankar		};
105*fda8fba6SSibi Sankar
10619b7caaaSJeffrey Hugo		wlan_msa_mem: memory@95700000 {
10719b7caaaSJeffrey Hugo			reg = <0x0 0x95700000 0x0 0x100000>;
10819b7caaaSJeffrey Hugo			no-map;
10919b7caaaSJeffrey Hugo		};
110c7833949SBjorn Andersson	};
111c7833949SBjorn Andersson
1124807c71cSJoonwoo Park	clocks {
113818046ebSAndy Gross		xo: xo-board {
1144807c71cSJoonwoo Park			compatible = "fixed-clock";
1154807c71cSJoonwoo Park			#clock-cells = <0>;
1164807c71cSJoonwoo Park			clock-frequency = <19200000>;
117818046ebSAndy Gross			clock-output-names = "xo_board";
1184807c71cSJoonwoo Park		};
1194807c71cSJoonwoo Park
1204807c71cSJoonwoo Park		sleep_clk {
1214807c71cSJoonwoo Park			compatible = "fixed-clock";
1224807c71cSJoonwoo Park			#clock-cells = <0>;
1234807c71cSJoonwoo Park			clock-frequency = <32764>;
1244807c71cSJoonwoo Park		};
1254807c71cSJoonwoo Park	};
1264807c71cSJoonwoo Park
1274807c71cSJoonwoo Park	cpus {
1284807c71cSJoonwoo Park		#address-cells = <2>;
1294807c71cSJoonwoo Park		#size-cells = <0>;
1304807c71cSJoonwoo Park
1314807c71cSJoonwoo Park		CPU0: cpu@0 {
1324807c71cSJoonwoo Park			device_type = "cpu";
1334807c71cSJoonwoo Park			compatible = "arm,armv8";
1344807c71cSJoonwoo Park			reg = <0x0 0x0>;
1354807c71cSJoonwoo Park			enable-method = "psci";
136c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1374807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1384807c71cSJoonwoo Park			L2_0: l2-cache {
1394807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1404807c71cSJoonwoo Park				cache-level = <2>;
1414807c71cSJoonwoo Park			};
1424807c71cSJoonwoo Park			L1_I_0: l1-icache {
1434807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1444807c71cSJoonwoo Park			};
1454807c71cSJoonwoo Park			L1_D_0: l1-dcache {
1464807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1474807c71cSJoonwoo Park			};
1484807c71cSJoonwoo Park		};
1494807c71cSJoonwoo Park
1504807c71cSJoonwoo Park		CPU1: cpu@1 {
1514807c71cSJoonwoo Park			device_type = "cpu";
1524807c71cSJoonwoo Park			compatible = "arm,armv8";
1534807c71cSJoonwoo Park			reg = <0x0 0x1>;
1544807c71cSJoonwoo Park			enable-method = "psci";
155c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1564807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1574807c71cSJoonwoo Park			L1_I_1: l1-icache {
1584807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1594807c71cSJoonwoo Park			};
1604807c71cSJoonwoo Park			L1_D_1: l1-dcache {
1614807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1624807c71cSJoonwoo Park			};
1634807c71cSJoonwoo Park		};
1644807c71cSJoonwoo Park
1654807c71cSJoonwoo Park		CPU2: cpu@2 {
1664807c71cSJoonwoo Park			device_type = "cpu";
1674807c71cSJoonwoo Park			compatible = "arm,armv8";
1684807c71cSJoonwoo Park			reg = <0x0 0x2>;
1694807c71cSJoonwoo Park			enable-method = "psci";
170c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1714807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1724807c71cSJoonwoo Park			L1_I_2: l1-icache {
1734807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1744807c71cSJoonwoo Park			};
1754807c71cSJoonwoo Park			L1_D_2: l1-dcache {
1764807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1774807c71cSJoonwoo Park			};
1784807c71cSJoonwoo Park		};
1794807c71cSJoonwoo Park
1804807c71cSJoonwoo Park		CPU3: cpu@3 {
1814807c71cSJoonwoo Park			device_type = "cpu";
1824807c71cSJoonwoo Park			compatible = "arm,armv8";
1834807c71cSJoonwoo Park			reg = <0x0 0x3>;
1844807c71cSJoonwoo Park			enable-method = "psci";
185c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1864807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1874807c71cSJoonwoo Park			L1_I_3: l1-icache {
1884807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1894807c71cSJoonwoo Park			};
1904807c71cSJoonwoo Park			L1_D_3: l1-dcache {
1914807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1924807c71cSJoonwoo Park			};
1934807c71cSJoonwoo Park		};
1944807c71cSJoonwoo Park
1954807c71cSJoonwoo Park		CPU4: cpu@100 {
1964807c71cSJoonwoo Park			device_type = "cpu";
1974807c71cSJoonwoo Park			compatible = "arm,armv8";
1984807c71cSJoonwoo Park			reg = <0x0 0x100>;
1994807c71cSJoonwoo Park			enable-method = "psci";
200c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2014807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2024807c71cSJoonwoo Park			L2_1: l2-cache {
2034807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2044807c71cSJoonwoo Park				cache-level = <2>;
2054807c71cSJoonwoo Park			};
2064807c71cSJoonwoo Park			L1_I_100: l1-icache {
2074807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2084807c71cSJoonwoo Park			};
2094807c71cSJoonwoo Park			L1_D_100: l1-dcache {
2104807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2114807c71cSJoonwoo Park			};
2124807c71cSJoonwoo Park		};
2134807c71cSJoonwoo Park
2144807c71cSJoonwoo Park		CPU5: cpu@101 {
2154807c71cSJoonwoo Park			device_type = "cpu";
2164807c71cSJoonwoo Park			compatible = "arm,armv8";
2174807c71cSJoonwoo Park			reg = <0x0 0x101>;
2184807c71cSJoonwoo Park			enable-method = "psci";
219c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2204807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2214807c71cSJoonwoo Park			L1_I_101: l1-icache {
2224807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2234807c71cSJoonwoo Park			};
2244807c71cSJoonwoo Park			L1_D_101: l1-dcache {
2254807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2264807c71cSJoonwoo Park			};
2274807c71cSJoonwoo Park		};
2284807c71cSJoonwoo Park
2294807c71cSJoonwoo Park		CPU6: cpu@102 {
2304807c71cSJoonwoo Park			device_type = "cpu";
2314807c71cSJoonwoo Park			compatible = "arm,armv8";
2324807c71cSJoonwoo Park			reg = <0x0 0x102>;
2334807c71cSJoonwoo Park			enable-method = "psci";
234c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2354807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2364807c71cSJoonwoo Park			L1_I_102: l1-icache {
2374807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2384807c71cSJoonwoo Park			};
2394807c71cSJoonwoo Park			L1_D_102: l1-dcache {
2404807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2414807c71cSJoonwoo Park			};
2424807c71cSJoonwoo Park		};
2434807c71cSJoonwoo Park
2444807c71cSJoonwoo Park		CPU7: cpu@103 {
2454807c71cSJoonwoo Park			device_type = "cpu";
2464807c71cSJoonwoo Park			compatible = "arm,armv8";
2474807c71cSJoonwoo Park			reg = <0x0 0x103>;
2484807c71cSJoonwoo Park			enable-method = "psci";
249c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2504807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2514807c71cSJoonwoo Park			L1_I_103: l1-icache {
2524807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2534807c71cSJoonwoo Park			};
2544807c71cSJoonwoo Park			L1_D_103: l1-dcache {
2554807c71cSJoonwoo Park				compatible = "arm,arch-cache";
2564807c71cSJoonwoo Park			};
2574807c71cSJoonwoo Park		};
2584807c71cSJoonwoo Park
2594807c71cSJoonwoo Park		cpu-map {
2604807c71cSJoonwoo Park			cluster0 {
2614807c71cSJoonwoo Park				core0 {
2624807c71cSJoonwoo Park					cpu = <&CPU0>;
2634807c71cSJoonwoo Park				};
2644807c71cSJoonwoo Park
2654807c71cSJoonwoo Park				core1 {
2664807c71cSJoonwoo Park					cpu = <&CPU1>;
2674807c71cSJoonwoo Park				};
2684807c71cSJoonwoo Park
2694807c71cSJoonwoo Park				core2 {
2704807c71cSJoonwoo Park					cpu = <&CPU2>;
2714807c71cSJoonwoo Park				};
2724807c71cSJoonwoo Park
2734807c71cSJoonwoo Park				core3 {
2744807c71cSJoonwoo Park					cpu = <&CPU3>;
2754807c71cSJoonwoo Park				};
2764807c71cSJoonwoo Park			};
2774807c71cSJoonwoo Park
2784807c71cSJoonwoo Park			cluster1 {
2794807c71cSJoonwoo Park				core0 {
2804807c71cSJoonwoo Park					cpu = <&CPU4>;
2814807c71cSJoonwoo Park				};
2824807c71cSJoonwoo Park
2834807c71cSJoonwoo Park				core1 {
2844807c71cSJoonwoo Park					cpu = <&CPU5>;
2854807c71cSJoonwoo Park				};
2864807c71cSJoonwoo Park
2874807c71cSJoonwoo Park				core2 {
2884807c71cSJoonwoo Park					cpu = <&CPU6>;
2894807c71cSJoonwoo Park				};
2904807c71cSJoonwoo Park
2914807c71cSJoonwoo Park				core3 {
2924807c71cSJoonwoo Park					cpu = <&CPU7>;
2934807c71cSJoonwoo Park				};
2944807c71cSJoonwoo Park			};
2954807c71cSJoonwoo Park		};
296c3083c80SAmit Kucheria
297c3083c80SAmit Kucheria		idle-states {
298c3083c80SAmit Kucheria			entry-method = "psci";
299c3083c80SAmit Kucheria
300c3083c80SAmit Kucheria			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
301c3083c80SAmit Kucheria				compatible = "arm,idle-state";
302c3083c80SAmit Kucheria				idle-state-name = "little-retention";
303c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x00000002>;
304c3083c80SAmit Kucheria				entry-latency-us = <81>;
305c3083c80SAmit Kucheria				exit-latency-us = <86>;
306c3083c80SAmit Kucheria				min-residency-us = <200>;
307c3083c80SAmit Kucheria			};
308c3083c80SAmit Kucheria
309c3083c80SAmit Kucheria			LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
310c3083c80SAmit Kucheria				compatible = "arm,idle-state";
311c3083c80SAmit Kucheria				idle-state-name = "little-power-collapse";
312c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x40000003>;
313c3083c80SAmit Kucheria				entry-latency-us = <273>;
314c3083c80SAmit Kucheria				exit-latency-us = <612>;
315c3083c80SAmit Kucheria				min-residency-us = <1000>;
316c3083c80SAmit Kucheria				local-timer-stop;
317c3083c80SAmit Kucheria			};
318c3083c80SAmit Kucheria
319c3083c80SAmit Kucheria			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
320c3083c80SAmit Kucheria				compatible = "arm,idle-state";
321c3083c80SAmit Kucheria				idle-state-name = "big-retention";
322c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x00000002>;
323c3083c80SAmit Kucheria				entry-latency-us = <79>;
324c3083c80SAmit Kucheria				exit-latency-us = <82>;
325c3083c80SAmit Kucheria				min-residency-us = <200>;
326c3083c80SAmit Kucheria			};
327c3083c80SAmit Kucheria
328c3083c80SAmit Kucheria			BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
329c3083c80SAmit Kucheria				compatible = "arm,idle-state";
330c3083c80SAmit Kucheria				idle-state-name = "big-power-collapse";
331c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x40000003>;
332c3083c80SAmit Kucheria				entry-latency-us = <336>;
333c3083c80SAmit Kucheria				exit-latency-us = <525>;
334c3083c80SAmit Kucheria				min-residency-us = <1000>;
335c3083c80SAmit Kucheria				local-timer-stop;
336c3083c80SAmit Kucheria			};
337c3083c80SAmit Kucheria		};
3384807c71cSJoonwoo Park	};
3394807c71cSJoonwoo Park
340d850156aSBjorn Andersson	firmware {
341d850156aSBjorn Andersson		scm {
34270827d9fSBjorn Andersson			compatible = "qcom,scm-msm8998", "qcom,scm";
343d850156aSBjorn Andersson		};
344d850156aSBjorn Andersson	};
345d850156aSBjorn Andersson
346c7833949SBjorn Andersson	tcsr_mutex: hwlock {
347c7833949SBjorn Andersson		compatible = "qcom,tcsr-mutex";
348c7833949SBjorn Andersson		syscon = <&tcsr_mutex_regs 0 0x1000>;
349c7833949SBjorn Andersson		#hwlock-cells = <1>;
350c7833949SBjorn Andersson	};
351c7833949SBjorn Andersson
3524807c71cSJoonwoo Park	psci {
3534807c71cSJoonwoo Park		compatible = "arm,psci-1.0";
3544807c71cSJoonwoo Park		method = "smc";
3554807c71cSJoonwoo Park	};
3564807c71cSJoonwoo Park
35731c1f0e3SBjorn Andersson	rpm-glink {
35831c1f0e3SBjorn Andersson		compatible = "qcom,glink-rpm";
35931c1f0e3SBjorn Andersson
36031c1f0e3SBjorn Andersson		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
36131c1f0e3SBjorn Andersson		qcom,rpm-msg-ram = <&rpm_msg_ram>;
36231c1f0e3SBjorn Andersson		mboxes = <&apcs_glb 0>;
36331c1f0e3SBjorn Andersson
36431c1f0e3SBjorn Andersson		rpm_requests: rpm-requests {
36531c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msm8998";
36631c1f0e3SBjorn Andersson			qcom,glink-channels = "rpm_requests";
3671fb28636SMarc Gonzalez
3681fb28636SMarc Gonzalez			rpmcc: clock-controller {
3691fb28636SMarc Gonzalez				compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
3701fb28636SMarc Gonzalez				#clock-cells = <1>;
3711fb28636SMarc Gonzalez			};
372460f13caSSibi Sankar
373460f13caSSibi Sankar			rpmpd: power-controller {
374460f13caSSibi Sankar				compatible = "qcom,msm8998-rpmpd";
375460f13caSSibi Sankar				#power-domain-cells = <1>;
376460f13caSSibi Sankar				operating-points-v2 = <&rpmpd_opp_table>;
377460f13caSSibi Sankar
378460f13caSSibi Sankar				rpmpd_opp_table: opp-table {
379460f13caSSibi Sankar					compatible = "operating-points-v2";
380460f13caSSibi Sankar
381460f13caSSibi Sankar					rpmpd_opp_ret: opp1 {
382460f13caSSibi Sankar						opp-level = <16>;
383460f13caSSibi Sankar					};
384460f13caSSibi Sankar
385460f13caSSibi Sankar					rpmpd_opp_ret_plus: opp2 {
386460f13caSSibi Sankar						opp-level = <32>;
387460f13caSSibi Sankar					};
388460f13caSSibi Sankar
389460f13caSSibi Sankar					rpmpd_opp_min_svs: opp3 {
390460f13caSSibi Sankar						opp-level = <48>;
391460f13caSSibi Sankar					};
392460f13caSSibi Sankar
393460f13caSSibi Sankar					rpmpd_opp_low_svs: opp4 {
394460f13caSSibi Sankar						opp-level = <64>;
395460f13caSSibi Sankar					};
396460f13caSSibi Sankar
397460f13caSSibi Sankar					rpmpd_opp_svs: opp5 {
398460f13caSSibi Sankar						opp-level = <128>;
399460f13caSSibi Sankar					};
400460f13caSSibi Sankar
401460f13caSSibi Sankar					rpmpd_opp_svs_plus: opp6 {
402460f13caSSibi Sankar						opp-level = <192>;
403460f13caSSibi Sankar					};
404460f13caSSibi Sankar
405460f13caSSibi Sankar					rpmpd_opp_nom: opp7 {
406460f13caSSibi Sankar						opp-level = <256>;
407460f13caSSibi Sankar					};
408460f13caSSibi Sankar
409460f13caSSibi Sankar					rpmpd_opp_nom_plus: opp8 {
410460f13caSSibi Sankar						opp-level = <320>;
411460f13caSSibi Sankar					};
412460f13caSSibi Sankar
413460f13caSSibi Sankar					rpmpd_opp_turbo: opp9 {
414460f13caSSibi Sankar						opp-level = <384>;
415460f13caSSibi Sankar					};
416460f13caSSibi Sankar
417460f13caSSibi Sankar					rpmpd_opp_turbo_plus: opp10 {
418460f13caSSibi Sankar						opp-level = <512>;
419460f13caSSibi Sankar					};
420460f13caSSibi Sankar				};
421460f13caSSibi Sankar			};
42231c1f0e3SBjorn Andersson		};
42331c1f0e3SBjorn Andersson	};
42431c1f0e3SBjorn Andersson
425c7833949SBjorn Andersson	smem {
426c7833949SBjorn Andersson		compatible = "qcom,smem";
427c7833949SBjorn Andersson		memory-region = <&smem_mem>;
428c7833949SBjorn Andersson		hwlocks = <&tcsr_mutex 3>;
429c7833949SBjorn Andersson	};
430c7833949SBjorn Andersson
431e8d006fdSBjorn Andersson	smp2p-lpass {
432e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
433e8d006fdSBjorn Andersson		qcom,smem = <443>, <429>;
434e8d006fdSBjorn Andersson
435e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
436e8d006fdSBjorn Andersson
437e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 10>;
438e8d006fdSBjorn Andersson
439e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
440e8d006fdSBjorn Andersson		qcom,remote-pid = <2>;
441e8d006fdSBjorn Andersson
442e8d006fdSBjorn Andersson		adsp_smp2p_out: master-kernel {
443e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
444e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
445e8d006fdSBjorn Andersson		};
446e8d006fdSBjorn Andersson
447e8d006fdSBjorn Andersson		adsp_smp2p_in: slave-kernel {
448e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
449e8d006fdSBjorn Andersson
450e8d006fdSBjorn Andersson			interrupt-controller;
451e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
452e8d006fdSBjorn Andersson		};
453e8d006fdSBjorn Andersson	};
454e8d006fdSBjorn Andersson
455e8d006fdSBjorn Andersson	smp2p-mpss {
456e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
457e8d006fdSBjorn Andersson		qcom,smem = <435>, <428>;
458e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
459e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 14>;
460e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
461e8d006fdSBjorn Andersson		qcom,remote-pid = <1>;
462e8d006fdSBjorn Andersson
463e8d006fdSBjorn Andersson		modem_smp2p_out: master-kernel {
464e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
465e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
466e8d006fdSBjorn Andersson		};
467e8d006fdSBjorn Andersson
468e8d006fdSBjorn Andersson		modem_smp2p_in: slave-kernel {
469e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
470e8d006fdSBjorn Andersson			interrupt-controller;
471e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
472e8d006fdSBjorn Andersson		};
473e8d006fdSBjorn Andersson	};
474e8d006fdSBjorn Andersson
475e8d006fdSBjorn Andersson	smp2p-slpi {
476e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
477e8d006fdSBjorn Andersson		qcom,smem = <481>, <430>;
478e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
479e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 26>;
480e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
481e8d006fdSBjorn Andersson		qcom,remote-pid = <3>;
482e8d006fdSBjorn Andersson
483e8d006fdSBjorn Andersson		slpi_smp2p_out: master-kernel {
484e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
485e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
486e8d006fdSBjorn Andersson		};
487e8d006fdSBjorn Andersson
488e8d006fdSBjorn Andersson		slpi_smp2p_in: slave-kernel {
489e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
490e8d006fdSBjorn Andersson			interrupt-controller;
491e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
492e8d006fdSBjorn Andersson		};
493e8d006fdSBjorn Andersson	};
494e8d006fdSBjorn Andersson
4954449b6f2SBjorn Andersson	thermal-zones {
496ae8876ddSAmit Kucheria		cpu0-thermal {
4974449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4984449b6f2SBjorn Andersson			polling-delay = <1000>;
4994449b6f2SBjorn Andersson
500b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 1>;
5014449b6f2SBjorn Andersson
5024449b6f2SBjorn Andersson			trips {
503ae8876ddSAmit Kucheria				cpu0_alert0: trip-point@0 {
5044449b6f2SBjorn Andersson					temperature = <75000>;
5054449b6f2SBjorn Andersson					hysteresis = <2000>;
5064449b6f2SBjorn Andersson					type = "passive";
5074449b6f2SBjorn Andersson				};
5084449b6f2SBjorn Andersson
509ae8876ddSAmit Kucheria				cpu0_crit: cpu_crit {
5104449b6f2SBjorn Andersson					temperature = <110000>;
5114449b6f2SBjorn Andersson					hysteresis = <2000>;
5124449b6f2SBjorn Andersson					type = "critical";
5134449b6f2SBjorn Andersson				};
5144449b6f2SBjorn Andersson			};
5154449b6f2SBjorn Andersson		};
5164449b6f2SBjorn Andersson
517ae8876ddSAmit Kucheria		cpu1-thermal {
5184449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5194449b6f2SBjorn Andersson			polling-delay = <1000>;
5204449b6f2SBjorn Andersson
521b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 2>;
5224449b6f2SBjorn Andersson
5234449b6f2SBjorn Andersson			trips {
524ae8876ddSAmit Kucheria				cpu1_alert0: trip-point@0 {
5254449b6f2SBjorn Andersson					temperature = <75000>;
5264449b6f2SBjorn Andersson					hysteresis = <2000>;
5274449b6f2SBjorn Andersson					type = "passive";
5284449b6f2SBjorn Andersson				};
5294449b6f2SBjorn Andersson
530ae8876ddSAmit Kucheria				cpu1_crit: cpu_crit {
5314449b6f2SBjorn Andersson					temperature = <110000>;
5324449b6f2SBjorn Andersson					hysteresis = <2000>;
5334449b6f2SBjorn Andersson					type = "critical";
5344449b6f2SBjorn Andersson				};
5354449b6f2SBjorn Andersson			};
5364449b6f2SBjorn Andersson		};
5374449b6f2SBjorn Andersson
538ae8876ddSAmit Kucheria		cpu2-thermal {
5394449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5404449b6f2SBjorn Andersson			polling-delay = <1000>;
5414449b6f2SBjorn Andersson
542b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 3>;
5434449b6f2SBjorn Andersson
5444449b6f2SBjorn Andersson			trips {
545ae8876ddSAmit Kucheria				cpu2_alert0: trip-point@0 {
5464449b6f2SBjorn Andersson					temperature = <75000>;
5474449b6f2SBjorn Andersson					hysteresis = <2000>;
5484449b6f2SBjorn Andersson					type = "passive";
5494449b6f2SBjorn Andersson				};
5504449b6f2SBjorn Andersson
551ae8876ddSAmit Kucheria				cpu2_crit: cpu_crit {
5524449b6f2SBjorn Andersson					temperature = <110000>;
5534449b6f2SBjorn Andersson					hysteresis = <2000>;
5544449b6f2SBjorn Andersson					type = "critical";
5554449b6f2SBjorn Andersson				};
5564449b6f2SBjorn Andersson			};
5574449b6f2SBjorn Andersson		};
5584449b6f2SBjorn Andersson
559ae8876ddSAmit Kucheria		cpu3-thermal {
5604449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5614449b6f2SBjorn Andersson			polling-delay = <1000>;
5624449b6f2SBjorn Andersson
563b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 4>;
5644449b6f2SBjorn Andersson
5654449b6f2SBjorn Andersson			trips {
566ae8876ddSAmit Kucheria				cpu3_alert0: trip-point@0 {
5674449b6f2SBjorn Andersson					temperature = <75000>;
5684449b6f2SBjorn Andersson					hysteresis = <2000>;
5694449b6f2SBjorn Andersson					type = "passive";
5704449b6f2SBjorn Andersson				};
5714449b6f2SBjorn Andersson
572ae8876ddSAmit Kucheria				cpu3_crit: cpu_crit {
5734449b6f2SBjorn Andersson					temperature = <110000>;
5744449b6f2SBjorn Andersson					hysteresis = <2000>;
5754449b6f2SBjorn Andersson					type = "critical";
5764449b6f2SBjorn Andersson				};
5774449b6f2SBjorn Andersson			};
5784449b6f2SBjorn Andersson		};
5794449b6f2SBjorn Andersson
580ae8876ddSAmit Kucheria		cpu4-thermal {
5814449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5824449b6f2SBjorn Andersson			polling-delay = <1000>;
5834449b6f2SBjorn Andersson
5844449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 7>;
5854449b6f2SBjorn Andersson
5864449b6f2SBjorn Andersson			trips {
587ae8876ddSAmit Kucheria				cpu4_alert0: trip-point@0 {
5884449b6f2SBjorn Andersson					temperature = <75000>;
5894449b6f2SBjorn Andersson					hysteresis = <2000>;
5904449b6f2SBjorn Andersson					type = "passive";
5914449b6f2SBjorn Andersson				};
5924449b6f2SBjorn Andersson
593ae8876ddSAmit Kucheria				cpu4_crit: cpu_crit {
5944449b6f2SBjorn Andersson					temperature = <110000>;
5954449b6f2SBjorn Andersson					hysteresis = <2000>;
5964449b6f2SBjorn Andersson					type = "critical";
5974449b6f2SBjorn Andersson				};
5984449b6f2SBjorn Andersson			};
5994449b6f2SBjorn Andersson		};
6004449b6f2SBjorn Andersson
601ae8876ddSAmit Kucheria		cpu5-thermal {
6024449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6034449b6f2SBjorn Andersson			polling-delay = <1000>;
6044449b6f2SBjorn Andersson
6054449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 8>;
6064449b6f2SBjorn Andersson
6074449b6f2SBjorn Andersson			trips {
608ae8876ddSAmit Kucheria				cpu5_alert0: trip-point@0 {
6094449b6f2SBjorn Andersson					temperature = <75000>;
6104449b6f2SBjorn Andersson					hysteresis = <2000>;
6114449b6f2SBjorn Andersson					type = "passive";
6124449b6f2SBjorn Andersson				};
6134449b6f2SBjorn Andersson
614ae8876ddSAmit Kucheria				cpu5_crit: cpu_crit {
6154449b6f2SBjorn Andersson					temperature = <110000>;
6164449b6f2SBjorn Andersson					hysteresis = <2000>;
6174449b6f2SBjorn Andersson					type = "critical";
6184449b6f2SBjorn Andersson				};
6194449b6f2SBjorn Andersson			};
6204449b6f2SBjorn Andersson		};
6214449b6f2SBjorn Andersson
622ae8876ddSAmit Kucheria		cpu6-thermal {
6234449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6244449b6f2SBjorn Andersson			polling-delay = <1000>;
6254449b6f2SBjorn Andersson
6264449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 9>;
6274449b6f2SBjorn Andersson
6284449b6f2SBjorn Andersson			trips {
629ae8876ddSAmit Kucheria				cpu6_alert0: trip-point@0 {
6304449b6f2SBjorn Andersson					temperature = <75000>;
6314449b6f2SBjorn Andersson					hysteresis = <2000>;
6324449b6f2SBjorn Andersson					type = "passive";
6334449b6f2SBjorn Andersson				};
6344449b6f2SBjorn Andersson
635ae8876ddSAmit Kucheria				cpu6_crit: cpu_crit {
6364449b6f2SBjorn Andersson					temperature = <110000>;
6374449b6f2SBjorn Andersson					hysteresis = <2000>;
6384449b6f2SBjorn Andersson					type = "critical";
6394449b6f2SBjorn Andersson				};
6404449b6f2SBjorn Andersson			};
6414449b6f2SBjorn Andersson		};
6424449b6f2SBjorn Andersson
643ae8876ddSAmit Kucheria		cpu7-thermal {
6444449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6454449b6f2SBjorn Andersson			polling-delay = <1000>;
6464449b6f2SBjorn Andersson
6474449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 10>;
6484449b6f2SBjorn Andersson
6494449b6f2SBjorn Andersson			trips {
650ae8876ddSAmit Kucheria				cpu7_alert0: trip-point@0 {
6514449b6f2SBjorn Andersson					temperature = <75000>;
6524449b6f2SBjorn Andersson					hysteresis = <2000>;
6534449b6f2SBjorn Andersson					type = "passive";
6544449b6f2SBjorn Andersson				};
6554449b6f2SBjorn Andersson
656ae8876ddSAmit Kucheria				cpu7_crit: cpu_crit {
6574449b6f2SBjorn Andersson					temperature = <110000>;
6584449b6f2SBjorn Andersson					hysteresis = <2000>;
6594449b6f2SBjorn Andersson					type = "critical";
6604449b6f2SBjorn Andersson				};
6614449b6f2SBjorn Andersson			};
6624449b6f2SBjorn Andersson		};
6634449b6f2SBjorn Andersson
6642fa2d301SAmit Kucheria		gpu-thermal-bottom {
6652fa2d301SAmit Kucheria			polling-delay-passive = <250>;
6662fa2d301SAmit Kucheria			polling-delay = <1000>;
6672fa2d301SAmit Kucheria
6682fa2d301SAmit Kucheria			thermal-sensors = <&tsens0 12>;
6692fa2d301SAmit Kucheria
6702fa2d301SAmit Kucheria			trips {
6712fa2d301SAmit Kucheria				gpu1_alert0: trip-point@0 {
6722fa2d301SAmit Kucheria					temperature = <90000>;
6732fa2d301SAmit Kucheria					hysteresis = <2000>;
6742fa2d301SAmit Kucheria					type = "hot";
6752fa2d301SAmit Kucheria				};
6762fa2d301SAmit Kucheria			};
6772fa2d301SAmit Kucheria		};
6782fa2d301SAmit Kucheria
6792fa2d301SAmit Kucheria		gpu-thermal-top {
6804449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6814449b6f2SBjorn Andersson			polling-delay = <1000>;
6824449b6f2SBjorn Andersson
6839284aa44SAmit Kucheria			thermal-sensors = <&tsens0 13>;
6842fa2d301SAmit Kucheria
6852fa2d301SAmit Kucheria			trips {
6862fa2d301SAmit Kucheria				gpu2_alert0: trip-point@0 {
6872fa2d301SAmit Kucheria					temperature = <90000>;
6882fa2d301SAmit Kucheria					hysteresis = <2000>;
6892fa2d301SAmit Kucheria					type = "hot";
6902fa2d301SAmit Kucheria				};
6912fa2d301SAmit Kucheria			};
6924449b6f2SBjorn Andersson		};
693e9d2729dSAmit Kucheria
694060f4211SAmit Kucheria		clust0-mhm-thermal {
695e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
696e9d2729dSAmit Kucheria			polling-delay = <1000>;
697e9d2729dSAmit Kucheria
698e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 5>;
699e9d2729dSAmit Kucheria
700e9d2729dSAmit Kucheria			trips {
701e9d2729dSAmit Kucheria				cluster0_mhm_alert0: trip-point@0 {
702e9d2729dSAmit Kucheria					temperature = <90000>;
703e9d2729dSAmit Kucheria					hysteresis = <2000>;
704e9d2729dSAmit Kucheria					type = "hot";
705e9d2729dSAmit Kucheria				};
706e9d2729dSAmit Kucheria			};
707e9d2729dSAmit Kucheria		};
708e9d2729dSAmit Kucheria
709060f4211SAmit Kucheria		clust1-mhm-thermal {
710e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
711e9d2729dSAmit Kucheria			polling-delay = <1000>;
712e9d2729dSAmit Kucheria
713e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 6>;
714e9d2729dSAmit Kucheria
715e9d2729dSAmit Kucheria			trips {
716e9d2729dSAmit Kucheria				cluster1_mhm_alert0: trip-point@0 {
717e9d2729dSAmit Kucheria					temperature = <90000>;
718e9d2729dSAmit Kucheria					hysteresis = <2000>;
719e9d2729dSAmit Kucheria					type = "hot";
720e9d2729dSAmit Kucheria				};
721e9d2729dSAmit Kucheria			};
722e9d2729dSAmit Kucheria		};
723e9d2729dSAmit Kucheria
724e9d2729dSAmit Kucheria		cluster1-l2-thermal {
7254449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7264449b6f2SBjorn Andersson			polling-delay = <1000>;
7274449b6f2SBjorn Andersson
7284449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 11>;
7294449b6f2SBjorn Andersson
7304449b6f2SBjorn Andersson			trips {
731e9d2729dSAmit Kucheria				cluster1_l2_alert0: trip-point@0 {
732e9d2729dSAmit Kucheria					temperature = <90000>;
7334449b6f2SBjorn Andersson					hysteresis = <2000>;
734e9d2729dSAmit Kucheria					type = "hot";
7354449b6f2SBjorn Andersson				};
7364449b6f2SBjorn Andersson			};
7374449b6f2SBjorn Andersson		};
7384449b6f2SBjorn Andersson
739e9d2729dSAmit Kucheria		modem-thermal {
7404449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7414449b6f2SBjorn Andersson			polling-delay = <1000>;
7424449b6f2SBjorn Andersson
7434449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 1>;
7444449b6f2SBjorn Andersson
7454449b6f2SBjorn Andersson			trips {
746e9d2729dSAmit Kucheria				modem_alert0: trip-point@0 {
747e9d2729dSAmit Kucheria					temperature = <90000>;
7484449b6f2SBjorn Andersson					hysteresis = <2000>;
749e9d2729dSAmit Kucheria					type = "hot";
7504449b6f2SBjorn Andersson				};
7514449b6f2SBjorn Andersson			};
7524449b6f2SBjorn Andersson		};
7534449b6f2SBjorn Andersson
754e9d2729dSAmit Kucheria		mem-thermal {
755e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
756e9d2729dSAmit Kucheria			polling-delay = <1000>;
757e9d2729dSAmit Kucheria
758e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 2>;
759e9d2729dSAmit Kucheria
760e9d2729dSAmit Kucheria			trips {
761e9d2729dSAmit Kucheria				mem_alert0: trip-point@0 {
762e9d2729dSAmit Kucheria					temperature = <90000>;
763e9d2729dSAmit Kucheria					hysteresis = <2000>;
764e9d2729dSAmit Kucheria					type = "hot";
765e9d2729dSAmit Kucheria				};
766e9d2729dSAmit Kucheria			};
767e9d2729dSAmit Kucheria		};
768e9d2729dSAmit Kucheria
769e9d2729dSAmit Kucheria		wlan-thermal {
7704449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7714449b6f2SBjorn Andersson			polling-delay = <1000>;
7724449b6f2SBjorn Andersson
7734449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 3>;
774e9d2729dSAmit Kucheria
775e9d2729dSAmit Kucheria			trips {
776e9d2729dSAmit Kucheria				wlan_alert0: trip-point@0 {
777e9d2729dSAmit Kucheria					temperature = <90000>;
778e9d2729dSAmit Kucheria					hysteresis = <2000>;
779e9d2729dSAmit Kucheria					type = "hot";
780e9d2729dSAmit Kucheria				};
781e9d2729dSAmit Kucheria			};
782e9d2729dSAmit Kucheria		};
783e9d2729dSAmit Kucheria
784e9d2729dSAmit Kucheria		q6-dsp-thermal {
785e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
786e9d2729dSAmit Kucheria			polling-delay = <1000>;
787e9d2729dSAmit Kucheria
788e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 4>;
789e9d2729dSAmit Kucheria
790e9d2729dSAmit Kucheria			trips {
791e9d2729dSAmit Kucheria				q6_dsp_alert0: trip-point@0 {
792e9d2729dSAmit Kucheria					temperature = <90000>;
793e9d2729dSAmit Kucheria					hysteresis = <2000>;
794e9d2729dSAmit Kucheria					type = "hot";
795e9d2729dSAmit Kucheria				};
796e9d2729dSAmit Kucheria			};
797e9d2729dSAmit Kucheria		};
798e9d2729dSAmit Kucheria
799e9d2729dSAmit Kucheria		camera-thermal {
800e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
801e9d2729dSAmit Kucheria			polling-delay = <1000>;
802e9d2729dSAmit Kucheria
803e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 5>;
804e9d2729dSAmit Kucheria
805e9d2729dSAmit Kucheria			trips {
806e9d2729dSAmit Kucheria				camera_alert0: trip-point@0 {
807e9d2729dSAmit Kucheria					temperature = <90000>;
808e9d2729dSAmit Kucheria					hysteresis = <2000>;
809e9d2729dSAmit Kucheria					type = "hot";
810e9d2729dSAmit Kucheria				};
811e9d2729dSAmit Kucheria			};
812e9d2729dSAmit Kucheria		};
813e9d2729dSAmit Kucheria
814e9d2729dSAmit Kucheria		multimedia-thermal {
815e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
816e9d2729dSAmit Kucheria			polling-delay = <1000>;
817e9d2729dSAmit Kucheria
818e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 6>;
819e9d2729dSAmit Kucheria
820e9d2729dSAmit Kucheria			trips {
821e9d2729dSAmit Kucheria				multimedia_alert0: trip-point@0 {
822e9d2729dSAmit Kucheria					temperature = <90000>;
823e9d2729dSAmit Kucheria					hysteresis = <2000>;
824e9d2729dSAmit Kucheria					type = "hot";
825e9d2729dSAmit Kucheria				};
826e9d2729dSAmit Kucheria			};
8274449b6f2SBjorn Andersson		};
8284449b6f2SBjorn Andersson	};
8294449b6f2SBjorn Andersson
8304807c71cSJoonwoo Park	timer {
8314807c71cSJoonwoo Park		compatible = "arm,armv8-timer";
8324807c71cSJoonwoo Park		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
8334807c71cSJoonwoo Park			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
8344807c71cSJoonwoo Park			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
8354807c71cSJoonwoo Park			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
8364807c71cSJoonwoo Park	};
8374807c71cSJoonwoo Park
8384807c71cSJoonwoo Park	soc: soc {
8394807c71cSJoonwoo Park		#address-cells = <1>;
8404807c71cSJoonwoo Park		#size-cells = <1>;
8414807c71cSJoonwoo Park		ranges = <0 0 0 0xffffffff>;
8424807c71cSJoonwoo Park		compatible = "simple-bus";
8434807c71cSJoonwoo Park
84432a5da21SJeffrey Hugo		gcc: clock-controller@100000 {
84532a5da21SJeffrey Hugo			compatible = "qcom,gcc-msm8998";
84632a5da21SJeffrey Hugo			#clock-cells = <1>;
84732a5da21SJeffrey Hugo			#reset-cells = <1>;
84832a5da21SJeffrey Hugo			#power-domain-cells = <1>;
84932a5da21SJeffrey Hugo			reg = <0x00100000 0xb0000>;
85032a5da21SJeffrey Hugo		};
85132a5da21SJeffrey Hugo
85232a5da21SJeffrey Hugo		rpm_msg_ram: memory@778000 {
85331c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msg-ram";
85432a5da21SJeffrey Hugo			reg = <0x00778000 0x7000>;
85531c1f0e3SBjorn Andersson		};
85631c1f0e3SBjorn Andersson
857f259e398SBjorn Andersson		qfprom: qfprom@780000 {
858f259e398SBjorn Andersson			compatible = "qcom,qfprom";
85932a5da21SJeffrey Hugo			reg = <0x00780000 0x621c>;
860f259e398SBjorn Andersson			#address-cells = <1>;
861f259e398SBjorn Andersson			#size-cells = <1>;
862026dad8fSJeffrey Hugo
863026dad8fSJeffrey Hugo			qusb2_hstx_trim: hstx-trim@423a {
864026dad8fSJeffrey Hugo				reg = <0x423a 0x1>;
865026dad8fSJeffrey Hugo				bits = <0 4>;
866026dad8fSJeffrey Hugo			};
867f259e398SBjorn Andersson		};
868f259e398SBjorn Andersson
86950325048SAmit Kucheria		tsens0: thermal@10ab000 {
8704449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
87132a5da21SJeffrey Hugo			reg = <0x010ab000 0x1000>, /* TM */
87232a5da21SJeffrey Hugo			      <0x010aa000 0x1000>; /* SROT */
873280acabbSAmit Kucheria			#qcom,sensors = <14>;
874bb54e3faSAmit Kucheria			interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>;
875bb54e3faSAmit Kucheria			interrupt-names = "uplow";
8764449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8774449b6f2SBjorn Andersson		};
8784449b6f2SBjorn Andersson
87950325048SAmit Kucheria		tsens1: thermal@10ae000 {
8804449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
88132a5da21SJeffrey Hugo			reg = <0x010ae000 0x1000>, /* TM */
88232a5da21SJeffrey Hugo			      <0x010ad000 0x1000>; /* SROT */
8834449b6f2SBjorn Andersson			#qcom,sensors = <8>;
884bb54e3faSAmit Kucheria			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
885bb54e3faSAmit Kucheria			interrupt-names = "uplow";
8864449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8874449b6f2SBjorn Andersson		};
8884449b6f2SBjorn Andersson
8898389b869SMarc Gonzalez		anoc1_smmu: iommu@1680000 {
8908389b869SMarc Gonzalez			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
8918389b869SMarc Gonzalez			reg = <0x01680000 0x10000>;
8928389b869SMarc Gonzalez			#iommu-cells = <1>;
8938389b869SMarc Gonzalez
8948389b869SMarc Gonzalez			#global-interrupts = <0>;
8958389b869SMarc Gonzalez			interrupts =
8968389b869SMarc Gonzalez				<GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
8978389b869SMarc Gonzalez				<GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
8988389b869SMarc Gonzalez				<GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
8998389b869SMarc Gonzalez				<GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
9008389b869SMarc Gonzalez				<GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
9018389b869SMarc Gonzalez				<GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
9028389b869SMarc Gonzalez		};
9038389b869SMarc Gonzalez
904a21c9548SJeffrey Hugo		anoc2_smmu: iommu@16c0000 {
905a21c9548SJeffrey Hugo			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
906a21c9548SJeffrey Hugo			reg = <0x016c0000 0x40000>;
907a21c9548SJeffrey Hugo			#iommu-cells = <1>;
908a21c9548SJeffrey Hugo
909a21c9548SJeffrey Hugo			#global-interrupts = <0>;
910a21c9548SJeffrey Hugo			interrupts =
911a21c9548SJeffrey Hugo				<GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
912a21c9548SJeffrey Hugo				<GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
913a21c9548SJeffrey Hugo				<GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
914a21c9548SJeffrey Hugo				<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
915a21c9548SJeffrey Hugo				<GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
916a21c9548SJeffrey Hugo				<GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
917a21c9548SJeffrey Hugo				<GIC_SPI 462 IRQ_TYPE_EDGE_RISING>,
918a21c9548SJeffrey Hugo				<GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
919a21c9548SJeffrey Hugo				<GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
920a21c9548SJeffrey Hugo				<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>;
921a21c9548SJeffrey Hugo		};
922a21c9548SJeffrey Hugo
923b84dfd17SMarc Gonzalez		pcie0: pci@1c00000 {
924b84dfd17SMarc Gonzalez			compatible = "qcom,pcie-msm8996";
925b84dfd17SMarc Gonzalez			reg =	<0x01c00000 0x2000>,
926b84dfd17SMarc Gonzalez				<0x1b000000 0xf1d>,
927b84dfd17SMarc Gonzalez				<0x1b000f20 0xa8>,
928b84dfd17SMarc Gonzalez				<0x1b100000 0x100000>;
929b84dfd17SMarc Gonzalez			reg-names = "parf", "dbi", "elbi", "config";
930b84dfd17SMarc Gonzalez			device_type = "pci";
931b84dfd17SMarc Gonzalez			linux,pci-domain = <0>;
932b84dfd17SMarc Gonzalez			bus-range = <0x00 0xff>;
933b84dfd17SMarc Gonzalez			#address-cells = <3>;
934b84dfd17SMarc Gonzalez			#size-cells = <2>;
935b84dfd17SMarc Gonzalez			num-lanes = <1>;
936b84dfd17SMarc Gonzalez			phys = <&pciephy>;
937b84dfd17SMarc Gonzalez			phy-names = "pciephy";
938b84dfd17SMarc Gonzalez
939b84dfd17SMarc Gonzalez			ranges = <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>,
940b84dfd17SMarc Gonzalez				 <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>;
941b84dfd17SMarc Gonzalez
942b84dfd17SMarc Gonzalez			#interrupt-cells = <1>;
943b84dfd17SMarc Gonzalez			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
944b84dfd17SMarc Gonzalez			interrupt-names = "msi";
945b84dfd17SMarc Gonzalez			interrupt-map-mask = <0 0 0 0x7>;
946b84dfd17SMarc Gonzalez			interrupt-map =	<0 0 0 1 &intc 0 135 IRQ_TYPE_LEVEL_HIGH>,
947b84dfd17SMarc Gonzalez					<0 0 0 2 &intc 0 136 IRQ_TYPE_LEVEL_HIGH>,
948b84dfd17SMarc Gonzalez					<0 0 0 3 &intc 0 138 IRQ_TYPE_LEVEL_HIGH>,
949b84dfd17SMarc Gonzalez					<0 0 0 4 &intc 0 139 IRQ_TYPE_LEVEL_HIGH>;
950b84dfd17SMarc Gonzalez
951b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
952b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
953b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
954b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
955b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_AUX_CLK>;
956b84dfd17SMarc Gonzalez			clock-names = "pipe", "bus_master", "bus_slave", "cfg", "aux";
957b84dfd17SMarc Gonzalez
958b84dfd17SMarc Gonzalez			power-domains = <&gcc PCIE_0_GDSC>;
959b84dfd17SMarc Gonzalez			iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
960b84dfd17SMarc Gonzalez			perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
961b84dfd17SMarc Gonzalez		};
962b84dfd17SMarc Gonzalez
963b84dfd17SMarc Gonzalez		phy@1c06000 {
964b84dfd17SMarc Gonzalez			compatible = "qcom,msm8998-qmp-pcie-phy";
965b84dfd17SMarc Gonzalez			reg = <0x01c06000 0x18c>;
966b84dfd17SMarc Gonzalez			#address-cells = <1>;
967b84dfd17SMarc Gonzalez			#size-cells = <1>;
968b84dfd17SMarc Gonzalez			ranges;
969b84dfd17SMarc Gonzalez
970b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
971b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
972b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_CLKREF_CLK>;
973b84dfd17SMarc Gonzalez			clock-names = "aux", "cfg_ahb", "ref";
974b84dfd17SMarc Gonzalez
975b84dfd17SMarc Gonzalez			resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
976b84dfd17SMarc Gonzalez			reset-names = "phy", "common";
977b84dfd17SMarc Gonzalez
978b84dfd17SMarc Gonzalez			vdda-phy-supply = <&vreg_l1a_0p875>;
979b84dfd17SMarc Gonzalez			vdda-pll-supply = <&vreg_l2a_1p2>;
980b84dfd17SMarc Gonzalez
981b84dfd17SMarc Gonzalez			pciephy: lane@1c06800 {
982b84dfd17SMarc Gonzalez				reg = <0x01c06200 0x128>, <0x01c06400 0x1fc>, <0x01c06800 0x20c>;
983b84dfd17SMarc Gonzalez				#phy-cells = <0>;
984b84dfd17SMarc Gonzalez
985b84dfd17SMarc Gonzalez				clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
986b84dfd17SMarc Gonzalez				clock-names = "pipe0";
987b84dfd17SMarc Gonzalez				clock-output-names = "pcie_0_pipe_clk_src";
988b84dfd17SMarc Gonzalez				#clock-cells = <0>;
989b84dfd17SMarc Gonzalez			};
990b84dfd17SMarc Gonzalez		};
991b84dfd17SMarc Gonzalez
99232a5da21SJeffrey Hugo		ufshc: ufshc@1da4000 {
99332a5da21SJeffrey Hugo			compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
99432a5da21SJeffrey Hugo			reg = <0x01da4000 0x2500>;
99532a5da21SJeffrey Hugo			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
99632a5da21SJeffrey Hugo			phys = <&ufsphy_lanes>;
99732a5da21SJeffrey Hugo			phy-names = "ufsphy";
99832a5da21SJeffrey Hugo			lanes-per-direction = <2>;
99932a5da21SJeffrey Hugo			power-domains = <&gcc UFS_GDSC>;
100032a5da21SJeffrey Hugo			#reset-cells = <1>;
100132a5da21SJeffrey Hugo
100232a5da21SJeffrey Hugo			clock-names =
100332a5da21SJeffrey Hugo				"core_clk",
100432a5da21SJeffrey Hugo				"bus_aggr_clk",
100532a5da21SJeffrey Hugo				"iface_clk",
100632a5da21SJeffrey Hugo				"core_clk_unipro",
100732a5da21SJeffrey Hugo				"ref_clk",
100832a5da21SJeffrey Hugo				"tx_lane0_sync_clk",
100932a5da21SJeffrey Hugo				"rx_lane0_sync_clk",
101032a5da21SJeffrey Hugo				"rx_lane1_sync_clk";
101132a5da21SJeffrey Hugo			clocks =
101232a5da21SJeffrey Hugo				<&gcc GCC_UFS_AXI_CLK>,
101332a5da21SJeffrey Hugo				<&gcc GCC_AGGRE1_UFS_AXI_CLK>,
101432a5da21SJeffrey Hugo				<&gcc GCC_UFS_AHB_CLK>,
101532a5da21SJeffrey Hugo				<&gcc GCC_UFS_UNIPRO_CORE_CLK>,
101632a5da21SJeffrey Hugo				<&rpmcc RPM_SMD_LN_BB_CLK1>,
101732a5da21SJeffrey Hugo				<&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
101832a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
101932a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
102032a5da21SJeffrey Hugo			freq-table-hz =
102132a5da21SJeffrey Hugo				<50000000 200000000>,
102232a5da21SJeffrey Hugo				<0 0>,
102332a5da21SJeffrey Hugo				<0 0>,
102432a5da21SJeffrey Hugo				<37500000 150000000>,
102532a5da21SJeffrey Hugo				<0 0>,
102632a5da21SJeffrey Hugo				<0 0>,
102732a5da21SJeffrey Hugo				<0 0>,
102832a5da21SJeffrey Hugo				<0 0>;
102932a5da21SJeffrey Hugo
103032a5da21SJeffrey Hugo			resets = <&gcc GCC_UFS_BCR>;
103132a5da21SJeffrey Hugo			reset-names = "rst";
1032c7833949SBjorn Andersson		};
1033c7833949SBjorn Andersson
103432a5da21SJeffrey Hugo		ufsphy: phy@1da7000 {
103532a5da21SJeffrey Hugo			compatible = "qcom,msm8998-qmp-ufs-phy";
103632a5da21SJeffrey Hugo			reg = <0x01da7000 0x18c>;
103732a5da21SJeffrey Hugo			#address-cells = <1>;
103832a5da21SJeffrey Hugo			#size-cells = <1>;
103932a5da21SJeffrey Hugo			ranges;
104031c1f0e3SBjorn Andersson
104132a5da21SJeffrey Hugo			clock-names =
104232a5da21SJeffrey Hugo				"ref",
104332a5da21SJeffrey Hugo				"ref_aux";
104432a5da21SJeffrey Hugo			clocks =
104532a5da21SJeffrey Hugo				<&gcc GCC_UFS_CLKREF_CLK>,
104632a5da21SJeffrey Hugo				<&gcc GCC_UFS_PHY_AUX_CLK>;
104732a5da21SJeffrey Hugo
104832a5da21SJeffrey Hugo			reset-names = "ufsphy";
104932a5da21SJeffrey Hugo			resets = <&ufshc 0>;
105032a5da21SJeffrey Hugo
105132a5da21SJeffrey Hugo			ufsphy_lanes: lanes@1da7400 {
105232a5da21SJeffrey Hugo				reg = <0x01da7400 0x128>,
105332a5da21SJeffrey Hugo				      <0x01da7600 0x1fc>,
105432a5da21SJeffrey Hugo				      <0x01da7c00 0x1dc>,
105532a5da21SJeffrey Hugo				      <0x01da7800 0x128>,
105632a5da21SJeffrey Hugo				      <0x01da7a00 0x1fc>;
105732a5da21SJeffrey Hugo				#phy-cells = <0>;
105832a5da21SJeffrey Hugo			};
105932a5da21SJeffrey Hugo		};
106032a5da21SJeffrey Hugo
106132a5da21SJeffrey Hugo		tcsr_mutex_regs: syscon@1f40000 {
106232a5da21SJeffrey Hugo			compatible = "syscon";
106305caa5bfSJeffrey Hugo			reg = <0x01f40000 0x40000>;
106432a5da21SJeffrey Hugo		};
106532a5da21SJeffrey Hugo
106632a5da21SJeffrey Hugo		tlmm: pinctrl@3400000 {
106732a5da21SJeffrey Hugo			compatible = "qcom,msm8998-pinctrl";
106832a5da21SJeffrey Hugo			reg = <0x03400000 0xc00000>;
106932a5da21SJeffrey Hugo			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
107032a5da21SJeffrey Hugo			gpio-controller;
107132a5da21SJeffrey Hugo			#gpio-cells = <0x2>;
107232a5da21SJeffrey Hugo			interrupt-controller;
107332a5da21SJeffrey Hugo			#interrupt-cells = <0x2>;
107432a5da21SJeffrey Hugo		};
107532a5da21SJeffrey Hugo
1076876a7573SJeffrey Hugo		gpucc: clock-controller@5065000 {
1077876a7573SJeffrey Hugo			compatible = "qcom,msm8998-gpucc";
1078876a7573SJeffrey Hugo			#clock-cells = <1>;
1079876a7573SJeffrey Hugo			#reset-cells = <1>;
1080876a7573SJeffrey Hugo			#power-domain-cells = <1>;
1081876a7573SJeffrey Hugo			reg = <0x05065000 0x9000>;
1082876a7573SJeffrey Hugo
1083876a7573SJeffrey Hugo			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1084876a7573SJeffrey Hugo				 <&gcc GPLL0_OUT_MAIN>;
1085876a7573SJeffrey Hugo			clock-names = "xo",
1086876a7573SJeffrey Hugo				      "gpll0";
1087876a7573SJeffrey Hugo		};
1088876a7573SJeffrey Hugo
1089a636f93fSSai Prakash Ranjan		stm: stm@6002000 {
1090783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-stm", "arm,primecell";
1091783abfa2SSai Prakash Ranjan			reg = <0x06002000 0x1000>,
1092783abfa2SSai Prakash Ranjan			      <0x16280000 0x180000>;
1093783abfa2SSai Prakash Ranjan			reg-names = "stm-base", "stm-data-base";
1094a636f93fSSai Prakash Ranjan			status = "disabled";
1095783abfa2SSai Prakash Ranjan
1096783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1097783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1098783abfa2SSai Prakash Ranjan
1099783abfa2SSai Prakash Ranjan			out-ports {
1100783abfa2SSai Prakash Ranjan				port {
1101783abfa2SSai Prakash Ranjan					stm_out: endpoint {
1102783abfa2SSai Prakash Ranjan						remote-endpoint = <&funnel0_in7>;
1103783abfa2SSai Prakash Ranjan					};
1104783abfa2SSai Prakash Ranjan				};
1105783abfa2SSai Prakash Ranjan			};
1106783abfa2SSai Prakash Ranjan		};
1107783abfa2SSai Prakash Ranjan
1108a636f93fSSai Prakash Ranjan		funnel1: funnel@6041000 {
1109783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1110783abfa2SSai Prakash Ranjan			reg = <0x06041000 0x1000>;
1111a636f93fSSai Prakash Ranjan			status = "disabled";
1112783abfa2SSai Prakash Ranjan
1113783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1114783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1115783abfa2SSai Prakash Ranjan
1116783abfa2SSai Prakash Ranjan			out-ports {
1117783abfa2SSai Prakash Ranjan				port {
1118783abfa2SSai Prakash Ranjan					funnel0_out: endpoint {
1119783abfa2SSai Prakash Ranjan						remote-endpoint =
1120783abfa2SSai Prakash Ranjan						  <&merge_funnel_in0>;
1121783abfa2SSai Prakash Ranjan					};
1122783abfa2SSai Prakash Ranjan				};
1123783abfa2SSai Prakash Ranjan			};
1124783abfa2SSai Prakash Ranjan
1125783abfa2SSai Prakash Ranjan			in-ports {
1126783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1127783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1128783abfa2SSai Prakash Ranjan
1129783abfa2SSai Prakash Ranjan				port@7 {
1130783abfa2SSai Prakash Ranjan					reg = <7>;
1131783abfa2SSai Prakash Ranjan					funnel0_in7: endpoint {
1132783abfa2SSai Prakash Ranjan						remote-endpoint = <&stm_out>;
1133783abfa2SSai Prakash Ranjan					};
1134783abfa2SSai Prakash Ranjan				};
1135783abfa2SSai Prakash Ranjan			};
1136783abfa2SSai Prakash Ranjan		};
1137783abfa2SSai Prakash Ranjan
1138a636f93fSSai Prakash Ranjan		funnel2: funnel@6042000 {
1139783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1140783abfa2SSai Prakash Ranjan			reg = <0x06042000 0x1000>;
1141a636f93fSSai Prakash Ranjan			status = "disabled";
1142783abfa2SSai Prakash Ranjan
1143783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1144783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1145783abfa2SSai Prakash Ranjan
1146783abfa2SSai Prakash Ranjan			out-ports {
1147783abfa2SSai Prakash Ranjan				port {
1148783abfa2SSai Prakash Ranjan					funnel1_out: endpoint {
1149783abfa2SSai Prakash Ranjan						remote-endpoint =
1150783abfa2SSai Prakash Ranjan						  <&merge_funnel_in1>;
1151783abfa2SSai Prakash Ranjan					};
1152783abfa2SSai Prakash Ranjan				};
1153783abfa2SSai Prakash Ranjan			};
1154783abfa2SSai Prakash Ranjan
1155783abfa2SSai Prakash Ranjan			in-ports {
1156783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1157783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1158783abfa2SSai Prakash Ranjan
1159783abfa2SSai Prakash Ranjan				port@6 {
1160783abfa2SSai Prakash Ranjan					reg = <6>;
1161783abfa2SSai Prakash Ranjan					funnel1_in6: endpoint {
1162783abfa2SSai Prakash Ranjan						remote-endpoint =
1163783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_out>;
1164783abfa2SSai Prakash Ranjan					};
1165783abfa2SSai Prakash Ranjan				};
1166783abfa2SSai Prakash Ranjan			};
1167783abfa2SSai Prakash Ranjan		};
1168783abfa2SSai Prakash Ranjan
1169a636f93fSSai Prakash Ranjan		funnel3: funnel@6045000 {
1170783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1171783abfa2SSai Prakash Ranjan			reg = <0x06045000 0x1000>;
1172a636f93fSSai Prakash Ranjan			status = "disabled";
1173783abfa2SSai Prakash Ranjan
1174783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1175783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1176783abfa2SSai Prakash Ranjan
1177783abfa2SSai Prakash Ranjan			out-ports {
1178783abfa2SSai Prakash Ranjan				port {
1179783abfa2SSai Prakash Ranjan					merge_funnel_out: endpoint {
1180783abfa2SSai Prakash Ranjan						remote-endpoint =
1181783abfa2SSai Prakash Ranjan						  <&etf_in>;
1182783abfa2SSai Prakash Ranjan					};
1183783abfa2SSai Prakash Ranjan				};
1184783abfa2SSai Prakash Ranjan			};
1185783abfa2SSai Prakash Ranjan
1186783abfa2SSai Prakash Ranjan			in-ports {
1187783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1188783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1189783abfa2SSai Prakash Ranjan
1190783abfa2SSai Prakash Ranjan				port@0 {
1191783abfa2SSai Prakash Ranjan					reg = <0>;
1192783abfa2SSai Prakash Ranjan					merge_funnel_in0: endpoint {
1193783abfa2SSai Prakash Ranjan						remote-endpoint =
1194783abfa2SSai Prakash Ranjan						  <&funnel0_out>;
1195783abfa2SSai Prakash Ranjan					};
1196783abfa2SSai Prakash Ranjan				};
1197783abfa2SSai Prakash Ranjan
1198783abfa2SSai Prakash Ranjan				port@1 {
1199783abfa2SSai Prakash Ranjan					reg = <1>;
1200783abfa2SSai Prakash Ranjan					merge_funnel_in1: endpoint {
1201783abfa2SSai Prakash Ranjan						remote-endpoint =
1202783abfa2SSai Prakash Ranjan						  <&funnel1_out>;
1203783abfa2SSai Prakash Ranjan					};
1204783abfa2SSai Prakash Ranjan				};
1205783abfa2SSai Prakash Ranjan			};
1206783abfa2SSai Prakash Ranjan		};
1207783abfa2SSai Prakash Ranjan
1208a636f93fSSai Prakash Ranjan		replicator1: replicator@6046000 {
1209783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1210783abfa2SSai Prakash Ranjan			reg = <0x06046000 0x1000>;
1211a636f93fSSai Prakash Ranjan			status = "disabled";
1212783abfa2SSai Prakash Ranjan
1213783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1214783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1215783abfa2SSai Prakash Ranjan
1216783abfa2SSai Prakash Ranjan			out-ports {
1217783abfa2SSai Prakash Ranjan				port {
1218783abfa2SSai Prakash Ranjan					replicator_out: endpoint {
1219783abfa2SSai Prakash Ranjan						remote-endpoint = <&etr_in>;
1220783abfa2SSai Prakash Ranjan					};
1221783abfa2SSai Prakash Ranjan				};
1222783abfa2SSai Prakash Ranjan			};
1223783abfa2SSai Prakash Ranjan
1224783abfa2SSai Prakash Ranjan			in-ports {
1225783abfa2SSai Prakash Ranjan				port {
1226783abfa2SSai Prakash Ranjan					replicator_in: endpoint {
1227783abfa2SSai Prakash Ranjan						remote-endpoint = <&etf_out>;
1228783abfa2SSai Prakash Ranjan					};
1229783abfa2SSai Prakash Ranjan				};
1230783abfa2SSai Prakash Ranjan			};
1231783abfa2SSai Prakash Ranjan		};
1232783abfa2SSai Prakash Ranjan
1233a636f93fSSai Prakash Ranjan		etf: etf@6047000 {
1234783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1235783abfa2SSai Prakash Ranjan			reg = <0x06047000 0x1000>;
1236a636f93fSSai 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			out-ports {
1242783abfa2SSai Prakash Ranjan				port {
1243783abfa2SSai Prakash Ranjan					etf_out: endpoint {
1244783abfa2SSai Prakash Ranjan						remote-endpoint =
1245783abfa2SSai Prakash Ranjan						  <&replicator_in>;
1246783abfa2SSai Prakash Ranjan					};
1247783abfa2SSai Prakash Ranjan				};
1248783abfa2SSai Prakash Ranjan			};
1249783abfa2SSai Prakash Ranjan
1250783abfa2SSai Prakash Ranjan			in-ports {
1251783abfa2SSai Prakash Ranjan				port {
1252783abfa2SSai Prakash Ranjan					etf_in: endpoint {
1253783abfa2SSai Prakash Ranjan						remote-endpoint =
1254783abfa2SSai Prakash Ranjan						  <&merge_funnel_out>;
1255783abfa2SSai Prakash Ranjan					};
1256783abfa2SSai Prakash Ranjan				};
1257783abfa2SSai Prakash Ranjan			};
1258783abfa2SSai Prakash Ranjan		};
1259783abfa2SSai Prakash Ranjan
1260a636f93fSSai Prakash Ranjan		etr: etr@6048000 {
1261783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1262783abfa2SSai Prakash Ranjan			reg = <0x06048000 0x1000>;
1263a636f93fSSai Prakash Ranjan			status = "disabled";
1264783abfa2SSai Prakash Ranjan
1265783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1266783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1267783abfa2SSai Prakash Ranjan			arm,scatter-gather;
1268783abfa2SSai Prakash Ranjan
1269783abfa2SSai Prakash Ranjan			in-ports {
1270783abfa2SSai Prakash Ranjan				port {
1271783abfa2SSai Prakash Ranjan					etr_in: endpoint {
1272783abfa2SSai Prakash Ranjan						remote-endpoint =
1273783abfa2SSai Prakash Ranjan						  <&replicator_out>;
1274783abfa2SSai Prakash Ranjan					};
1275783abfa2SSai Prakash Ranjan				};
1276783abfa2SSai Prakash Ranjan			};
1277783abfa2SSai Prakash Ranjan		};
1278783abfa2SSai Prakash Ranjan
1279a636f93fSSai Prakash Ranjan		etm1: etm@7840000 {
1280783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1281783abfa2SSai Prakash Ranjan			reg = <0x07840000 0x1000>;
1282a636f93fSSai Prakash Ranjan			status = "disabled";
1283783abfa2SSai Prakash Ranjan
1284783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1285783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1286783abfa2SSai Prakash Ranjan
1287783abfa2SSai Prakash Ranjan			cpu = <&CPU0>;
1288783abfa2SSai Prakash Ranjan
1289783abfa2SSai Prakash Ranjan			out-ports {
1290783abfa2SSai Prakash Ranjan				port {
1291783abfa2SSai Prakash Ranjan					etm0_out: endpoint {
1292783abfa2SSai Prakash Ranjan						remote-endpoint =
1293783abfa2SSai Prakash Ranjan						  <&apss_funnel_in0>;
1294783abfa2SSai Prakash Ranjan					};
1295783abfa2SSai Prakash Ranjan				};
1296783abfa2SSai Prakash Ranjan			};
1297783abfa2SSai Prakash Ranjan		};
1298783abfa2SSai Prakash Ranjan
1299a636f93fSSai Prakash Ranjan		etm2: etm@7940000 {
1300783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1301783abfa2SSai Prakash Ranjan			reg = <0x07940000 0x1000>;
1302a636f93fSSai Prakash Ranjan			status = "disabled";
1303783abfa2SSai Prakash Ranjan
1304783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1305783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1306783abfa2SSai Prakash Ranjan
1307783abfa2SSai Prakash Ranjan			cpu = <&CPU1>;
1308783abfa2SSai Prakash Ranjan
1309783abfa2SSai Prakash Ranjan			out-ports {
1310783abfa2SSai Prakash Ranjan				port {
1311783abfa2SSai Prakash Ranjan					etm1_out: endpoint {
1312783abfa2SSai Prakash Ranjan						remote-endpoint =
1313783abfa2SSai Prakash Ranjan						  <&apss_funnel_in1>;
1314783abfa2SSai Prakash Ranjan					};
1315783abfa2SSai Prakash Ranjan				};
1316783abfa2SSai Prakash Ranjan			};
1317783abfa2SSai Prakash Ranjan		};
1318783abfa2SSai Prakash Ranjan
1319a636f93fSSai Prakash Ranjan		etm3: etm@7a40000 {
1320783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1321783abfa2SSai Prakash Ranjan			reg = <0x07a40000 0x1000>;
1322a636f93fSSai Prakash Ranjan			status = "disabled";
1323783abfa2SSai Prakash Ranjan
1324783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1325783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1326783abfa2SSai Prakash Ranjan
1327783abfa2SSai Prakash Ranjan			cpu = <&CPU2>;
1328783abfa2SSai Prakash Ranjan
1329783abfa2SSai Prakash Ranjan			out-ports {
1330783abfa2SSai Prakash Ranjan				port {
1331783abfa2SSai Prakash Ranjan					etm2_out: endpoint {
1332783abfa2SSai Prakash Ranjan						remote-endpoint =
1333783abfa2SSai Prakash Ranjan						  <&apss_funnel_in2>;
1334783abfa2SSai Prakash Ranjan					};
1335783abfa2SSai Prakash Ranjan				};
1336783abfa2SSai Prakash Ranjan			};
1337783abfa2SSai Prakash Ranjan		};
1338783abfa2SSai Prakash Ranjan
1339a636f93fSSai Prakash Ranjan		etm4: etm@7b40000 {
1340783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1341783abfa2SSai Prakash Ranjan			reg = <0x07b40000 0x1000>;
1342a636f93fSSai Prakash Ranjan			status = "disabled";
1343783abfa2SSai Prakash Ranjan
1344783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1345783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1346783abfa2SSai Prakash Ranjan
1347783abfa2SSai Prakash Ranjan			cpu = <&CPU3>;
1348783abfa2SSai Prakash Ranjan
1349783abfa2SSai Prakash Ranjan			out-ports {
1350783abfa2SSai Prakash Ranjan				port {
1351783abfa2SSai Prakash Ranjan					etm3_out: endpoint {
1352783abfa2SSai Prakash Ranjan						remote-endpoint =
1353783abfa2SSai Prakash Ranjan						  <&apss_funnel_in3>;
1354783abfa2SSai Prakash Ranjan					};
1355783abfa2SSai Prakash Ranjan				};
1356783abfa2SSai Prakash Ranjan			};
1357783abfa2SSai Prakash Ranjan		};
1358783abfa2SSai Prakash Ranjan
1359a636f93fSSai Prakash Ranjan		funnel4: funnel@7b60000 { /* APSS Funnel */
1360783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1361783abfa2SSai Prakash Ranjan			reg = <0x07b60000 0x1000>;
1362a636f93fSSai Prakash Ranjan			status = "disabled";
1363783abfa2SSai Prakash Ranjan
1364783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1365783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1366783abfa2SSai Prakash Ranjan
1367783abfa2SSai Prakash Ranjan			out-ports {
1368783abfa2SSai Prakash Ranjan				port {
1369783abfa2SSai Prakash Ranjan					apss_funnel_out: endpoint {
1370783abfa2SSai Prakash Ranjan						remote-endpoint =
1371783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_in>;
1372783abfa2SSai Prakash Ranjan					};
1373783abfa2SSai Prakash Ranjan				};
1374783abfa2SSai Prakash Ranjan			};
1375783abfa2SSai Prakash Ranjan
1376783abfa2SSai Prakash Ranjan			in-ports {
1377783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1378783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1379783abfa2SSai Prakash Ranjan
1380783abfa2SSai Prakash Ranjan				port@0 {
1381783abfa2SSai Prakash Ranjan					reg = <0>;
1382783abfa2SSai Prakash Ranjan					apss_funnel_in0: endpoint {
1383783abfa2SSai Prakash Ranjan						remote-endpoint =
1384783abfa2SSai Prakash Ranjan						  <&etm0_out>;
1385783abfa2SSai Prakash Ranjan					};
1386783abfa2SSai Prakash Ranjan				};
1387783abfa2SSai Prakash Ranjan
1388783abfa2SSai Prakash Ranjan				port@1 {
1389783abfa2SSai Prakash Ranjan					reg = <1>;
1390783abfa2SSai Prakash Ranjan					apss_funnel_in1: endpoint {
1391783abfa2SSai Prakash Ranjan						remote-endpoint =
1392783abfa2SSai Prakash Ranjan						  <&etm1_out>;
1393783abfa2SSai Prakash Ranjan					};
1394783abfa2SSai Prakash Ranjan				};
1395783abfa2SSai Prakash Ranjan
1396783abfa2SSai Prakash Ranjan				port@2 {
1397783abfa2SSai Prakash Ranjan					reg = <2>;
1398783abfa2SSai Prakash Ranjan					apss_funnel_in2: endpoint {
1399783abfa2SSai Prakash Ranjan						remote-endpoint =
1400783abfa2SSai Prakash Ranjan						  <&etm2_out>;
1401783abfa2SSai Prakash Ranjan					};
1402783abfa2SSai Prakash Ranjan				};
1403783abfa2SSai Prakash Ranjan
1404783abfa2SSai Prakash Ranjan				port@3 {
1405783abfa2SSai Prakash Ranjan					reg = <3>;
1406783abfa2SSai Prakash Ranjan					apss_funnel_in3: endpoint {
1407783abfa2SSai Prakash Ranjan						remote-endpoint =
1408783abfa2SSai Prakash Ranjan						  <&etm3_out>;
1409783abfa2SSai Prakash Ranjan					};
1410783abfa2SSai Prakash Ranjan				};
1411783abfa2SSai Prakash Ranjan
1412783abfa2SSai Prakash Ranjan				port@4 {
1413783abfa2SSai Prakash Ranjan					reg = <4>;
1414783abfa2SSai Prakash Ranjan					apss_funnel_in4: endpoint {
1415783abfa2SSai Prakash Ranjan						remote-endpoint =
1416783abfa2SSai Prakash Ranjan						  <&etm4_out>;
1417783abfa2SSai Prakash Ranjan					};
1418783abfa2SSai Prakash Ranjan				};
1419783abfa2SSai Prakash Ranjan
1420783abfa2SSai Prakash Ranjan				port@5 {
1421783abfa2SSai Prakash Ranjan					reg = <5>;
1422783abfa2SSai Prakash Ranjan					apss_funnel_in5: endpoint {
1423783abfa2SSai Prakash Ranjan						remote-endpoint =
1424783abfa2SSai Prakash Ranjan						  <&etm5_out>;
1425783abfa2SSai Prakash Ranjan					};
1426783abfa2SSai Prakash Ranjan				};
1427783abfa2SSai Prakash Ranjan
1428783abfa2SSai Prakash Ranjan				port@6 {
1429783abfa2SSai Prakash Ranjan					reg = <6>;
1430783abfa2SSai Prakash Ranjan					apss_funnel_in6: endpoint {
1431783abfa2SSai Prakash Ranjan						remote-endpoint =
1432783abfa2SSai Prakash Ranjan						  <&etm6_out>;
1433783abfa2SSai Prakash Ranjan					};
1434783abfa2SSai Prakash Ranjan				};
1435783abfa2SSai Prakash Ranjan
1436783abfa2SSai Prakash Ranjan				port@7 {
1437783abfa2SSai Prakash Ranjan					reg = <7>;
1438783abfa2SSai Prakash Ranjan					apss_funnel_in7: endpoint {
1439783abfa2SSai Prakash Ranjan						remote-endpoint =
1440783abfa2SSai Prakash Ranjan						  <&etm7_out>;
1441783abfa2SSai Prakash Ranjan					};
1442783abfa2SSai Prakash Ranjan				};
1443783abfa2SSai Prakash Ranjan			};
1444783abfa2SSai Prakash Ranjan		};
1445783abfa2SSai Prakash Ranjan
1446a636f93fSSai Prakash Ranjan		funnel5: funnel@7b70000 {
1447783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1448783abfa2SSai Prakash Ranjan			reg = <0x07b70000 0x1000>;
1449a636f93fSSai Prakash Ranjan			status = "disabled";
1450783abfa2SSai Prakash Ranjan
1451783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1452783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1453783abfa2SSai Prakash Ranjan
1454783abfa2SSai Prakash Ranjan			out-ports {
1455783abfa2SSai Prakash Ranjan				port {
1456783abfa2SSai Prakash Ranjan					apss_merge_funnel_out: endpoint {
1457783abfa2SSai Prakash Ranjan						remote-endpoint =
1458783abfa2SSai Prakash Ranjan						  <&funnel1_in6>;
1459783abfa2SSai Prakash Ranjan					};
1460783abfa2SSai Prakash Ranjan				};
1461783abfa2SSai Prakash Ranjan			};
1462783abfa2SSai Prakash Ranjan
1463783abfa2SSai Prakash Ranjan			in-ports {
1464783abfa2SSai Prakash Ranjan				port {
1465783abfa2SSai Prakash Ranjan					apss_merge_funnel_in: endpoint {
1466783abfa2SSai Prakash Ranjan						remote-endpoint =
1467783abfa2SSai Prakash Ranjan						  <&apss_funnel_out>;
1468783abfa2SSai Prakash Ranjan					};
1469783abfa2SSai Prakash Ranjan				};
1470783abfa2SSai Prakash Ranjan			};
1471783abfa2SSai Prakash Ranjan		};
1472783abfa2SSai Prakash Ranjan
1473a636f93fSSai Prakash Ranjan		etm5: etm@7c40000 {
1474783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1475783abfa2SSai Prakash Ranjan			reg = <0x07c40000 0x1000>;
1476a636f93fSSai Prakash Ranjan			status = "disabled";
1477783abfa2SSai Prakash Ranjan
1478783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1479783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1480783abfa2SSai Prakash Ranjan
1481783abfa2SSai Prakash Ranjan			cpu = <&CPU4>;
1482783abfa2SSai Prakash Ranjan
1483783abfa2SSai Prakash Ranjan			port{
1484783abfa2SSai Prakash Ranjan				etm4_out: endpoint {
1485783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in4>;
1486783abfa2SSai Prakash Ranjan				};
1487783abfa2SSai Prakash Ranjan			};
1488783abfa2SSai Prakash Ranjan		};
1489783abfa2SSai Prakash Ranjan
1490a636f93fSSai Prakash Ranjan		etm6: etm@7d40000 {
1491783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1492783abfa2SSai Prakash Ranjan			reg = <0x07d40000 0x1000>;
1493a636f93fSSai Prakash Ranjan			status = "disabled";
1494783abfa2SSai Prakash Ranjan
1495783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1496783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1497783abfa2SSai Prakash Ranjan
1498783abfa2SSai Prakash Ranjan			cpu = <&CPU5>;
1499783abfa2SSai Prakash Ranjan
1500783abfa2SSai Prakash Ranjan			port{
1501783abfa2SSai Prakash Ranjan				etm5_out: endpoint {
1502783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in5>;
1503783abfa2SSai Prakash Ranjan				};
1504783abfa2SSai Prakash Ranjan			};
1505783abfa2SSai Prakash Ranjan		};
1506783abfa2SSai Prakash Ranjan
1507a636f93fSSai Prakash Ranjan		etm7: etm@7e40000 {
1508783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1509783abfa2SSai Prakash Ranjan			reg = <0x07e40000 0x1000>;
1510a636f93fSSai Prakash Ranjan			status = "disabled";
1511783abfa2SSai Prakash Ranjan
1512783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1513783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1514783abfa2SSai Prakash Ranjan
1515783abfa2SSai Prakash Ranjan			cpu = <&CPU6>;
1516783abfa2SSai Prakash Ranjan
1517783abfa2SSai Prakash Ranjan			port{
1518783abfa2SSai Prakash Ranjan				etm6_out: endpoint {
1519783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in6>;
1520783abfa2SSai Prakash Ranjan				};
1521783abfa2SSai Prakash Ranjan			};
1522783abfa2SSai Prakash Ranjan		};
1523783abfa2SSai Prakash Ranjan
1524a636f93fSSai Prakash Ranjan		etm8: etm@7f40000 {
1525783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1526783abfa2SSai Prakash Ranjan			reg = <0x07f40000 0x1000>;
1527a636f93fSSai Prakash Ranjan			status = "disabled";
1528783abfa2SSai Prakash Ranjan
1529783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1530783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1531783abfa2SSai Prakash Ranjan
1532783abfa2SSai Prakash Ranjan			cpu = <&CPU7>;
1533783abfa2SSai Prakash Ranjan
1534783abfa2SSai Prakash Ranjan			port{
1535783abfa2SSai Prakash Ranjan				etm7_out: endpoint {
1536783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in7>;
1537783abfa2SSai Prakash Ranjan				};
1538783abfa2SSai Prakash Ranjan			};
1539783abfa2SSai Prakash Ranjan		};
1540783abfa2SSai Prakash Ranjan
154132a5da21SJeffrey Hugo		spmi_bus: spmi@800f000 {
154232a5da21SJeffrey Hugo			compatible = "qcom,spmi-pmic-arb";
154332a5da21SJeffrey Hugo			reg =	<0x0800f000 0x1000>,
154432a5da21SJeffrey Hugo				<0x08400000 0x1000000>,
154532a5da21SJeffrey Hugo				<0x09400000 0x1000000>,
154632a5da21SJeffrey Hugo				<0x0a400000 0x220000>,
154732a5da21SJeffrey Hugo				<0x0800a000 0x3000>;
154832a5da21SJeffrey Hugo			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
154932a5da21SJeffrey Hugo			interrupt-names = "periph_irq";
155032a5da21SJeffrey Hugo			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
155132a5da21SJeffrey Hugo			qcom,ee = <0>;
155232a5da21SJeffrey Hugo			qcom,channel = <0>;
155332a5da21SJeffrey Hugo			#address-cells = <2>;
155432a5da21SJeffrey Hugo			#size-cells = <0>;
155532a5da21SJeffrey Hugo			interrupt-controller;
155632a5da21SJeffrey Hugo			#interrupt-cells = <4>;
155732a5da21SJeffrey Hugo			cell-index = <0>;
155831c1f0e3SBjorn Andersson		};
155931c1f0e3SBjorn Andersson
1560026dad8fSJeffrey Hugo		usb3: usb@a8f8800 {
1561026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
1562026dad8fSJeffrey Hugo			reg = <0x0a8f8800 0x400>;
1563026dad8fSJeffrey Hugo			status = "disabled";
1564026dad8fSJeffrey Hugo			#address-cells = <1>;
1565026dad8fSJeffrey Hugo			#size-cells = <1>;
1566026dad8fSJeffrey Hugo			ranges;
1567026dad8fSJeffrey Hugo
1568026dad8fSJeffrey Hugo			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
1569026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MASTER_CLK>,
1570026dad8fSJeffrey Hugo				 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
1571026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1572026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_SLEEP_CLK>;
1573026dad8fSJeffrey Hugo			clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1574026dad8fSJeffrey Hugo				      "sleep";
1575026dad8fSJeffrey Hugo
1576026dad8fSJeffrey Hugo			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1577026dad8fSJeffrey Hugo					  <&gcc GCC_USB30_MASTER_CLK>;
1578026dad8fSJeffrey Hugo			assigned-clock-rates = <19200000>, <120000000>;
1579026dad8fSJeffrey Hugo
1580026dad8fSJeffrey Hugo			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
1581026dad8fSJeffrey Hugo				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
1582026dad8fSJeffrey Hugo			interrupt-names = "hs_phy_irq", "ss_phy_irq";
1583026dad8fSJeffrey Hugo
1584026dad8fSJeffrey Hugo			power-domains = <&gcc USB_30_GDSC>;
1585026dad8fSJeffrey Hugo
1586026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB_30_BCR>;
1587026dad8fSJeffrey Hugo
1588026dad8fSJeffrey Hugo			usb3_dwc3: dwc3@a800000 {
1589026dad8fSJeffrey Hugo				compatible = "snps,dwc3";
1590026dad8fSJeffrey Hugo				reg = <0x0a800000 0xcd00>;
1591026dad8fSJeffrey Hugo				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
1592026dad8fSJeffrey Hugo				snps,dis_u2_susphy_quirk;
1593026dad8fSJeffrey Hugo				snps,dis_enblslpm_quirk;
1594026dad8fSJeffrey Hugo				phys = <&qusb2phy>, <&usb1_ssphy>;
1595026dad8fSJeffrey Hugo				phy-names = "usb2-phy", "usb3-phy";
1596026dad8fSJeffrey Hugo				snps,has-lpm-erratum;
1597026dad8fSJeffrey Hugo				snps,hird-threshold = /bits/ 8 <0x10>;
1598026dad8fSJeffrey Hugo			};
1599026dad8fSJeffrey Hugo		};
1600026dad8fSJeffrey Hugo
1601026dad8fSJeffrey Hugo		usb3phy: phy@c010000 {
1602026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qmp-usb3-phy";
1603026dad8fSJeffrey Hugo			reg = <0x0c010000 0x18c>;
1604026dad8fSJeffrey Hugo			status = "disabled";
1605026dad8fSJeffrey Hugo			#clock-cells = <1>;
1606026dad8fSJeffrey Hugo			#address-cells = <1>;
1607026dad8fSJeffrey Hugo			#size-cells = <1>;
1608026dad8fSJeffrey Hugo			ranges;
1609026dad8fSJeffrey Hugo
1610026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
1611026dad8fSJeffrey Hugo				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1612026dad8fSJeffrey Hugo				 <&gcc GCC_USB3_CLKREF_CLK>;
1613026dad8fSJeffrey Hugo			clock-names = "aux", "cfg_ahb", "ref";
1614026dad8fSJeffrey Hugo
1615026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB3_PHY_BCR>,
1616026dad8fSJeffrey Hugo				 <&gcc GCC_USB3PHY_PHY_BCR>;
1617026dad8fSJeffrey Hugo			reset-names = "phy", "common";
1618026dad8fSJeffrey Hugo
1619026dad8fSJeffrey Hugo			usb1_ssphy: lane@c010200 {
1620026dad8fSJeffrey Hugo				reg = <0xc010200 0x128>,
1621026dad8fSJeffrey Hugo				      <0xc010400 0x200>,
1622026dad8fSJeffrey Hugo				      <0xc010c00 0x20c>,
1623026dad8fSJeffrey Hugo				      <0xc010600 0x128>,
1624026dad8fSJeffrey Hugo				      <0xc010800 0x200>;
1625026dad8fSJeffrey Hugo				#phy-cells = <0>;
1626026dad8fSJeffrey Hugo				clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
1627026dad8fSJeffrey Hugo				clock-names = "pipe0";
1628026dad8fSJeffrey Hugo				clock-output-names = "usb3_phy_pipe_clk_src";
1629026dad8fSJeffrey Hugo			};
1630026dad8fSJeffrey Hugo		};
1631026dad8fSJeffrey Hugo
1632026dad8fSJeffrey Hugo		qusb2phy: phy@c012000 {
1633026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qusb2-phy";
1634026dad8fSJeffrey Hugo			reg = <0x0c012000 0x2a8>;
1635026dad8fSJeffrey Hugo			status = "disabled";
1636026dad8fSJeffrey Hugo			#phy-cells = <0>;
1637026dad8fSJeffrey Hugo
1638026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1639026dad8fSJeffrey Hugo				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
1640026dad8fSJeffrey Hugo			clock-names = "cfg_ahb", "ref";
1641026dad8fSJeffrey Hugo
1642026dad8fSJeffrey Hugo			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1643026dad8fSJeffrey Hugo
1644026dad8fSJeffrey Hugo			nvmem-cells = <&qusb2_hstx_trim>;
1645026dad8fSJeffrey Hugo		};
1646026dad8fSJeffrey Hugo
16471cfce828SJeffrey Hugo		sdhc2: sdhci@c0a4900 {
16481cfce828SJeffrey Hugo			compatible = "qcom,sdhci-msm-v4";
164932a5da21SJeffrey Hugo			reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>;
16501cfce828SJeffrey Hugo			reg-names = "hc_mem", "core_mem";
16511cfce828SJeffrey Hugo
16521cfce828SJeffrey Hugo			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
16531cfce828SJeffrey Hugo				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
16541cfce828SJeffrey Hugo			interrupt-names = "hc_irq", "pwr_irq";
16551cfce828SJeffrey Hugo
16561cfce828SJeffrey Hugo			clock-names = "iface", "core", "xo";
16571cfce828SJeffrey Hugo			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
16581cfce828SJeffrey Hugo				 <&gcc GCC_SDCC2_APPS_CLK>,
16591cfce828SJeffrey Hugo				 <&xo>;
16601cfce828SJeffrey Hugo			bus-width = <4>;
16611cfce828SJeffrey Hugo			status = "disabled";
16621cfce828SJeffrey Hugo		};
16631cfce828SJeffrey Hugo
1664f1c1d4feSJeffrey Hugo		blsp1_dma: dma@c144000 {
1665f1c1d4feSJeffrey Hugo			compatible = "qcom,bam-v1.7.0";
1666f1c1d4feSJeffrey Hugo			reg = <0x0c144000 0x25000>;
1667f1c1d4feSJeffrey Hugo			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1668f1c1d4feSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
1669f1c1d4feSJeffrey Hugo			clock-names = "bam_clk";
1670f1c1d4feSJeffrey Hugo			#dma-cells = <1>;
1671f1c1d4feSJeffrey Hugo			qcom,ee = <0>;
1672f1c1d4feSJeffrey Hugo			qcom,controlled-remotely;
1673f1c1d4feSJeffrey Hugo			num-channels = <18>;
1674f1c1d4feSJeffrey Hugo			qcom,num-ees = <4>;
1675f1c1d4feSJeffrey Hugo		};
1676f1c1d4feSJeffrey Hugo
167773d4d2efSJeffrey Hugo		blsp1_uart3: serial@c171000 {
167873d4d2efSJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
167973d4d2efSJeffrey Hugo			reg = <0x0c171000 0x1000>;
168073d4d2efSJeffrey Hugo			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
168173d4d2efSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
168273d4d2efSJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
168373d4d2efSJeffrey Hugo			clock-names = "core", "iface";
168473d4d2efSJeffrey Hugo			dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
168573d4d2efSJeffrey Hugo			dma-names = "tx", "rx";
168673d4d2efSJeffrey Hugo			pinctrl-names = "default";
168773d4d2efSJeffrey Hugo			pinctrl-0 = <&blsp1_uart3_on>;
168873d4d2efSJeffrey Hugo			status = "disabled";
168973d4d2efSJeffrey Hugo		};
169073d4d2efSJeffrey Hugo
16911e71d0c2SJeffrey Hugo		blsp1_i2c1: i2c@c175000 {
16921e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
16931e71d0c2SJeffrey Hugo			reg = <0x0c175000 0x600>;
16941e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
16951e71d0c2SJeffrey Hugo
16961e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
16971e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
16981e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
16991e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17001e71d0c2SJeffrey Hugo
17011e71d0c2SJeffrey Hugo			status = "disabled";
17021e71d0c2SJeffrey Hugo			#address-cells = <1>;
17031e71d0c2SJeffrey Hugo			#size-cells = <0>;
17041e71d0c2SJeffrey Hugo		};
17051e71d0c2SJeffrey Hugo
17061e71d0c2SJeffrey Hugo		blsp1_i2c2: i2c@c176000 {
17071e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17081e71d0c2SJeffrey Hugo			reg = <0x0c176000 0x600>;
17091e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
17101e71d0c2SJeffrey Hugo
17111e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
17121e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
17131e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17141e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17151e71d0c2SJeffrey Hugo
17161e71d0c2SJeffrey Hugo			status = "disabled";
17171e71d0c2SJeffrey Hugo			#address-cells = <1>;
17181e71d0c2SJeffrey Hugo			#size-cells = <0>;
17191e71d0c2SJeffrey Hugo		};
17201e71d0c2SJeffrey Hugo
17211e71d0c2SJeffrey Hugo		blsp1_i2c3: i2c@c177000 {
17221e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17231e71d0c2SJeffrey Hugo			reg = <0x0c177000 0x600>;
17241e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
17251e71d0c2SJeffrey Hugo
17261e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
17271e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
17281e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17291e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17301e71d0c2SJeffrey Hugo
17311e71d0c2SJeffrey Hugo			status = "disabled";
17321e71d0c2SJeffrey Hugo			#address-cells = <1>;
17331e71d0c2SJeffrey Hugo			#size-cells = <0>;
17341e71d0c2SJeffrey Hugo		};
17351e71d0c2SJeffrey Hugo
17361e71d0c2SJeffrey Hugo		blsp1_i2c4: i2c@c178000 {
17371e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17381e71d0c2SJeffrey Hugo			reg = <0x0c178000 0x600>;
17391e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
17401e71d0c2SJeffrey Hugo
17411e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
17421e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
17431e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17441e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17451e71d0c2SJeffrey Hugo
17461e71d0c2SJeffrey Hugo			status = "disabled";
17471e71d0c2SJeffrey Hugo			#address-cells = <1>;
17481e71d0c2SJeffrey Hugo			#size-cells = <0>;
17491e71d0c2SJeffrey Hugo		};
17501e71d0c2SJeffrey Hugo
17511e71d0c2SJeffrey Hugo		blsp1_i2c5: i2c@c179000 {
17521e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17531e71d0c2SJeffrey Hugo			reg = <0x0c179000 0x600>;
17541e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
17551e71d0c2SJeffrey Hugo
17561e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
17571e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
17581e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17591e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17601e71d0c2SJeffrey Hugo
17611e71d0c2SJeffrey Hugo			status = "disabled";
17621e71d0c2SJeffrey Hugo			#address-cells = <1>;
17631e71d0c2SJeffrey Hugo			#size-cells = <0>;
17641e71d0c2SJeffrey Hugo		};
17651e71d0c2SJeffrey Hugo
17661e71d0c2SJeffrey Hugo		blsp1_i2c6: i2c@c17a000 {
17671e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17681e71d0c2SJeffrey Hugo			reg = <0x0c17a000 0x600>;
17691e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
17701e71d0c2SJeffrey Hugo
17711e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
17721e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
17731e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17741e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
17751e71d0c2SJeffrey Hugo
17761e71d0c2SJeffrey Hugo			status = "disabled";
17771e71d0c2SJeffrey Hugo			#address-cells = <1>;
17781e71d0c2SJeffrey Hugo			#size-cells = <0>;
17791e71d0c2SJeffrey Hugo		};
17801e71d0c2SJeffrey Hugo
178132a5da21SJeffrey Hugo		blsp2_uart1: serial@c1b0000 {
178232a5da21SJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
178332a5da21SJeffrey Hugo			reg = <0x0c1b0000 0x1000>;
178432a5da21SJeffrey Hugo			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
178532a5da21SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
178632a5da21SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
178732a5da21SJeffrey Hugo			clock-names = "core", "iface";
178832a5da21SJeffrey Hugo			status = "disabled";
178932a5da21SJeffrey Hugo		};
179032a5da21SJeffrey Hugo
17911e71d0c2SJeffrey Hugo		blsp2_i2c0: i2c@c1b5000 {
17921e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
17931e71d0c2SJeffrey Hugo			reg = <0x0c1b5000 0x600>;
17941e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
17951e71d0c2SJeffrey Hugo
17961e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
17971e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
17981e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
17991e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
18001e71d0c2SJeffrey Hugo
18011e71d0c2SJeffrey Hugo			status = "disabled";
18021e71d0c2SJeffrey Hugo			#address-cells = <1>;
18031e71d0c2SJeffrey Hugo			#size-cells = <0>;
18041e71d0c2SJeffrey Hugo		};
18051e71d0c2SJeffrey Hugo
18061e71d0c2SJeffrey Hugo		blsp2_i2c1: i2c@c1b6000 {
18071e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
18081e71d0c2SJeffrey Hugo			reg = <0x0c1b6000 0x600>;
18091e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
18101e71d0c2SJeffrey Hugo
18111e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
18121e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
18131e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
18141e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
18151e71d0c2SJeffrey Hugo
18161e71d0c2SJeffrey Hugo			status = "disabled";
18171e71d0c2SJeffrey Hugo			#address-cells = <1>;
18181e71d0c2SJeffrey Hugo			#size-cells = <0>;
18191e71d0c2SJeffrey Hugo		};
18201e71d0c2SJeffrey Hugo
18211e71d0c2SJeffrey Hugo		blsp2_i2c2: i2c@c1b7000 {
18221e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
18231e71d0c2SJeffrey Hugo			reg = <0x0c1b7000 0x600>;
18241e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
18251e71d0c2SJeffrey Hugo
18261e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
18271e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
18281e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
18291e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
18301e71d0c2SJeffrey Hugo
18311e71d0c2SJeffrey Hugo			status = "disabled";
18321e71d0c2SJeffrey Hugo			#address-cells = <1>;
18331e71d0c2SJeffrey Hugo			#size-cells = <0>;
18341e71d0c2SJeffrey Hugo		};
18351e71d0c2SJeffrey Hugo
18361e71d0c2SJeffrey Hugo		blsp2_i2c3: i2c@c1b8000 {
18371e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
18381e71d0c2SJeffrey Hugo			reg = <0x0c1b8000 0x600>;
18391e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
18401e71d0c2SJeffrey Hugo
18411e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
18421e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
18431e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
18441e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
18451e71d0c2SJeffrey Hugo
18461e71d0c2SJeffrey Hugo			status = "disabled";
18471e71d0c2SJeffrey Hugo			#address-cells = <1>;
18481e71d0c2SJeffrey Hugo			#size-cells = <0>;
18491e71d0c2SJeffrey Hugo		};
18501e71d0c2SJeffrey Hugo
18511e71d0c2SJeffrey Hugo		blsp2_i2c4: i2c@c1b9000 {
18521e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
18531e71d0c2SJeffrey Hugo			reg = <0x0c1b9000 0x600>;
18541e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
18551e71d0c2SJeffrey Hugo
18561e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
18571e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
18581e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
18591e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
18601e71d0c2SJeffrey Hugo
18611e71d0c2SJeffrey Hugo			status = "disabled";
18621e71d0c2SJeffrey Hugo			#address-cells = <1>;
18631e71d0c2SJeffrey Hugo			#size-cells = <0>;
18641e71d0c2SJeffrey Hugo		};
18651e71d0c2SJeffrey Hugo
18661e71d0c2SJeffrey Hugo		blsp2_i2c5: i2c@c1ba000 {
18671e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
1868c8be5541SMarc Gonzalez			reg = <0x0c1ba000 0x600>;
18691e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
18701e71d0c2SJeffrey Hugo
18711e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
18721e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
18731e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
18741e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
18751e71d0c2SJeffrey Hugo
18761e71d0c2SJeffrey Hugo			status = "disabled";
18771e71d0c2SJeffrey Hugo			#address-cells = <1>;
18781e71d0c2SJeffrey Hugo			#size-cells = <0>;
18791e71d0c2SJeffrey Hugo		};
18801e71d0c2SJeffrey Hugo
188132a5da21SJeffrey Hugo		apcs_glb: mailbox@17911000 {
188232a5da21SJeffrey Hugo			compatible = "qcom,msm8998-apcs-hmss-global";
188332a5da21SJeffrey Hugo			reg = <0x17911000 0x1000>;
188432a5da21SJeffrey Hugo
188532a5da21SJeffrey Hugo			#mbox-cells = <1>;
18864807c71cSJoonwoo Park		};
18874807c71cSJoonwoo Park
18884807c71cSJoonwoo Park		timer@17920000 {
18894807c71cSJoonwoo Park			#address-cells = <1>;
18904807c71cSJoonwoo Park			#size-cells = <1>;
18914807c71cSJoonwoo Park			ranges;
18924807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
18934807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
18944807c71cSJoonwoo Park
18954807c71cSJoonwoo Park			frame@17921000 {
18964807c71cSJoonwoo Park				frame-number = <0>;
18974807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
18984807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
18994807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
19004807c71cSJoonwoo Park				      <0x17922000 0x1000>;
19014807c71cSJoonwoo Park			};
19024807c71cSJoonwoo Park
19034807c71cSJoonwoo Park			frame@17923000 {
19044807c71cSJoonwoo Park				frame-number = <1>;
19054807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
19064807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
19074807c71cSJoonwoo Park				status = "disabled";
19084807c71cSJoonwoo Park			};
19094807c71cSJoonwoo Park
19104807c71cSJoonwoo Park			frame@17924000 {
19114807c71cSJoonwoo Park				frame-number = <2>;
19124807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
19134807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
19144807c71cSJoonwoo Park				status = "disabled";
19154807c71cSJoonwoo Park			};
19164807c71cSJoonwoo Park
19174807c71cSJoonwoo Park			frame@17925000 {
19184807c71cSJoonwoo Park				frame-number = <3>;
19194807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
19204807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
19214807c71cSJoonwoo Park				status = "disabled";
19224807c71cSJoonwoo Park			};
19234807c71cSJoonwoo Park
19244807c71cSJoonwoo Park			frame@17926000 {
19254807c71cSJoonwoo Park				frame-number = <4>;
19264807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
19274807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
19284807c71cSJoonwoo Park				status = "disabled";
19294807c71cSJoonwoo Park			};
19304807c71cSJoonwoo Park
19314807c71cSJoonwoo Park			frame@17927000 {
19324807c71cSJoonwoo Park				frame-number = <5>;
19334807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
19344807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
19354807c71cSJoonwoo Park				status = "disabled";
19364807c71cSJoonwoo Park			};
19374807c71cSJoonwoo Park
19384807c71cSJoonwoo Park			frame@17928000 {
19394807c71cSJoonwoo Park				frame-number = <6>;
19404807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
19414807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
19424807c71cSJoonwoo Park				status = "disabled";
19434807c71cSJoonwoo Park			};
19444807c71cSJoonwoo Park		};
19454807c71cSJoonwoo Park
19464807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
19474807c71cSJoonwoo Park			compatible = "arm,gic-v3";
19484807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
19494807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
19504807c71cSJoonwoo Park			#interrupt-cells = <3>;
19514807c71cSJoonwoo Park			#address-cells = <1>;
19524807c71cSJoonwoo Park			#size-cells = <1>;
19534807c71cSJoonwoo Park			ranges;
19544807c71cSJoonwoo Park			interrupt-controller;
19554807c71cSJoonwoo Park			#redistributor-regions = <1>;
19564807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
19574807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
19584807c71cSJoonwoo Park		};
195919b7caaaSJeffrey Hugo
196019b7caaaSJeffrey Hugo		wifi: wifi@18800000 {
196119b7caaaSJeffrey Hugo			compatible = "qcom,wcn3990-wifi";
196219b7caaaSJeffrey Hugo			status = "disabled";
196319b7caaaSJeffrey Hugo			reg = <0x18800000 0x800000>;
196419b7caaaSJeffrey Hugo			reg-names = "membase";
196519b7caaaSJeffrey Hugo			memory-region = <&wlan_msa_mem>;
196619b7caaaSJeffrey Hugo			clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
196719b7caaaSJeffrey Hugo			clock-names = "cxo_ref_clk_pin";
196819b7caaaSJeffrey Hugo			interrupts =
196919b7caaaSJeffrey Hugo				<GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
197019b7caaaSJeffrey Hugo				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
197119b7caaaSJeffrey Hugo				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
197219b7caaaSJeffrey Hugo				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
197319b7caaaSJeffrey Hugo				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
197419b7caaaSJeffrey Hugo				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
197519b7caaaSJeffrey Hugo				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
197619b7caaaSJeffrey Hugo				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
197719b7caaaSJeffrey Hugo				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
197819b7caaaSJeffrey Hugo				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
197919b7caaaSJeffrey Hugo				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
198019b7caaaSJeffrey Hugo				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
198119b7caaaSJeffrey Hugo			iommus = <&anoc2_smmu 0x1900>,
198219b7caaaSJeffrey Hugo				 <&anoc2_smmu 0x1901>;
198319b7caaaSJeffrey Hugo			qcom,snoc-host-cap-8bit-quirk;
198419b7caaaSJeffrey Hugo		};
19854807c71cSJoonwoo Park	};
19864807c71cSJoonwoo Park};
19876da80161SJeffrey Hugo
19886da80161SJeffrey Hugo#include "msm8998-pins.dtsi"
1989