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>
7c075a2e3SAngeloGioacchino Del Regno#include <dt-bindings/clock/qcom,mmcc-msm8998.h>
81fb28636SMarc Gonzalez#include <dt-bindings/clock/qcom,rpmcc.h>
9460f13caSSibi Sankar#include <dt-bindings/power/qcom-rpmpd.h>
1023bd4f78SJeffrey Hugo#include <dt-bindings/gpio/gpio.h>
114807c71cSJoonwoo Park
124807c71cSJoonwoo Park/ {
134807c71cSJoonwoo Park	interrupt-parent = <&intc>;
144807c71cSJoonwoo Park
154807c71cSJoonwoo Park	qcom,msm-id = <292 0x0>;
164807c71cSJoonwoo Park
174807c71cSJoonwoo Park	#address-cells = <2>;
184807c71cSJoonwoo Park	#size-cells = <2>;
194807c71cSJoonwoo Park
204807c71cSJoonwoo Park	chosen { };
214807c71cSJoonwoo Park
22d53dc79fSVinod Koul	memory@80000000 {
234807c71cSJoonwoo Park		device_type = "memory";
244807c71cSJoonwoo Park		/* We expect the bootloader to fill in the reg */
25d53dc79fSVinod Koul		reg = <0x0 0x80000000 0x0 0x0>;
264807c71cSJoonwoo Park	};
274807c71cSJoonwoo Park
28c7833949SBjorn Andersson	reserved-memory {
29c7833949SBjorn Andersson		#address-cells = <2>;
30c7833949SBjorn Andersson		#size-cells = <2>;
31c7833949SBjorn Andersson		ranges;
32c7833949SBjorn Andersson
33fda8fba6SSibi Sankar		hyp_mem: memory@85800000 {
34fda8fba6SSibi Sankar			reg = <0x0 0x85800000 0x0 0x600000>;
35fda8fba6SSibi Sankar			no-map;
36fda8fba6SSibi Sankar		};
37fda8fba6SSibi Sankar
38fda8fba6SSibi Sankar		xbl_mem: memory@85e00000 {
39fda8fba6SSibi Sankar			reg = <0x0 0x85e00000 0x0 0x100000>;
40c7833949SBjorn Andersson			no-map;
41c7833949SBjorn Andersson		};
42c7833949SBjorn Andersson
43c7833949SBjorn Andersson		smem_mem: smem-mem@86000000 {
44c7833949SBjorn Andersson			reg = <0x0 0x86000000 0x0 0x200000>;
45c7833949SBjorn Andersson			no-map;
46c7833949SBjorn Andersson		};
47c7833949SBjorn Andersson
48fda8fba6SSibi Sankar		tz_mem: memory@86200000 {
496e533309SMarc Gonzalez			reg = <0x0 0x86200000 0x0 0x2d00000>;
50c7833949SBjorn Andersson			no-map;
51c7833949SBjorn Andersson		};
52c7833949SBjorn Andersson
53fda8fba6SSibi Sankar		rmtfs_mem: memory@88f00000 {
54fda8fba6SSibi Sankar			compatible = "qcom,rmtfs-mem";
55fda8fba6SSibi Sankar			reg = <0x0 0x88f00000 0x0 0x200000>;
56fda8fba6SSibi Sankar			no-map;
57fda8fba6SSibi Sankar
58fda8fba6SSibi Sankar			qcom,client-id = <1>;
59fda8fba6SSibi Sankar			qcom,vmid = <15>;
60fda8fba6SSibi Sankar		};
61fda8fba6SSibi Sankar
62fda8fba6SSibi Sankar		spss_mem: memory@8ab00000 {
63fda8fba6SSibi Sankar			reg = <0x0 0x8ab00000 0x0 0x700000>;
64fda8fba6SSibi Sankar			no-map;
65fda8fba6SSibi Sankar		};
66fda8fba6SSibi Sankar
67fda8fba6SSibi Sankar		adsp_mem: memory@8b200000 {
68fda8fba6SSibi Sankar			reg = <0x0 0x8b200000 0x0 0x1a00000>;
69fda8fba6SSibi Sankar			no-map;
70fda8fba6SSibi Sankar		};
71fda8fba6SSibi Sankar
72fda8fba6SSibi Sankar		mpss_mem: memory@8cc00000 {
73fda8fba6SSibi Sankar			reg = <0x0 0x8cc00000 0x0 0x7000000>;
74fda8fba6SSibi Sankar			no-map;
75fda8fba6SSibi Sankar		};
76fda8fba6SSibi Sankar
77fda8fba6SSibi Sankar		venus_mem: memory@93c00000 {
78fda8fba6SSibi Sankar			reg = <0x0 0x93c00000 0x0 0x500000>;
79fda8fba6SSibi Sankar			no-map;
80fda8fba6SSibi Sankar		};
81fda8fba6SSibi Sankar
82fda8fba6SSibi Sankar		mba_mem: memory@94100000 {
83fda8fba6SSibi Sankar			reg = <0x0 0x94100000 0x0 0x200000>;
84fda8fba6SSibi Sankar			no-map;
85fda8fba6SSibi Sankar		};
86fda8fba6SSibi Sankar
87fda8fba6SSibi Sankar		slpi_mem: memory@94300000 {
88fda8fba6SSibi Sankar			reg = <0x0 0x94300000 0x0 0xf00000>;
89fda8fba6SSibi Sankar			no-map;
90fda8fba6SSibi Sankar		};
91fda8fba6SSibi Sankar
92fda8fba6SSibi Sankar		ipa_fw_mem: memory@95200000 {
93fda8fba6SSibi Sankar			reg = <0x0 0x95200000 0x0 0x10000>;
94fda8fba6SSibi Sankar			no-map;
95fda8fba6SSibi Sankar		};
96fda8fba6SSibi Sankar
97fda8fba6SSibi Sankar		ipa_gsi_mem: memory@95210000 {
98fda8fba6SSibi Sankar			reg = <0x0 0x95210000 0x0 0x5000>;
99fda8fba6SSibi Sankar			no-map;
100fda8fba6SSibi Sankar		};
101fda8fba6SSibi Sankar
102fda8fba6SSibi Sankar		gpu_mem: memory@95600000 {
103fda8fba6SSibi Sankar			reg = <0x0 0x95600000 0x0 0x100000>;
104fda8fba6SSibi Sankar			no-map;
105fda8fba6SSibi Sankar		};
106fda8fba6SSibi Sankar
10719b7caaaSJeffrey Hugo		wlan_msa_mem: memory@95700000 {
10819b7caaaSJeffrey Hugo			reg = <0x0 0x95700000 0x0 0x100000>;
10919b7caaaSJeffrey Hugo			no-map;
11019b7caaaSJeffrey Hugo		};
111*264f6a8dSSibi Sankar
112*264f6a8dSSibi Sankar		mdata_mem: mpss-metadata {
113*264f6a8dSSibi Sankar			alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
114*264f6a8dSSibi Sankar			size = <0x0 0x4000>;
115*264f6a8dSSibi Sankar			no-map;
116*264f6a8dSSibi Sankar		};
117c7833949SBjorn Andersson	};
118c7833949SBjorn Andersson
1194807c71cSJoonwoo Park	clocks {
120818046ebSAndy Gross		xo: xo-board {
1214807c71cSJoonwoo Park			compatible = "fixed-clock";
1224807c71cSJoonwoo Park			#clock-cells = <0>;
1234807c71cSJoonwoo Park			clock-frequency = <19200000>;
124818046ebSAndy Gross			clock-output-names = "xo_board";
1254807c71cSJoonwoo Park		};
1264807c71cSJoonwoo Park
1272c2f64aeSMarijn Suijten		sleep_clk: sleep-clk {
1284807c71cSJoonwoo Park			compatible = "fixed-clock";
1294807c71cSJoonwoo Park			#clock-cells = <0>;
1304807c71cSJoonwoo Park			clock-frequency = <32764>;
1314807c71cSJoonwoo Park		};
1324807c71cSJoonwoo Park	};
1334807c71cSJoonwoo Park
1344807c71cSJoonwoo Park	cpus {
1354807c71cSJoonwoo Park		#address-cells = <2>;
1364807c71cSJoonwoo Park		#size-cells = <0>;
1374807c71cSJoonwoo Park
1384807c71cSJoonwoo Park		CPU0: cpu@0 {
1394807c71cSJoonwoo Park			device_type = "cpu";
140663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1414807c71cSJoonwoo Park			reg = <0x0 0x0>;
1424807c71cSJoonwoo Park			enable-method = "psci";
143c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1024>;
144c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1454807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1464807c71cSJoonwoo Park			L2_0: l2-cache {
147fad35efaSRob Herring				compatible = "cache";
1484807c71cSJoonwoo Park				cache-level = <2>;
1494807c71cSJoonwoo Park			};
1504807c71cSJoonwoo Park		};
1514807c71cSJoonwoo Park
1524807c71cSJoonwoo Park		CPU1: cpu@1 {
1534807c71cSJoonwoo Park			device_type = "cpu";
154663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1554807c71cSJoonwoo Park			reg = <0x0 0x1>;
1564807c71cSJoonwoo Park			enable-method = "psci";
157c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1024>;
158c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1594807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1604807c71cSJoonwoo Park		};
1614807c71cSJoonwoo Park
1624807c71cSJoonwoo Park		CPU2: cpu@2 {
1634807c71cSJoonwoo Park			device_type = "cpu";
164663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1654807c71cSJoonwoo Park			reg = <0x0 0x2>;
1664807c71cSJoonwoo Park			enable-method = "psci";
167c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1024>;
168c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1694807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1704807c71cSJoonwoo Park		};
1714807c71cSJoonwoo Park
1724807c71cSJoonwoo Park		CPU3: cpu@3 {
1734807c71cSJoonwoo Park			device_type = "cpu";
174663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1754807c71cSJoonwoo Park			reg = <0x0 0x3>;
1764807c71cSJoonwoo Park			enable-method = "psci";
177c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1024>;
178c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1794807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1804807c71cSJoonwoo Park		};
1814807c71cSJoonwoo Park
1824807c71cSJoonwoo Park		CPU4: cpu@100 {
1834807c71cSJoonwoo Park			device_type = "cpu";
184663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1854807c71cSJoonwoo Park			reg = <0x0 0x100>;
1864807c71cSJoonwoo Park			enable-method = "psci";
187c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1536>;
188c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
1894807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1904807c71cSJoonwoo Park			L2_1: l2-cache {
191fad35efaSRob Herring				compatible = "cache";
1924807c71cSJoonwoo Park				cache-level = <2>;
1934807c71cSJoonwoo Park			};
1944807c71cSJoonwoo Park		};
1954807c71cSJoonwoo Park
1964807c71cSJoonwoo Park		CPU5: cpu@101 {
1974807c71cSJoonwoo Park			device_type = "cpu";
198663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1994807c71cSJoonwoo Park			reg = <0x0 0x101>;
2004807c71cSJoonwoo Park			enable-method = "psci";
201c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1536>;
202c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2034807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2044807c71cSJoonwoo Park		};
2054807c71cSJoonwoo Park
2064807c71cSJoonwoo Park		CPU6: cpu@102 {
2074807c71cSJoonwoo Park			device_type = "cpu";
208663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
2094807c71cSJoonwoo Park			reg = <0x0 0x102>;
2104807c71cSJoonwoo Park			enable-method = "psci";
211c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1536>;
212c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2134807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2144807c71cSJoonwoo Park		};
2154807c71cSJoonwoo Park
2164807c71cSJoonwoo Park		CPU7: cpu@103 {
2174807c71cSJoonwoo Park			device_type = "cpu";
218663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
2194807c71cSJoonwoo Park			reg = <0x0 0x103>;
2204807c71cSJoonwoo Park			enable-method = "psci";
221c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1536>;
222c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2234807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2244807c71cSJoonwoo Park		};
2254807c71cSJoonwoo Park
2264807c71cSJoonwoo Park		cpu-map {
2274807c71cSJoonwoo Park			cluster0 {
2284807c71cSJoonwoo Park				core0 {
2294807c71cSJoonwoo Park					cpu = <&CPU0>;
2304807c71cSJoonwoo Park				};
2314807c71cSJoonwoo Park
2324807c71cSJoonwoo Park				core1 {
2334807c71cSJoonwoo Park					cpu = <&CPU1>;
2344807c71cSJoonwoo Park				};
2354807c71cSJoonwoo Park
2364807c71cSJoonwoo Park				core2 {
2374807c71cSJoonwoo Park					cpu = <&CPU2>;
2384807c71cSJoonwoo Park				};
2394807c71cSJoonwoo Park
2404807c71cSJoonwoo Park				core3 {
2414807c71cSJoonwoo Park					cpu = <&CPU3>;
2424807c71cSJoonwoo Park				};
2434807c71cSJoonwoo Park			};
2444807c71cSJoonwoo Park
2454807c71cSJoonwoo Park			cluster1 {
2464807c71cSJoonwoo Park				core0 {
2474807c71cSJoonwoo Park					cpu = <&CPU4>;
2484807c71cSJoonwoo Park				};
2494807c71cSJoonwoo Park
2504807c71cSJoonwoo Park				core1 {
2514807c71cSJoonwoo Park					cpu = <&CPU5>;
2524807c71cSJoonwoo Park				};
2534807c71cSJoonwoo Park
2544807c71cSJoonwoo Park				core2 {
2554807c71cSJoonwoo Park					cpu = <&CPU6>;
2564807c71cSJoonwoo Park				};
2574807c71cSJoonwoo Park
2584807c71cSJoonwoo Park				core3 {
2594807c71cSJoonwoo Park					cpu = <&CPU7>;
2604807c71cSJoonwoo Park				};
2614807c71cSJoonwoo Park			};
2624807c71cSJoonwoo Park		};
263c3083c80SAmit Kucheria
264c3083c80SAmit Kucheria		idle-states {
265c3083c80SAmit Kucheria			entry-method = "psci";
266c3083c80SAmit Kucheria
267c3083c80SAmit Kucheria			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
268c3083c80SAmit Kucheria				compatible = "arm,idle-state";
269c3083c80SAmit Kucheria				idle-state-name = "little-retention";
2703f1dcaffSAngeloGioacchino Del Regno				/* CPU Retention (C2D), L2 Active */
271c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x00000002>;
272c3083c80SAmit Kucheria				entry-latency-us = <81>;
273c3083c80SAmit Kucheria				exit-latency-us = <86>;
2743f1dcaffSAngeloGioacchino Del Regno				min-residency-us = <504>;
275c3083c80SAmit Kucheria			};
276c3083c80SAmit Kucheria
277c3083c80SAmit Kucheria			LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
278c3083c80SAmit Kucheria				compatible = "arm,idle-state";
279c3083c80SAmit Kucheria				idle-state-name = "little-power-collapse";
2803f1dcaffSAngeloGioacchino Del Regno				/* CPU + L2 Power Collapse (C3, D4) */
281c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x40000003>;
2823f1dcaffSAngeloGioacchino Del Regno				entry-latency-us = <814>;
2833f1dcaffSAngeloGioacchino Del Regno				exit-latency-us = <4562>;
2843f1dcaffSAngeloGioacchino Del Regno				min-residency-us = <9183>;
285c3083c80SAmit Kucheria				local-timer-stop;
286c3083c80SAmit Kucheria			};
287c3083c80SAmit Kucheria
288c3083c80SAmit Kucheria			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
289c3083c80SAmit Kucheria				compatible = "arm,idle-state";
290c3083c80SAmit Kucheria				idle-state-name = "big-retention";
2913f1dcaffSAngeloGioacchino Del Regno				/* CPU Retention (C2D), L2 Active */
292c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x00000002>;
293c3083c80SAmit Kucheria				entry-latency-us = <79>;
294c3083c80SAmit Kucheria				exit-latency-us = <82>;
2953f1dcaffSAngeloGioacchino Del Regno				min-residency-us = <1302>;
296c3083c80SAmit Kucheria			};
297c3083c80SAmit Kucheria
298c3083c80SAmit Kucheria			BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
299c3083c80SAmit Kucheria				compatible = "arm,idle-state";
300c3083c80SAmit Kucheria				idle-state-name = "big-power-collapse";
3013f1dcaffSAngeloGioacchino Del Regno				/* CPU + L2 Power Collapse (C3, D4) */
302c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x40000003>;
3033f1dcaffSAngeloGioacchino Del Regno				entry-latency-us = <724>;
3043f1dcaffSAngeloGioacchino Del Regno				exit-latency-us = <2027>;
3053f1dcaffSAngeloGioacchino Del Regno				min-residency-us = <9419>;
306c3083c80SAmit Kucheria				local-timer-stop;
307c3083c80SAmit Kucheria			};
308c3083c80SAmit Kucheria		};
3094807c71cSJoonwoo Park	};
3104807c71cSJoonwoo Park
311d850156aSBjorn Andersson	firmware {
312d850156aSBjorn Andersson		scm {
31370827d9fSBjorn Andersson			compatible = "qcom,scm-msm8998", "qcom,scm";
314d850156aSBjorn Andersson		};
315d850156aSBjorn Andersson	};
316d850156aSBjorn Andersson
3174807c71cSJoonwoo Park	psci {
3184807c71cSJoonwoo Park		compatible = "arm,psci-1.0";
3194807c71cSJoonwoo Park		method = "smc";
3204807c71cSJoonwoo Park	};
3214807c71cSJoonwoo Park
32231c1f0e3SBjorn Andersson	rpm-glink {
32331c1f0e3SBjorn Andersson		compatible = "qcom,glink-rpm";
32431c1f0e3SBjorn Andersson
32531c1f0e3SBjorn Andersson		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
32631c1f0e3SBjorn Andersson		qcom,rpm-msg-ram = <&rpm_msg_ram>;
32731c1f0e3SBjorn Andersson		mboxes = <&apcs_glb 0>;
32831c1f0e3SBjorn Andersson
32931c1f0e3SBjorn Andersson		rpm_requests: rpm-requests {
33031c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msm8998";
33131c1f0e3SBjorn Andersson			qcom,glink-channels = "rpm_requests";
3321fb28636SMarc Gonzalez
3331fb28636SMarc Gonzalez			rpmcc: clock-controller {
3341fb28636SMarc Gonzalez				compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
3351fb28636SMarc Gonzalez				#clock-cells = <1>;
3361fb28636SMarc Gonzalez			};
337460f13caSSibi Sankar
338460f13caSSibi Sankar			rpmpd: power-controller {
339460f13caSSibi Sankar				compatible = "qcom,msm8998-rpmpd";
340460f13caSSibi Sankar				#power-domain-cells = <1>;
341460f13caSSibi Sankar				operating-points-v2 = <&rpmpd_opp_table>;
342460f13caSSibi Sankar
343460f13caSSibi Sankar				rpmpd_opp_table: opp-table {
344460f13caSSibi Sankar					compatible = "operating-points-v2";
345460f13caSSibi Sankar
346460f13caSSibi Sankar					rpmpd_opp_ret: opp1 {
34777901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_RETENTION>;
348460f13caSSibi Sankar					};
349460f13caSSibi Sankar
350460f13caSSibi Sankar					rpmpd_opp_ret_plus: opp2 {
35177901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>;
352460f13caSSibi Sankar					};
353460f13caSSibi Sankar
354460f13caSSibi Sankar					rpmpd_opp_min_svs: opp3 {
35577901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
356460f13caSSibi Sankar					};
357460f13caSSibi Sankar
358460f13caSSibi Sankar					rpmpd_opp_low_svs: opp4 {
35977901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
360460f13caSSibi Sankar					};
361460f13caSSibi Sankar
362460f13caSSibi Sankar					rpmpd_opp_svs: opp5 {
36377901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_SVS>;
364460f13caSSibi Sankar					};
365460f13caSSibi Sankar
366460f13caSSibi Sankar					rpmpd_opp_svs_plus: opp6 {
36777901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
368460f13caSSibi Sankar					};
369460f13caSSibi Sankar
370460f13caSSibi Sankar					rpmpd_opp_nom: opp7 {
37177901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_NOM>;
372460f13caSSibi Sankar					};
373460f13caSSibi Sankar
374460f13caSSibi Sankar					rpmpd_opp_nom_plus: opp8 {
37577901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
376460f13caSSibi Sankar					};
377460f13caSSibi Sankar
378460f13caSSibi Sankar					rpmpd_opp_turbo: opp9 {
37977901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_TURBO>;
380460f13caSSibi Sankar					};
381460f13caSSibi Sankar
382460f13caSSibi Sankar					rpmpd_opp_turbo_plus: opp10 {
38377901148SAngeloGioacchino Del Regno						opp-level = <RPM_SMD_LEVEL_BINNING>;
384460f13caSSibi Sankar					};
385460f13caSSibi Sankar				};
386460f13caSSibi Sankar			};
38731c1f0e3SBjorn Andersson		};
38831c1f0e3SBjorn Andersson	};
38931c1f0e3SBjorn Andersson
390c7833949SBjorn Andersson	smem {
391c7833949SBjorn Andersson		compatible = "qcom,smem";
392c7833949SBjorn Andersson		memory-region = <&smem_mem>;
393c7833949SBjorn Andersson		hwlocks = <&tcsr_mutex 3>;
394c7833949SBjorn Andersson	};
395c7833949SBjorn Andersson
396e8d006fdSBjorn Andersson	smp2p-lpass {
397e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
398e8d006fdSBjorn Andersson		qcom,smem = <443>, <429>;
399e8d006fdSBjorn Andersson
400e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
401e8d006fdSBjorn Andersson
402e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 10>;
403e8d006fdSBjorn Andersson
404e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
405e8d006fdSBjorn Andersson		qcom,remote-pid = <2>;
406e8d006fdSBjorn Andersson
407e8d006fdSBjorn Andersson		adsp_smp2p_out: master-kernel {
408e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
409e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
410e8d006fdSBjorn Andersson		};
411e8d006fdSBjorn Andersson
412e8d006fdSBjorn Andersson		adsp_smp2p_in: slave-kernel {
413e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
414e8d006fdSBjorn Andersson
415e8d006fdSBjorn Andersson			interrupt-controller;
416e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
417e8d006fdSBjorn Andersson		};
418e8d006fdSBjorn Andersson	};
419e8d006fdSBjorn Andersson
420e8d006fdSBjorn Andersson	smp2p-mpss {
421e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
422e8d006fdSBjorn Andersson		qcom,smem = <435>, <428>;
423e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
424e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 14>;
425e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
426e8d006fdSBjorn Andersson		qcom,remote-pid = <1>;
427e8d006fdSBjorn Andersson
428e8d006fdSBjorn Andersson		modem_smp2p_out: master-kernel {
429e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
430e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
431e8d006fdSBjorn Andersson		};
432e8d006fdSBjorn Andersson
433e8d006fdSBjorn Andersson		modem_smp2p_in: slave-kernel {
434e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
435e8d006fdSBjorn Andersson			interrupt-controller;
436e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
437e8d006fdSBjorn Andersson		};
438e8d006fdSBjorn Andersson	};
439e8d006fdSBjorn Andersson
440e8d006fdSBjorn Andersson	smp2p-slpi {
441e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
442e8d006fdSBjorn Andersson		qcom,smem = <481>, <430>;
443e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
444e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 26>;
445e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
446e8d006fdSBjorn Andersson		qcom,remote-pid = <3>;
447e8d006fdSBjorn Andersson
448e8d006fdSBjorn Andersson		slpi_smp2p_out: master-kernel {
449e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
450e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
451e8d006fdSBjorn Andersson		};
452e8d006fdSBjorn Andersson
453e8d006fdSBjorn Andersson		slpi_smp2p_in: slave-kernel {
454e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
455e8d006fdSBjorn Andersson			interrupt-controller;
456e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
457e8d006fdSBjorn Andersson		};
458e8d006fdSBjorn Andersson	};
459e8d006fdSBjorn Andersson
4604449b6f2SBjorn Andersson	thermal-zones {
461ae8876ddSAmit Kucheria		cpu0-thermal {
4624449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4634449b6f2SBjorn Andersson			polling-delay = <1000>;
4644449b6f2SBjorn Andersson
465b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 1>;
4664449b6f2SBjorn Andersson
4674449b6f2SBjorn Andersson			trips {
468285aa631SAmit Kucheria				cpu0_alert0: trip-point0 {
4694449b6f2SBjorn Andersson					temperature = <75000>;
4704449b6f2SBjorn Andersson					hysteresis = <2000>;
4714449b6f2SBjorn Andersson					type = "passive";
4724449b6f2SBjorn Andersson				};
4734449b6f2SBjorn Andersson
4741364acc3SKrzysztof Kozlowski				cpu0_crit: cpu-crit {
4754449b6f2SBjorn Andersson					temperature = <110000>;
4764449b6f2SBjorn Andersson					hysteresis = <2000>;
4774449b6f2SBjorn Andersson					type = "critical";
4784449b6f2SBjorn Andersson				};
4794449b6f2SBjorn Andersson			};
4804449b6f2SBjorn Andersson		};
4814449b6f2SBjorn Andersson
482ae8876ddSAmit Kucheria		cpu1-thermal {
4834449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4844449b6f2SBjorn Andersson			polling-delay = <1000>;
4854449b6f2SBjorn Andersson
486b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 2>;
4874449b6f2SBjorn Andersson
4884449b6f2SBjorn Andersson			trips {
489285aa631SAmit Kucheria				cpu1_alert0: trip-point0 {
4904449b6f2SBjorn Andersson					temperature = <75000>;
4914449b6f2SBjorn Andersson					hysteresis = <2000>;
4924449b6f2SBjorn Andersson					type = "passive";
4934449b6f2SBjorn Andersson				};
4944449b6f2SBjorn Andersson
4951364acc3SKrzysztof Kozlowski				cpu1_crit: cpu-crit {
4964449b6f2SBjorn Andersson					temperature = <110000>;
4974449b6f2SBjorn Andersson					hysteresis = <2000>;
4984449b6f2SBjorn Andersson					type = "critical";
4994449b6f2SBjorn Andersson				};
5004449b6f2SBjorn Andersson			};
5014449b6f2SBjorn Andersson		};
5024449b6f2SBjorn Andersson
503ae8876ddSAmit Kucheria		cpu2-thermal {
5044449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5054449b6f2SBjorn Andersson			polling-delay = <1000>;
5064449b6f2SBjorn Andersson
507b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 3>;
5084449b6f2SBjorn Andersson
5094449b6f2SBjorn Andersson			trips {
510285aa631SAmit Kucheria				cpu2_alert0: trip-point0 {
5114449b6f2SBjorn Andersson					temperature = <75000>;
5124449b6f2SBjorn Andersson					hysteresis = <2000>;
5134449b6f2SBjorn Andersson					type = "passive";
5144449b6f2SBjorn Andersson				};
5154449b6f2SBjorn Andersson
5161364acc3SKrzysztof Kozlowski				cpu2_crit: cpu-crit {
5174449b6f2SBjorn Andersson					temperature = <110000>;
5184449b6f2SBjorn Andersson					hysteresis = <2000>;
5194449b6f2SBjorn Andersson					type = "critical";
5204449b6f2SBjorn Andersson				};
5214449b6f2SBjorn Andersson			};
5224449b6f2SBjorn Andersson		};
5234449b6f2SBjorn Andersson
524ae8876ddSAmit Kucheria		cpu3-thermal {
5254449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5264449b6f2SBjorn Andersson			polling-delay = <1000>;
5274449b6f2SBjorn Andersson
528b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 4>;
5294449b6f2SBjorn Andersson
5304449b6f2SBjorn Andersson			trips {
531285aa631SAmit Kucheria				cpu3_alert0: trip-point0 {
5324449b6f2SBjorn Andersson					temperature = <75000>;
5334449b6f2SBjorn Andersson					hysteresis = <2000>;
5344449b6f2SBjorn Andersson					type = "passive";
5354449b6f2SBjorn Andersson				};
5364449b6f2SBjorn Andersson
5371364acc3SKrzysztof Kozlowski				cpu3_crit: cpu-crit {
5384449b6f2SBjorn Andersson					temperature = <110000>;
5394449b6f2SBjorn Andersson					hysteresis = <2000>;
5404449b6f2SBjorn Andersson					type = "critical";
5414449b6f2SBjorn Andersson				};
5424449b6f2SBjorn Andersson			};
5434449b6f2SBjorn Andersson		};
5444449b6f2SBjorn Andersson
545ae8876ddSAmit Kucheria		cpu4-thermal {
5464449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5474449b6f2SBjorn Andersson			polling-delay = <1000>;
5484449b6f2SBjorn Andersson
5494449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 7>;
5504449b6f2SBjorn Andersson
5514449b6f2SBjorn Andersson			trips {
552285aa631SAmit Kucheria				cpu4_alert0: trip-point0 {
5534449b6f2SBjorn Andersson					temperature = <75000>;
5544449b6f2SBjorn Andersson					hysteresis = <2000>;
5554449b6f2SBjorn Andersson					type = "passive";
5564449b6f2SBjorn Andersson				};
5574449b6f2SBjorn Andersson
5581364acc3SKrzysztof Kozlowski				cpu4_crit: cpu-crit {
5594449b6f2SBjorn Andersson					temperature = <110000>;
5604449b6f2SBjorn Andersson					hysteresis = <2000>;
5614449b6f2SBjorn Andersson					type = "critical";
5624449b6f2SBjorn Andersson				};
5634449b6f2SBjorn Andersson			};
5644449b6f2SBjorn Andersson		};
5654449b6f2SBjorn Andersson
566ae8876ddSAmit Kucheria		cpu5-thermal {
5674449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5684449b6f2SBjorn Andersson			polling-delay = <1000>;
5694449b6f2SBjorn Andersson
5704449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 8>;
5714449b6f2SBjorn Andersson
5724449b6f2SBjorn Andersson			trips {
573285aa631SAmit Kucheria				cpu5_alert0: trip-point0 {
5744449b6f2SBjorn Andersson					temperature = <75000>;
5754449b6f2SBjorn Andersson					hysteresis = <2000>;
5764449b6f2SBjorn Andersson					type = "passive";
5774449b6f2SBjorn Andersson				};
5784449b6f2SBjorn Andersson
5791364acc3SKrzysztof Kozlowski				cpu5_crit: cpu-crit {
5804449b6f2SBjorn Andersson					temperature = <110000>;
5814449b6f2SBjorn Andersson					hysteresis = <2000>;
5824449b6f2SBjorn Andersson					type = "critical";
5834449b6f2SBjorn Andersson				};
5844449b6f2SBjorn Andersson			};
5854449b6f2SBjorn Andersson		};
5864449b6f2SBjorn Andersson
587ae8876ddSAmit Kucheria		cpu6-thermal {
5884449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5894449b6f2SBjorn Andersson			polling-delay = <1000>;
5904449b6f2SBjorn Andersson
5914449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 9>;
5924449b6f2SBjorn Andersson
5934449b6f2SBjorn Andersson			trips {
594285aa631SAmit Kucheria				cpu6_alert0: trip-point0 {
5954449b6f2SBjorn Andersson					temperature = <75000>;
5964449b6f2SBjorn Andersson					hysteresis = <2000>;
5974449b6f2SBjorn Andersson					type = "passive";
5984449b6f2SBjorn Andersson				};
5994449b6f2SBjorn Andersson
6001364acc3SKrzysztof Kozlowski				cpu6_crit: cpu-crit {
6014449b6f2SBjorn Andersson					temperature = <110000>;
6024449b6f2SBjorn Andersson					hysteresis = <2000>;
6034449b6f2SBjorn Andersson					type = "critical";
6044449b6f2SBjorn Andersson				};
6054449b6f2SBjorn Andersson			};
6064449b6f2SBjorn Andersson		};
6074449b6f2SBjorn Andersson
608ae8876ddSAmit Kucheria		cpu7-thermal {
6094449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6104449b6f2SBjorn Andersson			polling-delay = <1000>;
6114449b6f2SBjorn Andersson
6124449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 10>;
6134449b6f2SBjorn Andersson
6144449b6f2SBjorn Andersson			trips {
615285aa631SAmit Kucheria				cpu7_alert0: trip-point0 {
6164449b6f2SBjorn Andersson					temperature = <75000>;
6174449b6f2SBjorn Andersson					hysteresis = <2000>;
6184449b6f2SBjorn Andersson					type = "passive";
6194449b6f2SBjorn Andersson				};
6204449b6f2SBjorn Andersson
6211364acc3SKrzysztof Kozlowski				cpu7_crit: cpu-crit {
6224449b6f2SBjorn Andersson					temperature = <110000>;
6234449b6f2SBjorn Andersson					hysteresis = <2000>;
6244449b6f2SBjorn Andersson					type = "critical";
6254449b6f2SBjorn Andersson				};
6264449b6f2SBjorn Andersson			};
6274449b6f2SBjorn Andersson		};
6284449b6f2SBjorn Andersson
6297be1c395SDavid Heidelberg		gpu-bottom-thermal {
6302fa2d301SAmit Kucheria			polling-delay-passive = <250>;
6312fa2d301SAmit Kucheria			polling-delay = <1000>;
6322fa2d301SAmit Kucheria
6332fa2d301SAmit Kucheria			thermal-sensors = <&tsens0 12>;
6342fa2d301SAmit Kucheria
6352fa2d301SAmit Kucheria			trips {
636285aa631SAmit Kucheria				gpu1_alert0: trip-point0 {
6372fa2d301SAmit Kucheria					temperature = <90000>;
6382fa2d301SAmit Kucheria					hysteresis = <2000>;
6392fa2d301SAmit Kucheria					type = "hot";
6402fa2d301SAmit Kucheria				};
6412fa2d301SAmit Kucheria			};
6422fa2d301SAmit Kucheria		};
6432fa2d301SAmit Kucheria
6447be1c395SDavid Heidelberg		gpu-top-thermal {
6454449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6464449b6f2SBjorn Andersson			polling-delay = <1000>;
6474449b6f2SBjorn Andersson
6489284aa44SAmit Kucheria			thermal-sensors = <&tsens0 13>;
6492fa2d301SAmit Kucheria
6502fa2d301SAmit Kucheria			trips {
651285aa631SAmit Kucheria				gpu2_alert0: trip-point0 {
6522fa2d301SAmit Kucheria					temperature = <90000>;
6532fa2d301SAmit Kucheria					hysteresis = <2000>;
6542fa2d301SAmit Kucheria					type = "hot";
6552fa2d301SAmit Kucheria				};
6562fa2d301SAmit Kucheria			};
6574449b6f2SBjorn Andersson		};
658e9d2729dSAmit Kucheria
659060f4211SAmit Kucheria		clust0-mhm-thermal {
660e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
661e9d2729dSAmit Kucheria			polling-delay = <1000>;
662e9d2729dSAmit Kucheria
663e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 5>;
664e9d2729dSAmit Kucheria
665e9d2729dSAmit Kucheria			trips {
666285aa631SAmit Kucheria				cluster0_mhm_alert0: trip-point0 {
667e9d2729dSAmit Kucheria					temperature = <90000>;
668e9d2729dSAmit Kucheria					hysteresis = <2000>;
669e9d2729dSAmit Kucheria					type = "hot";
670e9d2729dSAmit Kucheria				};
671e9d2729dSAmit Kucheria			};
672e9d2729dSAmit Kucheria		};
673e9d2729dSAmit Kucheria
674060f4211SAmit Kucheria		clust1-mhm-thermal {
675e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
676e9d2729dSAmit Kucheria			polling-delay = <1000>;
677e9d2729dSAmit Kucheria
678e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 6>;
679e9d2729dSAmit Kucheria
680e9d2729dSAmit Kucheria			trips {
681285aa631SAmit Kucheria				cluster1_mhm_alert0: trip-point0 {
682e9d2729dSAmit Kucheria					temperature = <90000>;
683e9d2729dSAmit Kucheria					hysteresis = <2000>;
684e9d2729dSAmit Kucheria					type = "hot";
685e9d2729dSAmit Kucheria				};
686e9d2729dSAmit Kucheria			};
687e9d2729dSAmit Kucheria		};
688e9d2729dSAmit Kucheria
689e9d2729dSAmit Kucheria		cluster1-l2-thermal {
6904449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6914449b6f2SBjorn Andersson			polling-delay = <1000>;
6924449b6f2SBjorn Andersson
6934449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 11>;
6944449b6f2SBjorn Andersson
6954449b6f2SBjorn Andersson			trips {
696285aa631SAmit Kucheria				cluster1_l2_alert0: trip-point0 {
697e9d2729dSAmit Kucheria					temperature = <90000>;
6984449b6f2SBjorn Andersson					hysteresis = <2000>;
699e9d2729dSAmit Kucheria					type = "hot";
7004449b6f2SBjorn Andersson				};
7014449b6f2SBjorn Andersson			};
7024449b6f2SBjorn Andersson		};
7034449b6f2SBjorn Andersson
704e9d2729dSAmit Kucheria		modem-thermal {
7054449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7064449b6f2SBjorn Andersson			polling-delay = <1000>;
7074449b6f2SBjorn Andersson
7084449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 1>;
7094449b6f2SBjorn Andersson
7104449b6f2SBjorn Andersson			trips {
711285aa631SAmit Kucheria				modem_alert0: trip-point0 {
712e9d2729dSAmit Kucheria					temperature = <90000>;
7134449b6f2SBjorn Andersson					hysteresis = <2000>;
714e9d2729dSAmit Kucheria					type = "hot";
7154449b6f2SBjorn Andersson				};
7164449b6f2SBjorn Andersson			};
7174449b6f2SBjorn Andersson		};
7184449b6f2SBjorn Andersson
719e9d2729dSAmit Kucheria		mem-thermal {
720e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
721e9d2729dSAmit Kucheria			polling-delay = <1000>;
722e9d2729dSAmit Kucheria
723e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 2>;
724e9d2729dSAmit Kucheria
725e9d2729dSAmit Kucheria			trips {
726285aa631SAmit Kucheria				mem_alert0: trip-point0 {
727e9d2729dSAmit Kucheria					temperature = <90000>;
728e9d2729dSAmit Kucheria					hysteresis = <2000>;
729e9d2729dSAmit Kucheria					type = "hot";
730e9d2729dSAmit Kucheria				};
731e9d2729dSAmit Kucheria			};
732e9d2729dSAmit Kucheria		};
733e9d2729dSAmit Kucheria
734e9d2729dSAmit Kucheria		wlan-thermal {
7354449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7364449b6f2SBjorn Andersson			polling-delay = <1000>;
7374449b6f2SBjorn Andersson
7384449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 3>;
739e9d2729dSAmit Kucheria
740e9d2729dSAmit Kucheria			trips {
741285aa631SAmit Kucheria				wlan_alert0: trip-point0 {
742e9d2729dSAmit Kucheria					temperature = <90000>;
743e9d2729dSAmit Kucheria					hysteresis = <2000>;
744e9d2729dSAmit Kucheria					type = "hot";
745e9d2729dSAmit Kucheria				};
746e9d2729dSAmit Kucheria			};
747e9d2729dSAmit Kucheria		};
748e9d2729dSAmit Kucheria
749e9d2729dSAmit Kucheria		q6-dsp-thermal {
750e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
751e9d2729dSAmit Kucheria			polling-delay = <1000>;
752e9d2729dSAmit Kucheria
753e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 4>;
754e9d2729dSAmit Kucheria
755e9d2729dSAmit Kucheria			trips {
756285aa631SAmit Kucheria				q6_dsp_alert0: trip-point0 {
757e9d2729dSAmit Kucheria					temperature = <90000>;
758e9d2729dSAmit Kucheria					hysteresis = <2000>;
759e9d2729dSAmit Kucheria					type = "hot";
760e9d2729dSAmit Kucheria				};
761e9d2729dSAmit Kucheria			};
762e9d2729dSAmit Kucheria		};
763e9d2729dSAmit Kucheria
764e9d2729dSAmit Kucheria		camera-thermal {
765e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
766e9d2729dSAmit Kucheria			polling-delay = <1000>;
767e9d2729dSAmit Kucheria
768e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 5>;
769e9d2729dSAmit Kucheria
770e9d2729dSAmit Kucheria			trips {
771285aa631SAmit Kucheria				camera_alert0: trip-point0 {
772e9d2729dSAmit Kucheria					temperature = <90000>;
773e9d2729dSAmit Kucheria					hysteresis = <2000>;
774e9d2729dSAmit Kucheria					type = "hot";
775e9d2729dSAmit Kucheria				};
776e9d2729dSAmit Kucheria			};
777e9d2729dSAmit Kucheria		};
778e9d2729dSAmit Kucheria
779e9d2729dSAmit Kucheria		multimedia-thermal {
780e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
781e9d2729dSAmit Kucheria			polling-delay = <1000>;
782e9d2729dSAmit Kucheria
783e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 6>;
784e9d2729dSAmit Kucheria
785e9d2729dSAmit Kucheria			trips {
786285aa631SAmit Kucheria				multimedia_alert0: trip-point0 {
787e9d2729dSAmit Kucheria					temperature = <90000>;
788e9d2729dSAmit Kucheria					hysteresis = <2000>;
789e9d2729dSAmit Kucheria					type = "hot";
790e9d2729dSAmit Kucheria				};
791e9d2729dSAmit Kucheria			};
7924449b6f2SBjorn Andersson		};
7934449b6f2SBjorn Andersson	};
7944449b6f2SBjorn Andersson
7954807c71cSJoonwoo Park	timer {
7964807c71cSJoonwoo Park		compatible = "arm,armv8-timer";
7974807c71cSJoonwoo Park		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
7984807c71cSJoonwoo Park			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
7994807c71cSJoonwoo Park			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
8004807c71cSJoonwoo Park			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
8014807c71cSJoonwoo Park	};
8024807c71cSJoonwoo Park
8034807c71cSJoonwoo Park	soc: soc {
8044807c71cSJoonwoo Park		#address-cells = <1>;
8054807c71cSJoonwoo Park		#size-cells = <1>;
8064807c71cSJoonwoo Park		ranges = <0 0 0 0xffffffff>;
8074807c71cSJoonwoo Park		compatible = "simple-bus";
8084807c71cSJoonwoo Park
80932a5da21SJeffrey Hugo		gcc: clock-controller@100000 {
81032a5da21SJeffrey Hugo			compatible = "qcom,gcc-msm8998";
81132a5da21SJeffrey Hugo			#clock-cells = <1>;
81232a5da21SJeffrey Hugo			#reset-cells = <1>;
81332a5da21SJeffrey Hugo			#power-domain-cells = <1>;
81432a5da21SJeffrey Hugo			reg = <0x00100000 0xb0000>;
8152c2f64aeSMarijn Suijten
8162c2f64aeSMarijn Suijten			clock-names = "xo", "sleep_clk";
81783fe4b9eSKonrad Dybcio			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
8181ed29355SMichael Srba
8191ed29355SMichael Srba			/*
8201ed29355SMichael Srba			 * The hypervisor typically configures the memory region where these clocks
8211ed29355SMichael Srba			 * reside as read-only for the HLOS. If the HLOS tried to enable or disable
8221ed29355SMichael Srba			 * these clocks on a device with such configuration (e.g. because they are
8231ed29355SMichael Srba			 * enabled but unused during boot-up), the device will most likely decide
8241ed29355SMichael Srba			 * to reboot.
8251ed29355SMichael Srba			 * In light of that, we are conservative here and we list all such clocks
8261ed29355SMichael Srba			 * as protected. The board dts (or a user-supplied dts) can override the
8271ed29355SMichael Srba			 * list of protected clocks if it differs from the norm, and it is in fact
8281ed29355SMichael Srba			 * desired for the HLOS to manage these clocks
8291ed29355SMichael Srba			 */
8301ed29355SMichael Srba			protected-clocks = <AGGRE2_SNOC_NORTH_AXI>,
8311ed29355SMichael Srba					   <SSC_XO>,
8321ed29355SMichael Srba					   <SSC_CNOC_AHBS_CLK>;
83332a5da21SJeffrey Hugo		};
83432a5da21SJeffrey Hugo
835179811beSStephan Gerhold		rpm_msg_ram: sram@778000 {
83631c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msg-ram";
83732a5da21SJeffrey Hugo			reg = <0x00778000 0x7000>;
83831c1f0e3SBjorn Andersson		};
83931c1f0e3SBjorn Andersson
84094117eb1SAngeloGioacchino Del Regno		qfprom: qfprom@784000 {
841b2eab35bSKrzysztof Kozlowski			compatible = "qcom,msm8998-qfprom", "qcom,qfprom";
84294117eb1SAngeloGioacchino Del Regno			reg = <0x00784000 0x621c>;
843f259e398SBjorn Andersson			#address-cells = <1>;
844f259e398SBjorn Andersson			#size-cells = <1>;
845026dad8fSJeffrey Hugo
84694117eb1SAngeloGioacchino Del Regno			qusb2_hstx_trim: hstx-trim@23a {
84794117eb1SAngeloGioacchino Del Regno				reg = <0x23a 0x1>;
848026dad8fSJeffrey Hugo				bits = <0 4>;
849026dad8fSJeffrey Hugo			};
850f259e398SBjorn Andersson		};
851f259e398SBjorn Andersson
85250325048SAmit Kucheria		tsens0: thermal@10ab000 {
8534449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
85432a5da21SJeffrey Hugo			reg = <0x010ab000 0x1000>, /* TM */
85532a5da21SJeffrey Hugo			      <0x010aa000 0x1000>; /* SROT */
856280acabbSAmit Kucheria			#qcom,sensors = <14>;
857f0b888afSAmit Kucheria			interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
858f0b888afSAmit Kucheria				     <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
859f0b888afSAmit Kucheria			interrupt-names = "uplow", "critical";
8604449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8614449b6f2SBjorn Andersson		};
8624449b6f2SBjorn Andersson
86350325048SAmit Kucheria		tsens1: thermal@10ae000 {
8644449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
86532a5da21SJeffrey Hugo			reg = <0x010ae000 0x1000>, /* TM */
86632a5da21SJeffrey Hugo			      <0x010ad000 0x1000>; /* SROT */
8674449b6f2SBjorn Andersson			#qcom,sensors = <8>;
868f0b888afSAmit Kucheria			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
869f0b888afSAmit Kucheria				     <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
870f0b888afSAmit Kucheria			interrupt-names = "uplow", "critical";
8714449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8724449b6f2SBjorn Andersson		};
8734449b6f2SBjorn Andersson
8748389b869SMarc Gonzalez		anoc1_smmu: iommu@1680000 {
8758389b869SMarc Gonzalez			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
8768389b869SMarc Gonzalez			reg = <0x01680000 0x10000>;
8778389b869SMarc Gonzalez			#iommu-cells = <1>;
8788389b869SMarc Gonzalez
8798389b869SMarc Gonzalez			#global-interrupts = <0>;
8808389b869SMarc Gonzalez			interrupts =
8818389b869SMarc Gonzalez				<GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
8828389b869SMarc Gonzalez				<GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
8838389b869SMarc Gonzalez				<GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
8848389b869SMarc Gonzalez				<GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
8858389b869SMarc Gonzalez				<GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
8868389b869SMarc Gonzalez				<GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
8878389b869SMarc Gonzalez		};
8888389b869SMarc Gonzalez
889a21c9548SJeffrey Hugo		anoc2_smmu: iommu@16c0000 {
890a21c9548SJeffrey Hugo			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
891a21c9548SJeffrey Hugo			reg = <0x016c0000 0x40000>;
892a21c9548SJeffrey Hugo			#iommu-cells = <1>;
893a21c9548SJeffrey Hugo
894a21c9548SJeffrey Hugo			#global-interrupts = <0>;
895a21c9548SJeffrey Hugo			interrupts =
896a21c9548SJeffrey Hugo				<GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
897a21c9548SJeffrey Hugo				<GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
898a21c9548SJeffrey Hugo				<GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
899a21c9548SJeffrey Hugo				<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
900a21c9548SJeffrey Hugo				<GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
901a21c9548SJeffrey Hugo				<GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
902a21c9548SJeffrey Hugo				<GIC_SPI 462 IRQ_TYPE_EDGE_RISING>,
903a21c9548SJeffrey Hugo				<GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
904a21c9548SJeffrey Hugo				<GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
905a21c9548SJeffrey Hugo				<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>;
906a21c9548SJeffrey Hugo		};
907a21c9548SJeffrey Hugo
908b84dfd17SMarc Gonzalez		pcie0: pci@1c00000 {
9090d70d5f6SKrzysztof Kozlowski			compatible = "qcom,pcie-msm8998", "qcom,pcie-msm8996";
910b84dfd17SMarc Gonzalez			reg =	<0x01c00000 0x2000>,
911b84dfd17SMarc Gonzalez				<0x1b000000 0xf1d>,
912b84dfd17SMarc Gonzalez				<0x1b000f20 0xa8>,
913b84dfd17SMarc Gonzalez				<0x1b100000 0x100000>;
914b84dfd17SMarc Gonzalez			reg-names = "parf", "dbi", "elbi", "config";
915b84dfd17SMarc Gonzalez			device_type = "pci";
916b84dfd17SMarc Gonzalez			linux,pci-domain = <0>;
917b84dfd17SMarc Gonzalez			bus-range = <0x00 0xff>;
918b84dfd17SMarc Gonzalez			#address-cells = <3>;
919b84dfd17SMarc Gonzalez			#size-cells = <2>;
920b84dfd17SMarc Gonzalez			num-lanes = <1>;
921b84dfd17SMarc Gonzalez			phys = <&pciephy>;
922b84dfd17SMarc Gonzalez			phy-names = "pciephy";
923a72848e8SKonrad Dybcio			status = "disabled";
924b84dfd17SMarc Gonzalez
925b84dfd17SMarc Gonzalez			ranges = <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>,
926b84dfd17SMarc Gonzalez				 <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>;
927b84dfd17SMarc Gonzalez
928b84dfd17SMarc Gonzalez			#interrupt-cells = <1>;
929b84dfd17SMarc Gonzalez			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
930b84dfd17SMarc Gonzalez			interrupt-names = "msi";
931b84dfd17SMarc Gonzalez			interrupt-map-mask = <0 0 0 0x7>;
9320ac10b29SRob Herring			interrupt-map = <0 0 0 1 &intc 0 0 135 IRQ_TYPE_LEVEL_HIGH>,
9330ac10b29SRob Herring					<0 0 0 2 &intc 0 0 136 IRQ_TYPE_LEVEL_HIGH>,
9340ac10b29SRob Herring					<0 0 0 3 &intc 0 0 138 IRQ_TYPE_LEVEL_HIGH>,
9350ac10b29SRob Herring					<0 0 0 4 &intc 0 0 139 IRQ_TYPE_LEVEL_HIGH>;
936b84dfd17SMarc Gonzalez
937b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
938b132731bSKrzysztof Kozlowski				 <&gcc GCC_PCIE_0_AUX_CLK>,
939b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
940b132731bSKrzysztof Kozlowski				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
941b132731bSKrzysztof Kozlowski				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>;
942b132731bSKrzysztof Kozlowski			clock-names = "pipe", "aux", "cfg", "bus_master", "bus_slave";
943b84dfd17SMarc Gonzalez
944b84dfd17SMarc Gonzalez			power-domains = <&gcc PCIE_0_GDSC>;
945b84dfd17SMarc Gonzalez			iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
946b84dfd17SMarc Gonzalez			perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
947b84dfd17SMarc Gonzalez		};
948b84dfd17SMarc Gonzalez
949a72848e8SKonrad Dybcio		pcie_phy: phy@1c06000 {
950b84dfd17SMarc Gonzalez			compatible = "qcom,msm8998-qmp-pcie-phy";
951b84dfd17SMarc Gonzalez			reg = <0x01c06000 0x18c>;
952b84dfd17SMarc Gonzalez			#address-cells = <1>;
953b84dfd17SMarc Gonzalez			#size-cells = <1>;
954a72848e8SKonrad Dybcio			status = "disabled";
955b84dfd17SMarc Gonzalez			ranges;
956b84dfd17SMarc Gonzalez
957b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
958b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
959b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_CLKREF_CLK>;
960b84dfd17SMarc Gonzalez			clock-names = "aux", "cfg_ahb", "ref";
961b84dfd17SMarc Gonzalez
962b84dfd17SMarc Gonzalez			resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
963b84dfd17SMarc Gonzalez			reset-names = "phy", "common";
964b84dfd17SMarc Gonzalez
965b84dfd17SMarc Gonzalez			vdda-phy-supply = <&vreg_l1a_0p875>;
966b84dfd17SMarc Gonzalez			vdda-pll-supply = <&vreg_l2a_1p2>;
967b84dfd17SMarc Gonzalez
9681351512fSShawn Guo			pciephy: phy@1c06800 {
969b84dfd17SMarc Gonzalez				reg = <0x01c06200 0x128>, <0x01c06400 0x1fc>, <0x01c06800 0x20c>;
970b84dfd17SMarc Gonzalez				#phy-cells = <0>;
971b84dfd17SMarc Gonzalez
972b84dfd17SMarc Gonzalez				clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
973b84dfd17SMarc Gonzalez				clock-names = "pipe0";
974b84dfd17SMarc Gonzalez				clock-output-names = "pcie_0_pipe_clk_src";
975b84dfd17SMarc Gonzalez				#clock-cells = <0>;
976b84dfd17SMarc Gonzalez			};
977b84dfd17SMarc Gonzalez		};
978b84dfd17SMarc Gonzalez
97932a5da21SJeffrey Hugo		ufshc: ufshc@1da4000 {
98032a5da21SJeffrey Hugo			compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
98132a5da21SJeffrey Hugo			reg = <0x01da4000 0x2500>;
98232a5da21SJeffrey Hugo			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
98332a5da21SJeffrey Hugo			phys = <&ufsphy_lanes>;
98432a5da21SJeffrey Hugo			phy-names = "ufsphy";
98532a5da21SJeffrey Hugo			lanes-per-direction = <2>;
98632a5da21SJeffrey Hugo			power-domains = <&gcc UFS_GDSC>;
987a72848e8SKonrad Dybcio			status = "disabled";
98832a5da21SJeffrey Hugo			#reset-cells = <1>;
98932a5da21SJeffrey Hugo
99032a5da21SJeffrey Hugo			clock-names =
99132a5da21SJeffrey Hugo				"core_clk",
99232a5da21SJeffrey Hugo				"bus_aggr_clk",
99332a5da21SJeffrey Hugo				"iface_clk",
99432a5da21SJeffrey Hugo				"core_clk_unipro",
99532a5da21SJeffrey Hugo				"ref_clk",
99632a5da21SJeffrey Hugo				"tx_lane0_sync_clk",
99732a5da21SJeffrey Hugo				"rx_lane0_sync_clk",
99832a5da21SJeffrey Hugo				"rx_lane1_sync_clk";
99932a5da21SJeffrey Hugo			clocks =
100032a5da21SJeffrey Hugo				<&gcc GCC_UFS_AXI_CLK>,
100132a5da21SJeffrey Hugo				<&gcc GCC_AGGRE1_UFS_AXI_CLK>,
100232a5da21SJeffrey Hugo				<&gcc GCC_UFS_AHB_CLK>,
100332a5da21SJeffrey Hugo				<&gcc GCC_UFS_UNIPRO_CORE_CLK>,
100432a5da21SJeffrey Hugo				<&rpmcc RPM_SMD_LN_BB_CLK1>,
100532a5da21SJeffrey Hugo				<&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
100632a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
100732a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
100832a5da21SJeffrey Hugo			freq-table-hz =
100932a5da21SJeffrey Hugo				<50000000 200000000>,
101032a5da21SJeffrey Hugo				<0 0>,
101132a5da21SJeffrey Hugo				<0 0>,
101232a5da21SJeffrey Hugo				<37500000 150000000>,
101332a5da21SJeffrey Hugo				<0 0>,
101432a5da21SJeffrey Hugo				<0 0>,
101532a5da21SJeffrey Hugo				<0 0>,
101632a5da21SJeffrey Hugo				<0 0>;
101732a5da21SJeffrey Hugo
101832a5da21SJeffrey Hugo			resets = <&gcc GCC_UFS_BCR>;
101932a5da21SJeffrey Hugo			reset-names = "rst";
1020c7833949SBjorn Andersson		};
1021c7833949SBjorn Andersson
102232a5da21SJeffrey Hugo		ufsphy: phy@1da7000 {
102332a5da21SJeffrey Hugo			compatible = "qcom,msm8998-qmp-ufs-phy";
102432a5da21SJeffrey Hugo			reg = <0x01da7000 0x18c>;
102532a5da21SJeffrey Hugo			#address-cells = <1>;
102632a5da21SJeffrey Hugo			#size-cells = <1>;
1027a72848e8SKonrad Dybcio			status = "disabled";
102832a5da21SJeffrey Hugo			ranges;
102931c1f0e3SBjorn Andersson
103032a5da21SJeffrey Hugo			clock-names =
103132a5da21SJeffrey Hugo				"ref",
103232a5da21SJeffrey Hugo				"ref_aux";
103332a5da21SJeffrey Hugo			clocks =
103432a5da21SJeffrey Hugo				<&gcc GCC_UFS_CLKREF_CLK>,
103532a5da21SJeffrey Hugo				<&gcc GCC_UFS_PHY_AUX_CLK>;
103632a5da21SJeffrey Hugo
103732a5da21SJeffrey Hugo			reset-names = "ufsphy";
103832a5da21SJeffrey Hugo			resets = <&ufshc 0>;
103932a5da21SJeffrey Hugo
10401351512fSShawn Guo			ufsphy_lanes: phy@1da7400 {
104132a5da21SJeffrey Hugo				reg = <0x01da7400 0x128>,
104232a5da21SJeffrey Hugo				      <0x01da7600 0x1fc>,
104332a5da21SJeffrey Hugo				      <0x01da7c00 0x1dc>,
104432a5da21SJeffrey Hugo				      <0x01da7800 0x128>,
104532a5da21SJeffrey Hugo				      <0x01da7a00 0x1fc>;
104632a5da21SJeffrey Hugo				#phy-cells = <0>;
104732a5da21SJeffrey Hugo			};
104832a5da21SJeffrey Hugo		};
104932a5da21SJeffrey Hugo
1050408c4eadSKrzysztof Kozlowski		tcsr_mutex: hwlock@1f40000 {
1051408c4eadSKrzysztof Kozlowski			compatible = "qcom,tcsr-mutex";
1052fc10cfa3SKrzysztof Kozlowski			reg = <0x01f40000 0x20000>;
1053408c4eadSKrzysztof Kozlowski			#hwlock-cells = <1>;
1054fc10cfa3SKrzysztof Kozlowski		};
1055fc10cfa3SKrzysztof Kozlowski
1056d0909bf4SJohan Hovold		tcsr_regs_1: syscon@1f60000 {
1057fc10cfa3SKrzysztof Kozlowski			compatible = "qcom,msm8998-tcsr", "syscon";
1058fc10cfa3SKrzysztof Kozlowski			reg = <0x01f60000 0x20000>;
105932a5da21SJeffrey Hugo		};
106032a5da21SJeffrey Hugo
106132a5da21SJeffrey Hugo		tlmm: pinctrl@3400000 {
106232a5da21SJeffrey Hugo			compatible = "qcom,msm8998-pinctrl";
106332a5da21SJeffrey Hugo			reg = <0x03400000 0xc00000>;
106432a5da21SJeffrey Hugo			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1065e3d5e948SKrzysztof Kozlowski			gpio-ranges = <&tlmm 0 0 150>;
106632a5da21SJeffrey Hugo			gpio-controller;
106712541f68SKonrad Dybcio			#gpio-cells = <2>;
106832a5da21SJeffrey Hugo			interrupt-controller;
106912541f68SKonrad Dybcio			#interrupt-cells = <2>;
107003e6cb3dSKonrad Dybcio
1071ed9ba9e9SKrzysztof Kozlowski			sdc2_on: sdc2-on-state {
1072ed9ba9e9SKrzysztof Kozlowski				clk-pins {
107303e6cb3dSKonrad Dybcio					pins = "sdc2_clk";
107403e6cb3dSKonrad Dybcio					drive-strength = <16>;
107503e6cb3dSKonrad Dybcio					bias-disable;
107603e6cb3dSKonrad Dybcio				};
107703e6cb3dSKonrad Dybcio
1078ed9ba9e9SKrzysztof Kozlowski				cmd-pins {
107903e6cb3dSKonrad Dybcio					pins = "sdc2_cmd";
108003e6cb3dSKonrad Dybcio					drive-strength = <10>;
108112541f68SKonrad Dybcio					bias-pull-up;
108212541f68SKonrad Dybcio				};
108312541f68SKonrad Dybcio
1084ed9ba9e9SKrzysztof Kozlowski				data-pins {
108512541f68SKonrad Dybcio					pins = "sdc2_data";
108612541f68SKonrad Dybcio					drive-strength = <10>;
108712541f68SKonrad Dybcio					bias-pull-up;
108803e6cb3dSKonrad Dybcio				};
108903e6cb3dSKonrad Dybcio			};
109003e6cb3dSKonrad Dybcio
1091ed9ba9e9SKrzysztof Kozlowski			sdc2_off: sdc2-off-state {
1092ed9ba9e9SKrzysztof Kozlowski				clk-pins {
109312541f68SKonrad Dybcio					pins = "sdc2_clk";
109412541f68SKonrad Dybcio					drive-strength = <2>;
109512541f68SKonrad Dybcio					bias-disable;
109612541f68SKonrad Dybcio				};
109712541f68SKonrad Dybcio
1098ed9ba9e9SKrzysztof Kozlowski				cmd-pins {
109903e6cb3dSKonrad Dybcio					pins = "sdc2_cmd";
110003e6cb3dSKonrad Dybcio					drive-strength = <2>;
110112541f68SKonrad Dybcio					bias-pull-up;
110203e6cb3dSKonrad Dybcio				};
110303e6cb3dSKonrad Dybcio
1104ed9ba9e9SKrzysztof Kozlowski				data-pins {
110503e6cb3dSKonrad Dybcio					pins = "sdc2_data";
110603e6cb3dSKonrad Dybcio					drive-strength = <2>;
110712541f68SKonrad Dybcio					bias-pull-up;
110803e6cb3dSKonrad Dybcio				};
110903e6cb3dSKonrad Dybcio			};
111003e6cb3dSKonrad Dybcio
1111ed9ba9e9SKrzysztof Kozlowski			sdc2_cd: sdc2-cd-state {
111203e6cb3dSKonrad Dybcio				pins = "gpio95";
111303e6cb3dSKonrad Dybcio				function = "gpio";
111403e6cb3dSKonrad Dybcio				bias-pull-up;
111503e6cb3dSKonrad Dybcio				drive-strength = <2>;
111603e6cb3dSKonrad Dybcio			};
111703e6cb3dSKonrad Dybcio
1118ed9ba9e9SKrzysztof Kozlowski			blsp1_uart3_on: blsp1-uart3-on-state {
1119ed9ba9e9SKrzysztof Kozlowski				tx-pins {
112003e6cb3dSKonrad Dybcio					pins = "gpio45";
112103e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
112203e6cb3dSKonrad Dybcio					drive-strength = <2>;
112303e6cb3dSKonrad Dybcio					bias-disable;
112403e6cb3dSKonrad Dybcio				};
112503e6cb3dSKonrad Dybcio
1126ed9ba9e9SKrzysztof Kozlowski				rx-pins {
112703e6cb3dSKonrad Dybcio					pins = "gpio46";
112803e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
112903e6cb3dSKonrad Dybcio					drive-strength = <2>;
113003e6cb3dSKonrad Dybcio					bias-disable;
113103e6cb3dSKonrad Dybcio				};
113203e6cb3dSKonrad Dybcio
1133ed9ba9e9SKrzysztof Kozlowski				cts-pins {
113403e6cb3dSKonrad Dybcio					pins = "gpio47";
113503e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
113603e6cb3dSKonrad Dybcio					drive-strength = <2>;
113703e6cb3dSKonrad Dybcio					bias-disable;
113803e6cb3dSKonrad Dybcio				};
113903e6cb3dSKonrad Dybcio
1140ed9ba9e9SKrzysztof Kozlowski				rfr-pins {
114103e6cb3dSKonrad Dybcio					pins = "gpio48";
114203e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
114303e6cb3dSKonrad Dybcio					drive-strength = <2>;
114403e6cb3dSKonrad Dybcio					bias-disable;
114503e6cb3dSKonrad Dybcio				};
114603e6cb3dSKonrad Dybcio			};
11470fee55fcSKonrad Dybcio
1148ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c1_default: blsp1-i2c1-default-state {
11490fee55fcSKonrad Dybcio				pins = "gpio2", "gpio3";
11500fee55fcSKonrad Dybcio				function = "blsp_i2c1";
11510fee55fcSKonrad Dybcio				drive-strength = <2>;
11520fee55fcSKonrad Dybcio				bias-disable;
11530fee55fcSKonrad Dybcio			};
11540fee55fcSKonrad Dybcio
1155ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c1_sleep: blsp1-i2c1-sleep-state-state {
11560fee55fcSKonrad Dybcio				pins = "gpio2", "gpio3";
11570fee55fcSKonrad Dybcio				function = "blsp_i2c1";
11580fee55fcSKonrad Dybcio				drive-strength = <2>;
11590fee55fcSKonrad Dybcio				bias-pull-up;
11600fee55fcSKonrad Dybcio			};
11610fee55fcSKonrad Dybcio
1162ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c2_default: blsp1-i2c2-default-state {
11630fee55fcSKonrad Dybcio				pins = "gpio32", "gpio33";
11640fee55fcSKonrad Dybcio				function = "blsp_i2c2";
11650fee55fcSKonrad Dybcio				drive-strength = <2>;
11660fee55fcSKonrad Dybcio				bias-disable;
11670fee55fcSKonrad Dybcio			};
11680fee55fcSKonrad Dybcio
1169ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c2_sleep: blsp1-i2c2-sleep-state-state {
11700fee55fcSKonrad Dybcio				pins = "gpio32", "gpio33";
11710fee55fcSKonrad Dybcio				function = "blsp_i2c2";
11720fee55fcSKonrad Dybcio				drive-strength = <2>;
11730fee55fcSKonrad Dybcio				bias-pull-up;
11740fee55fcSKonrad Dybcio			};
11750fee55fcSKonrad Dybcio
1176ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c3_default: blsp1-i2c3-default-state {
11770fee55fcSKonrad Dybcio				pins = "gpio47", "gpio48";
11780fee55fcSKonrad Dybcio				function = "blsp_i2c3";
11790fee55fcSKonrad Dybcio				drive-strength = <2>;
11800fee55fcSKonrad Dybcio				bias-disable;
11810fee55fcSKonrad Dybcio			};
11820fee55fcSKonrad Dybcio
1183ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
11840fee55fcSKonrad Dybcio				pins = "gpio47", "gpio48";
11850fee55fcSKonrad Dybcio				function = "blsp_i2c3";
11860fee55fcSKonrad Dybcio				drive-strength = <2>;
11870fee55fcSKonrad Dybcio				bias-pull-up;
11880fee55fcSKonrad Dybcio			};
11890fee55fcSKonrad Dybcio
1190ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c4_default: blsp1-i2c4-default-state {
11910fee55fcSKonrad Dybcio				pins = "gpio10", "gpio11";
11920fee55fcSKonrad Dybcio				function = "blsp_i2c4";
11930fee55fcSKonrad Dybcio				drive-strength = <2>;
11940fee55fcSKonrad Dybcio				bias-disable;
11950fee55fcSKonrad Dybcio			};
11960fee55fcSKonrad Dybcio
1197ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c4_sleep: blsp1-i2c4-sleep-state {
11980fee55fcSKonrad Dybcio				pins = "gpio10", "gpio11";
11990fee55fcSKonrad Dybcio				function = "blsp_i2c4";
12000fee55fcSKonrad Dybcio				drive-strength = <2>;
12010fee55fcSKonrad Dybcio				bias-pull-up;
12020fee55fcSKonrad Dybcio			};
12030fee55fcSKonrad Dybcio
1204ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c5_default: blsp1-i2c5-default-state {
12050fee55fcSKonrad Dybcio				pins = "gpio87", "gpio88";
12060fee55fcSKonrad Dybcio				function = "blsp_i2c5";
12070fee55fcSKonrad Dybcio				drive-strength = <2>;
12080fee55fcSKonrad Dybcio				bias-disable;
12090fee55fcSKonrad Dybcio			};
12100fee55fcSKonrad Dybcio
1211ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c5_sleep: blsp1-i2c5-sleep-state {
12120fee55fcSKonrad Dybcio				pins = "gpio87", "gpio88";
12130fee55fcSKonrad Dybcio				function = "blsp_i2c5";
12140fee55fcSKonrad Dybcio				drive-strength = <2>;
12150fee55fcSKonrad Dybcio				bias-pull-up;
12160fee55fcSKonrad Dybcio			};
12170fee55fcSKonrad Dybcio
1218ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c6_default: blsp1-i2c6-default-state {
12190fee55fcSKonrad Dybcio				pins = "gpio43", "gpio44";
12200fee55fcSKonrad Dybcio				function = "blsp_i2c6";
12210fee55fcSKonrad Dybcio				drive-strength = <2>;
12220fee55fcSKonrad Dybcio				bias-disable;
12230fee55fcSKonrad Dybcio			};
12240fee55fcSKonrad Dybcio
1225ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c6_sleep: blsp1-i2c6-sleep-state {
12260fee55fcSKonrad Dybcio				pins = "gpio43", "gpio44";
12270fee55fcSKonrad Dybcio				function = "blsp_i2c6";
12280fee55fcSKonrad Dybcio				drive-strength = <2>;
12290fee55fcSKonrad Dybcio				bias-pull-up;
12300fee55fcSKonrad Dybcio			};
12310fee55fcSKonrad Dybcio			/* 6 interfaces per QUP, BLSP2 indexes are numbered (n)+6 */
1232ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c1_default: blsp2-i2c1-default-state {
12330fee55fcSKonrad Dybcio				pins = "gpio55", "gpio56";
12340fee55fcSKonrad Dybcio				function = "blsp_i2c7";
12350fee55fcSKonrad Dybcio				drive-strength = <2>;
12360fee55fcSKonrad Dybcio				bias-disable;
12370fee55fcSKonrad Dybcio			};
12380fee55fcSKonrad Dybcio
1239ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c1_sleep: blsp2-i2c1-sleep-state {
12400fee55fcSKonrad Dybcio				pins = "gpio55", "gpio56";
12410fee55fcSKonrad Dybcio				function = "blsp_i2c7";
12420fee55fcSKonrad Dybcio				drive-strength = <2>;
12430fee55fcSKonrad Dybcio				bias-pull-up;
12440fee55fcSKonrad Dybcio			};
12450fee55fcSKonrad Dybcio
1246ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c2_default: blsp2-i2c2-default-state {
12470fee55fcSKonrad Dybcio				pins = "gpio6", "gpio7";
12480fee55fcSKonrad Dybcio				function = "blsp_i2c8";
12490fee55fcSKonrad Dybcio				drive-strength = <2>;
12500fee55fcSKonrad Dybcio				bias-disable;
12510fee55fcSKonrad Dybcio			};
12520fee55fcSKonrad Dybcio
1253ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c2_sleep: blsp2-i2c2-sleep-state {
12540fee55fcSKonrad Dybcio				pins = "gpio6", "gpio7";
12550fee55fcSKonrad Dybcio				function = "blsp_i2c8";
12560fee55fcSKonrad Dybcio				drive-strength = <2>;
12570fee55fcSKonrad Dybcio				bias-pull-up;
12580fee55fcSKonrad Dybcio			};
12590fee55fcSKonrad Dybcio
1260ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c3_default: blsp2-i2c3-default-state {
12610fee55fcSKonrad Dybcio				pins = "gpio51", "gpio52";
12620fee55fcSKonrad Dybcio				function = "blsp_i2c9";
12630fee55fcSKonrad Dybcio				drive-strength = <2>;
12640fee55fcSKonrad Dybcio				bias-disable;
12650fee55fcSKonrad Dybcio			};
12660fee55fcSKonrad Dybcio
1267ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c3_sleep: blsp2-i2c3-sleep-state {
12680fee55fcSKonrad Dybcio				pins = "gpio51", "gpio52";
12690fee55fcSKonrad Dybcio				function = "blsp_i2c9";
12700fee55fcSKonrad Dybcio				drive-strength = <2>;
12710fee55fcSKonrad Dybcio				bias-pull-up;
12720fee55fcSKonrad Dybcio			};
12730fee55fcSKonrad Dybcio
1274ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c4_default: blsp2-i2c4-default-state {
12750fee55fcSKonrad Dybcio				pins = "gpio67", "gpio68";
12760fee55fcSKonrad Dybcio				function = "blsp_i2c10";
12770fee55fcSKonrad Dybcio				drive-strength = <2>;
12780fee55fcSKonrad Dybcio				bias-disable;
12790fee55fcSKonrad Dybcio			};
12800fee55fcSKonrad Dybcio
1281ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c4_sleep: blsp2-i2c4-sleep-state {
12820fee55fcSKonrad Dybcio				pins = "gpio67", "gpio68";
12830fee55fcSKonrad Dybcio				function = "blsp_i2c10";
12840fee55fcSKonrad Dybcio				drive-strength = <2>;
12850fee55fcSKonrad Dybcio				bias-pull-up;
12860fee55fcSKonrad Dybcio			};
12870fee55fcSKonrad Dybcio
1288ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c5_default: blsp2-i2c5-default-state {
12890fee55fcSKonrad Dybcio				pins = "gpio60", "gpio61";
12900fee55fcSKonrad Dybcio				function = "blsp_i2c11";
12910fee55fcSKonrad Dybcio				drive-strength = <2>;
12920fee55fcSKonrad Dybcio				bias-disable;
12930fee55fcSKonrad Dybcio			};
12940fee55fcSKonrad Dybcio
1295ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c5_sleep: blsp2-i2c5-sleep-state {
12960fee55fcSKonrad Dybcio				pins = "gpio60", "gpio61";
12970fee55fcSKonrad Dybcio				function = "blsp_i2c11";
12980fee55fcSKonrad Dybcio				drive-strength = <2>;
12990fee55fcSKonrad Dybcio				bias-pull-up;
13000fee55fcSKonrad Dybcio			};
13010fee55fcSKonrad Dybcio
1302ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c6_default: blsp2-i2c6-default-state {
13030fee55fcSKonrad Dybcio				pins = "gpio83", "gpio84";
13040fee55fcSKonrad Dybcio				function = "blsp_i2c12";
13050fee55fcSKonrad Dybcio				drive-strength = <2>;
13060fee55fcSKonrad Dybcio				bias-disable;
13070fee55fcSKonrad Dybcio			};
13080fee55fcSKonrad Dybcio
1309ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c6_sleep: blsp2-i2c6-sleep-state {
13100fee55fcSKonrad Dybcio				pins = "gpio83", "gpio84";
13110fee55fcSKonrad Dybcio				function = "blsp_i2c12";
13120fee55fcSKonrad Dybcio				drive-strength = <2>;
13130fee55fcSKonrad Dybcio				bias-pull-up;
13140fee55fcSKonrad Dybcio			};
131532a5da21SJeffrey Hugo		};
131632a5da21SJeffrey Hugo
1317a9ee66deSSibi Sankar		remoteproc_mss: remoteproc@4080000 {
1318a9ee66deSSibi Sankar			compatible = "qcom,msm8998-mss-pil";
1319a9ee66deSSibi Sankar			reg = <0x04080000 0x100>, <0x04180000 0x20>;
1320a9ee66deSSibi Sankar			reg-names = "qdsp6", "rmb";
1321a9ee66deSSibi Sankar
1322a9ee66deSSibi Sankar			interrupts-extended =
1323a9ee66deSSibi Sankar				<&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
1324a9ee66deSSibi Sankar				<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1325a9ee66deSSibi Sankar				<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1326a9ee66deSSibi Sankar				<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1327a9ee66deSSibi Sankar				<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
1328a9ee66deSSibi Sankar				<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
1329a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
1330a9ee66deSSibi Sankar					  "handover", "stop-ack",
1331a9ee66deSSibi Sankar					  "shutdown-ack";
1332a9ee66deSSibi Sankar
1333a9ee66deSSibi Sankar			clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1334a9ee66deSSibi Sankar				 <&gcc GCC_BIMC_MSS_Q6_AXI_CLK>,
1335a9ee66deSSibi Sankar				 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1336a9ee66deSSibi Sankar				 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1337a9ee66deSSibi Sankar				 <&gcc GCC_MSS_SNOC_AXI_CLK>,
1338a9ee66deSSibi Sankar				 <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>,
1339a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_QDSS_CLK>,
1340a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
1341a9ee66deSSibi Sankar			clock-names = "iface", "bus", "mem", "gpll0_mss",
1342a9ee66deSSibi Sankar				      "snoc_axi", "mnoc_axi", "qdss", "xo";
1343a9ee66deSSibi Sankar
1344a9ee66deSSibi Sankar			qcom,smem-states = <&modem_smp2p_out 0>;
1345a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
1346a9ee66deSSibi Sankar
1347a9ee66deSSibi Sankar			resets = <&gcc GCC_MSS_RESTART>;
1348a9ee66deSSibi Sankar			reset-names = "mss_restart";
1349a9ee66deSSibi Sankar
1350fc10cfa3SKrzysztof Kozlowski			qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
1351a9ee66deSSibi Sankar
1352a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_VDDCX>,
1353a9ee66deSSibi Sankar					<&rpmpd MSM8998_VDDMX>;
1354a9ee66deSSibi Sankar			power-domain-names = "cx", "mx";
1355a9ee66deSSibi Sankar
135603041cd2SJami Kettunen			status = "disabled";
135703041cd2SJami Kettunen
1358a9ee66deSSibi Sankar			mba {
1359a9ee66deSSibi Sankar				memory-region = <&mba_mem>;
1360a9ee66deSSibi Sankar			};
1361a9ee66deSSibi Sankar
1362a9ee66deSSibi Sankar			mpss {
1363a9ee66deSSibi Sankar				memory-region = <&mpss_mem>;
1364a9ee66deSSibi Sankar			};
1365a9ee66deSSibi Sankar
1366*264f6a8dSSibi Sankar			metadata {
1367*264f6a8dSSibi Sankar				memory-region = <&mdata_mem>;
1368*264f6a8dSSibi Sankar			};
1369*264f6a8dSSibi Sankar
1370a9ee66deSSibi Sankar			glink-edge {
1371a9ee66deSSibi Sankar				interrupts = <GIC_SPI 452 IRQ_TYPE_EDGE_RISING>;
1372a9ee66deSSibi Sankar				label = "modem";
1373a9ee66deSSibi Sankar				qcom,remote-pid = <1>;
1374a9ee66deSSibi Sankar				mboxes = <&apcs_glb 15>;
1375a9ee66deSSibi Sankar			};
1376a9ee66deSSibi Sankar		};
1377a9ee66deSSibi Sankar
137887cd46d6SAngeloGioacchino Del Regno		adreno_gpu: gpu@5000000 {
137987cd46d6SAngeloGioacchino Del Regno			compatible = "qcom,adreno-540.1", "qcom,adreno";
138087cd46d6SAngeloGioacchino Del Regno			reg = <0x05000000 0x40000>;
138187cd46d6SAngeloGioacchino Del Regno			reg-names = "kgsl_3d0_reg_memory";
138287cd46d6SAngeloGioacchino Del Regno
138387cd46d6SAngeloGioacchino Del Regno			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
138487cd46d6SAngeloGioacchino Del Regno				<&gpucc RBBMTIMER_CLK>,
138587cd46d6SAngeloGioacchino Del Regno				<&gcc GCC_BIMC_GFX_CLK>,
138687cd46d6SAngeloGioacchino Del Regno				<&gcc GCC_GPU_BIMC_GFX_CLK>,
138787cd46d6SAngeloGioacchino Del Regno				<&gpucc RBCPR_CLK>,
138887cd46d6SAngeloGioacchino Del Regno				<&gpucc GFX3D_CLK>;
138987cd46d6SAngeloGioacchino Del Regno			clock-names = "iface",
139087cd46d6SAngeloGioacchino Del Regno				"rbbmtimer",
139187cd46d6SAngeloGioacchino Del Regno				"mem",
139287cd46d6SAngeloGioacchino Del Regno				"mem_iface",
139387cd46d6SAngeloGioacchino Del Regno				"rbcpr",
139487cd46d6SAngeloGioacchino Del Regno				"core";
139587cd46d6SAngeloGioacchino Del Regno
139687cd46d6SAngeloGioacchino Del Regno			interrupts = <0 300 IRQ_TYPE_LEVEL_HIGH>;
139787cd46d6SAngeloGioacchino Del Regno			iommus = <&adreno_smmu 0>;
139887cd46d6SAngeloGioacchino Del Regno			operating-points-v2 = <&gpu_opp_table>;
139987cd46d6SAngeloGioacchino Del Regno			power-domains = <&rpmpd MSM8998_VDDMX>;
140087cd46d6SAngeloGioacchino Del Regno			status = "disabled";
140187cd46d6SAngeloGioacchino Del Regno
140287cd46d6SAngeloGioacchino Del Regno			gpu_opp_table: opp-table {
140387cd46d6SAngeloGioacchino Del Regno				compatible = "operating-points-v2";
140487cd46d6SAngeloGioacchino Del Regno				opp-710000097 {
140587cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <710000097>;
140687cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_TURBO>;
1407d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
140887cd46d6SAngeloGioacchino Del Regno				};
140987cd46d6SAngeloGioacchino Del Regno
141087cd46d6SAngeloGioacchino Del Regno				opp-670000048 {
141187cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <670000048>;
141287cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
1413d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
141487cd46d6SAngeloGioacchino Del Regno				};
141587cd46d6SAngeloGioacchino Del Regno
141687cd46d6SAngeloGioacchino Del Regno				opp-596000097 {
141787cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <596000097>;
141887cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_NOM>;
1419d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
142087cd46d6SAngeloGioacchino Del Regno				};
142187cd46d6SAngeloGioacchino Del Regno
142287cd46d6SAngeloGioacchino Del Regno				opp-515000097 {
142387cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <515000097>;
142487cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
1425d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
142687cd46d6SAngeloGioacchino Del Regno				};
142787cd46d6SAngeloGioacchino Del Regno
142887cd46d6SAngeloGioacchino Del Regno				opp-414000000 {
142987cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <414000000>;
143087cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_SVS>;
1431d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
143287cd46d6SAngeloGioacchino Del Regno				};
143387cd46d6SAngeloGioacchino Del Regno
143487cd46d6SAngeloGioacchino Del Regno				opp-342000000 {
143587cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <342000000>;
143687cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
1437d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
143887cd46d6SAngeloGioacchino Del Regno				};
143987cd46d6SAngeloGioacchino Del Regno
144087cd46d6SAngeloGioacchino Del Regno				opp-257000000 {
144187cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <257000000>;
144287cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
1443d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
144487cd46d6SAngeloGioacchino Del Regno				};
144587cd46d6SAngeloGioacchino Del Regno			};
144687cd46d6SAngeloGioacchino Del Regno		};
144787cd46d6SAngeloGioacchino Del Regno
144887cd46d6SAngeloGioacchino Del Regno		adreno_smmu: iommu@5040000 {
144987cd46d6SAngeloGioacchino Del Regno			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
145087cd46d6SAngeloGioacchino Del Regno			reg = <0x05040000 0x10000>;
145187cd46d6SAngeloGioacchino Del Regno			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
145287cd46d6SAngeloGioacchino Del Regno				 <&gcc GCC_BIMC_GFX_CLK>,
145387cd46d6SAngeloGioacchino Del Regno				 <&gcc GCC_GPU_BIMC_GFX_CLK>;
145487cd46d6SAngeloGioacchino Del Regno			clock-names = "iface", "mem", "mem_iface";
145587cd46d6SAngeloGioacchino Del Regno
145687cd46d6SAngeloGioacchino Del Regno			#global-interrupts = <0>;
145787cd46d6SAngeloGioacchino Del Regno			#iommu-cells = <1>;
145887cd46d6SAngeloGioacchino Del Regno			interrupts =
145987cd46d6SAngeloGioacchino Del Regno				<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
146087cd46d6SAngeloGioacchino Del Regno				<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
146187cd46d6SAngeloGioacchino Del Regno				<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
146287cd46d6SAngeloGioacchino Del Regno			/*
146387cd46d6SAngeloGioacchino Del Regno			 * GPU-GX GDSC's parent is GPU-CX. We need to bring up the
146487cd46d6SAngeloGioacchino Del Regno			 * GPU-CX for SMMU but we need both of them up for Adreno.
146587cd46d6SAngeloGioacchino Del Regno			 * Contemporarily, we also need to manage the VDDMX rpmpd
146687cd46d6SAngeloGioacchino Del Regno			 * domain in the Adreno driver.
146787cd46d6SAngeloGioacchino Del Regno			 * Enable GPU CX/GX GDSCs here so that we can manage the
146887cd46d6SAngeloGioacchino Del Regno			 * SoC VDDMX RPM Power Domain in the Adreno driver.
146987cd46d6SAngeloGioacchino Del Regno			 */
147087cd46d6SAngeloGioacchino Del Regno			power-domains = <&gpucc GPU_GX_GDSC>;
147187cd46d6SAngeloGioacchino Del Regno			status = "disabled";
147287cd46d6SAngeloGioacchino Del Regno		};
147387cd46d6SAngeloGioacchino Del Regno
1474876a7573SJeffrey Hugo		gpucc: clock-controller@5065000 {
1475876a7573SJeffrey Hugo			compatible = "qcom,msm8998-gpucc";
1476876a7573SJeffrey Hugo			#clock-cells = <1>;
1477876a7573SJeffrey Hugo			#reset-cells = <1>;
1478876a7573SJeffrey Hugo			#power-domain-cells = <1>;
1479876a7573SJeffrey Hugo			reg = <0x05065000 0x9000>;
1480876a7573SJeffrey Hugo
1481876a7573SJeffrey Hugo			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1482876a7573SJeffrey Hugo				 <&gcc GPLL0_OUT_MAIN>;
1483876a7573SJeffrey Hugo			clock-names = "xo",
1484876a7573SJeffrey Hugo				      "gpll0";
1485876a7573SJeffrey Hugo		};
1486876a7573SJeffrey Hugo
1487a9ee66deSSibi Sankar		remoteproc_slpi: remoteproc@5800000 {
1488a9ee66deSSibi Sankar			compatible = "qcom,msm8998-slpi-pas";
1489a9ee66deSSibi Sankar			reg = <0x05800000 0x4040>;
1490a9ee66deSSibi Sankar
1491a9ee66deSSibi Sankar			interrupts-extended = <&intc GIC_SPI 390 IRQ_TYPE_EDGE_RISING>,
1492a9ee66deSSibi Sankar					      <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1493a9ee66deSSibi Sankar					      <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1494a9ee66deSSibi Sankar					      <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1495a9ee66deSSibi Sankar					      <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1496a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
1497a9ee66deSSibi Sankar					  "handover", "stop-ack";
1498a9ee66deSSibi Sankar
1499a9ee66deSSibi Sankar			px-supply = <&vreg_lvs2a_1p8>;
1500a9ee66deSSibi Sankar
1501a9ee66deSSibi Sankar			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1502a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_AGGR2_NOC_CLK>;
1503a9ee66deSSibi Sankar			clock-names = "xo", "aggre2";
1504a9ee66deSSibi Sankar
1505a9ee66deSSibi Sankar			memory-region = <&slpi_mem>;
1506a9ee66deSSibi Sankar
1507a9ee66deSSibi Sankar			qcom,smem-states = <&slpi_smp2p_out 0>;
1508a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
1509a9ee66deSSibi Sankar
1510a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_SSCCX>;
1511a9ee66deSSibi Sankar			power-domain-names = "ssc_cx";
1512a9ee66deSSibi Sankar
1513a9ee66deSSibi Sankar			status = "disabled";
1514a9ee66deSSibi Sankar
1515a9ee66deSSibi Sankar			glink-edge {
1516a9ee66deSSibi Sankar				interrupts = <GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
1517a9ee66deSSibi Sankar				label = "dsps";
1518a9ee66deSSibi Sankar				qcom,remote-pid = <3>;
1519a9ee66deSSibi Sankar				mboxes = <&apcs_glb 27>;
1520a9ee66deSSibi Sankar			};
1521a9ee66deSSibi Sankar		};
1522a9ee66deSSibi Sankar
1523a636f93fSSai Prakash Ranjan		stm: stm@6002000 {
1524783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-stm", "arm,primecell";
1525783abfa2SSai Prakash Ranjan			reg = <0x06002000 0x1000>,
1526783abfa2SSai Prakash Ranjan			      <0x16280000 0x180000>;
1527783abfa2SSai Prakash Ranjan			reg-names = "stm-base", "stm-data-base";
1528a636f93fSSai Prakash Ranjan			status = "disabled";
1529783abfa2SSai Prakash Ranjan
1530783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1531783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1532783abfa2SSai Prakash Ranjan
1533783abfa2SSai Prakash Ranjan			out-ports {
1534783abfa2SSai Prakash Ranjan				port {
1535783abfa2SSai Prakash Ranjan					stm_out: endpoint {
1536783abfa2SSai Prakash Ranjan						remote-endpoint = <&funnel0_in7>;
1537783abfa2SSai Prakash Ranjan					};
1538783abfa2SSai Prakash Ranjan				};
1539783abfa2SSai Prakash Ranjan			};
1540783abfa2SSai Prakash Ranjan		};
1541783abfa2SSai Prakash Ranjan
1542a636f93fSSai Prakash Ranjan		funnel1: funnel@6041000 {
1543783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1544783abfa2SSai Prakash Ranjan			reg = <0x06041000 0x1000>;
1545a636f93fSSai Prakash Ranjan			status = "disabled";
1546783abfa2SSai Prakash Ranjan
1547783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1548783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1549783abfa2SSai Prakash Ranjan
1550783abfa2SSai Prakash Ranjan			out-ports {
1551783abfa2SSai Prakash Ranjan				port {
1552783abfa2SSai Prakash Ranjan					funnel0_out: endpoint {
1553783abfa2SSai Prakash Ranjan						remote-endpoint =
1554783abfa2SSai Prakash Ranjan						  <&merge_funnel_in0>;
1555783abfa2SSai Prakash Ranjan					};
1556783abfa2SSai Prakash Ranjan				};
1557783abfa2SSai Prakash Ranjan			};
1558783abfa2SSai Prakash Ranjan
1559783abfa2SSai Prakash Ranjan			in-ports {
1560783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1561783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1562783abfa2SSai Prakash Ranjan
1563783abfa2SSai Prakash Ranjan				port@7 {
1564783abfa2SSai Prakash Ranjan					reg = <7>;
1565783abfa2SSai Prakash Ranjan					funnel0_in7: endpoint {
1566783abfa2SSai Prakash Ranjan						remote-endpoint = <&stm_out>;
1567783abfa2SSai Prakash Ranjan					};
1568783abfa2SSai Prakash Ranjan				};
1569783abfa2SSai Prakash Ranjan			};
1570783abfa2SSai Prakash Ranjan		};
1571783abfa2SSai Prakash Ranjan
1572a636f93fSSai Prakash Ranjan		funnel2: funnel@6042000 {
1573783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1574783abfa2SSai Prakash Ranjan			reg = <0x06042000 0x1000>;
1575a636f93fSSai Prakash Ranjan			status = "disabled";
1576783abfa2SSai Prakash Ranjan
1577783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1578783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1579783abfa2SSai Prakash Ranjan
1580783abfa2SSai Prakash Ranjan			out-ports {
1581783abfa2SSai Prakash Ranjan				port {
1582783abfa2SSai Prakash Ranjan					funnel1_out: endpoint {
1583783abfa2SSai Prakash Ranjan						remote-endpoint =
1584783abfa2SSai Prakash Ranjan						  <&merge_funnel_in1>;
1585783abfa2SSai Prakash Ranjan					};
1586783abfa2SSai Prakash Ranjan				};
1587783abfa2SSai Prakash Ranjan			};
1588783abfa2SSai Prakash Ranjan
1589783abfa2SSai Prakash Ranjan			in-ports {
1590783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1591783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1592783abfa2SSai Prakash Ranjan
1593783abfa2SSai Prakash Ranjan				port@6 {
1594783abfa2SSai Prakash Ranjan					reg = <6>;
1595783abfa2SSai Prakash Ranjan					funnel1_in6: endpoint {
1596783abfa2SSai Prakash Ranjan						remote-endpoint =
1597783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_out>;
1598783abfa2SSai Prakash Ranjan					};
1599783abfa2SSai Prakash Ranjan				};
1600783abfa2SSai Prakash Ranjan			};
1601783abfa2SSai Prakash Ranjan		};
1602783abfa2SSai Prakash Ranjan
1603a636f93fSSai Prakash Ranjan		funnel3: funnel@6045000 {
1604783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1605783abfa2SSai Prakash Ranjan			reg = <0x06045000 0x1000>;
1606a636f93fSSai Prakash Ranjan			status = "disabled";
1607783abfa2SSai Prakash Ranjan
1608783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1609783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1610783abfa2SSai Prakash Ranjan
1611783abfa2SSai Prakash Ranjan			out-ports {
1612783abfa2SSai Prakash Ranjan				port {
1613783abfa2SSai Prakash Ranjan					merge_funnel_out: endpoint {
1614783abfa2SSai Prakash Ranjan						remote-endpoint =
1615783abfa2SSai Prakash Ranjan						  <&etf_in>;
1616783abfa2SSai Prakash Ranjan					};
1617783abfa2SSai Prakash Ranjan				};
1618783abfa2SSai Prakash Ranjan			};
1619783abfa2SSai Prakash Ranjan
1620783abfa2SSai Prakash Ranjan			in-ports {
1621783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1622783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1623783abfa2SSai Prakash Ranjan
1624783abfa2SSai Prakash Ranjan				port@0 {
1625783abfa2SSai Prakash Ranjan					reg = <0>;
1626783abfa2SSai Prakash Ranjan					merge_funnel_in0: endpoint {
1627783abfa2SSai Prakash Ranjan						remote-endpoint =
1628783abfa2SSai Prakash Ranjan						  <&funnel0_out>;
1629783abfa2SSai Prakash Ranjan					};
1630783abfa2SSai Prakash Ranjan				};
1631783abfa2SSai Prakash Ranjan
1632783abfa2SSai Prakash Ranjan				port@1 {
1633783abfa2SSai Prakash Ranjan					reg = <1>;
1634783abfa2SSai Prakash Ranjan					merge_funnel_in1: endpoint {
1635783abfa2SSai Prakash Ranjan						remote-endpoint =
1636783abfa2SSai Prakash Ranjan						  <&funnel1_out>;
1637783abfa2SSai Prakash Ranjan					};
1638783abfa2SSai Prakash Ranjan				};
1639783abfa2SSai Prakash Ranjan			};
1640783abfa2SSai Prakash Ranjan		};
1641783abfa2SSai Prakash Ranjan
1642a636f93fSSai Prakash Ranjan		replicator1: replicator@6046000 {
1643783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1644783abfa2SSai Prakash Ranjan			reg = <0x06046000 0x1000>;
1645a636f93fSSai Prakash Ranjan			status = "disabled";
1646783abfa2SSai Prakash Ranjan
1647783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1648783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1649783abfa2SSai Prakash Ranjan
1650783abfa2SSai Prakash Ranjan			out-ports {
1651783abfa2SSai Prakash Ranjan				port {
1652783abfa2SSai Prakash Ranjan					replicator_out: endpoint {
1653783abfa2SSai Prakash Ranjan						remote-endpoint = <&etr_in>;
1654783abfa2SSai Prakash Ranjan					};
1655783abfa2SSai Prakash Ranjan				};
1656783abfa2SSai Prakash Ranjan			};
1657783abfa2SSai Prakash Ranjan
1658783abfa2SSai Prakash Ranjan			in-ports {
1659783abfa2SSai Prakash Ranjan				port {
1660783abfa2SSai Prakash Ranjan					replicator_in: endpoint {
1661783abfa2SSai Prakash Ranjan						remote-endpoint = <&etf_out>;
1662783abfa2SSai Prakash Ranjan					};
1663783abfa2SSai Prakash Ranjan				};
1664783abfa2SSai Prakash Ranjan			};
1665783abfa2SSai Prakash Ranjan		};
1666783abfa2SSai Prakash Ranjan
1667a636f93fSSai Prakash Ranjan		etf: etf@6047000 {
1668783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1669783abfa2SSai Prakash Ranjan			reg = <0x06047000 0x1000>;
1670a636f93fSSai Prakash Ranjan			status = "disabled";
1671783abfa2SSai Prakash Ranjan
1672783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1673783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1674783abfa2SSai Prakash Ranjan
1675783abfa2SSai Prakash Ranjan			out-ports {
1676783abfa2SSai Prakash Ranjan				port {
1677783abfa2SSai Prakash Ranjan					etf_out: endpoint {
1678783abfa2SSai Prakash Ranjan						remote-endpoint =
1679783abfa2SSai Prakash Ranjan						  <&replicator_in>;
1680783abfa2SSai Prakash Ranjan					};
1681783abfa2SSai Prakash Ranjan				};
1682783abfa2SSai Prakash Ranjan			};
1683783abfa2SSai Prakash Ranjan
1684783abfa2SSai Prakash Ranjan			in-ports {
1685783abfa2SSai Prakash Ranjan				port {
1686783abfa2SSai Prakash Ranjan					etf_in: endpoint {
1687783abfa2SSai Prakash Ranjan						remote-endpoint =
1688783abfa2SSai Prakash Ranjan						  <&merge_funnel_out>;
1689783abfa2SSai Prakash Ranjan					};
1690783abfa2SSai Prakash Ranjan				};
1691783abfa2SSai Prakash Ranjan			};
1692783abfa2SSai Prakash Ranjan		};
1693783abfa2SSai Prakash Ranjan
1694a636f93fSSai Prakash Ranjan		etr: etr@6048000 {
1695783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1696783abfa2SSai Prakash Ranjan			reg = <0x06048000 0x1000>;
1697a636f93fSSai Prakash Ranjan			status = "disabled";
1698783abfa2SSai Prakash Ranjan
1699783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1700783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1701783abfa2SSai Prakash Ranjan			arm,scatter-gather;
1702783abfa2SSai Prakash Ranjan
1703783abfa2SSai Prakash Ranjan			in-ports {
1704783abfa2SSai Prakash Ranjan				port {
1705783abfa2SSai Prakash Ranjan					etr_in: endpoint {
1706783abfa2SSai Prakash Ranjan						remote-endpoint =
1707783abfa2SSai Prakash Ranjan						  <&replicator_out>;
1708783abfa2SSai Prakash Ranjan					};
1709783abfa2SSai Prakash Ranjan				};
1710783abfa2SSai Prakash Ranjan			};
1711783abfa2SSai Prakash Ranjan		};
1712783abfa2SSai Prakash Ranjan
1713a636f93fSSai Prakash Ranjan		etm1: etm@7840000 {
1714783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1715783abfa2SSai Prakash Ranjan			reg = <0x07840000 0x1000>;
1716a636f93fSSai Prakash Ranjan			status = "disabled";
1717783abfa2SSai Prakash Ranjan
1718783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1719783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1720783abfa2SSai Prakash Ranjan
1721783abfa2SSai Prakash Ranjan			cpu = <&CPU0>;
1722783abfa2SSai Prakash Ranjan
1723783abfa2SSai Prakash Ranjan			out-ports {
1724783abfa2SSai Prakash Ranjan				port {
1725783abfa2SSai Prakash Ranjan					etm0_out: endpoint {
1726783abfa2SSai Prakash Ranjan						remote-endpoint =
1727783abfa2SSai Prakash Ranjan						  <&apss_funnel_in0>;
1728783abfa2SSai Prakash Ranjan					};
1729783abfa2SSai Prakash Ranjan				};
1730783abfa2SSai Prakash Ranjan			};
1731783abfa2SSai Prakash Ranjan		};
1732783abfa2SSai Prakash Ranjan
1733a636f93fSSai Prakash Ranjan		etm2: etm@7940000 {
1734783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1735783abfa2SSai Prakash Ranjan			reg = <0x07940000 0x1000>;
1736a636f93fSSai Prakash Ranjan			status = "disabled";
1737783abfa2SSai Prakash Ranjan
1738783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1739783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1740783abfa2SSai Prakash Ranjan
1741783abfa2SSai Prakash Ranjan			cpu = <&CPU1>;
1742783abfa2SSai Prakash Ranjan
1743783abfa2SSai Prakash Ranjan			out-ports {
1744783abfa2SSai Prakash Ranjan				port {
1745783abfa2SSai Prakash Ranjan					etm1_out: endpoint {
1746783abfa2SSai Prakash Ranjan						remote-endpoint =
1747783abfa2SSai Prakash Ranjan						  <&apss_funnel_in1>;
1748783abfa2SSai Prakash Ranjan					};
1749783abfa2SSai Prakash Ranjan				};
1750783abfa2SSai Prakash Ranjan			};
1751783abfa2SSai Prakash Ranjan		};
1752783abfa2SSai Prakash Ranjan
1753a636f93fSSai Prakash Ranjan		etm3: etm@7a40000 {
1754783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1755783abfa2SSai Prakash Ranjan			reg = <0x07a40000 0x1000>;
1756a636f93fSSai Prakash Ranjan			status = "disabled";
1757783abfa2SSai Prakash Ranjan
1758783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1759783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1760783abfa2SSai Prakash Ranjan
1761783abfa2SSai Prakash Ranjan			cpu = <&CPU2>;
1762783abfa2SSai Prakash Ranjan
1763783abfa2SSai Prakash Ranjan			out-ports {
1764783abfa2SSai Prakash Ranjan				port {
1765783abfa2SSai Prakash Ranjan					etm2_out: endpoint {
1766783abfa2SSai Prakash Ranjan						remote-endpoint =
1767783abfa2SSai Prakash Ranjan						  <&apss_funnel_in2>;
1768783abfa2SSai Prakash Ranjan					};
1769783abfa2SSai Prakash Ranjan				};
1770783abfa2SSai Prakash Ranjan			};
1771783abfa2SSai Prakash Ranjan		};
1772783abfa2SSai Prakash Ranjan
1773a636f93fSSai Prakash Ranjan		etm4: etm@7b40000 {
1774783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1775783abfa2SSai Prakash Ranjan			reg = <0x07b40000 0x1000>;
1776a636f93fSSai Prakash Ranjan			status = "disabled";
1777783abfa2SSai Prakash Ranjan
1778783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1779783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1780783abfa2SSai Prakash Ranjan
1781783abfa2SSai Prakash Ranjan			cpu = <&CPU3>;
1782783abfa2SSai Prakash Ranjan
1783783abfa2SSai Prakash Ranjan			out-ports {
1784783abfa2SSai Prakash Ranjan				port {
1785783abfa2SSai Prakash Ranjan					etm3_out: endpoint {
1786783abfa2SSai Prakash Ranjan						remote-endpoint =
1787783abfa2SSai Prakash Ranjan						  <&apss_funnel_in3>;
1788783abfa2SSai Prakash Ranjan					};
1789783abfa2SSai Prakash Ranjan				};
1790783abfa2SSai Prakash Ranjan			};
1791783abfa2SSai Prakash Ranjan		};
1792783abfa2SSai Prakash Ranjan
1793a636f93fSSai Prakash Ranjan		funnel4: funnel@7b60000 { /* APSS Funnel */
1794783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1795783abfa2SSai Prakash Ranjan			reg = <0x07b60000 0x1000>;
1796a636f93fSSai Prakash Ranjan			status = "disabled";
1797783abfa2SSai Prakash Ranjan
1798783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1799783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1800783abfa2SSai Prakash Ranjan
1801783abfa2SSai Prakash Ranjan			out-ports {
1802783abfa2SSai Prakash Ranjan				port {
1803783abfa2SSai Prakash Ranjan					apss_funnel_out: endpoint {
1804783abfa2SSai Prakash Ranjan						remote-endpoint =
1805783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_in>;
1806783abfa2SSai Prakash Ranjan					};
1807783abfa2SSai Prakash Ranjan				};
1808783abfa2SSai Prakash Ranjan			};
1809783abfa2SSai Prakash Ranjan
1810783abfa2SSai Prakash Ranjan			in-ports {
1811783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1812783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1813783abfa2SSai Prakash Ranjan
1814783abfa2SSai Prakash Ranjan				port@0 {
1815783abfa2SSai Prakash Ranjan					reg = <0>;
1816783abfa2SSai Prakash Ranjan					apss_funnel_in0: endpoint {
1817783abfa2SSai Prakash Ranjan						remote-endpoint =
1818783abfa2SSai Prakash Ranjan						  <&etm0_out>;
1819783abfa2SSai Prakash Ranjan					};
1820783abfa2SSai Prakash Ranjan				};
1821783abfa2SSai Prakash Ranjan
1822783abfa2SSai Prakash Ranjan				port@1 {
1823783abfa2SSai Prakash Ranjan					reg = <1>;
1824783abfa2SSai Prakash Ranjan					apss_funnel_in1: endpoint {
1825783abfa2SSai Prakash Ranjan						remote-endpoint =
1826783abfa2SSai Prakash Ranjan						  <&etm1_out>;
1827783abfa2SSai Prakash Ranjan					};
1828783abfa2SSai Prakash Ranjan				};
1829783abfa2SSai Prakash Ranjan
1830783abfa2SSai Prakash Ranjan				port@2 {
1831783abfa2SSai Prakash Ranjan					reg = <2>;
1832783abfa2SSai Prakash Ranjan					apss_funnel_in2: endpoint {
1833783abfa2SSai Prakash Ranjan						remote-endpoint =
1834783abfa2SSai Prakash Ranjan						  <&etm2_out>;
1835783abfa2SSai Prakash Ranjan					};
1836783abfa2SSai Prakash Ranjan				};
1837783abfa2SSai Prakash Ranjan
1838783abfa2SSai Prakash Ranjan				port@3 {
1839783abfa2SSai Prakash Ranjan					reg = <3>;
1840783abfa2SSai Prakash Ranjan					apss_funnel_in3: endpoint {
1841783abfa2SSai Prakash Ranjan						remote-endpoint =
1842783abfa2SSai Prakash Ranjan						  <&etm3_out>;
1843783abfa2SSai Prakash Ranjan					};
1844783abfa2SSai Prakash Ranjan				};
1845783abfa2SSai Prakash Ranjan
1846783abfa2SSai Prakash Ranjan				port@4 {
1847783abfa2SSai Prakash Ranjan					reg = <4>;
1848783abfa2SSai Prakash Ranjan					apss_funnel_in4: endpoint {
1849783abfa2SSai Prakash Ranjan						remote-endpoint =
1850783abfa2SSai Prakash Ranjan						  <&etm4_out>;
1851783abfa2SSai Prakash Ranjan					};
1852783abfa2SSai Prakash Ranjan				};
1853783abfa2SSai Prakash Ranjan
1854783abfa2SSai Prakash Ranjan				port@5 {
1855783abfa2SSai Prakash Ranjan					reg = <5>;
1856783abfa2SSai Prakash Ranjan					apss_funnel_in5: endpoint {
1857783abfa2SSai Prakash Ranjan						remote-endpoint =
1858783abfa2SSai Prakash Ranjan						  <&etm5_out>;
1859783abfa2SSai Prakash Ranjan					};
1860783abfa2SSai Prakash Ranjan				};
1861783abfa2SSai Prakash Ranjan
1862783abfa2SSai Prakash Ranjan				port@6 {
1863783abfa2SSai Prakash Ranjan					reg = <6>;
1864783abfa2SSai Prakash Ranjan					apss_funnel_in6: endpoint {
1865783abfa2SSai Prakash Ranjan						remote-endpoint =
1866783abfa2SSai Prakash Ranjan						  <&etm6_out>;
1867783abfa2SSai Prakash Ranjan					};
1868783abfa2SSai Prakash Ranjan				};
1869783abfa2SSai Prakash Ranjan
1870783abfa2SSai Prakash Ranjan				port@7 {
1871783abfa2SSai Prakash Ranjan					reg = <7>;
1872783abfa2SSai Prakash Ranjan					apss_funnel_in7: endpoint {
1873783abfa2SSai Prakash Ranjan						remote-endpoint =
1874783abfa2SSai Prakash Ranjan						  <&etm7_out>;
1875783abfa2SSai Prakash Ranjan					};
1876783abfa2SSai Prakash Ranjan				};
1877783abfa2SSai Prakash Ranjan			};
1878783abfa2SSai Prakash Ranjan		};
1879783abfa2SSai Prakash Ranjan
1880a636f93fSSai Prakash Ranjan		funnel5: funnel@7b70000 {
1881783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1882783abfa2SSai Prakash Ranjan			reg = <0x07b70000 0x1000>;
1883a636f93fSSai Prakash Ranjan			status = "disabled";
1884783abfa2SSai Prakash Ranjan
1885783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1886783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1887783abfa2SSai Prakash Ranjan
1888783abfa2SSai Prakash Ranjan			out-ports {
1889783abfa2SSai Prakash Ranjan				port {
1890783abfa2SSai Prakash Ranjan					apss_merge_funnel_out: endpoint {
1891783abfa2SSai Prakash Ranjan						remote-endpoint =
1892783abfa2SSai Prakash Ranjan						  <&funnel1_in6>;
1893783abfa2SSai Prakash Ranjan					};
1894783abfa2SSai Prakash Ranjan				};
1895783abfa2SSai Prakash Ranjan			};
1896783abfa2SSai Prakash Ranjan
1897783abfa2SSai Prakash Ranjan			in-ports {
1898783abfa2SSai Prakash Ranjan				port {
1899783abfa2SSai Prakash Ranjan					apss_merge_funnel_in: endpoint {
1900783abfa2SSai Prakash Ranjan						remote-endpoint =
1901783abfa2SSai Prakash Ranjan						  <&apss_funnel_out>;
1902783abfa2SSai Prakash Ranjan					};
1903783abfa2SSai Prakash Ranjan				};
1904783abfa2SSai Prakash Ranjan			};
1905783abfa2SSai Prakash Ranjan		};
1906783abfa2SSai Prakash Ranjan
1907a636f93fSSai Prakash Ranjan		etm5: etm@7c40000 {
1908783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1909783abfa2SSai Prakash Ranjan			reg = <0x07c40000 0x1000>;
1910a636f93fSSai Prakash Ranjan			status = "disabled";
1911783abfa2SSai Prakash Ranjan
1912783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1913783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1914783abfa2SSai Prakash Ranjan
1915783abfa2SSai Prakash Ranjan			cpu = <&CPU4>;
1916783abfa2SSai Prakash Ranjan
1917783abfa2SSai Prakash Ranjan			port {
1918783abfa2SSai Prakash Ranjan				etm4_out: endpoint {
1919783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in4>;
1920783abfa2SSai Prakash Ranjan				};
1921783abfa2SSai Prakash Ranjan			};
1922783abfa2SSai Prakash Ranjan		};
1923783abfa2SSai Prakash Ranjan
1924a636f93fSSai Prakash Ranjan		etm6: etm@7d40000 {
1925783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1926783abfa2SSai Prakash Ranjan			reg = <0x07d40000 0x1000>;
1927a636f93fSSai Prakash Ranjan			status = "disabled";
1928783abfa2SSai Prakash Ranjan
1929783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1930783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1931783abfa2SSai Prakash Ranjan
1932783abfa2SSai Prakash Ranjan			cpu = <&CPU5>;
1933783abfa2SSai Prakash Ranjan
1934783abfa2SSai Prakash Ranjan			port {
1935783abfa2SSai Prakash Ranjan				etm5_out: endpoint {
1936783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in5>;
1937783abfa2SSai Prakash Ranjan				};
1938783abfa2SSai Prakash Ranjan			};
1939783abfa2SSai Prakash Ranjan		};
1940783abfa2SSai Prakash Ranjan
1941a636f93fSSai Prakash Ranjan		etm7: etm@7e40000 {
1942783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1943783abfa2SSai Prakash Ranjan			reg = <0x07e40000 0x1000>;
1944a636f93fSSai Prakash Ranjan			status = "disabled";
1945783abfa2SSai Prakash Ranjan
1946783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1947783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1948783abfa2SSai Prakash Ranjan
1949783abfa2SSai Prakash Ranjan			cpu = <&CPU6>;
1950783abfa2SSai Prakash Ranjan
1951783abfa2SSai Prakash Ranjan			port {
1952783abfa2SSai Prakash Ranjan				etm6_out: endpoint {
1953783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in6>;
1954783abfa2SSai Prakash Ranjan				};
1955783abfa2SSai Prakash Ranjan			};
1956783abfa2SSai Prakash Ranjan		};
1957783abfa2SSai Prakash Ranjan
1958a636f93fSSai Prakash Ranjan		etm8: etm@7f40000 {
1959783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1960783abfa2SSai Prakash Ranjan			reg = <0x07f40000 0x1000>;
1961a636f93fSSai Prakash Ranjan			status = "disabled";
1962783abfa2SSai Prakash Ranjan
1963783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1964783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1965783abfa2SSai Prakash Ranjan
1966783abfa2SSai Prakash Ranjan			cpu = <&CPU7>;
1967783abfa2SSai Prakash Ranjan
1968783abfa2SSai Prakash Ranjan			port {
1969783abfa2SSai Prakash Ranjan				etm7_out: endpoint {
1970783abfa2SSai Prakash Ranjan					remote-endpoint = <&apss_funnel_in7>;
1971783abfa2SSai Prakash Ranjan				};
1972783abfa2SSai Prakash Ranjan			};
1973783abfa2SSai Prakash Ranjan		};
1974783abfa2SSai Prakash Ranjan
1975290bc684SMaulik Shah		sram@290000 {
1976290bc684SMaulik Shah			compatible = "qcom,rpm-stats";
1977290bc684SMaulik Shah			reg = <0x00290000 0x10000>;
1978290bc684SMaulik Shah		};
1979290bc684SMaulik Shah
198032a5da21SJeffrey Hugo		spmi_bus: spmi@800f000 {
198132a5da21SJeffrey Hugo			compatible = "qcom,spmi-pmic-arb";
198232a5da21SJeffrey Hugo			reg =	<0x0800f000 0x1000>,
198332a5da21SJeffrey Hugo				<0x08400000 0x1000000>,
198432a5da21SJeffrey Hugo				<0x09400000 0x1000000>,
198532a5da21SJeffrey Hugo				<0x0a400000 0x220000>,
198632a5da21SJeffrey Hugo				<0x0800a000 0x3000>;
198732a5da21SJeffrey Hugo			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
198832a5da21SJeffrey Hugo			interrupt-names = "periph_irq";
198932a5da21SJeffrey Hugo			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
199032a5da21SJeffrey Hugo			qcom,ee = <0>;
199132a5da21SJeffrey Hugo			qcom,channel = <0>;
199232a5da21SJeffrey Hugo			#address-cells = <2>;
199332a5da21SJeffrey Hugo			#size-cells = <0>;
199432a5da21SJeffrey Hugo			interrupt-controller;
199532a5da21SJeffrey Hugo			#interrupt-cells = <4>;
199632a5da21SJeffrey Hugo			cell-index = <0>;
199731c1f0e3SBjorn Andersson		};
199831c1f0e3SBjorn Andersson
1999026dad8fSJeffrey Hugo		usb3: usb@a8f8800 {
2000026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
2001026dad8fSJeffrey Hugo			reg = <0x0a8f8800 0x400>;
2002026dad8fSJeffrey Hugo			status = "disabled";
2003026dad8fSJeffrey Hugo			#address-cells = <1>;
2004026dad8fSJeffrey Hugo			#size-cells = <1>;
2005026dad8fSJeffrey Hugo			ranges;
2006026dad8fSJeffrey Hugo
2007026dad8fSJeffrey Hugo			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
2008026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MASTER_CLK>,
2009026dad8fSJeffrey Hugo				 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
20108d5fd4e4SKrzysztof Kozlowski				 <&gcc GCC_USB30_SLEEP_CLK>,
20118d5fd4e4SKrzysztof Kozlowski				 <&gcc GCC_USB30_MOCK_UTMI_CLK>;
20128d5fd4e4SKrzysztof Kozlowski			clock-names = "cfg_noc",
20138d5fd4e4SKrzysztof Kozlowski				      "core",
20148d5fd4e4SKrzysztof Kozlowski				      "iface",
20158d5fd4e4SKrzysztof Kozlowski				      "sleep",
20168d5fd4e4SKrzysztof Kozlowski				      "mock_utmi";
2017026dad8fSJeffrey Hugo
2018026dad8fSJeffrey Hugo			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
2019026dad8fSJeffrey Hugo					  <&gcc GCC_USB30_MASTER_CLK>;
2020026dad8fSJeffrey Hugo			assigned-clock-rates = <19200000>, <120000000>;
2021026dad8fSJeffrey Hugo
2022026dad8fSJeffrey Hugo			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
2023026dad8fSJeffrey Hugo				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
2024026dad8fSJeffrey Hugo			interrupt-names = "hs_phy_irq", "ss_phy_irq";
2025026dad8fSJeffrey Hugo
2026026dad8fSJeffrey Hugo			power-domains = <&gcc USB_30_GDSC>;
2027026dad8fSJeffrey Hugo
2028026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB_30_BCR>;
2029026dad8fSJeffrey Hugo
2030b77a1c4dSKrzysztof Kozlowski			usb3_dwc3: usb@a800000 {
2031026dad8fSJeffrey Hugo				compatible = "snps,dwc3";
2032026dad8fSJeffrey Hugo				reg = <0x0a800000 0xcd00>;
2033026dad8fSJeffrey Hugo				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
2034026dad8fSJeffrey Hugo				snps,dis_u2_susphy_quirk;
2035026dad8fSJeffrey Hugo				snps,dis_enblslpm_quirk;
2036026dad8fSJeffrey Hugo				phys = <&qusb2phy>, <&usb1_ssphy>;
2037026dad8fSJeffrey Hugo				phy-names = "usb2-phy", "usb3-phy";
2038026dad8fSJeffrey Hugo				snps,has-lpm-erratum;
2039026dad8fSJeffrey Hugo				snps,hird-threshold = /bits/ 8 <0x10>;
2040026dad8fSJeffrey Hugo			};
2041026dad8fSJeffrey Hugo		};
2042026dad8fSJeffrey Hugo
2043026dad8fSJeffrey Hugo		usb3phy: phy@c010000 {
2044026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qmp-usb3-phy";
2045026dad8fSJeffrey Hugo			reg = <0x0c010000 0x18c>;
2046026dad8fSJeffrey Hugo			status = "disabled";
2047026dad8fSJeffrey Hugo			#address-cells = <1>;
2048026dad8fSJeffrey Hugo			#size-cells = <1>;
2049026dad8fSJeffrey Hugo			ranges;
2050026dad8fSJeffrey Hugo
2051026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
2052026dad8fSJeffrey Hugo				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2053026dad8fSJeffrey Hugo				 <&gcc GCC_USB3_CLKREF_CLK>;
2054026dad8fSJeffrey Hugo			clock-names = "aux", "cfg_ahb", "ref";
2055026dad8fSJeffrey Hugo
2056026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB3_PHY_BCR>,
2057026dad8fSJeffrey Hugo				 <&gcc GCC_USB3PHY_PHY_BCR>;
2058026dad8fSJeffrey Hugo			reset-names = "phy", "common";
2059026dad8fSJeffrey Hugo
20601351512fSShawn Guo			usb1_ssphy: phy@c010200 {
2061026dad8fSJeffrey Hugo				reg = <0xc010200 0x128>,
2062026dad8fSJeffrey Hugo				      <0xc010400 0x200>,
2063026dad8fSJeffrey Hugo				      <0xc010c00 0x20c>,
2064026dad8fSJeffrey Hugo				      <0xc010600 0x128>,
2065026dad8fSJeffrey Hugo				      <0xc010800 0x200>;
2066026dad8fSJeffrey Hugo				#phy-cells = <0>;
2067ed9cbbcbSJohan Hovold				#clock-cells = <0>;
2068026dad8fSJeffrey Hugo				clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
2069026dad8fSJeffrey Hugo				clock-names = "pipe0";
2070026dad8fSJeffrey Hugo				clock-output-names = "usb3_phy_pipe_clk_src";
2071026dad8fSJeffrey Hugo			};
2072026dad8fSJeffrey Hugo		};
2073026dad8fSJeffrey Hugo
2074026dad8fSJeffrey Hugo		qusb2phy: phy@c012000 {
2075026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qusb2-phy";
2076026dad8fSJeffrey Hugo			reg = <0x0c012000 0x2a8>;
2077026dad8fSJeffrey Hugo			status = "disabled";
2078026dad8fSJeffrey Hugo			#phy-cells = <0>;
2079026dad8fSJeffrey Hugo
2080026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2081026dad8fSJeffrey Hugo				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
2082026dad8fSJeffrey Hugo			clock-names = "cfg_ahb", "ref";
2083026dad8fSJeffrey Hugo
2084026dad8fSJeffrey Hugo			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2085026dad8fSJeffrey Hugo
2086026dad8fSJeffrey Hugo			nvmem-cells = <&qusb2_hstx_trim>;
2087026dad8fSJeffrey Hugo		};
2088026dad8fSJeffrey Hugo
208996bb736fSBhupesh Sharma		sdhc2: mmc@c0a4900 {
209018f581bfSKrzysztof Kozlowski			compatible = "qcom,msm8998-sdhci", "qcom,sdhci-msm-v4";
209132a5da21SJeffrey Hugo			reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>;
2092eddc917dSKrzysztof Kozlowski			reg-names = "hc", "core";
20931cfce828SJeffrey Hugo
20941cfce828SJeffrey Hugo			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
20951cfce828SJeffrey Hugo				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
20961cfce828SJeffrey Hugo			interrupt-names = "hc_irq", "pwr_irq";
20971cfce828SJeffrey Hugo
20981cfce828SJeffrey Hugo			clock-names = "iface", "core", "xo";
20991cfce828SJeffrey Hugo			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
21001cfce828SJeffrey Hugo				 <&gcc GCC_SDCC2_APPS_CLK>,
210183fe4b9eSKonrad Dybcio				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
21021cfce828SJeffrey Hugo			bus-width = <4>;
21031cfce828SJeffrey Hugo			status = "disabled";
21041cfce828SJeffrey Hugo		};
21051cfce828SJeffrey Hugo
210694ed1811SVinod Koul		blsp1_dma: dma-controller@c144000 {
2107f1c1d4feSJeffrey Hugo			compatible = "qcom,bam-v1.7.0";
2108f1c1d4feSJeffrey Hugo			reg = <0x0c144000 0x25000>;
2109f1c1d4feSJeffrey Hugo			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
2110f1c1d4feSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
2111f1c1d4feSJeffrey Hugo			clock-names = "bam_clk";
2112f1c1d4feSJeffrey Hugo			#dma-cells = <1>;
2113f1c1d4feSJeffrey Hugo			qcom,ee = <0>;
2114f1c1d4feSJeffrey Hugo			qcom,controlled-remotely;
2115f1c1d4feSJeffrey Hugo			num-channels = <18>;
2116f1c1d4feSJeffrey Hugo			qcom,num-ees = <4>;
2117f1c1d4feSJeffrey Hugo		};
2118f1c1d4feSJeffrey Hugo
211973d4d2efSJeffrey Hugo		blsp1_uart3: serial@c171000 {
212073d4d2efSJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
212173d4d2efSJeffrey Hugo			reg = <0x0c171000 0x1000>;
212273d4d2efSJeffrey Hugo			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
212373d4d2efSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
212473d4d2efSJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
212573d4d2efSJeffrey Hugo			clock-names = "core", "iface";
212673d4d2efSJeffrey Hugo			dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
212773d4d2efSJeffrey Hugo			dma-names = "tx", "rx";
212873d4d2efSJeffrey Hugo			pinctrl-names = "default";
212973d4d2efSJeffrey Hugo			pinctrl-0 = <&blsp1_uart3_on>;
213073d4d2efSJeffrey Hugo			status = "disabled";
213173d4d2efSJeffrey Hugo		};
213273d4d2efSJeffrey Hugo
21331e71d0c2SJeffrey Hugo		blsp1_i2c1: i2c@c175000 {
21341e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
21351e71d0c2SJeffrey Hugo			reg = <0x0c175000 0x600>;
21361e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
21371e71d0c2SJeffrey Hugo
21381e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
21391e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
21401e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
21416845359eSKonrad Dybcio			dmas = <&blsp1_dma 6>, <&blsp1_dma 7>;
21426845359eSKonrad Dybcio			dma-names = "tx", "rx";
21430fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
21440fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c1_default>;
21450fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c1_sleep>;
21461e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
21471e71d0c2SJeffrey Hugo
21481e71d0c2SJeffrey Hugo			status = "disabled";
21491e71d0c2SJeffrey Hugo			#address-cells = <1>;
21501e71d0c2SJeffrey Hugo			#size-cells = <0>;
21511e71d0c2SJeffrey Hugo		};
21521e71d0c2SJeffrey Hugo
21531e71d0c2SJeffrey Hugo		blsp1_i2c2: i2c@c176000 {
21541e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
21551e71d0c2SJeffrey Hugo			reg = <0x0c176000 0x600>;
21561e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
21571e71d0c2SJeffrey Hugo
21581e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
21591e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
21601e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
21616845359eSKonrad Dybcio			dmas = <&blsp1_dma 8>, <&blsp1_dma 9>;
21626845359eSKonrad Dybcio			dma-names = "tx", "rx";
21630fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
21640fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c2_default>;
21650fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c2_sleep>;
21661e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
21671e71d0c2SJeffrey Hugo
21681e71d0c2SJeffrey Hugo			status = "disabled";
21691e71d0c2SJeffrey Hugo			#address-cells = <1>;
21701e71d0c2SJeffrey Hugo			#size-cells = <0>;
21711e71d0c2SJeffrey Hugo		};
21721e71d0c2SJeffrey Hugo
21731e71d0c2SJeffrey Hugo		blsp1_i2c3: i2c@c177000 {
21741e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
21751e71d0c2SJeffrey Hugo			reg = <0x0c177000 0x600>;
21761e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
21771e71d0c2SJeffrey Hugo
21781e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
21791e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
21801e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
21816845359eSKonrad Dybcio			dmas = <&blsp1_dma 10>, <&blsp1_dma 11>;
21826845359eSKonrad Dybcio			dma-names = "tx", "rx";
21830fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
21840fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c3_default>;
21850fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c3_sleep>;
21861e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
21871e71d0c2SJeffrey Hugo
21881e71d0c2SJeffrey Hugo			status = "disabled";
21891e71d0c2SJeffrey Hugo			#address-cells = <1>;
21901e71d0c2SJeffrey Hugo			#size-cells = <0>;
21911e71d0c2SJeffrey Hugo		};
21921e71d0c2SJeffrey Hugo
21931e71d0c2SJeffrey Hugo		blsp1_i2c4: i2c@c178000 {
21941e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
21951e71d0c2SJeffrey Hugo			reg = <0x0c178000 0x600>;
21961e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
21971e71d0c2SJeffrey Hugo
21981e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
21991e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
22001e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
22016845359eSKonrad Dybcio			dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
22026845359eSKonrad Dybcio			dma-names = "tx", "rx";
22030fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
22040fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c4_default>;
22050fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c4_sleep>;
22061e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
22071e71d0c2SJeffrey Hugo
22081e71d0c2SJeffrey Hugo			status = "disabled";
22091e71d0c2SJeffrey Hugo			#address-cells = <1>;
22101e71d0c2SJeffrey Hugo			#size-cells = <0>;
22111e71d0c2SJeffrey Hugo		};
22121e71d0c2SJeffrey Hugo
22131e71d0c2SJeffrey Hugo		blsp1_i2c5: i2c@c179000 {
22141e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
22151e71d0c2SJeffrey Hugo			reg = <0x0c179000 0x600>;
22161e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
22171e71d0c2SJeffrey Hugo
22181e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
22191e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
22201e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
22216845359eSKonrad Dybcio			dmas = <&blsp1_dma 14>, <&blsp1_dma 15>;
22226845359eSKonrad Dybcio			dma-names = "tx", "rx";
22230fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
22240fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c5_default>;
22250fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c5_sleep>;
22261e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
22271e71d0c2SJeffrey Hugo
22281e71d0c2SJeffrey Hugo			status = "disabled";
22291e71d0c2SJeffrey Hugo			#address-cells = <1>;
22301e71d0c2SJeffrey Hugo			#size-cells = <0>;
22311e71d0c2SJeffrey Hugo		};
22321e71d0c2SJeffrey Hugo
22331e71d0c2SJeffrey Hugo		blsp1_i2c6: i2c@c17a000 {
22341e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
22351e71d0c2SJeffrey Hugo			reg = <0x0c17a000 0x600>;
22361e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
22371e71d0c2SJeffrey Hugo
22381e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
22391e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
22401e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
22416845359eSKonrad Dybcio			dmas = <&blsp1_dma 16>, <&blsp1_dma 17>;
22426845359eSKonrad Dybcio			dma-names = "tx", "rx";
22430fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
22440fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c6_default>;
22450fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c6_sleep>;
22461e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
22471e71d0c2SJeffrey Hugo
22481e71d0c2SJeffrey Hugo			status = "disabled";
22491e71d0c2SJeffrey Hugo			#address-cells = <1>;
22501e71d0c2SJeffrey Hugo			#size-cells = <0>;
22511e71d0c2SJeffrey Hugo		};
22521e71d0c2SJeffrey Hugo
2253bbef0142SShawn Guo		blsp2_dma: dma-controller@c184000 {
22546845359eSKonrad Dybcio			compatible = "qcom,bam-v1.7.0";
22556845359eSKonrad Dybcio			reg = <0x0c184000 0x25000>;
22566845359eSKonrad Dybcio			interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
22576845359eSKonrad Dybcio			clocks = <&gcc GCC_BLSP2_AHB_CLK>;
22586845359eSKonrad Dybcio			clock-names = "bam_clk";
22596845359eSKonrad Dybcio			#dma-cells = <1>;
22606845359eSKonrad Dybcio			qcom,ee = <0>;
22616845359eSKonrad Dybcio			qcom,controlled-remotely;
22626845359eSKonrad Dybcio			num-channels = <18>;
22636845359eSKonrad Dybcio			qcom,num-ees = <4>;
22646845359eSKonrad Dybcio		};
22656845359eSKonrad Dybcio
226632a5da21SJeffrey Hugo		blsp2_uart1: serial@c1b0000 {
226732a5da21SJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
226832a5da21SJeffrey Hugo			reg = <0x0c1b0000 0x1000>;
226932a5da21SJeffrey Hugo			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
227032a5da21SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
227132a5da21SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
227232a5da21SJeffrey Hugo			clock-names = "core", "iface";
227332a5da21SJeffrey Hugo			status = "disabled";
227432a5da21SJeffrey Hugo		};
227532a5da21SJeffrey Hugo
22760fee55fcSKonrad Dybcio		blsp2_i2c1: i2c@c1b5000 {
22771e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
22781e71d0c2SJeffrey Hugo			reg = <0x0c1b5000 0x600>;
22791e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
22801e71d0c2SJeffrey Hugo
22811e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
22821e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
22831e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
22846845359eSKonrad Dybcio			dmas = <&blsp2_dma 6>, <&blsp2_dma 7>;
22856845359eSKonrad Dybcio			dma-names = "tx", "rx";
22860fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
22870fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c1_default>;
22880fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c1_sleep>;
22891e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
22901e71d0c2SJeffrey Hugo
22911e71d0c2SJeffrey Hugo			status = "disabled";
22921e71d0c2SJeffrey Hugo			#address-cells = <1>;
22931e71d0c2SJeffrey Hugo			#size-cells = <0>;
22941e71d0c2SJeffrey Hugo		};
22951e71d0c2SJeffrey Hugo
22960fee55fcSKonrad Dybcio		blsp2_i2c2: i2c@c1b6000 {
22971e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
22981e71d0c2SJeffrey Hugo			reg = <0x0c1b6000 0x600>;
22991e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
23001e71d0c2SJeffrey Hugo
23011e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
23021e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
23031e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23046845359eSKonrad Dybcio			dmas = <&blsp2_dma 8>, <&blsp2_dma 9>;
23056845359eSKonrad Dybcio			dma-names = "tx", "rx";
23060fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23070fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c2_default>;
23080fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c2_sleep>;
23091e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23101e71d0c2SJeffrey Hugo
23111e71d0c2SJeffrey Hugo			status = "disabled";
23121e71d0c2SJeffrey Hugo			#address-cells = <1>;
23131e71d0c2SJeffrey Hugo			#size-cells = <0>;
23141e71d0c2SJeffrey Hugo		};
23151e71d0c2SJeffrey Hugo
23160fee55fcSKonrad Dybcio		blsp2_i2c3: i2c@c1b7000 {
23171e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
23181e71d0c2SJeffrey Hugo			reg = <0x0c1b7000 0x600>;
23191e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
23201e71d0c2SJeffrey Hugo
23211e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
23221e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
23231e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23246845359eSKonrad Dybcio			dmas = <&blsp2_dma 10>, <&blsp2_dma 11>;
23256845359eSKonrad Dybcio			dma-names = "tx", "rx";
23260fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23270fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c3_default>;
23280fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c3_sleep>;
23291e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23301e71d0c2SJeffrey Hugo
23311e71d0c2SJeffrey Hugo			status = "disabled";
23321e71d0c2SJeffrey Hugo			#address-cells = <1>;
23331e71d0c2SJeffrey Hugo			#size-cells = <0>;
23341e71d0c2SJeffrey Hugo		};
23351e71d0c2SJeffrey Hugo
23360fee55fcSKonrad Dybcio		blsp2_i2c4: i2c@c1b8000 {
23371e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
23381e71d0c2SJeffrey Hugo			reg = <0x0c1b8000 0x600>;
23391e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
23401e71d0c2SJeffrey Hugo
23411e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
23421e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
23431e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23446845359eSKonrad Dybcio			dmas = <&blsp2_dma 12>, <&blsp2_dma 13>;
23456845359eSKonrad Dybcio			dma-names = "tx", "rx";
23460fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23470fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c4_default>;
23480fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c4_sleep>;
23491e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23501e71d0c2SJeffrey Hugo
23511e71d0c2SJeffrey Hugo			status = "disabled";
23521e71d0c2SJeffrey Hugo			#address-cells = <1>;
23531e71d0c2SJeffrey Hugo			#size-cells = <0>;
23541e71d0c2SJeffrey Hugo		};
23551e71d0c2SJeffrey Hugo
23560fee55fcSKonrad Dybcio		blsp2_i2c5: i2c@c1b9000 {
23571e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
23581e71d0c2SJeffrey Hugo			reg = <0x0c1b9000 0x600>;
23591e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
23601e71d0c2SJeffrey Hugo
23611e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
23621e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
23631e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23646845359eSKonrad Dybcio			dmas = <&blsp2_dma 14>, <&blsp2_dma 15>;
23656845359eSKonrad Dybcio			dma-names = "tx", "rx";
23660fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23670fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c5_default>;
23680fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c5_sleep>;
23691e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23701e71d0c2SJeffrey Hugo
23711e71d0c2SJeffrey Hugo			status = "disabled";
23721e71d0c2SJeffrey Hugo			#address-cells = <1>;
23731e71d0c2SJeffrey Hugo			#size-cells = <0>;
23741e71d0c2SJeffrey Hugo		};
23751e71d0c2SJeffrey Hugo
23760fee55fcSKonrad Dybcio		blsp2_i2c6: i2c@c1ba000 {
23771e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
2378c8be5541SMarc Gonzalez			reg = <0x0c1ba000 0x600>;
23791e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
23801e71d0c2SJeffrey Hugo
23811e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
23821e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
23831e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23846845359eSKonrad Dybcio			dmas = <&blsp2_dma 16>, <&blsp2_dma 17>;
23856845359eSKonrad Dybcio			dma-names = "tx", "rx";
23860fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23870fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c6_default>;
23880fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c6_sleep>;
23891e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23901e71d0c2SJeffrey Hugo
23911e71d0c2SJeffrey Hugo			status = "disabled";
23921e71d0c2SJeffrey Hugo			#address-cells = <1>;
23931e71d0c2SJeffrey Hugo			#size-cells = <0>;
23941e71d0c2SJeffrey Hugo		};
23951e71d0c2SJeffrey Hugo
2396c075a2e3SAngeloGioacchino Del Regno		mmcc: clock-controller@c8c0000 {
2397c075a2e3SAngeloGioacchino Del Regno			compatible = "qcom,mmcc-msm8998";
2398c075a2e3SAngeloGioacchino Del Regno			#clock-cells = <1>;
2399c075a2e3SAngeloGioacchino Del Regno			#reset-cells = <1>;
2400c075a2e3SAngeloGioacchino Del Regno			#power-domain-cells = <1>;
2401c075a2e3SAngeloGioacchino Del Regno			reg = <0xc8c0000 0x40000>;
2402c075a2e3SAngeloGioacchino Del Regno
2403c075a2e3SAngeloGioacchino Del Regno			clock-names = "xo",
2404c075a2e3SAngeloGioacchino Del Regno				      "gpll0",
2405c075a2e3SAngeloGioacchino Del Regno				      "dsi0dsi",
2406c075a2e3SAngeloGioacchino Del Regno				      "dsi0byte",
2407c075a2e3SAngeloGioacchino Del Regno				      "dsi1dsi",
2408c075a2e3SAngeloGioacchino Del Regno				      "dsi1byte",
2409c075a2e3SAngeloGioacchino Del Regno				      "hdmipll",
2410c075a2e3SAngeloGioacchino Del Regno				      "dplink",
2411ef6868a2SDmitry Baryshkov				      "dpvco";
2412c075a2e3SAngeloGioacchino Del Regno			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
2413c075a2e3SAngeloGioacchino Del Regno				 <&gcc GCC_MMSS_GPLL0_CLK>,
2414c075a2e3SAngeloGioacchino Del Regno				 <0>,
2415c075a2e3SAngeloGioacchino Del Regno				 <0>,
2416c075a2e3SAngeloGioacchino Del Regno				 <0>,
2417c075a2e3SAngeloGioacchino Del Regno				 <0>,
2418c075a2e3SAngeloGioacchino Del Regno				 <0>,
2419c075a2e3SAngeloGioacchino Del Regno				 <0>,
2420c075a2e3SAngeloGioacchino Del Regno				 <0>;
2421c075a2e3SAngeloGioacchino Del Regno		};
2422c075a2e3SAngeloGioacchino Del Regno
242305ce21b5SAngeloGioacchino Del Regno		mmss_smmu: iommu@cd00000 {
242405ce21b5SAngeloGioacchino Del Regno			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
242505ce21b5SAngeloGioacchino Del Regno			reg = <0x0cd00000 0x40000>;
242605ce21b5SAngeloGioacchino Del Regno			#iommu-cells = <1>;
242705ce21b5SAngeloGioacchino Del Regno
242805ce21b5SAngeloGioacchino Del Regno			clocks = <&mmcc MNOC_AHB_CLK>,
242905ce21b5SAngeloGioacchino Del Regno				 <&mmcc BIMC_SMMU_AHB_CLK>,
243005ce21b5SAngeloGioacchino Del Regno				 <&rpmcc RPM_SMD_MMAXI_CLK>,
243105ce21b5SAngeloGioacchino Del Regno				 <&mmcc BIMC_SMMU_AXI_CLK>;
243205ce21b5SAngeloGioacchino Del Regno			clock-names = "iface-mm", "iface-smmu",
243305ce21b5SAngeloGioacchino Del Regno				      "bus-mm", "bus-smmu";
243405ce21b5SAngeloGioacchino Del Regno
243505ce21b5SAngeloGioacchino Del Regno			#global-interrupts = <0>;
243605ce21b5SAngeloGioacchino Del Regno			interrupts =
243705ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
243805ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
243905ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
244005ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
244105ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
244205ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
244305ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
244405ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
244505ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
244605ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
244705ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
244805ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
244905ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
245005ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
245105ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
245205ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
245305ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
245405ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
245505ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
245605ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
245705ce21b5SAngeloGioacchino Del Regno		};
245805ce21b5SAngeloGioacchino Del Regno
2459a9ee66deSSibi Sankar		remoteproc_adsp: remoteproc@17300000 {
2460a9ee66deSSibi Sankar			compatible = "qcom,msm8998-adsp-pas";
2461a9ee66deSSibi Sankar			reg = <0x17300000 0x4040>;
2462a9ee66deSSibi Sankar
2463a9ee66deSSibi Sankar			interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
2464a9ee66deSSibi Sankar					      <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
2465a9ee66deSSibi Sankar					      <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
2466a9ee66deSSibi Sankar					      <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
2467a9ee66deSSibi Sankar					      <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
2468a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
2469a9ee66deSSibi Sankar					  "handover", "stop-ack";
2470a9ee66deSSibi Sankar
2471a9ee66deSSibi Sankar			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
2472a9ee66deSSibi Sankar			clock-names = "xo";
2473a9ee66deSSibi Sankar
2474a9ee66deSSibi Sankar			memory-region = <&adsp_mem>;
2475a9ee66deSSibi Sankar
2476a9ee66deSSibi Sankar			qcom,smem-states = <&adsp_smp2p_out 0>;
2477a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
2478a9ee66deSSibi Sankar
2479a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_VDDCX>;
2480a9ee66deSSibi Sankar			power-domain-names = "cx";
2481a9ee66deSSibi Sankar
2482a9ee66deSSibi Sankar			status = "disabled";
2483a9ee66deSSibi Sankar
2484a9ee66deSSibi Sankar			glink-edge {
2485a9ee66deSSibi Sankar				interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
2486a9ee66deSSibi Sankar				label = "lpass";
2487a9ee66deSSibi Sankar				qcom,remote-pid = <2>;
2488a9ee66deSSibi Sankar				mboxes = <&apcs_glb 9>;
2489a9ee66deSSibi Sankar			};
2490a9ee66deSSibi Sankar		};
2491a9ee66deSSibi Sankar
249232a5da21SJeffrey Hugo		apcs_glb: mailbox@17911000 {
249332a5da21SJeffrey Hugo			compatible = "qcom,msm8998-apcs-hmss-global";
249432a5da21SJeffrey Hugo			reg = <0x17911000 0x1000>;
249532a5da21SJeffrey Hugo
249632a5da21SJeffrey Hugo			#mbox-cells = <1>;
24974807c71cSJoonwoo Park		};
24984807c71cSJoonwoo Park
24994807c71cSJoonwoo Park		timer@17920000 {
25004807c71cSJoonwoo Park			#address-cells = <1>;
25014807c71cSJoonwoo Park			#size-cells = <1>;
25024807c71cSJoonwoo Park			ranges;
25034807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
25044807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
25054807c71cSJoonwoo Park
25064807c71cSJoonwoo Park			frame@17921000 {
25074807c71cSJoonwoo Park				frame-number = <0>;
25084807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
25094807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
25104807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
25114807c71cSJoonwoo Park				      <0x17922000 0x1000>;
25124807c71cSJoonwoo Park			};
25134807c71cSJoonwoo Park
25144807c71cSJoonwoo Park			frame@17923000 {
25154807c71cSJoonwoo Park				frame-number = <1>;
25164807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
25174807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
25184807c71cSJoonwoo Park				status = "disabled";
25194807c71cSJoonwoo Park			};
25204807c71cSJoonwoo Park
25214807c71cSJoonwoo Park			frame@17924000 {
25224807c71cSJoonwoo Park				frame-number = <2>;
25234807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
25244807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
25254807c71cSJoonwoo Park				status = "disabled";
25264807c71cSJoonwoo Park			};
25274807c71cSJoonwoo Park
25284807c71cSJoonwoo Park			frame@17925000 {
25294807c71cSJoonwoo Park				frame-number = <3>;
25304807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
25314807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
25324807c71cSJoonwoo Park				status = "disabled";
25334807c71cSJoonwoo Park			};
25344807c71cSJoonwoo Park
25354807c71cSJoonwoo Park			frame@17926000 {
25364807c71cSJoonwoo Park				frame-number = <4>;
25374807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
25384807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
25394807c71cSJoonwoo Park				status = "disabled";
25404807c71cSJoonwoo Park			};
25414807c71cSJoonwoo Park
25424807c71cSJoonwoo Park			frame@17927000 {
25434807c71cSJoonwoo Park				frame-number = <5>;
25444807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
25454807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
25464807c71cSJoonwoo Park				status = "disabled";
25474807c71cSJoonwoo Park			};
25484807c71cSJoonwoo Park
25494807c71cSJoonwoo Park			frame@17928000 {
25504807c71cSJoonwoo Park				frame-number = <6>;
25514807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
25524807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
25534807c71cSJoonwoo Park				status = "disabled";
25544807c71cSJoonwoo Park			};
25554807c71cSJoonwoo Park		};
25564807c71cSJoonwoo Park
25574807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
25584807c71cSJoonwoo Park			compatible = "arm,gic-v3";
25594807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
25604807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
25614807c71cSJoonwoo Park			#interrupt-cells = <3>;
25624807c71cSJoonwoo Park			#address-cells = <1>;
25634807c71cSJoonwoo Park			#size-cells = <1>;
25644807c71cSJoonwoo Park			ranges;
25654807c71cSJoonwoo Park			interrupt-controller;
25664807c71cSJoonwoo Park			#redistributor-regions = <1>;
25674807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
25684807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
25694807c71cSJoonwoo Park		};
257019b7caaaSJeffrey Hugo
257119b7caaaSJeffrey Hugo		wifi: wifi@18800000 {
257219b7caaaSJeffrey Hugo			compatible = "qcom,wcn3990-wifi";
257319b7caaaSJeffrey Hugo			status = "disabled";
257419b7caaaSJeffrey Hugo			reg = <0x18800000 0x800000>;
257519b7caaaSJeffrey Hugo			reg-names = "membase";
257619b7caaaSJeffrey Hugo			memory-region = <&wlan_msa_mem>;
257719b7caaaSJeffrey Hugo			clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
257819b7caaaSJeffrey Hugo			clock-names = "cxo_ref_clk_pin";
257919b7caaaSJeffrey Hugo			interrupts =
258019b7caaaSJeffrey Hugo				<GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
258119b7caaaSJeffrey Hugo				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
258219b7caaaSJeffrey Hugo				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
258319b7caaaSJeffrey Hugo				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
258419b7caaaSJeffrey Hugo				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
258519b7caaaSJeffrey Hugo				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
258619b7caaaSJeffrey Hugo				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
258719b7caaaSJeffrey Hugo				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
258819b7caaaSJeffrey Hugo				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
258919b7caaaSJeffrey Hugo				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
259019b7caaaSJeffrey Hugo				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
259119b7caaaSJeffrey Hugo				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
259219b7caaaSJeffrey Hugo			iommus = <&anoc2_smmu 0x1900>,
259319b7caaaSJeffrey Hugo				 <&anoc2_smmu 0x1901>;
259419b7caaaSJeffrey Hugo			qcom,snoc-host-cap-8bit-quirk;
259519b7caaaSJeffrey Hugo		};
25964807c71cSJoonwoo Park	};
25974807c71cSJoonwoo Park};
2598