xref: /openbmc/linux/arch/arm64/boot/dts/qcom/msm8998.dtsi (revision 03e6cb3d)
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
32fda8fba6SSibi Sankar		hyp_mem: memory@85800000 {
33fda8fba6SSibi Sankar			reg = <0x0 0x85800000 0x0 0x600000>;
34fda8fba6SSibi Sankar			no-map;
35fda8fba6SSibi Sankar		};
36fda8fba6SSibi Sankar
37fda8fba6SSibi Sankar		xbl_mem: memory@85e00000 {
38fda8fba6SSibi 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
47fda8fba6SSibi Sankar		tz_mem: memory@86200000 {
486e533309SMarc Gonzalez			reg = <0x0 0x86200000 0x0 0x2d00000>;
49c7833949SBjorn Andersson			no-map;
50c7833949SBjorn Andersson		};
51c7833949SBjorn Andersson
52fda8fba6SSibi Sankar		rmtfs_mem: memory@88f00000 {
53fda8fba6SSibi Sankar			compatible = "qcom,rmtfs-mem";
54fda8fba6SSibi Sankar			reg = <0x0 0x88f00000 0x0 0x200000>;
55fda8fba6SSibi Sankar			no-map;
56fda8fba6SSibi Sankar
57fda8fba6SSibi Sankar			qcom,client-id = <1>;
58fda8fba6SSibi Sankar			qcom,vmid = <15>;
59fda8fba6SSibi Sankar		};
60fda8fba6SSibi Sankar
61fda8fba6SSibi Sankar		spss_mem: memory@8ab00000 {
62fda8fba6SSibi Sankar			reg = <0x0 0x8ab00000 0x0 0x700000>;
63fda8fba6SSibi Sankar			no-map;
64fda8fba6SSibi Sankar		};
65fda8fba6SSibi Sankar
66fda8fba6SSibi Sankar		adsp_mem: memory@8b200000 {
67fda8fba6SSibi Sankar			reg = <0x0 0x8b200000 0x0 0x1a00000>;
68fda8fba6SSibi Sankar			no-map;
69fda8fba6SSibi Sankar		};
70fda8fba6SSibi Sankar
71fda8fba6SSibi Sankar		mpss_mem: memory@8cc00000 {
72fda8fba6SSibi Sankar			reg = <0x0 0x8cc00000 0x0 0x7000000>;
73fda8fba6SSibi Sankar			no-map;
74fda8fba6SSibi Sankar		};
75fda8fba6SSibi Sankar
76fda8fba6SSibi Sankar		venus_mem: memory@93c00000 {
77fda8fba6SSibi Sankar			reg = <0x0 0x93c00000 0x0 0x500000>;
78fda8fba6SSibi Sankar			no-map;
79fda8fba6SSibi Sankar		};
80fda8fba6SSibi Sankar
81fda8fba6SSibi Sankar		mba_mem: memory@94100000 {
82fda8fba6SSibi Sankar			reg = <0x0 0x94100000 0x0 0x200000>;
83fda8fba6SSibi Sankar			no-map;
84fda8fba6SSibi Sankar		};
85fda8fba6SSibi Sankar
86fda8fba6SSibi Sankar		slpi_mem: memory@94300000 {
87fda8fba6SSibi Sankar			reg = <0x0 0x94300000 0x0 0xf00000>;
88fda8fba6SSibi Sankar			no-map;
89fda8fba6SSibi Sankar		};
90fda8fba6SSibi Sankar
91fda8fba6SSibi Sankar		ipa_fw_mem: memory@95200000 {
92fda8fba6SSibi Sankar			reg = <0x0 0x95200000 0x0 0x10000>;
93fda8fba6SSibi Sankar			no-map;
94fda8fba6SSibi Sankar		};
95fda8fba6SSibi Sankar
96fda8fba6SSibi Sankar		ipa_gsi_mem: memory@95210000 {
97fda8fba6SSibi Sankar			reg = <0x0 0x95210000 0x0 0x5000>;
98fda8fba6SSibi Sankar			no-map;
99fda8fba6SSibi Sankar		};
100fda8fba6SSibi Sankar
101fda8fba6SSibi Sankar		gpu_mem: memory@95600000 {
102fda8fba6SSibi Sankar			reg = <0x0 0x95600000 0x0 0x100000>;
103fda8fba6SSibi Sankar			no-map;
104fda8fba6SSibi Sankar		};
105fda8fba6SSibi 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";
133663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
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";
152663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
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";
167663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
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";
182663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
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";
197663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
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";
216663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
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";
231663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
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";
246663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
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 {
503285aa631SAmit Kucheria				cpu0_alert0: trip-point0 {
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 {
524285aa631SAmit Kucheria				cpu1_alert0: trip-point0 {
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 {
545285aa631SAmit Kucheria				cpu2_alert0: trip-point0 {
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 {
566285aa631SAmit Kucheria				cpu3_alert0: trip-point0 {
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 {
587285aa631SAmit Kucheria				cpu4_alert0: trip-point0 {
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 {
608285aa631SAmit Kucheria				cpu5_alert0: trip-point0 {
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 {
629285aa631SAmit Kucheria				cpu6_alert0: trip-point0 {
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 {
650285aa631SAmit Kucheria				cpu7_alert0: trip-point0 {
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 {
671285aa631SAmit Kucheria				gpu1_alert0: trip-point0 {
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 {
686285aa631SAmit Kucheria				gpu2_alert0: trip-point0 {
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 {
701285aa631SAmit Kucheria				cluster0_mhm_alert0: trip-point0 {
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 {
716285aa631SAmit Kucheria				cluster1_mhm_alert0: trip-point0 {
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 {
731285aa631SAmit Kucheria				cluster1_l2_alert0: trip-point0 {
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 {
746285aa631SAmit Kucheria				modem_alert0: trip-point0 {
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 {
761285aa631SAmit Kucheria				mem_alert0: trip-point0 {
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 {
776285aa631SAmit Kucheria				wlan_alert0: trip-point0 {
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 {
791285aa631SAmit Kucheria				q6_dsp_alert0: trip-point0 {
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 {
806285aa631SAmit Kucheria				camera_alert0: trip-point0 {
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 {
821285aa631SAmit Kucheria				multimedia_alert0: trip-point0 {
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>;
874f0b888afSAmit Kucheria			interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
875f0b888afSAmit Kucheria				     <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
876f0b888afSAmit Kucheria			interrupt-names = "uplow", "critical";
8774449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8784449b6f2SBjorn Andersson		};
8794449b6f2SBjorn Andersson
88050325048SAmit Kucheria		tsens1: thermal@10ae000 {
8814449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
88232a5da21SJeffrey Hugo			reg = <0x010ae000 0x1000>, /* TM */
88332a5da21SJeffrey Hugo			      <0x010ad000 0x1000>; /* SROT */
8844449b6f2SBjorn Andersson			#qcom,sensors = <8>;
885f0b888afSAmit Kucheria			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
886f0b888afSAmit Kucheria				     <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
887f0b888afSAmit Kucheria			interrupt-names = "uplow", "critical";
8884449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8894449b6f2SBjorn Andersson		};
8904449b6f2SBjorn Andersson
8918389b869SMarc Gonzalez		anoc1_smmu: iommu@1680000 {
8928389b869SMarc Gonzalez			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
8938389b869SMarc Gonzalez			reg = <0x01680000 0x10000>;
8948389b869SMarc Gonzalez			#iommu-cells = <1>;
8958389b869SMarc Gonzalez
8968389b869SMarc Gonzalez			#global-interrupts = <0>;
8978389b869SMarc Gonzalez			interrupts =
8988389b869SMarc Gonzalez				<GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
8998389b869SMarc Gonzalez				<GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
9008389b869SMarc Gonzalez				<GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
9018389b869SMarc Gonzalez				<GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
9028389b869SMarc Gonzalez				<GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
9038389b869SMarc Gonzalez				<GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
9048389b869SMarc Gonzalez		};
9058389b869SMarc Gonzalez
906a21c9548SJeffrey Hugo		anoc2_smmu: iommu@16c0000 {
907a21c9548SJeffrey Hugo			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
908a21c9548SJeffrey Hugo			reg = <0x016c0000 0x40000>;
909a21c9548SJeffrey Hugo			#iommu-cells = <1>;
910a21c9548SJeffrey Hugo
911a21c9548SJeffrey Hugo			#global-interrupts = <0>;
912a21c9548SJeffrey Hugo			interrupts =
913a21c9548SJeffrey Hugo				<GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
914a21c9548SJeffrey Hugo				<GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
915a21c9548SJeffrey Hugo				<GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
916a21c9548SJeffrey Hugo				<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
917a21c9548SJeffrey Hugo				<GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
918a21c9548SJeffrey Hugo				<GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
919a21c9548SJeffrey Hugo				<GIC_SPI 462 IRQ_TYPE_EDGE_RISING>,
920a21c9548SJeffrey Hugo				<GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
921a21c9548SJeffrey Hugo				<GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
922a21c9548SJeffrey Hugo				<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>;
923a21c9548SJeffrey Hugo		};
924a21c9548SJeffrey Hugo
925b84dfd17SMarc Gonzalez		pcie0: pci@1c00000 {
926b84dfd17SMarc Gonzalez			compatible = "qcom,pcie-msm8996";
927b84dfd17SMarc Gonzalez			reg =	<0x01c00000 0x2000>,
928b84dfd17SMarc Gonzalez				<0x1b000000 0xf1d>,
929b84dfd17SMarc Gonzalez				<0x1b000f20 0xa8>,
930b84dfd17SMarc Gonzalez				<0x1b100000 0x100000>;
931b84dfd17SMarc Gonzalez			reg-names = "parf", "dbi", "elbi", "config";
932b84dfd17SMarc Gonzalez			device_type = "pci";
933b84dfd17SMarc Gonzalez			linux,pci-domain = <0>;
934b84dfd17SMarc Gonzalez			bus-range = <0x00 0xff>;
935b84dfd17SMarc Gonzalez			#address-cells = <3>;
936b84dfd17SMarc Gonzalez			#size-cells = <2>;
937b84dfd17SMarc Gonzalez			num-lanes = <1>;
938b84dfd17SMarc Gonzalez			phys = <&pciephy>;
939b84dfd17SMarc Gonzalez			phy-names = "pciephy";
940b84dfd17SMarc Gonzalez
941b84dfd17SMarc Gonzalez			ranges = <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>,
942b84dfd17SMarc Gonzalez				 <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>;
943b84dfd17SMarc Gonzalez
944b84dfd17SMarc Gonzalez			#interrupt-cells = <1>;
945b84dfd17SMarc Gonzalez			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
946b84dfd17SMarc Gonzalez			interrupt-names = "msi";
947b84dfd17SMarc Gonzalez			interrupt-map-mask = <0 0 0 0x7>;
948b84dfd17SMarc Gonzalez			interrupt-map =	<0 0 0 1 &intc 0 135 IRQ_TYPE_LEVEL_HIGH>,
949b84dfd17SMarc Gonzalez					<0 0 0 2 &intc 0 136 IRQ_TYPE_LEVEL_HIGH>,
950b84dfd17SMarc Gonzalez					<0 0 0 3 &intc 0 138 IRQ_TYPE_LEVEL_HIGH>,
951b84dfd17SMarc Gonzalez					<0 0 0 4 &intc 0 139 IRQ_TYPE_LEVEL_HIGH>;
952b84dfd17SMarc Gonzalez
953b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
954b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
955b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>,
956b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
957b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_AUX_CLK>;
958b84dfd17SMarc Gonzalez			clock-names = "pipe", "bus_master", "bus_slave", "cfg", "aux";
959b84dfd17SMarc Gonzalez
960b84dfd17SMarc Gonzalez			power-domains = <&gcc PCIE_0_GDSC>;
961b84dfd17SMarc Gonzalez			iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
962b84dfd17SMarc Gonzalez			perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
963b84dfd17SMarc Gonzalez		};
964b84dfd17SMarc Gonzalez
965b84dfd17SMarc Gonzalez		phy@1c06000 {
966b84dfd17SMarc Gonzalez			compatible = "qcom,msm8998-qmp-pcie-phy";
967b84dfd17SMarc Gonzalez			reg = <0x01c06000 0x18c>;
968b84dfd17SMarc Gonzalez			#address-cells = <1>;
969b84dfd17SMarc Gonzalez			#size-cells = <1>;
970b84dfd17SMarc Gonzalez			ranges;
971b84dfd17SMarc Gonzalez
972b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
973b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
974b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_CLKREF_CLK>;
975b84dfd17SMarc Gonzalez			clock-names = "aux", "cfg_ahb", "ref";
976b84dfd17SMarc Gonzalez
977b84dfd17SMarc Gonzalez			resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
978b84dfd17SMarc Gonzalez			reset-names = "phy", "common";
979b84dfd17SMarc Gonzalez
980b84dfd17SMarc Gonzalez			vdda-phy-supply = <&vreg_l1a_0p875>;
981b84dfd17SMarc Gonzalez			vdda-pll-supply = <&vreg_l2a_1p2>;
982b84dfd17SMarc Gonzalez
983b84dfd17SMarc Gonzalez			pciephy: lane@1c06800 {
984b84dfd17SMarc Gonzalez				reg = <0x01c06200 0x128>, <0x01c06400 0x1fc>, <0x01c06800 0x20c>;
985b84dfd17SMarc Gonzalez				#phy-cells = <0>;
986b84dfd17SMarc Gonzalez
987b84dfd17SMarc Gonzalez				clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
988b84dfd17SMarc Gonzalez				clock-names = "pipe0";
989b84dfd17SMarc Gonzalez				clock-output-names = "pcie_0_pipe_clk_src";
990b84dfd17SMarc Gonzalez				#clock-cells = <0>;
991b84dfd17SMarc Gonzalez			};
992b84dfd17SMarc Gonzalez		};
993b84dfd17SMarc Gonzalez
99432a5da21SJeffrey Hugo		ufshc: ufshc@1da4000 {
99532a5da21SJeffrey Hugo			compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
99632a5da21SJeffrey Hugo			reg = <0x01da4000 0x2500>;
99732a5da21SJeffrey Hugo			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
99832a5da21SJeffrey Hugo			phys = <&ufsphy_lanes>;
99932a5da21SJeffrey Hugo			phy-names = "ufsphy";
100032a5da21SJeffrey Hugo			lanes-per-direction = <2>;
100132a5da21SJeffrey Hugo			power-domains = <&gcc UFS_GDSC>;
100232a5da21SJeffrey Hugo			#reset-cells = <1>;
100332a5da21SJeffrey Hugo
100432a5da21SJeffrey Hugo			clock-names =
100532a5da21SJeffrey Hugo				"core_clk",
100632a5da21SJeffrey Hugo				"bus_aggr_clk",
100732a5da21SJeffrey Hugo				"iface_clk",
100832a5da21SJeffrey Hugo				"core_clk_unipro",
100932a5da21SJeffrey Hugo				"ref_clk",
101032a5da21SJeffrey Hugo				"tx_lane0_sync_clk",
101132a5da21SJeffrey Hugo				"rx_lane0_sync_clk",
101232a5da21SJeffrey Hugo				"rx_lane1_sync_clk";
101332a5da21SJeffrey Hugo			clocks =
101432a5da21SJeffrey Hugo				<&gcc GCC_UFS_AXI_CLK>,
101532a5da21SJeffrey Hugo				<&gcc GCC_AGGRE1_UFS_AXI_CLK>,
101632a5da21SJeffrey Hugo				<&gcc GCC_UFS_AHB_CLK>,
101732a5da21SJeffrey Hugo				<&gcc GCC_UFS_UNIPRO_CORE_CLK>,
101832a5da21SJeffrey Hugo				<&rpmcc RPM_SMD_LN_BB_CLK1>,
101932a5da21SJeffrey Hugo				<&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
102032a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
102132a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
102232a5da21SJeffrey Hugo			freq-table-hz =
102332a5da21SJeffrey Hugo				<50000000 200000000>,
102432a5da21SJeffrey Hugo				<0 0>,
102532a5da21SJeffrey Hugo				<0 0>,
102632a5da21SJeffrey Hugo				<37500000 150000000>,
102732a5da21SJeffrey Hugo				<0 0>,
102832a5da21SJeffrey Hugo				<0 0>,
102932a5da21SJeffrey Hugo				<0 0>,
103032a5da21SJeffrey Hugo				<0 0>;
103132a5da21SJeffrey Hugo
103232a5da21SJeffrey Hugo			resets = <&gcc GCC_UFS_BCR>;
103332a5da21SJeffrey Hugo			reset-names = "rst";
1034c7833949SBjorn Andersson		};
1035c7833949SBjorn Andersson
103632a5da21SJeffrey Hugo		ufsphy: phy@1da7000 {
103732a5da21SJeffrey Hugo			compatible = "qcom,msm8998-qmp-ufs-phy";
103832a5da21SJeffrey Hugo			reg = <0x01da7000 0x18c>;
103932a5da21SJeffrey Hugo			#address-cells = <1>;
104032a5da21SJeffrey Hugo			#size-cells = <1>;
104132a5da21SJeffrey Hugo			ranges;
104231c1f0e3SBjorn Andersson
104332a5da21SJeffrey Hugo			clock-names =
104432a5da21SJeffrey Hugo				"ref",
104532a5da21SJeffrey Hugo				"ref_aux";
104632a5da21SJeffrey Hugo			clocks =
104732a5da21SJeffrey Hugo				<&gcc GCC_UFS_CLKREF_CLK>,
104832a5da21SJeffrey Hugo				<&gcc GCC_UFS_PHY_AUX_CLK>;
104932a5da21SJeffrey Hugo
105032a5da21SJeffrey Hugo			reset-names = "ufsphy";
105132a5da21SJeffrey Hugo			resets = <&ufshc 0>;
105232a5da21SJeffrey Hugo
105332a5da21SJeffrey Hugo			ufsphy_lanes: lanes@1da7400 {
105432a5da21SJeffrey Hugo				reg = <0x01da7400 0x128>,
105532a5da21SJeffrey Hugo				      <0x01da7600 0x1fc>,
105632a5da21SJeffrey Hugo				      <0x01da7c00 0x1dc>,
105732a5da21SJeffrey Hugo				      <0x01da7800 0x128>,
105832a5da21SJeffrey Hugo				      <0x01da7a00 0x1fc>;
105932a5da21SJeffrey Hugo				#phy-cells = <0>;
106032a5da21SJeffrey Hugo			};
106132a5da21SJeffrey Hugo		};
106232a5da21SJeffrey Hugo
106332a5da21SJeffrey Hugo		tcsr_mutex_regs: syscon@1f40000 {
106432a5da21SJeffrey Hugo			compatible = "syscon";
106505caa5bfSJeffrey Hugo			reg = <0x01f40000 0x40000>;
106632a5da21SJeffrey Hugo		};
106732a5da21SJeffrey Hugo
106832a5da21SJeffrey Hugo		tlmm: pinctrl@3400000 {
106932a5da21SJeffrey Hugo			compatible = "qcom,msm8998-pinctrl";
107032a5da21SJeffrey Hugo			reg = <0x03400000 0xc00000>;
107132a5da21SJeffrey Hugo			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
107232a5da21SJeffrey Hugo			gpio-controller;
107332a5da21SJeffrey Hugo			#gpio-cells = <0x2>;
107432a5da21SJeffrey Hugo			interrupt-controller;
107532a5da21SJeffrey Hugo			#interrupt-cells = <0x2>;
1076*03e6cb3dSKonrad Dybcio
1077*03e6cb3dSKonrad Dybcio			sdc2_clk_on: sdc2_clk_on {
1078*03e6cb3dSKonrad Dybcio				config {
1079*03e6cb3dSKonrad Dybcio					pins = "sdc2_clk";
1080*03e6cb3dSKonrad Dybcio					bias-disable;
1081*03e6cb3dSKonrad Dybcio					drive-strength = <16>;
1082*03e6cb3dSKonrad Dybcio				};
1083*03e6cb3dSKonrad Dybcio			};
1084*03e6cb3dSKonrad Dybcio
1085*03e6cb3dSKonrad Dybcio			sdc2_clk_off: sdc2_clk_off {
1086*03e6cb3dSKonrad Dybcio				config {
1087*03e6cb3dSKonrad Dybcio					pins = "sdc2_clk";
1088*03e6cb3dSKonrad Dybcio					bias-disable;
1089*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1090*03e6cb3dSKonrad Dybcio				};
1091*03e6cb3dSKonrad Dybcio			};
1092*03e6cb3dSKonrad Dybcio
1093*03e6cb3dSKonrad Dybcio			sdc2_cmd_on: sdc2_cmd_on {
1094*03e6cb3dSKonrad Dybcio				config {
1095*03e6cb3dSKonrad Dybcio					pins = "sdc2_cmd";
1096*03e6cb3dSKonrad Dybcio					bias-pull-up;
1097*03e6cb3dSKonrad Dybcio					drive-strength = <10>;
1098*03e6cb3dSKonrad Dybcio				};
1099*03e6cb3dSKonrad Dybcio			};
1100*03e6cb3dSKonrad Dybcio
1101*03e6cb3dSKonrad Dybcio			sdc2_cmd_off: sdc2_cmd_off {
1102*03e6cb3dSKonrad Dybcio				config {
1103*03e6cb3dSKonrad Dybcio					pins = "sdc2_cmd";
1104*03e6cb3dSKonrad Dybcio					bias-pull-up;
1105*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1106*03e6cb3dSKonrad Dybcio				};
1107*03e6cb3dSKonrad Dybcio			};
1108*03e6cb3dSKonrad Dybcio
1109*03e6cb3dSKonrad Dybcio			sdc2_data_on: sdc2_data_on {
1110*03e6cb3dSKonrad Dybcio				config {
1111*03e6cb3dSKonrad Dybcio					pins = "sdc2_data";
1112*03e6cb3dSKonrad Dybcio					bias-pull-up;
1113*03e6cb3dSKonrad Dybcio					drive-strength = <10>;
1114*03e6cb3dSKonrad Dybcio				};
1115*03e6cb3dSKonrad Dybcio			};
1116*03e6cb3dSKonrad Dybcio
1117*03e6cb3dSKonrad Dybcio			sdc2_data_off: sdc2_data_off {
1118*03e6cb3dSKonrad Dybcio				config {
1119*03e6cb3dSKonrad Dybcio					pins = "sdc2_data";
1120*03e6cb3dSKonrad Dybcio					bias-pull-up;
1121*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1122*03e6cb3dSKonrad Dybcio				};
1123*03e6cb3dSKonrad Dybcio			};
1124*03e6cb3dSKonrad Dybcio
1125*03e6cb3dSKonrad Dybcio			sdc2_cd_on: sdc2_cd_on {
1126*03e6cb3dSKonrad Dybcio				mux {
1127*03e6cb3dSKonrad Dybcio					pins = "gpio95";
1128*03e6cb3dSKonrad Dybcio					function = "gpio";
1129*03e6cb3dSKonrad Dybcio				};
1130*03e6cb3dSKonrad Dybcio
1131*03e6cb3dSKonrad Dybcio				config {
1132*03e6cb3dSKonrad Dybcio					pins = "gpio95";
1133*03e6cb3dSKonrad Dybcio					bias-pull-up;
1134*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1135*03e6cb3dSKonrad Dybcio				};
1136*03e6cb3dSKonrad Dybcio			};
1137*03e6cb3dSKonrad Dybcio
1138*03e6cb3dSKonrad Dybcio			sdc2_cd_off: sdc2_cd_off {
1139*03e6cb3dSKonrad Dybcio				mux {
1140*03e6cb3dSKonrad Dybcio					pins = "gpio95";
1141*03e6cb3dSKonrad Dybcio					function = "gpio";
1142*03e6cb3dSKonrad Dybcio				};
1143*03e6cb3dSKonrad Dybcio
1144*03e6cb3dSKonrad Dybcio				config {
1145*03e6cb3dSKonrad Dybcio					pins = "gpio95";
1146*03e6cb3dSKonrad Dybcio					bias-pull-up;
1147*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1148*03e6cb3dSKonrad Dybcio				};
1149*03e6cb3dSKonrad Dybcio			};
1150*03e6cb3dSKonrad Dybcio
1151*03e6cb3dSKonrad Dybcio			blsp1_uart3_on: blsp1_uart3_on {
1152*03e6cb3dSKonrad Dybcio				tx {
1153*03e6cb3dSKonrad Dybcio					pins = "gpio45";
1154*03e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
1155*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1156*03e6cb3dSKonrad Dybcio					bias-disable;
1157*03e6cb3dSKonrad Dybcio				};
1158*03e6cb3dSKonrad Dybcio
1159*03e6cb3dSKonrad Dybcio				rx {
1160*03e6cb3dSKonrad Dybcio					pins = "gpio46";
1161*03e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
1162*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1163*03e6cb3dSKonrad Dybcio					bias-disable;
1164*03e6cb3dSKonrad Dybcio				};
1165*03e6cb3dSKonrad Dybcio
1166*03e6cb3dSKonrad Dybcio				cts {
1167*03e6cb3dSKonrad Dybcio					pins = "gpio47";
1168*03e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
1169*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1170*03e6cb3dSKonrad Dybcio					bias-disable;
1171*03e6cb3dSKonrad Dybcio				};
1172*03e6cb3dSKonrad Dybcio
1173*03e6cb3dSKonrad Dybcio				rfr {
1174*03e6cb3dSKonrad Dybcio					pins = "gpio48";
1175*03e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
1176*03e6cb3dSKonrad Dybcio					drive-strength = <2>;
1177*03e6cb3dSKonrad Dybcio					bias-disable;
1178*03e6cb3dSKonrad Dybcio				};
1179*03e6cb3dSKonrad Dybcio			};
118032a5da21SJeffrey Hugo		};
118132a5da21SJeffrey Hugo
1182a9ee66deSSibi Sankar		remoteproc_mss: remoteproc@4080000 {
1183a9ee66deSSibi Sankar			compatible = "qcom,msm8998-mss-pil";
1184a9ee66deSSibi Sankar			reg = <0x04080000 0x100>, <0x04180000 0x20>;
1185a9ee66deSSibi Sankar			reg-names = "qdsp6", "rmb";
1186a9ee66deSSibi Sankar
1187a9ee66deSSibi Sankar			interrupts-extended =
1188a9ee66deSSibi Sankar				<&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
1189a9ee66deSSibi Sankar				<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1190a9ee66deSSibi Sankar				<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1191a9ee66deSSibi Sankar				<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1192a9ee66deSSibi Sankar				<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
1193a9ee66deSSibi Sankar				<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
1194a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
1195a9ee66deSSibi Sankar					  "handover", "stop-ack",
1196a9ee66deSSibi Sankar					  "shutdown-ack";
1197a9ee66deSSibi Sankar
1198a9ee66deSSibi Sankar			clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1199a9ee66deSSibi Sankar				 <&gcc GCC_BIMC_MSS_Q6_AXI_CLK>,
1200a9ee66deSSibi Sankar				 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1201a9ee66deSSibi Sankar				 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1202a9ee66deSSibi Sankar				 <&gcc GCC_MSS_SNOC_AXI_CLK>,
1203a9ee66deSSibi Sankar				 <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>,
1204a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_QDSS_CLK>,
1205a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
1206a9ee66deSSibi Sankar			clock-names = "iface", "bus", "mem", "gpll0_mss",
1207a9ee66deSSibi Sankar				      "snoc_axi", "mnoc_axi", "qdss", "xo";
1208a9ee66deSSibi Sankar
1209a9ee66deSSibi Sankar			qcom,smem-states = <&modem_smp2p_out 0>;
1210a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
1211a9ee66deSSibi Sankar
1212a9ee66deSSibi Sankar			resets = <&gcc GCC_MSS_RESTART>;
1213a9ee66deSSibi Sankar			reset-names = "mss_restart";
1214a9ee66deSSibi Sankar
1215a9ee66deSSibi Sankar			qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
1216a9ee66deSSibi Sankar
1217a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_VDDCX>,
1218a9ee66deSSibi Sankar					<&rpmpd MSM8998_VDDMX>;
1219a9ee66deSSibi Sankar			power-domain-names = "cx", "mx";
1220a9ee66deSSibi Sankar
1221a9ee66deSSibi Sankar			mba {
1222a9ee66deSSibi Sankar				memory-region = <&mba_mem>;
1223a9ee66deSSibi Sankar			};
1224a9ee66deSSibi Sankar
1225a9ee66deSSibi Sankar			mpss {
1226a9ee66deSSibi Sankar				memory-region = <&mpss_mem>;
1227a9ee66deSSibi Sankar			};
1228a9ee66deSSibi Sankar
1229a9ee66deSSibi Sankar			glink-edge {
1230a9ee66deSSibi Sankar				interrupts = <GIC_SPI 452 IRQ_TYPE_EDGE_RISING>;
1231a9ee66deSSibi Sankar				label = "modem";
1232a9ee66deSSibi Sankar				qcom,remote-pid = <1>;
1233a9ee66deSSibi Sankar				mboxes = <&apcs_glb 15>;
1234a9ee66deSSibi Sankar			};
1235a9ee66deSSibi Sankar		};
1236a9ee66deSSibi Sankar
1237876a7573SJeffrey Hugo		gpucc: clock-controller@5065000 {
1238876a7573SJeffrey Hugo			compatible = "qcom,msm8998-gpucc";
1239876a7573SJeffrey Hugo			#clock-cells = <1>;
1240876a7573SJeffrey Hugo			#reset-cells = <1>;
1241876a7573SJeffrey Hugo			#power-domain-cells = <1>;
1242876a7573SJeffrey Hugo			reg = <0x05065000 0x9000>;
1243876a7573SJeffrey Hugo
1244876a7573SJeffrey Hugo			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1245876a7573SJeffrey Hugo				 <&gcc GPLL0_OUT_MAIN>;
1246876a7573SJeffrey Hugo			clock-names = "xo",
1247876a7573SJeffrey Hugo				      "gpll0";
1248876a7573SJeffrey Hugo		};
1249876a7573SJeffrey Hugo
1250a9ee66deSSibi Sankar		remoteproc_slpi: remoteproc@5800000 {
1251a9ee66deSSibi Sankar			compatible = "qcom,msm8998-slpi-pas";
1252a9ee66deSSibi Sankar			reg = <0x05800000 0x4040>;
1253a9ee66deSSibi Sankar
1254a9ee66deSSibi Sankar			interrupts-extended = <&intc GIC_SPI 390 IRQ_TYPE_EDGE_RISING>,
1255a9ee66deSSibi Sankar					      <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1256a9ee66deSSibi Sankar					      <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1257a9ee66deSSibi Sankar					      <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1258a9ee66deSSibi Sankar					      <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1259a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
1260a9ee66deSSibi Sankar					  "handover", "stop-ack";
1261a9ee66deSSibi Sankar
1262a9ee66deSSibi Sankar			px-supply = <&vreg_lvs2a_1p8>;
1263a9ee66deSSibi Sankar
1264a9ee66deSSibi Sankar			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1265a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_AGGR2_NOC_CLK>;
1266a9ee66deSSibi Sankar			clock-names = "xo", "aggre2";
1267a9ee66deSSibi Sankar
1268a9ee66deSSibi Sankar			memory-region = <&slpi_mem>;
1269a9ee66deSSibi Sankar
1270a9ee66deSSibi Sankar			qcom,smem-states = <&slpi_smp2p_out 0>;
1271a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
1272a9ee66deSSibi Sankar
1273a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_SSCCX>;
1274a9ee66deSSibi Sankar			power-domain-names = "ssc_cx";
1275a9ee66deSSibi Sankar
1276a9ee66deSSibi Sankar			status = "disabled";
1277a9ee66deSSibi Sankar
1278a9ee66deSSibi Sankar			glink-edge {
1279a9ee66deSSibi Sankar				interrupts = <GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
1280a9ee66deSSibi Sankar				label = "dsps";
1281a9ee66deSSibi Sankar				qcom,remote-pid = <3>;
1282a9ee66deSSibi Sankar				mboxes = <&apcs_glb 27>;
1283a9ee66deSSibi Sankar			};
1284a9ee66deSSibi Sankar		};
1285a9ee66deSSibi Sankar
1286a636f93fSSai Prakash Ranjan		stm: stm@6002000 {
1287783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-stm", "arm,primecell";
1288783abfa2SSai Prakash Ranjan			reg = <0x06002000 0x1000>,
1289783abfa2SSai Prakash Ranjan			      <0x16280000 0x180000>;
1290783abfa2SSai Prakash Ranjan			reg-names = "stm-base", "stm-data-base";
1291a636f93fSSai Prakash Ranjan			status = "disabled";
1292783abfa2SSai Prakash Ranjan
1293783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1294783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1295783abfa2SSai Prakash Ranjan
1296783abfa2SSai Prakash Ranjan			out-ports {
1297783abfa2SSai Prakash Ranjan				port {
1298783abfa2SSai Prakash Ranjan					stm_out: endpoint {
1299783abfa2SSai Prakash Ranjan						remote-endpoint = <&funnel0_in7>;
1300783abfa2SSai Prakash Ranjan					};
1301783abfa2SSai Prakash Ranjan				};
1302783abfa2SSai Prakash Ranjan			};
1303783abfa2SSai Prakash Ranjan		};
1304783abfa2SSai Prakash Ranjan
1305a636f93fSSai Prakash Ranjan		funnel1: funnel@6041000 {
1306783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1307783abfa2SSai Prakash Ranjan			reg = <0x06041000 0x1000>;
1308a636f93fSSai Prakash Ranjan			status = "disabled";
1309783abfa2SSai Prakash Ranjan
1310783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1311783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1312783abfa2SSai Prakash Ranjan
1313783abfa2SSai Prakash Ranjan			out-ports {
1314783abfa2SSai Prakash Ranjan				port {
1315783abfa2SSai Prakash Ranjan					funnel0_out: endpoint {
1316783abfa2SSai Prakash Ranjan						remote-endpoint =
1317783abfa2SSai Prakash Ranjan						  <&merge_funnel_in0>;
1318783abfa2SSai Prakash Ranjan					};
1319783abfa2SSai Prakash Ranjan				};
1320783abfa2SSai Prakash Ranjan			};
1321783abfa2SSai Prakash Ranjan
1322783abfa2SSai Prakash Ranjan			in-ports {
1323783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1324783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1325783abfa2SSai Prakash Ranjan
1326783abfa2SSai Prakash Ranjan				port@7 {
1327783abfa2SSai Prakash Ranjan					reg = <7>;
1328783abfa2SSai Prakash Ranjan					funnel0_in7: endpoint {
1329783abfa2SSai Prakash Ranjan						remote-endpoint = <&stm_out>;
1330783abfa2SSai Prakash Ranjan					};
1331783abfa2SSai Prakash Ranjan				};
1332783abfa2SSai Prakash Ranjan			};
1333783abfa2SSai Prakash Ranjan		};
1334783abfa2SSai Prakash Ranjan
1335a636f93fSSai Prakash Ranjan		funnel2: funnel@6042000 {
1336783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1337783abfa2SSai Prakash Ranjan			reg = <0x06042000 0x1000>;
1338a636f93fSSai Prakash Ranjan			status = "disabled";
1339783abfa2SSai Prakash Ranjan
1340783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1341783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1342783abfa2SSai Prakash Ranjan
1343783abfa2SSai Prakash Ranjan			out-ports {
1344783abfa2SSai Prakash Ranjan				port {
1345783abfa2SSai Prakash Ranjan					funnel1_out: endpoint {
1346783abfa2SSai Prakash Ranjan						remote-endpoint =
1347783abfa2SSai Prakash Ranjan						  <&merge_funnel_in1>;
1348783abfa2SSai Prakash Ranjan					};
1349783abfa2SSai Prakash Ranjan				};
1350783abfa2SSai Prakash Ranjan			};
1351783abfa2SSai Prakash Ranjan
1352783abfa2SSai Prakash Ranjan			in-ports {
1353783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1354783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1355783abfa2SSai Prakash Ranjan
1356783abfa2SSai Prakash Ranjan				port@6 {
1357783abfa2SSai Prakash Ranjan					reg = <6>;
1358783abfa2SSai Prakash Ranjan					funnel1_in6: endpoint {
1359783abfa2SSai Prakash Ranjan						remote-endpoint =
1360783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_out>;
1361783abfa2SSai Prakash Ranjan					};
1362783abfa2SSai Prakash Ranjan				};
1363783abfa2SSai Prakash Ranjan			};
1364783abfa2SSai Prakash Ranjan		};
1365783abfa2SSai Prakash Ranjan
1366a636f93fSSai Prakash Ranjan		funnel3: funnel@6045000 {
1367783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1368783abfa2SSai Prakash Ranjan			reg = <0x06045000 0x1000>;
1369a636f93fSSai Prakash Ranjan			status = "disabled";
1370783abfa2SSai Prakash Ranjan
1371783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1372783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1373783abfa2SSai Prakash Ranjan
1374783abfa2SSai Prakash Ranjan			out-ports {
1375783abfa2SSai Prakash Ranjan				port {
1376783abfa2SSai Prakash Ranjan					merge_funnel_out: endpoint {
1377783abfa2SSai Prakash Ranjan						remote-endpoint =
1378783abfa2SSai Prakash Ranjan						  <&etf_in>;
1379783abfa2SSai Prakash Ranjan					};
1380783abfa2SSai Prakash Ranjan				};
1381783abfa2SSai Prakash Ranjan			};
1382783abfa2SSai Prakash Ranjan
1383783abfa2SSai Prakash Ranjan			in-ports {
1384783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1385783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1386783abfa2SSai Prakash Ranjan
1387783abfa2SSai Prakash Ranjan				port@0 {
1388783abfa2SSai Prakash Ranjan					reg = <0>;
1389783abfa2SSai Prakash Ranjan					merge_funnel_in0: endpoint {
1390783abfa2SSai Prakash Ranjan						remote-endpoint =
1391783abfa2SSai Prakash Ranjan						  <&funnel0_out>;
1392783abfa2SSai Prakash Ranjan					};
1393783abfa2SSai Prakash Ranjan				};
1394783abfa2SSai Prakash Ranjan
1395783abfa2SSai Prakash Ranjan				port@1 {
1396783abfa2SSai Prakash Ranjan					reg = <1>;
1397783abfa2SSai Prakash Ranjan					merge_funnel_in1: endpoint {
1398783abfa2SSai Prakash Ranjan						remote-endpoint =
1399783abfa2SSai Prakash Ranjan						  <&funnel1_out>;
1400783abfa2SSai Prakash Ranjan					};
1401783abfa2SSai Prakash Ranjan				};
1402783abfa2SSai Prakash Ranjan			};
1403783abfa2SSai Prakash Ranjan		};
1404783abfa2SSai Prakash Ranjan
1405a636f93fSSai Prakash Ranjan		replicator1: replicator@6046000 {
1406783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1407783abfa2SSai Prakash Ranjan			reg = <0x06046000 0x1000>;
1408a636f93fSSai Prakash Ranjan			status = "disabled";
1409783abfa2SSai Prakash Ranjan
1410783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1411783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1412783abfa2SSai Prakash Ranjan
1413783abfa2SSai Prakash Ranjan			out-ports {
1414783abfa2SSai Prakash Ranjan				port {
1415783abfa2SSai Prakash Ranjan					replicator_out: endpoint {
1416783abfa2SSai Prakash Ranjan						remote-endpoint = <&etr_in>;
1417783abfa2SSai Prakash Ranjan					};
1418783abfa2SSai Prakash Ranjan				};
1419783abfa2SSai Prakash Ranjan			};
1420783abfa2SSai Prakash Ranjan
1421783abfa2SSai Prakash Ranjan			in-ports {
1422783abfa2SSai Prakash Ranjan				port {
1423783abfa2SSai Prakash Ranjan					replicator_in: endpoint {
1424783abfa2SSai Prakash Ranjan						remote-endpoint = <&etf_out>;
1425783abfa2SSai Prakash Ranjan					};
1426783abfa2SSai Prakash Ranjan				};
1427783abfa2SSai Prakash Ranjan			};
1428783abfa2SSai Prakash Ranjan		};
1429783abfa2SSai Prakash Ranjan
1430a636f93fSSai Prakash Ranjan		etf: etf@6047000 {
1431783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1432783abfa2SSai Prakash Ranjan			reg = <0x06047000 0x1000>;
1433a636f93fSSai Prakash Ranjan			status = "disabled";
1434783abfa2SSai Prakash Ranjan
1435783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1436783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1437783abfa2SSai Prakash Ranjan
1438783abfa2SSai Prakash Ranjan			out-ports {
1439783abfa2SSai Prakash Ranjan				port {
1440783abfa2SSai Prakash Ranjan					etf_out: endpoint {
1441783abfa2SSai Prakash Ranjan						remote-endpoint =
1442783abfa2SSai Prakash Ranjan						  <&replicator_in>;
1443783abfa2SSai Prakash Ranjan					};
1444783abfa2SSai Prakash Ranjan				};
1445783abfa2SSai Prakash Ranjan			};
1446783abfa2SSai Prakash Ranjan
1447783abfa2SSai Prakash Ranjan			in-ports {
1448783abfa2SSai Prakash Ranjan				port {
1449783abfa2SSai Prakash Ranjan					etf_in: endpoint {
1450783abfa2SSai Prakash Ranjan						remote-endpoint =
1451783abfa2SSai Prakash Ranjan						  <&merge_funnel_out>;
1452783abfa2SSai Prakash Ranjan					};
1453783abfa2SSai Prakash Ranjan				};
1454783abfa2SSai Prakash Ranjan			};
1455783abfa2SSai Prakash Ranjan		};
1456783abfa2SSai Prakash Ranjan
1457a636f93fSSai Prakash Ranjan		etr: etr@6048000 {
1458783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1459783abfa2SSai Prakash Ranjan			reg = <0x06048000 0x1000>;
1460a636f93fSSai Prakash Ranjan			status = "disabled";
1461783abfa2SSai Prakash Ranjan
1462783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1463783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1464783abfa2SSai Prakash Ranjan			arm,scatter-gather;
1465783abfa2SSai Prakash Ranjan
1466783abfa2SSai Prakash Ranjan			in-ports {
1467783abfa2SSai Prakash Ranjan				port {
1468783abfa2SSai Prakash Ranjan					etr_in: endpoint {
1469783abfa2SSai Prakash Ranjan						remote-endpoint =
1470783abfa2SSai Prakash Ranjan						  <&replicator_out>;
1471783abfa2SSai Prakash Ranjan					};
1472783abfa2SSai Prakash Ranjan				};
1473783abfa2SSai Prakash Ranjan			};
1474783abfa2SSai Prakash Ranjan		};
1475783abfa2SSai Prakash Ranjan
1476a636f93fSSai Prakash Ranjan		etm1: etm@7840000 {
1477783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1478783abfa2SSai Prakash Ranjan			reg = <0x07840000 0x1000>;
1479a636f93fSSai Prakash Ranjan			status = "disabled";
1480783abfa2SSai Prakash Ranjan
1481783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1482783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1483783abfa2SSai Prakash Ranjan
1484783abfa2SSai Prakash Ranjan			cpu = <&CPU0>;
1485783abfa2SSai Prakash Ranjan
1486783abfa2SSai Prakash Ranjan			out-ports {
1487783abfa2SSai Prakash Ranjan				port {
1488783abfa2SSai Prakash Ranjan					etm0_out: endpoint {
1489783abfa2SSai Prakash Ranjan						remote-endpoint =
1490783abfa2SSai Prakash Ranjan						  <&apss_funnel_in0>;
1491783abfa2SSai Prakash Ranjan					};
1492783abfa2SSai Prakash Ranjan				};
1493783abfa2SSai Prakash Ranjan			};
1494783abfa2SSai Prakash Ranjan		};
1495783abfa2SSai Prakash Ranjan
1496a636f93fSSai Prakash Ranjan		etm2: etm@7940000 {
1497783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1498783abfa2SSai Prakash Ranjan			reg = <0x07940000 0x1000>;
1499a636f93fSSai Prakash Ranjan			status = "disabled";
1500783abfa2SSai Prakash Ranjan
1501783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1502783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1503783abfa2SSai Prakash Ranjan
1504783abfa2SSai Prakash Ranjan			cpu = <&CPU1>;
1505783abfa2SSai Prakash Ranjan
1506783abfa2SSai Prakash Ranjan			out-ports {
1507783abfa2SSai Prakash Ranjan				port {
1508783abfa2SSai Prakash Ranjan					etm1_out: endpoint {
1509783abfa2SSai Prakash Ranjan						remote-endpoint =
1510783abfa2SSai Prakash Ranjan						  <&apss_funnel_in1>;
1511783abfa2SSai Prakash Ranjan					};
1512783abfa2SSai Prakash Ranjan				};
1513783abfa2SSai Prakash Ranjan			};
1514783abfa2SSai Prakash Ranjan		};
1515783abfa2SSai Prakash Ranjan
1516a636f93fSSai Prakash Ranjan		etm3: etm@7a40000 {
1517783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1518783abfa2SSai Prakash Ranjan			reg = <0x07a40000 0x1000>;
1519a636f93fSSai Prakash Ranjan			status = "disabled";
1520783abfa2SSai Prakash Ranjan
1521783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1522783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1523783abfa2SSai Prakash Ranjan
1524783abfa2SSai Prakash Ranjan			cpu = <&CPU2>;
1525783abfa2SSai Prakash Ranjan
1526783abfa2SSai Prakash Ranjan			out-ports {
1527783abfa2SSai Prakash Ranjan				port {
1528783abfa2SSai Prakash Ranjan					etm2_out: endpoint {
1529783abfa2SSai Prakash Ranjan						remote-endpoint =
1530783abfa2SSai Prakash Ranjan						  <&apss_funnel_in2>;
1531783abfa2SSai Prakash Ranjan					};
1532783abfa2SSai Prakash Ranjan				};
1533783abfa2SSai Prakash Ranjan			};
1534783abfa2SSai Prakash Ranjan		};
1535783abfa2SSai Prakash Ranjan
1536a636f93fSSai Prakash Ranjan		etm4: etm@7b40000 {
1537783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1538783abfa2SSai Prakash Ranjan			reg = <0x07b40000 0x1000>;
1539a636f93fSSai Prakash Ranjan			status = "disabled";
1540783abfa2SSai Prakash Ranjan
1541783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1542783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1543783abfa2SSai Prakash Ranjan
1544783abfa2SSai Prakash Ranjan			cpu = <&CPU3>;
1545783abfa2SSai Prakash Ranjan
1546783abfa2SSai Prakash Ranjan			out-ports {
1547783abfa2SSai Prakash Ranjan				port {
1548783abfa2SSai Prakash Ranjan					etm3_out: endpoint {
1549783abfa2SSai Prakash Ranjan						remote-endpoint =
1550783abfa2SSai Prakash Ranjan						  <&apss_funnel_in3>;
1551783abfa2SSai Prakash Ranjan					};
1552783abfa2SSai Prakash Ranjan				};
1553783abfa2SSai Prakash Ranjan			};
1554783abfa2SSai Prakash Ranjan		};
1555783abfa2SSai Prakash Ranjan
1556a636f93fSSai Prakash Ranjan		funnel4: funnel@7b60000 { /* APSS Funnel */
1557783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1558783abfa2SSai Prakash Ranjan			reg = <0x07b60000 0x1000>;
1559a636f93fSSai Prakash Ranjan			status = "disabled";
1560783abfa2SSai Prakash Ranjan
1561783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1562783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1563783abfa2SSai Prakash Ranjan
1564783abfa2SSai Prakash Ranjan			out-ports {
1565783abfa2SSai Prakash Ranjan				port {
1566783abfa2SSai Prakash Ranjan					apss_funnel_out: endpoint {
1567783abfa2SSai Prakash Ranjan						remote-endpoint =
1568783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_in>;
1569783abfa2SSai Prakash Ranjan					};
1570783abfa2SSai Prakash Ranjan				};
1571783abfa2SSai Prakash Ranjan			};
1572783abfa2SSai Prakash Ranjan
1573783abfa2SSai Prakash Ranjan			in-ports {
1574783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1575783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1576783abfa2SSai Prakash Ranjan
1577783abfa2SSai Prakash Ranjan				port@0 {
1578783abfa2SSai Prakash Ranjan					reg = <0>;
1579783abfa2SSai Prakash Ranjan					apss_funnel_in0: endpoint {
1580783abfa2SSai Prakash Ranjan						remote-endpoint =
1581783abfa2SSai Prakash Ranjan						  <&etm0_out>;
1582783abfa2SSai Prakash Ranjan					};
1583783abfa2SSai Prakash Ranjan				};
1584783abfa2SSai Prakash Ranjan
1585783abfa2SSai Prakash Ranjan				port@1 {
1586783abfa2SSai Prakash Ranjan					reg = <1>;
1587783abfa2SSai Prakash Ranjan					apss_funnel_in1: endpoint {
1588783abfa2SSai Prakash Ranjan						remote-endpoint =
1589783abfa2SSai Prakash Ranjan						  <&etm1_out>;
1590783abfa2SSai Prakash Ranjan					};
1591783abfa2SSai Prakash Ranjan				};
1592783abfa2SSai Prakash Ranjan
1593783abfa2SSai Prakash Ranjan				port@2 {
1594783abfa2SSai Prakash Ranjan					reg = <2>;
1595783abfa2SSai Prakash Ranjan					apss_funnel_in2: endpoint {
1596783abfa2SSai Prakash Ranjan						remote-endpoint =
1597783abfa2SSai Prakash Ranjan						  <&etm2_out>;
1598783abfa2SSai Prakash Ranjan					};
1599783abfa2SSai Prakash Ranjan				};
1600783abfa2SSai Prakash Ranjan
1601783abfa2SSai Prakash Ranjan				port@3 {
1602783abfa2SSai Prakash Ranjan					reg = <3>;
1603783abfa2SSai Prakash Ranjan					apss_funnel_in3: endpoint {
1604783abfa2SSai Prakash Ranjan						remote-endpoint =
1605783abfa2SSai Prakash Ranjan						  <&etm3_out>;
1606783abfa2SSai Prakash Ranjan					};
1607783abfa2SSai Prakash Ranjan				};
1608783abfa2SSai Prakash Ranjan
1609783abfa2SSai Prakash Ranjan				port@4 {
1610783abfa2SSai Prakash Ranjan					reg = <4>;
1611783abfa2SSai Prakash Ranjan					apss_funnel_in4: endpoint {
1612783abfa2SSai Prakash Ranjan						remote-endpoint =
1613783abfa2SSai Prakash Ranjan						  <&etm4_out>;
1614783abfa2SSai Prakash Ranjan					};
1615783abfa2SSai Prakash Ranjan				};
1616783abfa2SSai Prakash Ranjan
1617783abfa2SSai Prakash Ranjan				port@5 {
1618783abfa2SSai Prakash Ranjan					reg = <5>;
1619783abfa2SSai Prakash Ranjan					apss_funnel_in5: endpoint {
1620783abfa2SSai Prakash Ranjan						remote-endpoint =
1621783abfa2SSai Prakash Ranjan						  <&etm5_out>;
1622783abfa2SSai Prakash Ranjan					};
1623783abfa2SSai Prakash Ranjan				};
1624783abfa2SSai Prakash Ranjan
1625783abfa2SSai Prakash Ranjan				port@6 {
1626783abfa2SSai Prakash Ranjan					reg = <6>;
1627783abfa2SSai Prakash Ranjan					apss_funnel_in6: endpoint {
1628783abfa2SSai Prakash Ranjan						remote-endpoint =
1629783abfa2SSai Prakash Ranjan						  <&etm6_out>;
1630783abfa2SSai Prakash Ranjan					};
1631783abfa2SSai Prakash Ranjan				};
1632783abfa2SSai Prakash Ranjan
1633783abfa2SSai Prakash Ranjan				port@7 {
1634783abfa2SSai Prakash Ranjan					reg = <7>;
1635783abfa2SSai Prakash Ranjan					apss_funnel_in7: endpoint {
1636783abfa2SSai Prakash Ranjan						remote-endpoint =
1637783abfa2SSai Prakash Ranjan						  <&etm7_out>;
1638783abfa2SSai Prakash Ranjan					};
1639783abfa2SSai Prakash Ranjan				};
1640783abfa2SSai Prakash Ranjan			};
1641783abfa2SSai Prakash Ranjan		};
1642783abfa2SSai Prakash Ranjan
1643a636f93fSSai Prakash Ranjan		funnel5: funnel@7b70000 {
1644783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1645783abfa2SSai Prakash Ranjan			reg = <0x07b70000 0x1000>;
1646a636f93fSSai Prakash Ranjan			status = "disabled";
1647783abfa2SSai Prakash Ranjan
1648783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1649783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1650783abfa2SSai Prakash Ranjan
1651783abfa2SSai Prakash Ranjan			out-ports {
1652783abfa2SSai Prakash Ranjan				port {
1653783abfa2SSai Prakash Ranjan					apss_merge_funnel_out: endpoint {
1654783abfa2SSai Prakash Ranjan						remote-endpoint =
1655783abfa2SSai Prakash Ranjan						  <&funnel1_in6>;
1656783abfa2SSai Prakash Ranjan					};
1657783abfa2SSai Prakash Ranjan				};
1658783abfa2SSai Prakash Ranjan			};
1659783abfa2SSai Prakash Ranjan
1660783abfa2SSai Prakash Ranjan			in-ports {
1661783abfa2SSai Prakash Ranjan				port {
1662783abfa2SSai Prakash Ranjan					apss_merge_funnel_in: endpoint {
1663783abfa2SSai Prakash Ranjan						remote-endpoint =
1664783abfa2SSai Prakash Ranjan						  <&apss_funnel_out>;
1665783abfa2SSai Prakash Ranjan					};
1666783abfa2SSai Prakash Ranjan				};
1667783abfa2SSai Prakash Ranjan			};
1668783abfa2SSai Prakash Ranjan		};
1669783abfa2SSai Prakash Ranjan
1670a636f93fSSai Prakash Ranjan		etm5: etm@7c40000 {
1671783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1672783abfa2SSai Prakash Ranjan			reg = <0x07c40000 0x1000>;
1673a636f93fSSai Prakash Ranjan			status = "disabled";
1674783abfa2SSai Prakash Ranjan
1675783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1676783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1677783abfa2SSai Prakash Ranjan
1678783abfa2SSai Prakash Ranjan			cpu = <&CPU4>;
1679783abfa2SSai Prakash Ranjan
1680783abfa2SSai Prakash Ranjan			port{
1681783abfa2SSai Prakash Ranjan				etm4_out: endpoint {
1682783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in4>;
1683783abfa2SSai Prakash Ranjan				};
1684783abfa2SSai Prakash Ranjan			};
1685783abfa2SSai Prakash Ranjan		};
1686783abfa2SSai Prakash Ranjan
1687a636f93fSSai Prakash Ranjan		etm6: etm@7d40000 {
1688783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1689783abfa2SSai Prakash Ranjan			reg = <0x07d40000 0x1000>;
1690a636f93fSSai Prakash Ranjan			status = "disabled";
1691783abfa2SSai Prakash Ranjan
1692783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1693783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1694783abfa2SSai Prakash Ranjan
1695783abfa2SSai Prakash Ranjan			cpu = <&CPU5>;
1696783abfa2SSai Prakash Ranjan
1697783abfa2SSai Prakash Ranjan			port{
1698783abfa2SSai Prakash Ranjan				etm5_out: endpoint {
1699783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in5>;
1700783abfa2SSai Prakash Ranjan				};
1701783abfa2SSai Prakash Ranjan			};
1702783abfa2SSai Prakash Ranjan		};
1703783abfa2SSai Prakash Ranjan
1704a636f93fSSai Prakash Ranjan		etm7: etm@7e40000 {
1705783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1706783abfa2SSai Prakash Ranjan			reg = <0x07e40000 0x1000>;
1707a636f93fSSai Prakash Ranjan			status = "disabled";
1708783abfa2SSai Prakash Ranjan
1709783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1710783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1711783abfa2SSai Prakash Ranjan
1712783abfa2SSai Prakash Ranjan			cpu = <&CPU6>;
1713783abfa2SSai Prakash Ranjan
1714783abfa2SSai Prakash Ranjan			port{
1715783abfa2SSai Prakash Ranjan				etm6_out: endpoint {
1716783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in6>;
1717783abfa2SSai Prakash Ranjan				};
1718783abfa2SSai Prakash Ranjan			};
1719783abfa2SSai Prakash Ranjan		};
1720783abfa2SSai Prakash Ranjan
1721a636f93fSSai Prakash Ranjan		etm8: etm@7f40000 {
1722783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1723783abfa2SSai Prakash Ranjan			reg = <0x07f40000 0x1000>;
1724a636f93fSSai Prakash Ranjan			status = "disabled";
1725783abfa2SSai Prakash Ranjan
1726783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1727783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1728783abfa2SSai Prakash Ranjan
1729783abfa2SSai Prakash Ranjan			cpu = <&CPU7>;
1730783abfa2SSai Prakash Ranjan
1731783abfa2SSai Prakash Ranjan			port{
1732783abfa2SSai Prakash Ranjan				etm7_out: endpoint {
1733783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in7>;
1734783abfa2SSai Prakash Ranjan				};
1735783abfa2SSai Prakash Ranjan			};
1736783abfa2SSai Prakash Ranjan		};
1737783abfa2SSai Prakash Ranjan
173832a5da21SJeffrey Hugo		spmi_bus: spmi@800f000 {
173932a5da21SJeffrey Hugo			compatible = "qcom,spmi-pmic-arb";
174032a5da21SJeffrey Hugo			reg =	<0x0800f000 0x1000>,
174132a5da21SJeffrey Hugo				<0x08400000 0x1000000>,
174232a5da21SJeffrey Hugo				<0x09400000 0x1000000>,
174332a5da21SJeffrey Hugo				<0x0a400000 0x220000>,
174432a5da21SJeffrey Hugo				<0x0800a000 0x3000>;
174532a5da21SJeffrey Hugo			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
174632a5da21SJeffrey Hugo			interrupt-names = "periph_irq";
174732a5da21SJeffrey Hugo			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
174832a5da21SJeffrey Hugo			qcom,ee = <0>;
174932a5da21SJeffrey Hugo			qcom,channel = <0>;
175032a5da21SJeffrey Hugo			#address-cells = <2>;
175132a5da21SJeffrey Hugo			#size-cells = <0>;
175232a5da21SJeffrey Hugo			interrupt-controller;
175332a5da21SJeffrey Hugo			#interrupt-cells = <4>;
175432a5da21SJeffrey Hugo			cell-index = <0>;
175531c1f0e3SBjorn Andersson		};
175631c1f0e3SBjorn Andersson
1757026dad8fSJeffrey Hugo		usb3: usb@a8f8800 {
1758026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
1759026dad8fSJeffrey Hugo			reg = <0x0a8f8800 0x400>;
1760026dad8fSJeffrey Hugo			status = "disabled";
1761026dad8fSJeffrey Hugo			#address-cells = <1>;
1762026dad8fSJeffrey Hugo			#size-cells = <1>;
1763026dad8fSJeffrey Hugo			ranges;
1764026dad8fSJeffrey Hugo
1765026dad8fSJeffrey Hugo			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
1766026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MASTER_CLK>,
1767026dad8fSJeffrey Hugo				 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
1768026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1769026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_SLEEP_CLK>;
1770026dad8fSJeffrey Hugo			clock-names = "cfg_noc", "core", "iface", "mock_utmi",
1771026dad8fSJeffrey Hugo				      "sleep";
1772026dad8fSJeffrey Hugo
1773026dad8fSJeffrey Hugo			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
1774026dad8fSJeffrey Hugo					  <&gcc GCC_USB30_MASTER_CLK>;
1775026dad8fSJeffrey Hugo			assigned-clock-rates = <19200000>, <120000000>;
1776026dad8fSJeffrey Hugo
1777026dad8fSJeffrey Hugo			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
1778026dad8fSJeffrey Hugo				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
1779026dad8fSJeffrey Hugo			interrupt-names = "hs_phy_irq", "ss_phy_irq";
1780026dad8fSJeffrey Hugo
1781026dad8fSJeffrey Hugo			power-domains = <&gcc USB_30_GDSC>;
1782026dad8fSJeffrey Hugo
1783026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB_30_BCR>;
1784026dad8fSJeffrey Hugo
1785026dad8fSJeffrey Hugo			usb3_dwc3: dwc3@a800000 {
1786026dad8fSJeffrey Hugo				compatible = "snps,dwc3";
1787026dad8fSJeffrey Hugo				reg = <0x0a800000 0xcd00>;
1788026dad8fSJeffrey Hugo				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
1789026dad8fSJeffrey Hugo				snps,dis_u2_susphy_quirk;
1790026dad8fSJeffrey Hugo				snps,dis_enblslpm_quirk;
1791026dad8fSJeffrey Hugo				phys = <&qusb2phy>, <&usb1_ssphy>;
1792026dad8fSJeffrey Hugo				phy-names = "usb2-phy", "usb3-phy";
1793026dad8fSJeffrey Hugo				snps,has-lpm-erratum;
1794026dad8fSJeffrey Hugo				snps,hird-threshold = /bits/ 8 <0x10>;
1795026dad8fSJeffrey Hugo			};
1796026dad8fSJeffrey Hugo		};
1797026dad8fSJeffrey Hugo
1798026dad8fSJeffrey Hugo		usb3phy: phy@c010000 {
1799026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qmp-usb3-phy";
1800026dad8fSJeffrey Hugo			reg = <0x0c010000 0x18c>;
1801026dad8fSJeffrey Hugo			status = "disabled";
1802026dad8fSJeffrey Hugo			#clock-cells = <1>;
1803026dad8fSJeffrey Hugo			#address-cells = <1>;
1804026dad8fSJeffrey Hugo			#size-cells = <1>;
1805026dad8fSJeffrey Hugo			ranges;
1806026dad8fSJeffrey Hugo
1807026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
1808026dad8fSJeffrey Hugo				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1809026dad8fSJeffrey Hugo				 <&gcc GCC_USB3_CLKREF_CLK>;
1810026dad8fSJeffrey Hugo			clock-names = "aux", "cfg_ahb", "ref";
1811026dad8fSJeffrey Hugo
1812026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB3_PHY_BCR>,
1813026dad8fSJeffrey Hugo				 <&gcc GCC_USB3PHY_PHY_BCR>;
1814026dad8fSJeffrey Hugo			reset-names = "phy", "common";
1815026dad8fSJeffrey Hugo
1816026dad8fSJeffrey Hugo			usb1_ssphy: lane@c010200 {
1817026dad8fSJeffrey Hugo				reg = <0xc010200 0x128>,
1818026dad8fSJeffrey Hugo				      <0xc010400 0x200>,
1819026dad8fSJeffrey Hugo				      <0xc010c00 0x20c>,
1820026dad8fSJeffrey Hugo				      <0xc010600 0x128>,
1821026dad8fSJeffrey Hugo				      <0xc010800 0x200>;
1822026dad8fSJeffrey Hugo				#phy-cells = <0>;
1823026dad8fSJeffrey Hugo				clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
1824026dad8fSJeffrey Hugo				clock-names = "pipe0";
1825026dad8fSJeffrey Hugo				clock-output-names = "usb3_phy_pipe_clk_src";
1826026dad8fSJeffrey Hugo			};
1827026dad8fSJeffrey Hugo		};
1828026dad8fSJeffrey Hugo
1829026dad8fSJeffrey Hugo		qusb2phy: phy@c012000 {
1830026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qusb2-phy";
1831026dad8fSJeffrey Hugo			reg = <0x0c012000 0x2a8>;
1832026dad8fSJeffrey Hugo			status = "disabled";
1833026dad8fSJeffrey Hugo			#phy-cells = <0>;
1834026dad8fSJeffrey Hugo
1835026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
1836026dad8fSJeffrey Hugo				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
1837026dad8fSJeffrey Hugo			clock-names = "cfg_ahb", "ref";
1838026dad8fSJeffrey Hugo
1839026dad8fSJeffrey Hugo			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
1840026dad8fSJeffrey Hugo
1841026dad8fSJeffrey Hugo			nvmem-cells = <&qusb2_hstx_trim>;
1842026dad8fSJeffrey Hugo		};
1843026dad8fSJeffrey Hugo
18441cfce828SJeffrey Hugo		sdhc2: sdhci@c0a4900 {
18451cfce828SJeffrey Hugo			compatible = "qcom,sdhci-msm-v4";
184632a5da21SJeffrey Hugo			reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>;
18471cfce828SJeffrey Hugo			reg-names = "hc_mem", "core_mem";
18481cfce828SJeffrey Hugo
18491cfce828SJeffrey Hugo			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
18501cfce828SJeffrey Hugo				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
18511cfce828SJeffrey Hugo			interrupt-names = "hc_irq", "pwr_irq";
18521cfce828SJeffrey Hugo
18531cfce828SJeffrey Hugo			clock-names = "iface", "core", "xo";
18541cfce828SJeffrey Hugo			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
18551cfce828SJeffrey Hugo				 <&gcc GCC_SDCC2_APPS_CLK>,
18561cfce828SJeffrey Hugo				 <&xo>;
18571cfce828SJeffrey Hugo			bus-width = <4>;
18581cfce828SJeffrey Hugo			status = "disabled";
18591cfce828SJeffrey Hugo		};
18601cfce828SJeffrey Hugo
186194ed1811SVinod Koul		blsp1_dma: dma-controller@c144000 {
1862f1c1d4feSJeffrey Hugo			compatible = "qcom,bam-v1.7.0";
1863f1c1d4feSJeffrey Hugo			reg = <0x0c144000 0x25000>;
1864f1c1d4feSJeffrey Hugo			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
1865f1c1d4feSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
1866f1c1d4feSJeffrey Hugo			clock-names = "bam_clk";
1867f1c1d4feSJeffrey Hugo			#dma-cells = <1>;
1868f1c1d4feSJeffrey Hugo			qcom,ee = <0>;
1869f1c1d4feSJeffrey Hugo			qcom,controlled-remotely;
1870f1c1d4feSJeffrey Hugo			num-channels = <18>;
1871f1c1d4feSJeffrey Hugo			qcom,num-ees = <4>;
1872f1c1d4feSJeffrey Hugo		};
1873f1c1d4feSJeffrey Hugo
187473d4d2efSJeffrey Hugo		blsp1_uart3: serial@c171000 {
187573d4d2efSJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
187673d4d2efSJeffrey Hugo			reg = <0x0c171000 0x1000>;
187773d4d2efSJeffrey Hugo			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
187873d4d2efSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
187973d4d2efSJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
188073d4d2efSJeffrey Hugo			clock-names = "core", "iface";
188173d4d2efSJeffrey Hugo			dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
188273d4d2efSJeffrey Hugo			dma-names = "tx", "rx";
188373d4d2efSJeffrey Hugo			pinctrl-names = "default";
188473d4d2efSJeffrey Hugo			pinctrl-0 = <&blsp1_uart3_on>;
188573d4d2efSJeffrey Hugo			status = "disabled";
188673d4d2efSJeffrey Hugo		};
188773d4d2efSJeffrey Hugo
18881e71d0c2SJeffrey Hugo		blsp1_i2c1: i2c@c175000 {
18891e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
18901e71d0c2SJeffrey Hugo			reg = <0x0c175000 0x600>;
18911e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
18921e71d0c2SJeffrey Hugo
18931e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
18941e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
18951e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
18961e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
18971e71d0c2SJeffrey Hugo
18981e71d0c2SJeffrey Hugo			status = "disabled";
18991e71d0c2SJeffrey Hugo			#address-cells = <1>;
19001e71d0c2SJeffrey Hugo			#size-cells = <0>;
19011e71d0c2SJeffrey Hugo		};
19021e71d0c2SJeffrey Hugo
19031e71d0c2SJeffrey Hugo		blsp1_i2c2: i2c@c176000 {
19041e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
19051e71d0c2SJeffrey Hugo			reg = <0x0c176000 0x600>;
19061e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
19071e71d0c2SJeffrey Hugo
19081e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
19091e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
19101e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
19111e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
19121e71d0c2SJeffrey Hugo
19131e71d0c2SJeffrey Hugo			status = "disabled";
19141e71d0c2SJeffrey Hugo			#address-cells = <1>;
19151e71d0c2SJeffrey Hugo			#size-cells = <0>;
19161e71d0c2SJeffrey Hugo		};
19171e71d0c2SJeffrey Hugo
19181e71d0c2SJeffrey Hugo		blsp1_i2c3: i2c@c177000 {
19191e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
19201e71d0c2SJeffrey Hugo			reg = <0x0c177000 0x600>;
19211e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
19221e71d0c2SJeffrey Hugo
19231e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
19241e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
19251e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
19261e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
19271e71d0c2SJeffrey Hugo
19281e71d0c2SJeffrey Hugo			status = "disabled";
19291e71d0c2SJeffrey Hugo			#address-cells = <1>;
19301e71d0c2SJeffrey Hugo			#size-cells = <0>;
19311e71d0c2SJeffrey Hugo		};
19321e71d0c2SJeffrey Hugo
19331e71d0c2SJeffrey Hugo		blsp1_i2c4: i2c@c178000 {
19341e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
19351e71d0c2SJeffrey Hugo			reg = <0x0c178000 0x600>;
19361e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
19371e71d0c2SJeffrey Hugo
19381e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
19391e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
19401e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
19411e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
19421e71d0c2SJeffrey Hugo
19431e71d0c2SJeffrey Hugo			status = "disabled";
19441e71d0c2SJeffrey Hugo			#address-cells = <1>;
19451e71d0c2SJeffrey Hugo			#size-cells = <0>;
19461e71d0c2SJeffrey Hugo		};
19471e71d0c2SJeffrey Hugo
19481e71d0c2SJeffrey Hugo		blsp1_i2c5: i2c@c179000 {
19491e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
19501e71d0c2SJeffrey Hugo			reg = <0x0c179000 0x600>;
19511e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
19521e71d0c2SJeffrey Hugo
19531e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
19541e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
19551e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
19561e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
19571e71d0c2SJeffrey Hugo
19581e71d0c2SJeffrey Hugo			status = "disabled";
19591e71d0c2SJeffrey Hugo			#address-cells = <1>;
19601e71d0c2SJeffrey Hugo			#size-cells = <0>;
19611e71d0c2SJeffrey Hugo		};
19621e71d0c2SJeffrey Hugo
19631e71d0c2SJeffrey Hugo		blsp1_i2c6: i2c@c17a000 {
19641e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
19651e71d0c2SJeffrey Hugo			reg = <0x0c17a000 0x600>;
19661e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
19671e71d0c2SJeffrey Hugo
19681e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
19691e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
19701e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
19711e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
19721e71d0c2SJeffrey Hugo
19731e71d0c2SJeffrey Hugo			status = "disabled";
19741e71d0c2SJeffrey Hugo			#address-cells = <1>;
19751e71d0c2SJeffrey Hugo			#size-cells = <0>;
19761e71d0c2SJeffrey Hugo		};
19771e71d0c2SJeffrey Hugo
197832a5da21SJeffrey Hugo		blsp2_uart1: serial@c1b0000 {
197932a5da21SJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
198032a5da21SJeffrey Hugo			reg = <0x0c1b0000 0x1000>;
198132a5da21SJeffrey Hugo			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
198232a5da21SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
198332a5da21SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
198432a5da21SJeffrey Hugo			clock-names = "core", "iface";
198532a5da21SJeffrey Hugo			status = "disabled";
198632a5da21SJeffrey Hugo		};
198732a5da21SJeffrey Hugo
19881e71d0c2SJeffrey Hugo		blsp2_i2c0: i2c@c1b5000 {
19891e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
19901e71d0c2SJeffrey Hugo			reg = <0x0c1b5000 0x600>;
19911e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
19921e71d0c2SJeffrey Hugo
19931e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
19941e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
19951e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
19961e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
19971e71d0c2SJeffrey Hugo
19981e71d0c2SJeffrey Hugo			status = "disabled";
19991e71d0c2SJeffrey Hugo			#address-cells = <1>;
20001e71d0c2SJeffrey Hugo			#size-cells = <0>;
20011e71d0c2SJeffrey Hugo		};
20021e71d0c2SJeffrey Hugo
20031e71d0c2SJeffrey Hugo		blsp2_i2c1: i2c@c1b6000 {
20041e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
20051e71d0c2SJeffrey Hugo			reg = <0x0c1b6000 0x600>;
20061e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
20071e71d0c2SJeffrey Hugo
20081e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
20091e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
20101e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
20111e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
20121e71d0c2SJeffrey Hugo
20131e71d0c2SJeffrey Hugo			status = "disabled";
20141e71d0c2SJeffrey Hugo			#address-cells = <1>;
20151e71d0c2SJeffrey Hugo			#size-cells = <0>;
20161e71d0c2SJeffrey Hugo		};
20171e71d0c2SJeffrey Hugo
20181e71d0c2SJeffrey Hugo		blsp2_i2c2: i2c@c1b7000 {
20191e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
20201e71d0c2SJeffrey Hugo			reg = <0x0c1b7000 0x600>;
20211e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
20221e71d0c2SJeffrey Hugo
20231e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
20241e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
20251e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
20261e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
20271e71d0c2SJeffrey Hugo
20281e71d0c2SJeffrey Hugo			status = "disabled";
20291e71d0c2SJeffrey Hugo			#address-cells = <1>;
20301e71d0c2SJeffrey Hugo			#size-cells = <0>;
20311e71d0c2SJeffrey Hugo		};
20321e71d0c2SJeffrey Hugo
20331e71d0c2SJeffrey Hugo		blsp2_i2c3: i2c@c1b8000 {
20341e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
20351e71d0c2SJeffrey Hugo			reg = <0x0c1b8000 0x600>;
20361e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
20371e71d0c2SJeffrey Hugo
20381e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
20391e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
20401e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
20411e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
20421e71d0c2SJeffrey Hugo
20431e71d0c2SJeffrey Hugo			status = "disabled";
20441e71d0c2SJeffrey Hugo			#address-cells = <1>;
20451e71d0c2SJeffrey Hugo			#size-cells = <0>;
20461e71d0c2SJeffrey Hugo		};
20471e71d0c2SJeffrey Hugo
20481e71d0c2SJeffrey Hugo		blsp2_i2c4: i2c@c1b9000 {
20491e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
20501e71d0c2SJeffrey Hugo			reg = <0x0c1b9000 0x600>;
20511e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
20521e71d0c2SJeffrey Hugo
20531e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
20541e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
20551e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
20561e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
20571e71d0c2SJeffrey Hugo
20581e71d0c2SJeffrey Hugo			status = "disabled";
20591e71d0c2SJeffrey Hugo			#address-cells = <1>;
20601e71d0c2SJeffrey Hugo			#size-cells = <0>;
20611e71d0c2SJeffrey Hugo		};
20621e71d0c2SJeffrey Hugo
20631e71d0c2SJeffrey Hugo		blsp2_i2c5: i2c@c1ba000 {
20641e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
2065c8be5541SMarc Gonzalez			reg = <0x0c1ba000 0x600>;
20661e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
20671e71d0c2SJeffrey Hugo
20681e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
20691e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
20701e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
20711e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
20721e71d0c2SJeffrey Hugo
20731e71d0c2SJeffrey Hugo			status = "disabled";
20741e71d0c2SJeffrey Hugo			#address-cells = <1>;
20751e71d0c2SJeffrey Hugo			#size-cells = <0>;
20761e71d0c2SJeffrey Hugo		};
20771e71d0c2SJeffrey Hugo
2078a9ee66deSSibi Sankar		remoteproc_adsp: remoteproc@17300000 {
2079a9ee66deSSibi Sankar			compatible = "qcom,msm8998-adsp-pas";
2080a9ee66deSSibi Sankar			reg = <0x17300000 0x4040>;
2081a9ee66deSSibi Sankar
2082a9ee66deSSibi Sankar			interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
2083a9ee66deSSibi Sankar					      <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2084a9ee66deSSibi Sankar					      <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2085a9ee66deSSibi Sankar					      <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2086a9ee66deSSibi Sankar					      <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2087a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
2088a9ee66deSSibi Sankar					  "handover", "stop-ack";
2089a9ee66deSSibi Sankar
2090a9ee66deSSibi Sankar			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
2091a9ee66deSSibi Sankar			clock-names = "xo";
2092a9ee66deSSibi Sankar
2093a9ee66deSSibi Sankar			memory-region = <&adsp_mem>;
2094a9ee66deSSibi Sankar
2095a9ee66deSSibi Sankar			qcom,smem-states = <&adsp_smp2p_out 0>;
2096a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
2097a9ee66deSSibi Sankar
2098a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_VDDCX>;
2099a9ee66deSSibi Sankar			power-domain-names = "cx";
2100a9ee66deSSibi Sankar
2101a9ee66deSSibi Sankar			status = "disabled";
2102a9ee66deSSibi Sankar
2103a9ee66deSSibi Sankar			glink-edge {
2104a9ee66deSSibi Sankar				interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
2105a9ee66deSSibi Sankar				label = "lpass";
2106a9ee66deSSibi Sankar				qcom,remote-pid = <2>;
2107a9ee66deSSibi Sankar				mboxes = <&apcs_glb 9>;
2108a9ee66deSSibi Sankar			};
2109a9ee66deSSibi Sankar		};
2110a9ee66deSSibi Sankar
211132a5da21SJeffrey Hugo		apcs_glb: mailbox@17911000 {
211232a5da21SJeffrey Hugo			compatible = "qcom,msm8998-apcs-hmss-global";
211332a5da21SJeffrey Hugo			reg = <0x17911000 0x1000>;
211432a5da21SJeffrey Hugo
211532a5da21SJeffrey Hugo			#mbox-cells = <1>;
21164807c71cSJoonwoo Park		};
21174807c71cSJoonwoo Park
21184807c71cSJoonwoo Park		timer@17920000 {
21194807c71cSJoonwoo Park			#address-cells = <1>;
21204807c71cSJoonwoo Park			#size-cells = <1>;
21214807c71cSJoonwoo Park			ranges;
21224807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
21234807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
21244807c71cSJoonwoo Park
21254807c71cSJoonwoo Park			frame@17921000 {
21264807c71cSJoonwoo Park				frame-number = <0>;
21274807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
21284807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
21294807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
21304807c71cSJoonwoo Park				      <0x17922000 0x1000>;
21314807c71cSJoonwoo Park			};
21324807c71cSJoonwoo Park
21334807c71cSJoonwoo Park			frame@17923000 {
21344807c71cSJoonwoo Park				frame-number = <1>;
21354807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
21364807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
21374807c71cSJoonwoo Park				status = "disabled";
21384807c71cSJoonwoo Park			};
21394807c71cSJoonwoo Park
21404807c71cSJoonwoo Park			frame@17924000 {
21414807c71cSJoonwoo Park				frame-number = <2>;
21424807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
21434807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
21444807c71cSJoonwoo Park				status = "disabled";
21454807c71cSJoonwoo Park			};
21464807c71cSJoonwoo Park
21474807c71cSJoonwoo Park			frame@17925000 {
21484807c71cSJoonwoo Park				frame-number = <3>;
21494807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
21504807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
21514807c71cSJoonwoo Park				status = "disabled";
21524807c71cSJoonwoo Park			};
21534807c71cSJoonwoo Park
21544807c71cSJoonwoo Park			frame@17926000 {
21554807c71cSJoonwoo Park				frame-number = <4>;
21564807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
21574807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
21584807c71cSJoonwoo Park				status = "disabled";
21594807c71cSJoonwoo Park			};
21604807c71cSJoonwoo Park
21614807c71cSJoonwoo Park			frame@17927000 {
21624807c71cSJoonwoo Park				frame-number = <5>;
21634807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
21644807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
21654807c71cSJoonwoo Park				status = "disabled";
21664807c71cSJoonwoo Park			};
21674807c71cSJoonwoo Park
21684807c71cSJoonwoo Park			frame@17928000 {
21694807c71cSJoonwoo Park				frame-number = <6>;
21704807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
21714807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
21724807c71cSJoonwoo Park				status = "disabled";
21734807c71cSJoonwoo Park			};
21744807c71cSJoonwoo Park		};
21754807c71cSJoonwoo Park
21764807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
21774807c71cSJoonwoo Park			compatible = "arm,gic-v3";
21784807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
21794807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
21804807c71cSJoonwoo Park			#interrupt-cells = <3>;
21814807c71cSJoonwoo Park			#address-cells = <1>;
21824807c71cSJoonwoo Park			#size-cells = <1>;
21834807c71cSJoonwoo Park			ranges;
21844807c71cSJoonwoo Park			interrupt-controller;
21854807c71cSJoonwoo Park			#redistributor-regions = <1>;
21864807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
21874807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
21884807c71cSJoonwoo Park		};
218919b7caaaSJeffrey Hugo
219019b7caaaSJeffrey Hugo		wifi: wifi@18800000 {
219119b7caaaSJeffrey Hugo			compatible = "qcom,wcn3990-wifi";
219219b7caaaSJeffrey Hugo			status = "disabled";
219319b7caaaSJeffrey Hugo			reg = <0x18800000 0x800000>;
219419b7caaaSJeffrey Hugo			reg-names = "membase";
219519b7caaaSJeffrey Hugo			memory-region = <&wlan_msa_mem>;
219619b7caaaSJeffrey Hugo			clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
219719b7caaaSJeffrey Hugo			clock-names = "cxo_ref_clk_pin";
219819b7caaaSJeffrey Hugo			interrupts =
219919b7caaaSJeffrey Hugo				<GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
220019b7caaaSJeffrey Hugo				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
220119b7caaaSJeffrey Hugo				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
220219b7caaaSJeffrey Hugo				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
220319b7caaaSJeffrey Hugo				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
220419b7caaaSJeffrey Hugo				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
220519b7caaaSJeffrey Hugo				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
220619b7caaaSJeffrey Hugo				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
220719b7caaaSJeffrey Hugo				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
220819b7caaaSJeffrey Hugo				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
220919b7caaaSJeffrey Hugo				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
221019b7caaaSJeffrey Hugo				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
221119b7caaaSJeffrey Hugo			iommus = <&anoc2_smmu 0x1900>,
221219b7caaaSJeffrey Hugo				 <&anoc2_smmu 0x1901>;
221319b7caaaSJeffrey Hugo			qcom,snoc-host-cap-8bit-quirk;
221419b7caaaSJeffrey Hugo		};
22154807c71cSJoonwoo Park	};
22164807c71cSJoonwoo Park};
2217