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		};
111264f6a8dSSibi Sankar
112264f6a8dSSibi Sankar		mdata_mem: mpss-metadata {
113264f6a8dSSibi Sankar			alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
114264f6a8dSSibi Sankar			size = <0x0 0x4000>;
115264f6a8dSSibi Sankar			no-map;
116264f6a8dSSibi 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>;
1499c6e72fbSKrzysztof Kozlowski				cache-unified;
1504807c71cSJoonwoo Park			};
1514807c71cSJoonwoo Park		};
1524807c71cSJoonwoo Park
1534807c71cSJoonwoo Park		CPU1: cpu@1 {
1544807c71cSJoonwoo Park			device_type = "cpu";
155663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1564807c71cSJoonwoo Park			reg = <0x0 0x1>;
1574807c71cSJoonwoo Park			enable-method = "psci";
158c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1024>;
159c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1604807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1614807c71cSJoonwoo Park		};
1624807c71cSJoonwoo Park
1634807c71cSJoonwoo Park		CPU2: cpu@2 {
1644807c71cSJoonwoo Park			device_type = "cpu";
165663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1664807c71cSJoonwoo Park			reg = <0x0 0x2>;
1674807c71cSJoonwoo Park			enable-method = "psci";
168c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1024>;
169c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1704807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1714807c71cSJoonwoo Park		};
1724807c71cSJoonwoo Park
1734807c71cSJoonwoo Park		CPU3: cpu@3 {
1744807c71cSJoonwoo Park			device_type = "cpu";
175663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1764807c71cSJoonwoo Park			reg = <0x0 0x3>;
1774807c71cSJoonwoo Park			enable-method = "psci";
178c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1024>;
179c3083c80SAmit Kucheria			cpu-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>;
1804807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1814807c71cSJoonwoo Park		};
1824807c71cSJoonwoo Park
1834807c71cSJoonwoo Park		CPU4: cpu@100 {
1844807c71cSJoonwoo Park			device_type = "cpu";
185663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
1864807c71cSJoonwoo Park			reg = <0x0 0x100>;
1874807c71cSJoonwoo Park			enable-method = "psci";
188c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1536>;
189c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
1904807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1914807c71cSJoonwoo Park			L2_1: l2-cache {
192fad35efaSRob Herring				compatible = "cache";
1934807c71cSJoonwoo Park				cache-level = <2>;
1949c6e72fbSKrzysztof Kozlowski				cache-unified;
1954807c71cSJoonwoo Park			};
1964807c71cSJoonwoo Park		};
1974807c71cSJoonwoo Park
1984807c71cSJoonwoo Park		CPU5: cpu@101 {
1994807c71cSJoonwoo Park			device_type = "cpu";
200663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
2014807c71cSJoonwoo Park			reg = <0x0 0x101>;
2024807c71cSJoonwoo Park			enable-method = "psci";
203c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1536>;
204c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2054807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2064807c71cSJoonwoo Park		};
2074807c71cSJoonwoo Park
2084807c71cSJoonwoo Park		CPU6: cpu@102 {
2094807c71cSJoonwoo Park			device_type = "cpu";
210663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
2114807c71cSJoonwoo Park			reg = <0x0 0x102>;
2124807c71cSJoonwoo Park			enable-method = "psci";
213c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1536>;
214c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2154807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2164807c71cSJoonwoo Park		};
2174807c71cSJoonwoo Park
2184807c71cSJoonwoo Park		CPU7: cpu@103 {
2194807c71cSJoonwoo Park			device_type = "cpu";
220663b7d41SAmit Kucheria			compatible = "qcom,kryo280";
2214807c71cSJoonwoo Park			reg = <0x0 0x103>;
2224807c71cSJoonwoo Park			enable-method = "psci";
223c43cfc54SKonrad Dybcio			capacity-dmips-mhz = <1536>;
224c3083c80SAmit Kucheria			cpu-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>;
2254807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
2264807c71cSJoonwoo Park		};
2274807c71cSJoonwoo Park
2284807c71cSJoonwoo Park		cpu-map {
2294807c71cSJoonwoo Park			cluster0 {
2304807c71cSJoonwoo Park				core0 {
2314807c71cSJoonwoo Park					cpu = <&CPU0>;
2324807c71cSJoonwoo Park				};
2334807c71cSJoonwoo Park
2344807c71cSJoonwoo Park				core1 {
2354807c71cSJoonwoo Park					cpu = <&CPU1>;
2364807c71cSJoonwoo Park				};
2374807c71cSJoonwoo Park
2384807c71cSJoonwoo Park				core2 {
2394807c71cSJoonwoo Park					cpu = <&CPU2>;
2404807c71cSJoonwoo Park				};
2414807c71cSJoonwoo Park
2424807c71cSJoonwoo Park				core3 {
2434807c71cSJoonwoo Park					cpu = <&CPU3>;
2444807c71cSJoonwoo Park				};
2454807c71cSJoonwoo Park			};
2464807c71cSJoonwoo Park
2474807c71cSJoonwoo Park			cluster1 {
2484807c71cSJoonwoo Park				core0 {
2494807c71cSJoonwoo Park					cpu = <&CPU4>;
2504807c71cSJoonwoo Park				};
2514807c71cSJoonwoo Park
2524807c71cSJoonwoo Park				core1 {
2534807c71cSJoonwoo Park					cpu = <&CPU5>;
2544807c71cSJoonwoo Park				};
2554807c71cSJoonwoo Park
2564807c71cSJoonwoo Park				core2 {
2574807c71cSJoonwoo Park					cpu = <&CPU6>;
2584807c71cSJoonwoo Park				};
2594807c71cSJoonwoo Park
2604807c71cSJoonwoo Park				core3 {
2614807c71cSJoonwoo Park					cpu = <&CPU7>;
2624807c71cSJoonwoo Park				};
2634807c71cSJoonwoo Park			};
2644807c71cSJoonwoo Park		};
265c3083c80SAmit Kucheria
266c3083c80SAmit Kucheria		idle-states {
267c3083c80SAmit Kucheria			entry-method = "psci";
268c3083c80SAmit Kucheria
269c3083c80SAmit Kucheria			LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 {
270c3083c80SAmit Kucheria				compatible = "arm,idle-state";
271c3083c80SAmit Kucheria				idle-state-name = "little-retention";
2723f1dcaffSAngeloGioacchino Del Regno				/* CPU Retention (C2D), L2 Active */
273c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x00000002>;
274c3083c80SAmit Kucheria				entry-latency-us = <81>;
275c3083c80SAmit Kucheria				exit-latency-us = <86>;
2763f1dcaffSAngeloGioacchino Del Regno				min-residency-us = <504>;
277c3083c80SAmit Kucheria			};
278c3083c80SAmit Kucheria
279c3083c80SAmit Kucheria			LITTLE_CPU_SLEEP_1: cpu-sleep-0-1 {
280c3083c80SAmit Kucheria				compatible = "arm,idle-state";
281c3083c80SAmit Kucheria				idle-state-name = "little-power-collapse";
2823f1dcaffSAngeloGioacchino Del Regno				/* CPU + L2 Power Collapse (C3, D4) */
283c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x40000003>;
2843f1dcaffSAngeloGioacchino Del Regno				entry-latency-us = <814>;
2853f1dcaffSAngeloGioacchino Del Regno				exit-latency-us = <4562>;
2863f1dcaffSAngeloGioacchino Del Regno				min-residency-us = <9183>;
287c3083c80SAmit Kucheria				local-timer-stop;
288c3083c80SAmit Kucheria			};
289c3083c80SAmit Kucheria
290c3083c80SAmit Kucheria			BIG_CPU_SLEEP_0: cpu-sleep-1-0 {
291c3083c80SAmit Kucheria				compatible = "arm,idle-state";
292c3083c80SAmit Kucheria				idle-state-name = "big-retention";
2933f1dcaffSAngeloGioacchino Del Regno				/* CPU Retention (C2D), L2 Active */
294c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x00000002>;
295c3083c80SAmit Kucheria				entry-latency-us = <79>;
296c3083c80SAmit Kucheria				exit-latency-us = <82>;
2973f1dcaffSAngeloGioacchino Del Regno				min-residency-us = <1302>;
298c3083c80SAmit Kucheria			};
299c3083c80SAmit Kucheria
300c3083c80SAmit Kucheria			BIG_CPU_SLEEP_1: cpu-sleep-1-1 {
301c3083c80SAmit Kucheria				compatible = "arm,idle-state";
302c3083c80SAmit Kucheria				idle-state-name = "big-power-collapse";
3033f1dcaffSAngeloGioacchino Del Regno				/* CPU + L2 Power Collapse (C3, D4) */
304c3083c80SAmit Kucheria				arm,psci-suspend-param = <0x40000003>;
3053f1dcaffSAngeloGioacchino Del Regno				entry-latency-us = <724>;
3063f1dcaffSAngeloGioacchino Del Regno				exit-latency-us = <2027>;
3073f1dcaffSAngeloGioacchino Del Regno				min-residency-us = <9419>;
308c3083c80SAmit Kucheria				local-timer-stop;
309c3083c80SAmit Kucheria			};
310c3083c80SAmit Kucheria		};
3114807c71cSJoonwoo Park	};
3124807c71cSJoonwoo Park
313d850156aSBjorn Andersson	firmware {
314d850156aSBjorn Andersson		scm {
31570827d9fSBjorn Andersson			compatible = "qcom,scm-msm8998", "qcom,scm";
316d850156aSBjorn Andersson		};
317d850156aSBjorn Andersson	};
318d850156aSBjorn Andersson
319ff88e1c9SAngeloGioacchino Del Regno	dsi_opp_table: opp-table-dsi {
320ff88e1c9SAngeloGioacchino Del Regno		compatible = "operating-points-v2";
321ff88e1c9SAngeloGioacchino Del Regno
322ff88e1c9SAngeloGioacchino Del Regno		opp-131250000 {
323ff88e1c9SAngeloGioacchino Del Regno			opp-hz = /bits/ 64 <131250000>;
324ff88e1c9SAngeloGioacchino Del Regno			required-opps = <&rpmpd_opp_low_svs>;
325ff88e1c9SAngeloGioacchino Del Regno		};
326ff88e1c9SAngeloGioacchino Del Regno
327ff88e1c9SAngeloGioacchino Del Regno		opp-210000000 {
328ff88e1c9SAngeloGioacchino Del Regno			opp-hz = /bits/ 64 <210000000>;
329ff88e1c9SAngeloGioacchino Del Regno			required-opps = <&rpmpd_opp_svs>;
330ff88e1c9SAngeloGioacchino Del Regno		};
331ff88e1c9SAngeloGioacchino Del Regno
332ff88e1c9SAngeloGioacchino Del Regno		opp-312500000 {
333ff88e1c9SAngeloGioacchino Del Regno			opp-hz = /bits/ 64 <312500000>;
334ff88e1c9SAngeloGioacchino Del Regno			required-opps = <&rpmpd_opp_nom>;
335ff88e1c9SAngeloGioacchino Del Regno		};
336ff88e1c9SAngeloGioacchino Del Regno	};
337ff88e1c9SAngeloGioacchino Del Regno
3384807c71cSJoonwoo Park	psci {
3394807c71cSJoonwoo Park		compatible = "arm,psci-1.0";
3404807c71cSJoonwoo Park		method = "smc";
3414807c71cSJoonwoo Park	};
3424807c71cSJoonwoo Park
3437e1acc8bSStephan Gerhold	rpm: remoteproc {
3447e1acc8bSStephan Gerhold		compatible = "qcom,msm8998-rpm-proc", "qcom,rpm-proc";
3457e1acc8bSStephan Gerhold
3467e1acc8bSStephan Gerhold		glink-edge {
34731c1f0e3SBjorn Andersson			compatible = "qcom,glink-rpm";
34831c1f0e3SBjorn Andersson
34931c1f0e3SBjorn Andersson			interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
35031c1f0e3SBjorn Andersson			qcom,rpm-msg-ram = <&rpm_msg_ram>;
35131c1f0e3SBjorn Andersson			mboxes = <&apcs_glb 0>;
35231c1f0e3SBjorn Andersson
35331c1f0e3SBjorn Andersson			rpm_requests: rpm-requests {
35431c1f0e3SBjorn Andersson				compatible = "qcom,rpm-msm8998";
35531c1f0e3SBjorn Andersson				qcom,glink-channels = "rpm_requests";
3561fb28636SMarc Gonzalez
3571fb28636SMarc Gonzalez				rpmcc: clock-controller {
3581fb28636SMarc Gonzalez					compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
359ddf66e4bSKonrad Dybcio					clocks = <&xo>;
360ddf66e4bSKonrad Dybcio					clock-names = "xo";
3611fb28636SMarc Gonzalez					#clock-cells = <1>;
3621fb28636SMarc Gonzalez				};
363460f13caSSibi Sankar
364460f13caSSibi Sankar				rpmpd: power-controller {
365460f13caSSibi Sankar					compatible = "qcom,msm8998-rpmpd";
366460f13caSSibi Sankar					#power-domain-cells = <1>;
367460f13caSSibi Sankar					operating-points-v2 = <&rpmpd_opp_table>;
368460f13caSSibi Sankar
369460f13caSSibi Sankar					rpmpd_opp_table: opp-table {
370460f13caSSibi Sankar						compatible = "operating-points-v2";
371460f13caSSibi Sankar
372460f13caSSibi Sankar						rpmpd_opp_ret: opp1 {
37377901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_RETENTION>;
374460f13caSSibi Sankar						};
375460f13caSSibi Sankar
376460f13caSSibi Sankar						rpmpd_opp_ret_plus: opp2 {
37777901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>;
378460f13caSSibi Sankar						};
379460f13caSSibi Sankar
380460f13caSSibi Sankar						rpmpd_opp_min_svs: opp3 {
38177901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
382460f13caSSibi Sankar						};
383460f13caSSibi Sankar
384460f13caSSibi Sankar						rpmpd_opp_low_svs: opp4 {
38577901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
386460f13caSSibi Sankar						};
387460f13caSSibi Sankar
388460f13caSSibi Sankar						rpmpd_opp_svs: opp5 {
38977901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_SVS>;
390460f13caSSibi Sankar						};
391460f13caSSibi Sankar
392460f13caSSibi Sankar						rpmpd_opp_svs_plus: opp6 {
39377901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
394460f13caSSibi Sankar						};
395460f13caSSibi Sankar
396460f13caSSibi Sankar						rpmpd_opp_nom: opp7 {
39777901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_NOM>;
398460f13caSSibi Sankar						};
399460f13caSSibi Sankar
400460f13caSSibi Sankar						rpmpd_opp_nom_plus: opp8 {
40177901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
402460f13caSSibi Sankar						};
403460f13caSSibi Sankar
404460f13caSSibi Sankar						rpmpd_opp_turbo: opp9 {
40577901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_TURBO>;
406460f13caSSibi Sankar						};
407460f13caSSibi Sankar
408460f13caSSibi Sankar						rpmpd_opp_turbo_plus: opp10 {
40977901148SAngeloGioacchino Del Regno							opp-level = <RPM_SMD_LEVEL_BINNING>;
410460f13caSSibi Sankar						};
411460f13caSSibi Sankar					};
412460f13caSSibi Sankar				};
41331c1f0e3SBjorn Andersson			};
41431c1f0e3SBjorn Andersson		};
4157e1acc8bSStephan Gerhold	};
41631c1f0e3SBjorn Andersson
417c7833949SBjorn Andersson	smem {
418c7833949SBjorn Andersson		compatible = "qcom,smem";
419c7833949SBjorn Andersson		memory-region = <&smem_mem>;
420c7833949SBjorn Andersson		hwlocks = <&tcsr_mutex 3>;
421c7833949SBjorn Andersson	};
422c7833949SBjorn Andersson
423e8d006fdSBjorn Andersson	smp2p-lpass {
424e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
425e8d006fdSBjorn Andersson		qcom,smem = <443>, <429>;
426e8d006fdSBjorn Andersson
427e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
428e8d006fdSBjorn Andersson
429e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 10>;
430e8d006fdSBjorn Andersson
431e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
432e8d006fdSBjorn Andersson		qcom,remote-pid = <2>;
433e8d006fdSBjorn Andersson
434e8d006fdSBjorn Andersson		adsp_smp2p_out: master-kernel {
435e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
436e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
437e8d006fdSBjorn Andersson		};
438e8d006fdSBjorn Andersson
439e8d006fdSBjorn Andersson		adsp_smp2p_in: slave-kernel {
440e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
441e8d006fdSBjorn Andersson
442e8d006fdSBjorn Andersson			interrupt-controller;
443e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
444e8d006fdSBjorn Andersson		};
445e8d006fdSBjorn Andersson	};
446e8d006fdSBjorn Andersson
447e8d006fdSBjorn Andersson	smp2p-mpss {
448e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
449e8d006fdSBjorn Andersson		qcom,smem = <435>, <428>;
450e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
451e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 14>;
452e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
453e8d006fdSBjorn Andersson		qcom,remote-pid = <1>;
454e8d006fdSBjorn Andersson
455e8d006fdSBjorn Andersson		modem_smp2p_out: master-kernel {
456e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
457e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
458e8d006fdSBjorn Andersson		};
459e8d006fdSBjorn Andersson
460e8d006fdSBjorn Andersson		modem_smp2p_in: slave-kernel {
461e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
462e8d006fdSBjorn Andersson			interrupt-controller;
463e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
464e8d006fdSBjorn Andersson		};
465e8d006fdSBjorn Andersson	};
466e8d006fdSBjorn Andersson
467e8d006fdSBjorn Andersson	smp2p-slpi {
468e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
469e8d006fdSBjorn Andersson		qcom,smem = <481>, <430>;
470e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
471e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 26>;
472e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
473e8d006fdSBjorn Andersson		qcom,remote-pid = <3>;
474e8d006fdSBjorn Andersson
475e8d006fdSBjorn Andersson		slpi_smp2p_out: master-kernel {
476e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
477e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
478e8d006fdSBjorn Andersson		};
479e8d006fdSBjorn Andersson
480e8d006fdSBjorn Andersson		slpi_smp2p_in: slave-kernel {
481e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
482e8d006fdSBjorn Andersson			interrupt-controller;
483e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
484e8d006fdSBjorn Andersson		};
485e8d006fdSBjorn Andersson	};
486e8d006fdSBjorn Andersson
4874449b6f2SBjorn Andersson	thermal-zones {
488ae8876ddSAmit Kucheria		cpu0-thermal {
4894449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4904449b6f2SBjorn Andersson			polling-delay = <1000>;
4914449b6f2SBjorn Andersson
492b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 1>;
4934449b6f2SBjorn Andersson
4944449b6f2SBjorn Andersson			trips {
495285aa631SAmit Kucheria				cpu0_alert0: trip-point0 {
4964449b6f2SBjorn Andersson					temperature = <75000>;
4974449b6f2SBjorn Andersson					hysteresis = <2000>;
4984449b6f2SBjorn Andersson					type = "passive";
4994449b6f2SBjorn Andersson				};
5004449b6f2SBjorn Andersson
5011364acc3SKrzysztof Kozlowski				cpu0_crit: cpu-crit {
5024449b6f2SBjorn Andersson					temperature = <110000>;
5034449b6f2SBjorn Andersson					hysteresis = <2000>;
5044449b6f2SBjorn Andersson					type = "critical";
5054449b6f2SBjorn Andersson				};
5064449b6f2SBjorn Andersson			};
5074449b6f2SBjorn Andersson		};
5084449b6f2SBjorn Andersson
509ae8876ddSAmit Kucheria		cpu1-thermal {
5104449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5114449b6f2SBjorn Andersson			polling-delay = <1000>;
5124449b6f2SBjorn Andersson
513b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 2>;
5144449b6f2SBjorn Andersson
5154449b6f2SBjorn Andersson			trips {
516285aa631SAmit Kucheria				cpu1_alert0: trip-point0 {
5174449b6f2SBjorn Andersson					temperature = <75000>;
5184449b6f2SBjorn Andersson					hysteresis = <2000>;
5194449b6f2SBjorn Andersson					type = "passive";
5204449b6f2SBjorn Andersson				};
5214449b6f2SBjorn Andersson
5221364acc3SKrzysztof Kozlowski				cpu1_crit: cpu-crit {
5234449b6f2SBjorn Andersson					temperature = <110000>;
5244449b6f2SBjorn Andersson					hysteresis = <2000>;
5254449b6f2SBjorn Andersson					type = "critical";
5264449b6f2SBjorn Andersson				};
5274449b6f2SBjorn Andersson			};
5284449b6f2SBjorn Andersson		};
5294449b6f2SBjorn Andersson
530ae8876ddSAmit Kucheria		cpu2-thermal {
5314449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5324449b6f2SBjorn Andersson			polling-delay = <1000>;
5334449b6f2SBjorn Andersson
534b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 3>;
5354449b6f2SBjorn Andersson
5364449b6f2SBjorn Andersson			trips {
537285aa631SAmit Kucheria				cpu2_alert0: trip-point0 {
5384449b6f2SBjorn Andersson					temperature = <75000>;
5394449b6f2SBjorn Andersson					hysteresis = <2000>;
5404449b6f2SBjorn Andersson					type = "passive";
5414449b6f2SBjorn Andersson				};
5424449b6f2SBjorn Andersson
5431364acc3SKrzysztof Kozlowski				cpu2_crit: cpu-crit {
5444449b6f2SBjorn Andersson					temperature = <110000>;
5454449b6f2SBjorn Andersson					hysteresis = <2000>;
5464449b6f2SBjorn Andersson					type = "critical";
5474449b6f2SBjorn Andersson				};
5484449b6f2SBjorn Andersson			};
5494449b6f2SBjorn Andersson		};
5504449b6f2SBjorn Andersson
551ae8876ddSAmit Kucheria		cpu3-thermal {
5524449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5534449b6f2SBjorn Andersson			polling-delay = <1000>;
5544449b6f2SBjorn Andersson
555b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 4>;
5564449b6f2SBjorn Andersson
5574449b6f2SBjorn Andersson			trips {
558285aa631SAmit Kucheria				cpu3_alert0: trip-point0 {
5594449b6f2SBjorn Andersson					temperature = <75000>;
5604449b6f2SBjorn Andersson					hysteresis = <2000>;
5614449b6f2SBjorn Andersson					type = "passive";
5624449b6f2SBjorn Andersson				};
5634449b6f2SBjorn Andersson
5641364acc3SKrzysztof Kozlowski				cpu3_crit: cpu-crit {
5654449b6f2SBjorn Andersson					temperature = <110000>;
5664449b6f2SBjorn Andersson					hysteresis = <2000>;
5674449b6f2SBjorn Andersson					type = "critical";
5684449b6f2SBjorn Andersson				};
5694449b6f2SBjorn Andersson			};
5704449b6f2SBjorn Andersson		};
5714449b6f2SBjorn Andersson
572ae8876ddSAmit Kucheria		cpu4-thermal {
5734449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5744449b6f2SBjorn Andersson			polling-delay = <1000>;
5754449b6f2SBjorn Andersson
5764449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 7>;
5774449b6f2SBjorn Andersson
5784449b6f2SBjorn Andersson			trips {
579285aa631SAmit Kucheria				cpu4_alert0: trip-point0 {
5804449b6f2SBjorn Andersson					temperature = <75000>;
5814449b6f2SBjorn Andersson					hysteresis = <2000>;
5824449b6f2SBjorn Andersson					type = "passive";
5834449b6f2SBjorn Andersson				};
5844449b6f2SBjorn Andersson
5851364acc3SKrzysztof Kozlowski				cpu4_crit: cpu-crit {
5864449b6f2SBjorn Andersson					temperature = <110000>;
5874449b6f2SBjorn Andersson					hysteresis = <2000>;
5884449b6f2SBjorn Andersson					type = "critical";
5894449b6f2SBjorn Andersson				};
5904449b6f2SBjorn Andersson			};
5914449b6f2SBjorn Andersson		};
5924449b6f2SBjorn Andersson
593ae8876ddSAmit Kucheria		cpu5-thermal {
5944449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5954449b6f2SBjorn Andersson			polling-delay = <1000>;
5964449b6f2SBjorn Andersson
5974449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 8>;
5984449b6f2SBjorn Andersson
5994449b6f2SBjorn Andersson			trips {
600285aa631SAmit Kucheria				cpu5_alert0: trip-point0 {
6014449b6f2SBjorn Andersson					temperature = <75000>;
6024449b6f2SBjorn Andersson					hysteresis = <2000>;
6034449b6f2SBjorn Andersson					type = "passive";
6044449b6f2SBjorn Andersson				};
6054449b6f2SBjorn Andersson
6061364acc3SKrzysztof Kozlowski				cpu5_crit: cpu-crit {
6074449b6f2SBjorn Andersson					temperature = <110000>;
6084449b6f2SBjorn Andersson					hysteresis = <2000>;
6094449b6f2SBjorn Andersson					type = "critical";
6104449b6f2SBjorn Andersson				};
6114449b6f2SBjorn Andersson			};
6124449b6f2SBjorn Andersson		};
6134449b6f2SBjorn Andersson
614ae8876ddSAmit Kucheria		cpu6-thermal {
6154449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6164449b6f2SBjorn Andersson			polling-delay = <1000>;
6174449b6f2SBjorn Andersson
6184449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 9>;
6194449b6f2SBjorn Andersson
6204449b6f2SBjorn Andersson			trips {
621285aa631SAmit Kucheria				cpu6_alert0: trip-point0 {
6224449b6f2SBjorn Andersson					temperature = <75000>;
6234449b6f2SBjorn Andersson					hysteresis = <2000>;
6244449b6f2SBjorn Andersson					type = "passive";
6254449b6f2SBjorn Andersson				};
6264449b6f2SBjorn Andersson
6271364acc3SKrzysztof Kozlowski				cpu6_crit: cpu-crit {
6284449b6f2SBjorn Andersson					temperature = <110000>;
6294449b6f2SBjorn Andersson					hysteresis = <2000>;
6304449b6f2SBjorn Andersson					type = "critical";
6314449b6f2SBjorn Andersson				};
6324449b6f2SBjorn Andersson			};
6334449b6f2SBjorn Andersson		};
6344449b6f2SBjorn Andersson
635ae8876ddSAmit Kucheria		cpu7-thermal {
6364449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6374449b6f2SBjorn Andersson			polling-delay = <1000>;
6384449b6f2SBjorn Andersson
6394449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 10>;
6404449b6f2SBjorn Andersson
6414449b6f2SBjorn Andersson			trips {
642285aa631SAmit Kucheria				cpu7_alert0: trip-point0 {
6434449b6f2SBjorn Andersson					temperature = <75000>;
6444449b6f2SBjorn Andersson					hysteresis = <2000>;
6454449b6f2SBjorn Andersson					type = "passive";
6464449b6f2SBjorn Andersson				};
6474449b6f2SBjorn Andersson
6481364acc3SKrzysztof Kozlowski				cpu7_crit: cpu-crit {
6494449b6f2SBjorn Andersson					temperature = <110000>;
6504449b6f2SBjorn Andersson					hysteresis = <2000>;
6514449b6f2SBjorn Andersson					type = "critical";
6524449b6f2SBjorn Andersson				};
6534449b6f2SBjorn Andersson			};
6544449b6f2SBjorn Andersson		};
6554449b6f2SBjorn Andersson
6567be1c395SDavid Heidelberg		gpu-bottom-thermal {
6572fa2d301SAmit Kucheria			polling-delay-passive = <250>;
6582fa2d301SAmit Kucheria			polling-delay = <1000>;
6592fa2d301SAmit Kucheria
6602fa2d301SAmit Kucheria			thermal-sensors = <&tsens0 12>;
6612fa2d301SAmit Kucheria
6622fa2d301SAmit Kucheria			trips {
663285aa631SAmit Kucheria				gpu1_alert0: trip-point0 {
6642fa2d301SAmit Kucheria					temperature = <90000>;
6652fa2d301SAmit Kucheria					hysteresis = <2000>;
6662fa2d301SAmit Kucheria					type = "hot";
6672fa2d301SAmit Kucheria				};
6682fa2d301SAmit Kucheria			};
6692fa2d301SAmit Kucheria		};
6702fa2d301SAmit Kucheria
6717be1c395SDavid Heidelberg		gpu-top-thermal {
6724449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6734449b6f2SBjorn Andersson			polling-delay = <1000>;
6744449b6f2SBjorn Andersson
6759284aa44SAmit Kucheria			thermal-sensors = <&tsens0 13>;
6762fa2d301SAmit Kucheria
6772fa2d301SAmit Kucheria			trips {
678285aa631SAmit Kucheria				gpu2_alert0: trip-point0 {
6792fa2d301SAmit Kucheria					temperature = <90000>;
6802fa2d301SAmit Kucheria					hysteresis = <2000>;
6812fa2d301SAmit Kucheria					type = "hot";
6822fa2d301SAmit Kucheria				};
6832fa2d301SAmit Kucheria			};
6844449b6f2SBjorn Andersson		};
685e9d2729dSAmit Kucheria
686060f4211SAmit Kucheria		clust0-mhm-thermal {
687e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
688e9d2729dSAmit Kucheria			polling-delay = <1000>;
689e9d2729dSAmit Kucheria
690e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 5>;
691e9d2729dSAmit Kucheria
692e9d2729dSAmit Kucheria			trips {
693285aa631SAmit Kucheria				cluster0_mhm_alert0: trip-point0 {
694e9d2729dSAmit Kucheria					temperature = <90000>;
695e9d2729dSAmit Kucheria					hysteresis = <2000>;
696e9d2729dSAmit Kucheria					type = "hot";
697e9d2729dSAmit Kucheria				};
698e9d2729dSAmit Kucheria			};
699e9d2729dSAmit Kucheria		};
700e9d2729dSAmit Kucheria
701060f4211SAmit Kucheria		clust1-mhm-thermal {
702e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
703e9d2729dSAmit Kucheria			polling-delay = <1000>;
704e9d2729dSAmit Kucheria
705e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 6>;
706e9d2729dSAmit Kucheria
707e9d2729dSAmit Kucheria			trips {
708285aa631SAmit Kucheria				cluster1_mhm_alert0: trip-point0 {
709e9d2729dSAmit Kucheria					temperature = <90000>;
710e9d2729dSAmit Kucheria					hysteresis = <2000>;
711e9d2729dSAmit Kucheria					type = "hot";
712e9d2729dSAmit Kucheria				};
713e9d2729dSAmit Kucheria			};
714e9d2729dSAmit Kucheria		};
715e9d2729dSAmit Kucheria
716e9d2729dSAmit Kucheria		cluster1-l2-thermal {
7174449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7184449b6f2SBjorn Andersson			polling-delay = <1000>;
7194449b6f2SBjorn Andersson
7204449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 11>;
7214449b6f2SBjorn Andersson
7224449b6f2SBjorn Andersson			trips {
723285aa631SAmit Kucheria				cluster1_l2_alert0: trip-point0 {
724e9d2729dSAmit Kucheria					temperature = <90000>;
7254449b6f2SBjorn Andersson					hysteresis = <2000>;
726e9d2729dSAmit Kucheria					type = "hot";
7274449b6f2SBjorn Andersson				};
7284449b6f2SBjorn Andersson			};
7294449b6f2SBjorn Andersson		};
7304449b6f2SBjorn Andersson
731e9d2729dSAmit Kucheria		modem-thermal {
7324449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7334449b6f2SBjorn Andersson			polling-delay = <1000>;
7344449b6f2SBjorn Andersson
7354449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 1>;
7364449b6f2SBjorn Andersson
7374449b6f2SBjorn Andersson			trips {
738285aa631SAmit Kucheria				modem_alert0: trip-point0 {
739e9d2729dSAmit Kucheria					temperature = <90000>;
7404449b6f2SBjorn Andersson					hysteresis = <2000>;
741e9d2729dSAmit Kucheria					type = "hot";
7424449b6f2SBjorn Andersson				};
7434449b6f2SBjorn Andersson			};
7444449b6f2SBjorn Andersson		};
7454449b6f2SBjorn Andersson
746e9d2729dSAmit Kucheria		mem-thermal {
747e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
748e9d2729dSAmit Kucheria			polling-delay = <1000>;
749e9d2729dSAmit Kucheria
750e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 2>;
751e9d2729dSAmit Kucheria
752e9d2729dSAmit Kucheria			trips {
753285aa631SAmit Kucheria				mem_alert0: trip-point0 {
754e9d2729dSAmit Kucheria					temperature = <90000>;
755e9d2729dSAmit Kucheria					hysteresis = <2000>;
756e9d2729dSAmit Kucheria					type = "hot";
757e9d2729dSAmit Kucheria				};
758e9d2729dSAmit Kucheria			};
759e9d2729dSAmit Kucheria		};
760e9d2729dSAmit Kucheria
761e9d2729dSAmit Kucheria		wlan-thermal {
7624449b6f2SBjorn Andersson			polling-delay-passive = <250>;
7634449b6f2SBjorn Andersson			polling-delay = <1000>;
7644449b6f2SBjorn Andersson
7654449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 3>;
766e9d2729dSAmit Kucheria
767e9d2729dSAmit Kucheria			trips {
768285aa631SAmit Kucheria				wlan_alert0: trip-point0 {
769e9d2729dSAmit Kucheria					temperature = <90000>;
770e9d2729dSAmit Kucheria					hysteresis = <2000>;
771e9d2729dSAmit Kucheria					type = "hot";
772e9d2729dSAmit Kucheria				};
773e9d2729dSAmit Kucheria			};
774e9d2729dSAmit Kucheria		};
775e9d2729dSAmit Kucheria
776e9d2729dSAmit Kucheria		q6-dsp-thermal {
777e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
778e9d2729dSAmit Kucheria			polling-delay = <1000>;
779e9d2729dSAmit Kucheria
780e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 4>;
781e9d2729dSAmit Kucheria
782e9d2729dSAmit Kucheria			trips {
783285aa631SAmit Kucheria				q6_dsp_alert0: trip-point0 {
784e9d2729dSAmit Kucheria					temperature = <90000>;
785e9d2729dSAmit Kucheria					hysteresis = <2000>;
786e9d2729dSAmit Kucheria					type = "hot";
787e9d2729dSAmit Kucheria				};
788e9d2729dSAmit Kucheria			};
789e9d2729dSAmit Kucheria		};
790e9d2729dSAmit Kucheria
791e9d2729dSAmit Kucheria		camera-thermal {
792e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
793e9d2729dSAmit Kucheria			polling-delay = <1000>;
794e9d2729dSAmit Kucheria
795e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 5>;
796e9d2729dSAmit Kucheria
797e9d2729dSAmit Kucheria			trips {
798285aa631SAmit Kucheria				camera_alert0: trip-point0 {
799e9d2729dSAmit Kucheria					temperature = <90000>;
800e9d2729dSAmit Kucheria					hysteresis = <2000>;
801e9d2729dSAmit Kucheria					type = "hot";
802e9d2729dSAmit Kucheria				};
803e9d2729dSAmit Kucheria			};
804e9d2729dSAmit Kucheria		};
805e9d2729dSAmit Kucheria
806e9d2729dSAmit Kucheria		multimedia-thermal {
807e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
808e9d2729dSAmit Kucheria			polling-delay = <1000>;
809e9d2729dSAmit Kucheria
810e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 6>;
811e9d2729dSAmit Kucheria
812e9d2729dSAmit Kucheria			trips {
813285aa631SAmit Kucheria				multimedia_alert0: trip-point0 {
814e9d2729dSAmit Kucheria					temperature = <90000>;
815e9d2729dSAmit Kucheria					hysteresis = <2000>;
816e9d2729dSAmit Kucheria					type = "hot";
817e9d2729dSAmit Kucheria				};
818e9d2729dSAmit Kucheria			};
8194449b6f2SBjorn Andersson		};
8204449b6f2SBjorn Andersson	};
8214449b6f2SBjorn Andersson
8224807c71cSJoonwoo Park	timer {
8234807c71cSJoonwoo Park		compatible = "arm,armv8-timer";
8244807c71cSJoonwoo Park		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
8254807c71cSJoonwoo Park			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
8264807c71cSJoonwoo Park			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
8274807c71cSJoonwoo Park			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
8284807c71cSJoonwoo Park	};
8294807c71cSJoonwoo Park
83077462bedSKrzysztof Kozlowski	soc: soc@0 {
8314807c71cSJoonwoo Park		#address-cells = <1>;
8324807c71cSJoonwoo Park		#size-cells = <1>;
8334807c71cSJoonwoo Park		ranges = <0 0 0 0xffffffff>;
8344807c71cSJoonwoo Park		compatible = "simple-bus";
8354807c71cSJoonwoo Park
83632a5da21SJeffrey Hugo		gcc: clock-controller@100000 {
83732a5da21SJeffrey Hugo			compatible = "qcom,gcc-msm8998";
83832a5da21SJeffrey Hugo			#clock-cells = <1>;
83932a5da21SJeffrey Hugo			#reset-cells = <1>;
84032a5da21SJeffrey Hugo			#power-domain-cells = <1>;
84132a5da21SJeffrey Hugo			reg = <0x00100000 0xb0000>;
8422c2f64aeSMarijn Suijten
8432c2f64aeSMarijn Suijten			clock-names = "xo", "sleep_clk";
84483fe4b9eSKonrad Dybcio			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
8451ed29355SMichael Srba
8461ed29355SMichael Srba			/*
8471ed29355SMichael Srba			 * The hypervisor typically configures the memory region where these clocks
8481ed29355SMichael Srba			 * reside as read-only for the HLOS. If the HLOS tried to enable or disable
8491ed29355SMichael Srba			 * these clocks on a device with such configuration (e.g. because they are
8501ed29355SMichael Srba			 * enabled but unused during boot-up), the device will most likely decide
8511ed29355SMichael Srba			 * to reboot.
8521ed29355SMichael Srba			 * In light of that, we are conservative here and we list all such clocks
8531ed29355SMichael Srba			 * as protected. The board dts (or a user-supplied dts) can override the
8541ed29355SMichael Srba			 * list of protected clocks if it differs from the norm, and it is in fact
8551ed29355SMichael Srba			 * desired for the HLOS to manage these clocks
8561ed29355SMichael Srba			 */
8571ed29355SMichael Srba			protected-clocks = <AGGRE2_SNOC_NORTH_AXI>,
8581ed29355SMichael Srba					   <SSC_XO>,
8591ed29355SMichael Srba					   <SSC_CNOC_AHBS_CLK>;
86032a5da21SJeffrey Hugo		};
86132a5da21SJeffrey Hugo
862179811beSStephan Gerhold		rpm_msg_ram: sram@778000 {
86331c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msg-ram";
86432a5da21SJeffrey Hugo			reg = <0x00778000 0x7000>;
86531c1f0e3SBjorn Andersson		};
86631c1f0e3SBjorn Andersson
86794117eb1SAngeloGioacchino Del Regno		qfprom: qfprom@784000 {
868b2eab35bSKrzysztof Kozlowski			compatible = "qcom,msm8998-qfprom", "qcom,qfprom";
86994117eb1SAngeloGioacchino Del Regno			reg = <0x00784000 0x621c>;
870f259e398SBjorn Andersson			#address-cells = <1>;
871f259e398SBjorn Andersson			#size-cells = <1>;
872026dad8fSJeffrey Hugo
87394117eb1SAngeloGioacchino Del Regno			qusb2_hstx_trim: hstx-trim@23a {
87494117eb1SAngeloGioacchino Del Regno				reg = <0x23a 0x1>;
875026dad8fSJeffrey Hugo				bits = <0 4>;
876026dad8fSJeffrey Hugo			};
877f259e398SBjorn Andersson		};
878f259e398SBjorn Andersson
87950325048SAmit Kucheria		tsens0: thermal@10ab000 {
8804449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
88132a5da21SJeffrey Hugo			reg = <0x010ab000 0x1000>, /* TM */
88232a5da21SJeffrey Hugo			      <0x010aa000 0x1000>; /* SROT */
883280acabbSAmit Kucheria			#qcom,sensors = <14>;
884f0b888afSAmit Kucheria			interrupts = <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>,
885f0b888afSAmit Kucheria				     <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>;
886f0b888afSAmit Kucheria			interrupt-names = "uplow", "critical";
8874449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8884449b6f2SBjorn Andersson		};
8894449b6f2SBjorn Andersson
89050325048SAmit Kucheria		tsens1: thermal@10ae000 {
8914449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
89232a5da21SJeffrey Hugo			reg = <0x010ae000 0x1000>, /* TM */
89332a5da21SJeffrey Hugo			      <0x010ad000 0x1000>; /* SROT */
8944449b6f2SBjorn Andersson			#qcom,sensors = <8>;
895f0b888afSAmit Kucheria			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
896f0b888afSAmit Kucheria				     <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
897f0b888afSAmit Kucheria			interrupt-names = "uplow", "critical";
8984449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
8994449b6f2SBjorn Andersson		};
9004449b6f2SBjorn Andersson
9018389b869SMarc Gonzalez		anoc1_smmu: iommu@1680000 {
9028389b869SMarc Gonzalez			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
9038389b869SMarc Gonzalez			reg = <0x01680000 0x10000>;
9048389b869SMarc Gonzalez			#iommu-cells = <1>;
9058389b869SMarc Gonzalez
9068389b869SMarc Gonzalez			#global-interrupts = <0>;
9078389b869SMarc Gonzalez			interrupts =
9088389b869SMarc Gonzalez				<GIC_SPI 364 IRQ_TYPE_EDGE_RISING>,
9098389b869SMarc Gonzalez				<GIC_SPI 365 IRQ_TYPE_EDGE_RISING>,
9108389b869SMarc Gonzalez				<GIC_SPI 366 IRQ_TYPE_EDGE_RISING>,
9118389b869SMarc Gonzalez				<GIC_SPI 367 IRQ_TYPE_EDGE_RISING>,
9128389b869SMarc Gonzalez				<GIC_SPI 368 IRQ_TYPE_EDGE_RISING>,
9138389b869SMarc Gonzalez				<GIC_SPI 369 IRQ_TYPE_EDGE_RISING>;
9148389b869SMarc Gonzalez		};
9158389b869SMarc Gonzalez
916a21c9548SJeffrey Hugo		anoc2_smmu: iommu@16c0000 {
917a21c9548SJeffrey Hugo			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
918a21c9548SJeffrey Hugo			reg = <0x016c0000 0x40000>;
919a21c9548SJeffrey Hugo			#iommu-cells = <1>;
920a21c9548SJeffrey Hugo
921a21c9548SJeffrey Hugo			#global-interrupts = <0>;
922a21c9548SJeffrey Hugo			interrupts =
923a21c9548SJeffrey Hugo				<GIC_SPI 373 IRQ_TYPE_EDGE_RISING>,
924a21c9548SJeffrey Hugo				<GIC_SPI 374 IRQ_TYPE_EDGE_RISING>,
925a21c9548SJeffrey Hugo				<GIC_SPI 375 IRQ_TYPE_EDGE_RISING>,
926a21c9548SJeffrey Hugo				<GIC_SPI 376 IRQ_TYPE_EDGE_RISING>,
927a21c9548SJeffrey Hugo				<GIC_SPI 377 IRQ_TYPE_EDGE_RISING>,
928a21c9548SJeffrey Hugo				<GIC_SPI 378 IRQ_TYPE_EDGE_RISING>,
929a21c9548SJeffrey Hugo				<GIC_SPI 462 IRQ_TYPE_EDGE_RISING>,
930a21c9548SJeffrey Hugo				<GIC_SPI 463 IRQ_TYPE_EDGE_RISING>,
931a21c9548SJeffrey Hugo				<GIC_SPI 464 IRQ_TYPE_EDGE_RISING>,
932a21c9548SJeffrey Hugo				<GIC_SPI 465 IRQ_TYPE_EDGE_RISING>;
933a21c9548SJeffrey Hugo		};
934a21c9548SJeffrey Hugo
935b84dfd17SMarc Gonzalez		pcie0: pci@1c00000 {
9360d70d5f6SKrzysztof Kozlowski			compatible = "qcom,pcie-msm8998", "qcom,pcie-msm8996";
937b84dfd17SMarc Gonzalez			reg = <0x01c00000 0x2000>,
938b84dfd17SMarc Gonzalez			      <0x1b000000 0xf1d>,
939b84dfd17SMarc Gonzalez			      <0x1b000f20 0xa8>,
940b84dfd17SMarc Gonzalez			      <0x1b100000 0x100000>;
941b84dfd17SMarc Gonzalez			reg-names = "parf", "dbi", "elbi", "config";
942b84dfd17SMarc Gonzalez			device_type = "pci";
943b84dfd17SMarc Gonzalez			linux,pci-domain = <0>;
944b84dfd17SMarc Gonzalez			bus-range = <0x00 0xff>;
945b84dfd17SMarc Gonzalez			#address-cells = <3>;
946b84dfd17SMarc Gonzalez			#size-cells = <2>;
947b84dfd17SMarc Gonzalez			num-lanes = <1>;
948b84dfd17SMarc Gonzalez			phys = <&pciephy>;
949b84dfd17SMarc Gonzalez			phy-names = "pciephy";
950a72848e8SKonrad Dybcio			status = "disabled";
951b84dfd17SMarc Gonzalez
952c30a27dcSManivannan Sadhasivam			ranges = <0x01000000 0x0 0x00000000 0x1b200000 0x0 0x100000>,
953b84dfd17SMarc Gonzalez				 <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>;
954b84dfd17SMarc Gonzalez
955b84dfd17SMarc Gonzalez			#interrupt-cells = <1>;
956b84dfd17SMarc Gonzalez			interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>;
957b84dfd17SMarc Gonzalez			interrupt-names = "msi";
958b84dfd17SMarc Gonzalez			interrupt-map-mask = <0 0 0 0x7>;
9590ac10b29SRob Herring			interrupt-map = <0 0 0 1 &intc 0 0 135 IRQ_TYPE_LEVEL_HIGH>,
9600ac10b29SRob Herring					<0 0 0 2 &intc 0 0 136 IRQ_TYPE_LEVEL_HIGH>,
9610ac10b29SRob Herring					<0 0 0 3 &intc 0 0 138 IRQ_TYPE_LEVEL_HIGH>,
9620ac10b29SRob Herring					<0 0 0 4 &intc 0 0 139 IRQ_TYPE_LEVEL_HIGH>;
963b84dfd17SMarc Gonzalez
964b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>,
965b132731bSKrzysztof Kozlowski				 <&gcc GCC_PCIE_0_AUX_CLK>,
966b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
967b132731bSKrzysztof Kozlowski				 <&gcc GCC_PCIE_0_MSTR_AXI_CLK>,
968b132731bSKrzysztof Kozlowski				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>;
969b132731bSKrzysztof Kozlowski			clock-names = "pipe", "aux", "cfg", "bus_master", "bus_slave";
970b84dfd17SMarc Gonzalez
971b84dfd17SMarc Gonzalez			power-domains = <&gcc PCIE_0_GDSC>;
972b84dfd17SMarc Gonzalez			iommu-map = <0x100 &anoc1_smmu 0x1480 1>;
973b84dfd17SMarc Gonzalez			perst-gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
974b84dfd17SMarc Gonzalez		};
975b84dfd17SMarc Gonzalez
976a72848e8SKonrad Dybcio		pcie_phy: phy@1c06000 {
977b84dfd17SMarc Gonzalez			compatible = "qcom,msm8998-qmp-pcie-phy";
978b84dfd17SMarc Gonzalez			reg = <0x01c06000 0x18c>;
979b84dfd17SMarc Gonzalez			#address-cells = <1>;
980b84dfd17SMarc Gonzalez			#size-cells = <1>;
981a72848e8SKonrad Dybcio			status = "disabled";
982b84dfd17SMarc Gonzalez			ranges;
983b84dfd17SMarc Gonzalez
984b84dfd17SMarc Gonzalez			clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>,
985b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_0_CFG_AHB_CLK>,
986b84dfd17SMarc Gonzalez				 <&gcc GCC_PCIE_CLKREF_CLK>;
987b84dfd17SMarc Gonzalez			clock-names = "aux", "cfg_ahb", "ref";
988b84dfd17SMarc Gonzalez
989b84dfd17SMarc Gonzalez			resets = <&gcc GCC_PCIE_0_PHY_BCR>, <&gcc GCC_PCIE_PHY_BCR>;
990b84dfd17SMarc Gonzalez			reset-names = "phy", "common";
991b84dfd17SMarc Gonzalez
992b84dfd17SMarc Gonzalez			vdda-phy-supply = <&vreg_l1a_0p875>;
993b84dfd17SMarc Gonzalez			vdda-pll-supply = <&vreg_l2a_1p2>;
994b84dfd17SMarc Gonzalez
9951351512fSShawn Guo			pciephy: phy@1c06800 {
996b84dfd17SMarc Gonzalez				reg = <0x01c06200 0x128>, <0x01c06400 0x1fc>, <0x01c06800 0x20c>;
997b84dfd17SMarc Gonzalez				#phy-cells = <0>;
998b84dfd17SMarc Gonzalez
999b84dfd17SMarc Gonzalez				clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
1000b84dfd17SMarc Gonzalez				clock-names = "pipe0";
1001b84dfd17SMarc Gonzalez				clock-output-names = "pcie_0_pipe_clk_src";
1002b84dfd17SMarc Gonzalez				#clock-cells = <0>;
1003b84dfd17SMarc Gonzalez			};
1004b84dfd17SMarc Gonzalez		};
1005b84dfd17SMarc Gonzalez
100632a5da21SJeffrey Hugo		ufshc: ufshc@1da4000 {
100732a5da21SJeffrey Hugo			compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
100832a5da21SJeffrey Hugo			reg = <0x01da4000 0x2500>;
100932a5da21SJeffrey Hugo			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
101032a5da21SJeffrey Hugo			phys = <&ufsphy_lanes>;
101132a5da21SJeffrey Hugo			phy-names = "ufsphy";
101232a5da21SJeffrey Hugo			lanes-per-direction = <2>;
101332a5da21SJeffrey Hugo			power-domains = <&gcc UFS_GDSC>;
1014a72848e8SKonrad Dybcio			status = "disabled";
101532a5da21SJeffrey Hugo			#reset-cells = <1>;
101632a5da21SJeffrey Hugo
101732a5da21SJeffrey Hugo			clock-names =
101832a5da21SJeffrey Hugo				"core_clk",
101932a5da21SJeffrey Hugo				"bus_aggr_clk",
102032a5da21SJeffrey Hugo				"iface_clk",
102132a5da21SJeffrey Hugo				"core_clk_unipro",
102232a5da21SJeffrey Hugo				"ref_clk",
102332a5da21SJeffrey Hugo				"tx_lane0_sync_clk",
102432a5da21SJeffrey Hugo				"rx_lane0_sync_clk",
102532a5da21SJeffrey Hugo				"rx_lane1_sync_clk";
102632a5da21SJeffrey Hugo			clocks =
102732a5da21SJeffrey Hugo				<&gcc GCC_UFS_AXI_CLK>,
102832a5da21SJeffrey Hugo				<&gcc GCC_AGGRE1_UFS_AXI_CLK>,
102932a5da21SJeffrey Hugo				<&gcc GCC_UFS_AHB_CLK>,
103032a5da21SJeffrey Hugo				<&gcc GCC_UFS_UNIPRO_CORE_CLK>,
103132a5da21SJeffrey Hugo				<&rpmcc RPM_SMD_LN_BB_CLK1>,
103232a5da21SJeffrey Hugo				<&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
103332a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
103432a5da21SJeffrey Hugo				<&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
103532a5da21SJeffrey Hugo			freq-table-hz =
103632a5da21SJeffrey Hugo				<50000000 200000000>,
103732a5da21SJeffrey Hugo				<0 0>,
103832a5da21SJeffrey Hugo				<0 0>,
103932a5da21SJeffrey Hugo				<37500000 150000000>,
104032a5da21SJeffrey Hugo				<0 0>,
104132a5da21SJeffrey Hugo				<0 0>,
104232a5da21SJeffrey Hugo				<0 0>,
104332a5da21SJeffrey Hugo				<0 0>;
104432a5da21SJeffrey Hugo
104532a5da21SJeffrey Hugo			resets = <&gcc GCC_UFS_BCR>;
104632a5da21SJeffrey Hugo			reset-names = "rst";
1047c7833949SBjorn Andersson		};
1048c7833949SBjorn Andersson
104932a5da21SJeffrey Hugo		ufsphy: phy@1da7000 {
105032a5da21SJeffrey Hugo			compatible = "qcom,msm8998-qmp-ufs-phy";
105132a5da21SJeffrey Hugo			reg = <0x01da7000 0x18c>;
105232a5da21SJeffrey Hugo			#address-cells = <1>;
105332a5da21SJeffrey Hugo			#size-cells = <1>;
1054a72848e8SKonrad Dybcio			status = "disabled";
105532a5da21SJeffrey Hugo			ranges;
105631c1f0e3SBjorn Andersson
105732a5da21SJeffrey Hugo			clock-names =
105832a5da21SJeffrey Hugo				"ref",
105932a5da21SJeffrey Hugo				"ref_aux";
106032a5da21SJeffrey Hugo			clocks =
106132a5da21SJeffrey Hugo				<&gcc GCC_UFS_CLKREF_CLK>,
106232a5da21SJeffrey Hugo				<&gcc GCC_UFS_PHY_AUX_CLK>;
106332a5da21SJeffrey Hugo
106432a5da21SJeffrey Hugo			reset-names = "ufsphy";
106532a5da21SJeffrey Hugo			resets = <&ufshc 0>;
106632a5da21SJeffrey Hugo
10671351512fSShawn Guo			ufsphy_lanes: phy@1da7400 {
106832a5da21SJeffrey Hugo				reg = <0x01da7400 0x128>,
106932a5da21SJeffrey Hugo				      <0x01da7600 0x1fc>,
107032a5da21SJeffrey Hugo				      <0x01da7c00 0x1dc>,
107132a5da21SJeffrey Hugo				      <0x01da7800 0x128>,
107232a5da21SJeffrey Hugo				      <0x01da7a00 0x1fc>;
107332a5da21SJeffrey Hugo				#phy-cells = <0>;
107432a5da21SJeffrey Hugo			};
107532a5da21SJeffrey Hugo		};
107632a5da21SJeffrey Hugo
1077408c4eadSKrzysztof Kozlowski		tcsr_mutex: hwlock@1f40000 {
1078408c4eadSKrzysztof Kozlowski			compatible = "qcom,tcsr-mutex";
1079fc10cfa3SKrzysztof Kozlowski			reg = <0x01f40000 0x20000>;
1080408c4eadSKrzysztof Kozlowski			#hwlock-cells = <1>;
1081fc10cfa3SKrzysztof Kozlowski		};
1082fc10cfa3SKrzysztof Kozlowski
1083d0909bf4SJohan Hovold		tcsr_regs_1: syscon@1f60000 {
1084fc10cfa3SKrzysztof Kozlowski			compatible = "qcom,msm8998-tcsr", "syscon";
1085fc10cfa3SKrzysztof Kozlowski			reg = <0x01f60000 0x20000>;
108632a5da21SJeffrey Hugo		};
108732a5da21SJeffrey Hugo
108832a5da21SJeffrey Hugo		tlmm: pinctrl@3400000 {
108932a5da21SJeffrey Hugo			compatible = "qcom,msm8998-pinctrl";
109032a5da21SJeffrey Hugo			reg = <0x03400000 0xc00000>;
109132a5da21SJeffrey Hugo			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
1092e3d5e948SKrzysztof Kozlowski			gpio-ranges = <&tlmm 0 0 150>;
109332a5da21SJeffrey Hugo			gpio-controller;
109412541f68SKonrad Dybcio			#gpio-cells = <2>;
109532a5da21SJeffrey Hugo			interrupt-controller;
109612541f68SKonrad Dybcio			#interrupt-cells = <2>;
109703e6cb3dSKonrad Dybcio
1098ed9ba9e9SKrzysztof Kozlowski			sdc2_on: sdc2-on-state {
1099ed9ba9e9SKrzysztof Kozlowski				clk-pins {
110003e6cb3dSKonrad Dybcio					pins = "sdc2_clk";
110103e6cb3dSKonrad Dybcio					drive-strength = <16>;
110203e6cb3dSKonrad Dybcio					bias-disable;
110303e6cb3dSKonrad Dybcio				};
110403e6cb3dSKonrad Dybcio
1105ed9ba9e9SKrzysztof Kozlowski				cmd-pins {
110603e6cb3dSKonrad Dybcio					pins = "sdc2_cmd";
110703e6cb3dSKonrad Dybcio					drive-strength = <10>;
110812541f68SKonrad Dybcio					bias-pull-up;
110912541f68SKonrad Dybcio				};
111012541f68SKonrad Dybcio
1111ed9ba9e9SKrzysztof Kozlowski				data-pins {
111212541f68SKonrad Dybcio					pins = "sdc2_data";
111312541f68SKonrad Dybcio					drive-strength = <10>;
111412541f68SKonrad Dybcio					bias-pull-up;
111503e6cb3dSKonrad Dybcio				};
111603e6cb3dSKonrad Dybcio			};
111703e6cb3dSKonrad Dybcio
1118ed9ba9e9SKrzysztof Kozlowski			sdc2_off: sdc2-off-state {
1119ed9ba9e9SKrzysztof Kozlowski				clk-pins {
112012541f68SKonrad Dybcio					pins = "sdc2_clk";
112112541f68SKonrad Dybcio					drive-strength = <2>;
112212541f68SKonrad Dybcio					bias-disable;
112312541f68SKonrad Dybcio				};
112412541f68SKonrad Dybcio
1125ed9ba9e9SKrzysztof Kozlowski				cmd-pins {
112603e6cb3dSKonrad Dybcio					pins = "sdc2_cmd";
112703e6cb3dSKonrad Dybcio					drive-strength = <2>;
112812541f68SKonrad Dybcio					bias-pull-up;
112903e6cb3dSKonrad Dybcio				};
113003e6cb3dSKonrad Dybcio
1131ed9ba9e9SKrzysztof Kozlowski				data-pins {
113203e6cb3dSKonrad Dybcio					pins = "sdc2_data";
113303e6cb3dSKonrad Dybcio					drive-strength = <2>;
113412541f68SKonrad Dybcio					bias-pull-up;
113503e6cb3dSKonrad Dybcio				};
113603e6cb3dSKonrad Dybcio			};
113703e6cb3dSKonrad Dybcio
1138ed9ba9e9SKrzysztof Kozlowski			sdc2_cd: sdc2-cd-state {
113903e6cb3dSKonrad Dybcio				pins = "gpio95";
114003e6cb3dSKonrad Dybcio				function = "gpio";
114103e6cb3dSKonrad Dybcio				bias-pull-up;
114203e6cb3dSKonrad Dybcio				drive-strength = <2>;
114303e6cb3dSKonrad Dybcio			};
114403e6cb3dSKonrad Dybcio
1145ed9ba9e9SKrzysztof Kozlowski			blsp1_uart3_on: blsp1-uart3-on-state {
1146ed9ba9e9SKrzysztof Kozlowski				tx-pins {
114703e6cb3dSKonrad Dybcio					pins = "gpio45";
114803e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
114903e6cb3dSKonrad Dybcio					drive-strength = <2>;
115003e6cb3dSKonrad Dybcio					bias-disable;
115103e6cb3dSKonrad Dybcio				};
115203e6cb3dSKonrad Dybcio
1153ed9ba9e9SKrzysztof Kozlowski				rx-pins {
115403e6cb3dSKonrad Dybcio					pins = "gpio46";
115503e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
115603e6cb3dSKonrad Dybcio					drive-strength = <2>;
115703e6cb3dSKonrad Dybcio					bias-disable;
115803e6cb3dSKonrad Dybcio				};
115903e6cb3dSKonrad Dybcio
1160ed9ba9e9SKrzysztof Kozlowski				cts-pins {
116103e6cb3dSKonrad Dybcio					pins = "gpio47";
116203e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
116303e6cb3dSKonrad Dybcio					drive-strength = <2>;
116403e6cb3dSKonrad Dybcio					bias-disable;
116503e6cb3dSKonrad Dybcio				};
116603e6cb3dSKonrad Dybcio
1167ed9ba9e9SKrzysztof Kozlowski				rfr-pins {
116803e6cb3dSKonrad Dybcio					pins = "gpio48";
116903e6cb3dSKonrad Dybcio					function = "blsp_uart3_a";
117003e6cb3dSKonrad Dybcio					drive-strength = <2>;
117103e6cb3dSKonrad Dybcio					bias-disable;
117203e6cb3dSKonrad Dybcio				};
117303e6cb3dSKonrad Dybcio			};
11740fee55fcSKonrad Dybcio
1175ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c1_default: blsp1-i2c1-default-state {
11760fee55fcSKonrad Dybcio				pins = "gpio2", "gpio3";
11770fee55fcSKonrad Dybcio				function = "blsp_i2c1";
11780fee55fcSKonrad Dybcio				drive-strength = <2>;
11790fee55fcSKonrad Dybcio				bias-disable;
11800fee55fcSKonrad Dybcio			};
11810fee55fcSKonrad Dybcio
1182ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c1_sleep: blsp1-i2c1-sleep-state-state {
11830fee55fcSKonrad Dybcio				pins = "gpio2", "gpio3";
11840fee55fcSKonrad Dybcio				function = "blsp_i2c1";
11850fee55fcSKonrad Dybcio				drive-strength = <2>;
11860fee55fcSKonrad Dybcio				bias-pull-up;
11870fee55fcSKonrad Dybcio			};
11880fee55fcSKonrad Dybcio
1189ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c2_default: blsp1-i2c2-default-state {
11900fee55fcSKonrad Dybcio				pins = "gpio32", "gpio33";
11910fee55fcSKonrad Dybcio				function = "blsp_i2c2";
11920fee55fcSKonrad Dybcio				drive-strength = <2>;
11930fee55fcSKonrad Dybcio				bias-disable;
11940fee55fcSKonrad Dybcio			};
11950fee55fcSKonrad Dybcio
1196ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c2_sleep: blsp1-i2c2-sleep-state-state {
11970fee55fcSKonrad Dybcio				pins = "gpio32", "gpio33";
11980fee55fcSKonrad Dybcio				function = "blsp_i2c2";
11990fee55fcSKonrad Dybcio				drive-strength = <2>;
12000fee55fcSKonrad Dybcio				bias-pull-up;
12010fee55fcSKonrad Dybcio			};
12020fee55fcSKonrad Dybcio
1203ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c3_default: blsp1-i2c3-default-state {
12040fee55fcSKonrad Dybcio				pins = "gpio47", "gpio48";
12050fee55fcSKonrad Dybcio				function = "blsp_i2c3";
12060fee55fcSKonrad Dybcio				drive-strength = <2>;
12070fee55fcSKonrad Dybcio				bias-disable;
12080fee55fcSKonrad Dybcio			};
12090fee55fcSKonrad Dybcio
1210ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
12110fee55fcSKonrad Dybcio				pins = "gpio47", "gpio48";
12120fee55fcSKonrad Dybcio				function = "blsp_i2c3";
12130fee55fcSKonrad Dybcio				drive-strength = <2>;
12140fee55fcSKonrad Dybcio				bias-pull-up;
12150fee55fcSKonrad Dybcio			};
12160fee55fcSKonrad Dybcio
1217ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c4_default: blsp1-i2c4-default-state {
12180fee55fcSKonrad Dybcio				pins = "gpio10", "gpio11";
12190fee55fcSKonrad Dybcio				function = "blsp_i2c4";
12200fee55fcSKonrad Dybcio				drive-strength = <2>;
12210fee55fcSKonrad Dybcio				bias-disable;
12220fee55fcSKonrad Dybcio			};
12230fee55fcSKonrad Dybcio
1224ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c4_sleep: blsp1-i2c4-sleep-state {
12250fee55fcSKonrad Dybcio				pins = "gpio10", "gpio11";
12260fee55fcSKonrad Dybcio				function = "blsp_i2c4";
12270fee55fcSKonrad Dybcio				drive-strength = <2>;
12280fee55fcSKonrad Dybcio				bias-pull-up;
12290fee55fcSKonrad Dybcio			};
12300fee55fcSKonrad Dybcio
1231ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c5_default: blsp1-i2c5-default-state {
12320fee55fcSKonrad Dybcio				pins = "gpio87", "gpio88";
12330fee55fcSKonrad Dybcio				function = "blsp_i2c5";
12340fee55fcSKonrad Dybcio				drive-strength = <2>;
12350fee55fcSKonrad Dybcio				bias-disable;
12360fee55fcSKonrad Dybcio			};
12370fee55fcSKonrad Dybcio
1238ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c5_sleep: blsp1-i2c5-sleep-state {
12390fee55fcSKonrad Dybcio				pins = "gpio87", "gpio88";
12400fee55fcSKonrad Dybcio				function = "blsp_i2c5";
12410fee55fcSKonrad Dybcio				drive-strength = <2>;
12420fee55fcSKonrad Dybcio				bias-pull-up;
12430fee55fcSKonrad Dybcio			};
12440fee55fcSKonrad Dybcio
1245ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c6_default: blsp1-i2c6-default-state {
12460fee55fcSKonrad Dybcio				pins = "gpio43", "gpio44";
12470fee55fcSKonrad Dybcio				function = "blsp_i2c6";
12480fee55fcSKonrad Dybcio				drive-strength = <2>;
12490fee55fcSKonrad Dybcio				bias-disable;
12500fee55fcSKonrad Dybcio			};
12510fee55fcSKonrad Dybcio
1252ed9ba9e9SKrzysztof Kozlowski			blsp1_i2c6_sleep: blsp1-i2c6-sleep-state {
12530fee55fcSKonrad Dybcio				pins = "gpio43", "gpio44";
12540fee55fcSKonrad Dybcio				function = "blsp_i2c6";
12550fee55fcSKonrad Dybcio				drive-strength = <2>;
12560fee55fcSKonrad Dybcio				bias-pull-up;
12570fee55fcSKonrad Dybcio			};
1258935e538fSArnaud Vrac
1259935e538fSArnaud Vrac			blsp1_spi_b_default: blsp1-spi-b-default-state {
1260935e538fSArnaud Vrac				pins = "gpio23", "gpio28";
1261935e538fSArnaud Vrac				function = "blsp1_spi_b";
1262935e538fSArnaud Vrac				drive-strength = <6>;
1263935e538fSArnaud Vrac				bias-disable;
1264935e538fSArnaud Vrac			};
1265935e538fSArnaud Vrac
1266935e538fSArnaud Vrac			blsp1_spi1_default: blsp1-spi1-default-state {
1267935e538fSArnaud Vrac				pins = "gpio0", "gpio1", "gpio2", "gpio3";
1268935e538fSArnaud Vrac				function = "blsp_spi1";
1269935e538fSArnaud Vrac				drive-strength = <6>;
1270935e538fSArnaud Vrac				bias-disable;
1271935e538fSArnaud Vrac			};
1272935e538fSArnaud Vrac
1273935e538fSArnaud Vrac			blsp1_spi2_default: blsp1-spi2-default-state {
1274935e538fSArnaud Vrac				pins = "gpio31", "gpio34", "gpio32", "gpio33";
1275935e538fSArnaud Vrac				function = "blsp_spi2";
1276935e538fSArnaud Vrac				drive-strength = <6>;
1277935e538fSArnaud Vrac				bias-disable;
1278935e538fSArnaud Vrac			};
1279935e538fSArnaud Vrac
1280935e538fSArnaud Vrac			blsp1_spi3_default: blsp1-spi3-default-state {
1281935e538fSArnaud Vrac				pins = "gpio45", "gpio46", "gpio47", "gpio48";
1282935e538fSArnaud Vrac				function = "blsp_spi2";
1283935e538fSArnaud Vrac				drive-strength = <6>;
1284935e538fSArnaud Vrac				bias-disable;
1285935e538fSArnaud Vrac			};
1286935e538fSArnaud Vrac
1287935e538fSArnaud Vrac			blsp1_spi4_default: blsp1-spi4-default-state {
1288935e538fSArnaud Vrac				pins = "gpio8", "gpio9", "gpio10", "gpio11";
1289935e538fSArnaud Vrac				function = "blsp_spi4";
1290935e538fSArnaud Vrac				drive-strength = <6>;
1291935e538fSArnaud Vrac				bias-disable;
1292935e538fSArnaud Vrac			};
1293935e538fSArnaud Vrac
1294935e538fSArnaud Vrac			blsp1_spi5_default: blsp1-spi5-default-state {
1295935e538fSArnaud Vrac				pins = "gpio85", "gpio86", "gpio87", "gpio88";
1296935e538fSArnaud Vrac				function = "blsp_spi5";
1297935e538fSArnaud Vrac				drive-strength = <6>;
1298935e538fSArnaud Vrac				bias-disable;
1299935e538fSArnaud Vrac			};
1300935e538fSArnaud Vrac
1301935e538fSArnaud Vrac			blsp1_spi6_default: blsp1-spi6-default-state {
1302935e538fSArnaud Vrac				pins = "gpio41", "gpio42", "gpio43", "gpio44";
1303935e538fSArnaud Vrac				function = "blsp_spi6";
1304935e538fSArnaud Vrac				drive-strength = <6>;
1305935e538fSArnaud Vrac				bias-disable;
1306935e538fSArnaud Vrac			};
1307935e538fSArnaud Vrac
1308935e538fSArnaud Vrac
13090fee55fcSKonrad Dybcio			/* 6 interfaces per QUP, BLSP2 indexes are numbered (n)+6 */
1310ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c1_default: blsp2-i2c1-default-state {
13110fee55fcSKonrad Dybcio				pins = "gpio55", "gpio56";
13120fee55fcSKonrad Dybcio				function = "blsp_i2c7";
13130fee55fcSKonrad Dybcio				drive-strength = <2>;
13140fee55fcSKonrad Dybcio				bias-disable;
13150fee55fcSKonrad Dybcio			};
13160fee55fcSKonrad Dybcio
1317ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c1_sleep: blsp2-i2c1-sleep-state {
13180fee55fcSKonrad Dybcio				pins = "gpio55", "gpio56";
13190fee55fcSKonrad Dybcio				function = "blsp_i2c7";
13200fee55fcSKonrad Dybcio				drive-strength = <2>;
13210fee55fcSKonrad Dybcio				bias-pull-up;
13220fee55fcSKonrad Dybcio			};
13230fee55fcSKonrad Dybcio
1324ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c2_default: blsp2-i2c2-default-state {
13250fee55fcSKonrad Dybcio				pins = "gpio6", "gpio7";
13260fee55fcSKonrad Dybcio				function = "blsp_i2c8";
13270fee55fcSKonrad Dybcio				drive-strength = <2>;
13280fee55fcSKonrad Dybcio				bias-disable;
13290fee55fcSKonrad Dybcio			};
13300fee55fcSKonrad Dybcio
1331ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c2_sleep: blsp2-i2c2-sleep-state {
13320fee55fcSKonrad Dybcio				pins = "gpio6", "gpio7";
13330fee55fcSKonrad Dybcio				function = "blsp_i2c8";
13340fee55fcSKonrad Dybcio				drive-strength = <2>;
13350fee55fcSKonrad Dybcio				bias-pull-up;
13360fee55fcSKonrad Dybcio			};
13370fee55fcSKonrad Dybcio
1338ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c3_default: blsp2-i2c3-default-state {
13390fee55fcSKonrad Dybcio				pins = "gpio51", "gpio52";
13400fee55fcSKonrad Dybcio				function = "blsp_i2c9";
13410fee55fcSKonrad Dybcio				drive-strength = <2>;
13420fee55fcSKonrad Dybcio				bias-disable;
13430fee55fcSKonrad Dybcio			};
13440fee55fcSKonrad Dybcio
1345ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c3_sleep: blsp2-i2c3-sleep-state {
13460fee55fcSKonrad Dybcio				pins = "gpio51", "gpio52";
13470fee55fcSKonrad Dybcio				function = "blsp_i2c9";
13480fee55fcSKonrad Dybcio				drive-strength = <2>;
13490fee55fcSKonrad Dybcio				bias-pull-up;
13500fee55fcSKonrad Dybcio			};
13510fee55fcSKonrad Dybcio
1352ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c4_default: blsp2-i2c4-default-state {
13530fee55fcSKonrad Dybcio				pins = "gpio67", "gpio68";
13540fee55fcSKonrad Dybcio				function = "blsp_i2c10";
13550fee55fcSKonrad Dybcio				drive-strength = <2>;
13560fee55fcSKonrad Dybcio				bias-disable;
13570fee55fcSKonrad Dybcio			};
13580fee55fcSKonrad Dybcio
1359ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c4_sleep: blsp2-i2c4-sleep-state {
13600fee55fcSKonrad Dybcio				pins = "gpio67", "gpio68";
13610fee55fcSKonrad Dybcio				function = "blsp_i2c10";
13620fee55fcSKonrad Dybcio				drive-strength = <2>;
13630fee55fcSKonrad Dybcio				bias-pull-up;
13640fee55fcSKonrad Dybcio			};
13650fee55fcSKonrad Dybcio
1366ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c5_default: blsp2-i2c5-default-state {
13670fee55fcSKonrad Dybcio				pins = "gpio60", "gpio61";
13680fee55fcSKonrad Dybcio				function = "blsp_i2c11";
13690fee55fcSKonrad Dybcio				drive-strength = <2>;
13700fee55fcSKonrad Dybcio				bias-disable;
13710fee55fcSKonrad Dybcio			};
13720fee55fcSKonrad Dybcio
1373ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c5_sleep: blsp2-i2c5-sleep-state {
13740fee55fcSKonrad Dybcio				pins = "gpio60", "gpio61";
13750fee55fcSKonrad Dybcio				function = "blsp_i2c11";
13760fee55fcSKonrad Dybcio				drive-strength = <2>;
13770fee55fcSKonrad Dybcio				bias-pull-up;
13780fee55fcSKonrad Dybcio			};
13790fee55fcSKonrad Dybcio
1380ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c6_default: blsp2-i2c6-default-state {
13810fee55fcSKonrad Dybcio				pins = "gpio83", "gpio84";
13820fee55fcSKonrad Dybcio				function = "blsp_i2c12";
13830fee55fcSKonrad Dybcio				drive-strength = <2>;
13840fee55fcSKonrad Dybcio				bias-disable;
13850fee55fcSKonrad Dybcio			};
13860fee55fcSKonrad Dybcio
1387ed9ba9e9SKrzysztof Kozlowski			blsp2_i2c6_sleep: blsp2-i2c6-sleep-state {
13880fee55fcSKonrad Dybcio				pins = "gpio83", "gpio84";
13890fee55fcSKonrad Dybcio				function = "blsp_i2c12";
13900fee55fcSKonrad Dybcio				drive-strength = <2>;
13910fee55fcSKonrad Dybcio				bias-pull-up;
13920fee55fcSKonrad Dybcio			};
1393935e538fSArnaud Vrac
1394935e538fSArnaud Vrac			blsp2_spi1_default: blsp2-spi1-default-state {
1395935e538fSArnaud Vrac				pins = "gpio53", "gpio54", "gpio55", "gpio56";
1396935e538fSArnaud Vrac				function = "blsp_spi7";
1397935e538fSArnaud Vrac				drive-strength = <6>;
1398935e538fSArnaud Vrac				bias-disable;
1399935e538fSArnaud Vrac			};
1400935e538fSArnaud Vrac
1401935e538fSArnaud Vrac			blsp2_spi2_default: blsp2-spi2-default-state {
1402935e538fSArnaud Vrac				pins = "gpio4", "gpio5", "gpio6", "gpio7";
1403935e538fSArnaud Vrac				function = "blsp_spi8";
1404935e538fSArnaud Vrac				drive-strength = <6>;
1405935e538fSArnaud Vrac				bias-disable;
1406935e538fSArnaud Vrac			};
1407935e538fSArnaud Vrac
1408935e538fSArnaud Vrac			blsp2_spi3_default: blsp2-spi3-default-state {
1409935e538fSArnaud Vrac				pins = "gpio49", "gpio50", "gpio51", "gpio52";
1410935e538fSArnaud Vrac				function = "blsp_spi9";
1411935e538fSArnaud Vrac				drive-strength = <6>;
1412935e538fSArnaud Vrac				bias-disable;
1413935e538fSArnaud Vrac			};
1414935e538fSArnaud Vrac
1415935e538fSArnaud Vrac			blsp2_spi4_default: blsp2-spi4-default-state {
1416935e538fSArnaud Vrac				pins = "gpio65", "gpio66", "gpio67", "gpio68";
1417935e538fSArnaud Vrac				function = "blsp_spi10";
1418935e538fSArnaud Vrac				drive-strength = <6>;
1419935e538fSArnaud Vrac				bias-disable;
1420935e538fSArnaud Vrac			};
1421935e538fSArnaud Vrac
1422935e538fSArnaud Vrac			blsp2_spi5_default: blsp2-spi5-default-state {
1423935e538fSArnaud Vrac				pins = "gpio58", "gpio59", "gpio60", "gpio61";
1424935e538fSArnaud Vrac				function = "blsp_spi11";
1425935e538fSArnaud Vrac				drive-strength = <6>;
1426935e538fSArnaud Vrac				bias-disable;
1427935e538fSArnaud Vrac			};
1428935e538fSArnaud Vrac
1429935e538fSArnaud Vrac			blsp2_spi6_default: blsp2-spi6-default-state {
1430935e538fSArnaud Vrac				pins = "gpio81", "gpio82", "gpio83", "gpio84";
1431935e538fSArnaud Vrac				function = "blsp_spi12";
1432935e538fSArnaud Vrac				drive-strength = <6>;
1433935e538fSArnaud Vrac				bias-disable;
1434935e538fSArnaud Vrac			};
143532a5da21SJeffrey Hugo		};
143632a5da21SJeffrey Hugo
1437a9ee66deSSibi Sankar		remoteproc_mss: remoteproc@4080000 {
1438a9ee66deSSibi Sankar			compatible = "qcom,msm8998-mss-pil";
1439a9ee66deSSibi Sankar			reg = <0x04080000 0x100>, <0x04180000 0x20>;
1440a9ee66deSSibi Sankar			reg-names = "qdsp6", "rmb";
1441a9ee66deSSibi Sankar
1442a9ee66deSSibi Sankar			interrupts-extended =
1443a9ee66deSSibi Sankar				<&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
1444a9ee66deSSibi Sankar				<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1445a9ee66deSSibi Sankar				<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1446a9ee66deSSibi Sankar				<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1447a9ee66deSSibi Sankar				<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
1448a9ee66deSSibi Sankar				<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
1449a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
1450a9ee66deSSibi Sankar					  "handover", "stop-ack",
1451a9ee66deSSibi Sankar					  "shutdown-ack";
1452a9ee66deSSibi Sankar
1453a9ee66deSSibi Sankar			clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
1454a9ee66deSSibi Sankar				 <&gcc GCC_BIMC_MSS_Q6_AXI_CLK>,
1455a9ee66deSSibi Sankar				 <&gcc GCC_BOOT_ROM_AHB_CLK>,
1456a9ee66deSSibi Sankar				 <&gcc GCC_MSS_GPLL0_DIV_CLK_SRC>,
1457a9ee66deSSibi Sankar				 <&gcc GCC_MSS_SNOC_AXI_CLK>,
1458a9ee66deSSibi Sankar				 <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>,
1459a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_QDSS_CLK>,
1460a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
1461a9ee66deSSibi Sankar			clock-names = "iface", "bus", "mem", "gpll0_mss",
1462a9ee66deSSibi Sankar				      "snoc_axi", "mnoc_axi", "qdss", "xo";
1463a9ee66deSSibi Sankar
1464a9ee66deSSibi Sankar			qcom,smem-states = <&modem_smp2p_out 0>;
1465a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
1466a9ee66deSSibi Sankar
1467a9ee66deSSibi Sankar			resets = <&gcc GCC_MSS_RESTART>;
1468a9ee66deSSibi Sankar			reset-names = "mss_restart";
1469a9ee66deSSibi Sankar
1470fc10cfa3SKrzysztof Kozlowski			qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>;
1471a9ee66deSSibi Sankar
1472a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_VDDCX>,
1473a9ee66deSSibi Sankar					<&rpmpd MSM8998_VDDMX>;
1474a9ee66deSSibi Sankar			power-domain-names = "cx", "mx";
1475a9ee66deSSibi Sankar
147603041cd2SJami Kettunen			status = "disabled";
147703041cd2SJami Kettunen
1478a9ee66deSSibi Sankar			mba {
1479a9ee66deSSibi Sankar				memory-region = <&mba_mem>;
1480a9ee66deSSibi Sankar			};
1481a9ee66deSSibi Sankar
1482a9ee66deSSibi Sankar			mpss {
1483a9ee66deSSibi Sankar				memory-region = <&mpss_mem>;
1484a9ee66deSSibi Sankar			};
1485a9ee66deSSibi Sankar
1486264f6a8dSSibi Sankar			metadata {
1487264f6a8dSSibi Sankar				memory-region = <&mdata_mem>;
1488264f6a8dSSibi Sankar			};
1489264f6a8dSSibi Sankar
1490a9ee66deSSibi Sankar			glink-edge {
1491a9ee66deSSibi Sankar				interrupts = <GIC_SPI 452 IRQ_TYPE_EDGE_RISING>;
1492a9ee66deSSibi Sankar				label = "modem";
1493a9ee66deSSibi Sankar				qcom,remote-pid = <1>;
1494a9ee66deSSibi Sankar				mboxes = <&apcs_glb 15>;
1495a9ee66deSSibi Sankar			};
1496a9ee66deSSibi Sankar		};
1497a9ee66deSSibi Sankar
149887cd46d6SAngeloGioacchino Del Regno		adreno_gpu: gpu@5000000 {
149987cd46d6SAngeloGioacchino Del Regno			compatible = "qcom,adreno-540.1", "qcom,adreno";
150087cd46d6SAngeloGioacchino Del Regno			reg = <0x05000000 0x40000>;
150187cd46d6SAngeloGioacchino Del Regno			reg-names = "kgsl_3d0_reg_memory";
150287cd46d6SAngeloGioacchino Del Regno
150387cd46d6SAngeloGioacchino Del Regno			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
150487cd46d6SAngeloGioacchino Del Regno				<&gpucc RBBMTIMER_CLK>,
150587cd46d6SAngeloGioacchino Del Regno				<&gcc GCC_BIMC_GFX_CLK>,
150687cd46d6SAngeloGioacchino Del Regno				<&gcc GCC_GPU_BIMC_GFX_CLK>,
150787cd46d6SAngeloGioacchino Del Regno				<&gpucc RBCPR_CLK>,
150887cd46d6SAngeloGioacchino Del Regno				<&gpucc GFX3D_CLK>;
150987cd46d6SAngeloGioacchino Del Regno			clock-names = "iface",
151087cd46d6SAngeloGioacchino Del Regno				"rbbmtimer",
151187cd46d6SAngeloGioacchino Del Regno				"mem",
151287cd46d6SAngeloGioacchino Del Regno				"mem_iface",
151387cd46d6SAngeloGioacchino Del Regno				"rbcpr",
151487cd46d6SAngeloGioacchino Del Regno				"core";
151587cd46d6SAngeloGioacchino Del Regno
1516b79663a5SKrzysztof Kozlowski			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
151787cd46d6SAngeloGioacchino Del Regno			iommus = <&adreno_smmu 0>;
151887cd46d6SAngeloGioacchino Del Regno			operating-points-v2 = <&gpu_opp_table>;
151987cd46d6SAngeloGioacchino Del Regno			power-domains = <&rpmpd MSM8998_VDDMX>;
152087cd46d6SAngeloGioacchino Del Regno			status = "disabled";
152187cd46d6SAngeloGioacchino Del Regno
152287cd46d6SAngeloGioacchino Del Regno			gpu_opp_table: opp-table {
152387cd46d6SAngeloGioacchino Del Regno				compatible = "operating-points-v2";
152487cd46d6SAngeloGioacchino Del Regno				opp-710000097 {
152587cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <710000097>;
152687cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_TURBO>;
1527d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
152887cd46d6SAngeloGioacchino Del Regno				};
152987cd46d6SAngeloGioacchino Del Regno
153087cd46d6SAngeloGioacchino Del Regno				opp-670000048 {
153187cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <670000048>;
153287cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
1533d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
153487cd46d6SAngeloGioacchino Del Regno				};
153587cd46d6SAngeloGioacchino Del Regno
153687cd46d6SAngeloGioacchino Del Regno				opp-596000097 {
153787cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <596000097>;
153887cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_NOM>;
1539d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
154087cd46d6SAngeloGioacchino Del Regno				};
154187cd46d6SAngeloGioacchino Del Regno
154287cd46d6SAngeloGioacchino Del Regno				opp-515000097 {
154387cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <515000097>;
154487cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
1545d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
154687cd46d6SAngeloGioacchino Del Regno				};
154787cd46d6SAngeloGioacchino Del Regno
154887cd46d6SAngeloGioacchino Del Regno				opp-414000000 {
154987cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <414000000>;
155087cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_SVS>;
1551d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
155287cd46d6SAngeloGioacchino Del Regno				};
155387cd46d6SAngeloGioacchino Del Regno
155487cd46d6SAngeloGioacchino Del Regno				opp-342000000 {
155587cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <342000000>;
155687cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
1557d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
155887cd46d6SAngeloGioacchino Del Regno				};
155987cd46d6SAngeloGioacchino Del Regno
156087cd46d6SAngeloGioacchino Del Regno				opp-257000000 {
156187cd46d6SAngeloGioacchino Del Regno					opp-hz = /bits/ 64 <257000000>;
156287cd46d6SAngeloGioacchino Del Regno					opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
1563d6882340SKonrad Dybcio					opp-supported-hw = <0xff>;
156487cd46d6SAngeloGioacchino Del Regno				};
156587cd46d6SAngeloGioacchino Del Regno			};
156687cd46d6SAngeloGioacchino Del Regno		};
156787cd46d6SAngeloGioacchino Del Regno
156887cd46d6SAngeloGioacchino Del Regno		adreno_smmu: iommu@5040000 {
156987cd46d6SAngeloGioacchino Del Regno			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
157087cd46d6SAngeloGioacchino Del Regno			reg = <0x05040000 0x10000>;
157187cd46d6SAngeloGioacchino Del Regno			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
157287cd46d6SAngeloGioacchino Del Regno				 <&gcc GCC_BIMC_GFX_CLK>,
157387cd46d6SAngeloGioacchino Del Regno				 <&gcc GCC_GPU_BIMC_GFX_CLK>;
157487cd46d6SAngeloGioacchino Del Regno			clock-names = "iface", "mem", "mem_iface";
157587cd46d6SAngeloGioacchino Del Regno
157687cd46d6SAngeloGioacchino Del Regno			#global-interrupts = <0>;
157787cd46d6SAngeloGioacchino Del Regno			#iommu-cells = <1>;
157887cd46d6SAngeloGioacchino Del Regno			interrupts =
157987cd46d6SAngeloGioacchino Del Regno				<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
158087cd46d6SAngeloGioacchino Del Regno				<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
158187cd46d6SAngeloGioacchino Del Regno				<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
158287cd46d6SAngeloGioacchino Del Regno			/*
158387cd46d6SAngeloGioacchino Del Regno			 * GPU-GX GDSC's parent is GPU-CX. We need to bring up the
158487cd46d6SAngeloGioacchino Del Regno			 * GPU-CX for SMMU but we need both of them up for Adreno.
158587cd46d6SAngeloGioacchino Del Regno			 * Contemporarily, we also need to manage the VDDMX rpmpd
158687cd46d6SAngeloGioacchino Del Regno			 * domain in the Adreno driver.
158787cd46d6SAngeloGioacchino Del Regno			 * Enable GPU CX/GX GDSCs here so that we can manage the
158887cd46d6SAngeloGioacchino Del Regno			 * SoC VDDMX RPM Power Domain in the Adreno driver.
158987cd46d6SAngeloGioacchino Del Regno			 */
159087cd46d6SAngeloGioacchino Del Regno			power-domains = <&gpucc GPU_GX_GDSC>;
159187cd46d6SAngeloGioacchino Del Regno		};
159287cd46d6SAngeloGioacchino Del Regno
1593876a7573SJeffrey Hugo		gpucc: clock-controller@5065000 {
1594876a7573SJeffrey Hugo			compatible = "qcom,msm8998-gpucc";
1595876a7573SJeffrey Hugo			#clock-cells = <1>;
1596876a7573SJeffrey Hugo			#reset-cells = <1>;
1597876a7573SJeffrey Hugo			#power-domain-cells = <1>;
1598876a7573SJeffrey Hugo			reg = <0x05065000 0x9000>;
1599876a7573SJeffrey Hugo
1600876a7573SJeffrey Hugo			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
160100ada6afSKonrad Dybcio				 <&gcc GCC_GPU_GPLL0_CLK>;
1602876a7573SJeffrey Hugo			clock-names = "xo",
1603876a7573SJeffrey Hugo				      "gpll0";
1604876a7573SJeffrey Hugo		};
1605876a7573SJeffrey Hugo
1606a9ee66deSSibi Sankar		remoteproc_slpi: remoteproc@5800000 {
1607a9ee66deSSibi Sankar			compatible = "qcom,msm8998-slpi-pas";
1608a9ee66deSSibi Sankar			reg = <0x05800000 0x4040>;
1609a9ee66deSSibi Sankar
1610a9ee66deSSibi Sankar			interrupts-extended = <&intc GIC_SPI 390 IRQ_TYPE_EDGE_RISING>,
1611a9ee66deSSibi Sankar					      <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1612a9ee66deSSibi Sankar					      <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
1613a9ee66deSSibi Sankar					      <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
1614a9ee66deSSibi Sankar					      <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
1615a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
1616a9ee66deSSibi Sankar					  "handover", "stop-ack";
1617a9ee66deSSibi Sankar
1618a9ee66deSSibi Sankar			px-supply = <&vreg_lvs2a_1p8>;
1619a9ee66deSSibi Sankar
1620a9ee66deSSibi Sankar			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
1621a9ee66deSSibi Sankar				 <&rpmcc RPM_SMD_AGGR2_NOC_CLK>;
1622a9ee66deSSibi Sankar			clock-names = "xo", "aggre2";
1623a9ee66deSSibi Sankar
1624a9ee66deSSibi Sankar			memory-region = <&slpi_mem>;
1625a9ee66deSSibi Sankar
1626a9ee66deSSibi Sankar			qcom,smem-states = <&slpi_smp2p_out 0>;
1627a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
1628a9ee66deSSibi Sankar
1629a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_SSCCX>;
1630a9ee66deSSibi Sankar			power-domain-names = "ssc_cx";
1631a9ee66deSSibi Sankar
1632a9ee66deSSibi Sankar			status = "disabled";
1633a9ee66deSSibi Sankar
1634a9ee66deSSibi Sankar			glink-edge {
1635a9ee66deSSibi Sankar				interrupts = <GIC_SPI 179 IRQ_TYPE_EDGE_RISING>;
1636a9ee66deSSibi Sankar				label = "dsps";
1637a9ee66deSSibi Sankar				qcom,remote-pid = <3>;
1638a9ee66deSSibi Sankar				mboxes = <&apcs_glb 27>;
1639a9ee66deSSibi Sankar			};
1640a9ee66deSSibi Sankar		};
1641a9ee66deSSibi Sankar
1642a636f93fSSai Prakash Ranjan		stm: stm@6002000 {
1643783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-stm", "arm,primecell";
1644783abfa2SSai Prakash Ranjan			reg = <0x06002000 0x1000>,
1645783abfa2SSai Prakash Ranjan			      <0x16280000 0x180000>;
1646b5d08f08SKonrad Dybcio			reg-names = "stm-base", "stm-stimulus-base";
1647a636f93fSSai Prakash Ranjan			status = "disabled";
1648783abfa2SSai Prakash Ranjan
1649783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1650783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1651783abfa2SSai Prakash Ranjan
1652783abfa2SSai Prakash Ranjan			out-ports {
1653783abfa2SSai Prakash Ranjan				port {
1654783abfa2SSai Prakash Ranjan					stm_out: endpoint {
1655783abfa2SSai Prakash Ranjan						remote-endpoint = <&funnel0_in7>;
1656783abfa2SSai Prakash Ranjan					};
1657783abfa2SSai Prakash Ranjan				};
1658783abfa2SSai Prakash Ranjan			};
1659783abfa2SSai Prakash Ranjan		};
1660783abfa2SSai Prakash Ranjan
1661a636f93fSSai Prakash Ranjan		funnel1: funnel@6041000 {
1662783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1663783abfa2SSai Prakash Ranjan			reg = <0x06041000 0x1000>;
1664a636f93fSSai Prakash Ranjan			status = "disabled";
1665783abfa2SSai Prakash Ranjan
1666783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1667783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1668783abfa2SSai Prakash Ranjan
1669783abfa2SSai Prakash Ranjan			out-ports {
1670783abfa2SSai Prakash Ranjan				port {
1671783abfa2SSai Prakash Ranjan					funnel0_out: endpoint {
1672783abfa2SSai Prakash Ranjan						remote-endpoint =
1673783abfa2SSai Prakash Ranjan						  <&merge_funnel_in0>;
1674783abfa2SSai Prakash Ranjan					};
1675783abfa2SSai Prakash Ranjan				};
1676783abfa2SSai Prakash Ranjan			};
1677783abfa2SSai Prakash Ranjan
1678783abfa2SSai Prakash Ranjan			in-ports {
1679783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1680783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1681783abfa2SSai Prakash Ranjan
1682783abfa2SSai Prakash Ranjan				port@7 {
1683783abfa2SSai Prakash Ranjan					reg = <7>;
1684783abfa2SSai Prakash Ranjan					funnel0_in7: endpoint {
1685783abfa2SSai Prakash Ranjan						remote-endpoint = <&stm_out>;
1686783abfa2SSai Prakash Ranjan					};
1687783abfa2SSai Prakash Ranjan				};
1688783abfa2SSai Prakash Ranjan			};
1689783abfa2SSai Prakash Ranjan		};
1690783abfa2SSai Prakash Ranjan
1691a636f93fSSai Prakash Ranjan		funnel2: funnel@6042000 {
1692783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1693783abfa2SSai Prakash Ranjan			reg = <0x06042000 0x1000>;
1694a636f93fSSai Prakash Ranjan			status = "disabled";
1695783abfa2SSai Prakash Ranjan
1696783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1697783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1698783abfa2SSai Prakash Ranjan
1699783abfa2SSai Prakash Ranjan			out-ports {
1700783abfa2SSai Prakash Ranjan				port {
1701783abfa2SSai Prakash Ranjan					funnel1_out: endpoint {
1702783abfa2SSai Prakash Ranjan						remote-endpoint =
1703783abfa2SSai Prakash Ranjan						  <&merge_funnel_in1>;
1704783abfa2SSai Prakash Ranjan					};
1705783abfa2SSai Prakash Ranjan				};
1706783abfa2SSai Prakash Ranjan			};
1707783abfa2SSai Prakash Ranjan
1708783abfa2SSai Prakash Ranjan			in-ports {
1709783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1710783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1711783abfa2SSai Prakash Ranjan
1712783abfa2SSai Prakash Ranjan				port@6 {
1713783abfa2SSai Prakash Ranjan					reg = <6>;
1714783abfa2SSai Prakash Ranjan					funnel1_in6: endpoint {
1715783abfa2SSai Prakash Ranjan						remote-endpoint =
1716783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_out>;
1717783abfa2SSai Prakash Ranjan					};
1718783abfa2SSai Prakash Ranjan				};
1719783abfa2SSai Prakash Ranjan			};
1720783abfa2SSai Prakash Ranjan		};
1721783abfa2SSai Prakash Ranjan
1722a636f93fSSai Prakash Ranjan		funnel3: funnel@6045000 {
1723783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
1724783abfa2SSai Prakash Ranjan			reg = <0x06045000 0x1000>;
1725a636f93fSSai Prakash Ranjan			status = "disabled";
1726783abfa2SSai Prakash Ranjan
1727783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1728783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1729783abfa2SSai Prakash Ranjan
1730783abfa2SSai Prakash Ranjan			out-ports {
1731783abfa2SSai Prakash Ranjan				port {
1732783abfa2SSai Prakash Ranjan					merge_funnel_out: endpoint {
1733783abfa2SSai Prakash Ranjan						remote-endpoint =
1734783abfa2SSai Prakash Ranjan						  <&etf_in>;
1735783abfa2SSai Prakash Ranjan					};
1736783abfa2SSai Prakash Ranjan				};
1737783abfa2SSai Prakash Ranjan			};
1738783abfa2SSai Prakash Ranjan
1739783abfa2SSai Prakash Ranjan			in-ports {
1740783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1741783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1742783abfa2SSai Prakash Ranjan
1743783abfa2SSai Prakash Ranjan				port@0 {
1744783abfa2SSai Prakash Ranjan					reg = <0>;
1745783abfa2SSai Prakash Ranjan					merge_funnel_in0: endpoint {
1746783abfa2SSai Prakash Ranjan						remote-endpoint =
1747783abfa2SSai Prakash Ranjan						  <&funnel0_out>;
1748783abfa2SSai Prakash Ranjan					};
1749783abfa2SSai Prakash Ranjan				};
1750783abfa2SSai Prakash Ranjan
1751783abfa2SSai Prakash Ranjan				port@1 {
1752783abfa2SSai Prakash Ranjan					reg = <1>;
1753783abfa2SSai Prakash Ranjan					merge_funnel_in1: endpoint {
1754783abfa2SSai Prakash Ranjan						remote-endpoint =
1755783abfa2SSai Prakash Ranjan						  <&funnel1_out>;
1756783abfa2SSai Prakash Ranjan					};
1757783abfa2SSai Prakash Ranjan				};
1758783abfa2SSai Prakash Ranjan			};
1759783abfa2SSai Prakash Ranjan		};
1760783abfa2SSai Prakash Ranjan
1761a636f93fSSai Prakash Ranjan		replicator1: replicator@6046000 {
1762783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
1763783abfa2SSai Prakash Ranjan			reg = <0x06046000 0x1000>;
1764a636f93fSSai Prakash Ranjan			status = "disabled";
1765783abfa2SSai Prakash Ranjan
1766783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1767783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1768783abfa2SSai Prakash Ranjan
1769783abfa2SSai Prakash Ranjan			out-ports {
1770783abfa2SSai Prakash Ranjan				port {
1771783abfa2SSai Prakash Ranjan					replicator_out: endpoint {
1772783abfa2SSai Prakash Ranjan						remote-endpoint = <&etr_in>;
1773783abfa2SSai Prakash Ranjan					};
1774783abfa2SSai Prakash Ranjan				};
1775783abfa2SSai Prakash Ranjan			};
1776783abfa2SSai Prakash Ranjan
1777783abfa2SSai Prakash Ranjan			in-ports {
1778783abfa2SSai Prakash Ranjan				port {
1779783abfa2SSai Prakash Ranjan					replicator_in: endpoint {
1780783abfa2SSai Prakash Ranjan						remote-endpoint = <&etf_out>;
1781783abfa2SSai Prakash Ranjan					};
1782783abfa2SSai Prakash Ranjan				};
1783783abfa2SSai Prakash Ranjan			};
1784783abfa2SSai Prakash Ranjan		};
1785783abfa2SSai Prakash Ranjan
1786a636f93fSSai Prakash Ranjan		etf: etf@6047000 {
1787783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1788783abfa2SSai Prakash Ranjan			reg = <0x06047000 0x1000>;
1789a636f93fSSai Prakash Ranjan			status = "disabled";
1790783abfa2SSai Prakash Ranjan
1791783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1792783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1793783abfa2SSai Prakash Ranjan
1794783abfa2SSai Prakash Ranjan			out-ports {
1795783abfa2SSai Prakash Ranjan				port {
1796783abfa2SSai Prakash Ranjan					etf_out: endpoint {
1797783abfa2SSai Prakash Ranjan						remote-endpoint =
1798783abfa2SSai Prakash Ranjan						  <&replicator_in>;
1799783abfa2SSai Prakash Ranjan					};
1800783abfa2SSai Prakash Ranjan				};
1801783abfa2SSai Prakash Ranjan			};
1802783abfa2SSai Prakash Ranjan
1803783abfa2SSai Prakash Ranjan			in-ports {
1804783abfa2SSai Prakash Ranjan				port {
1805783abfa2SSai Prakash Ranjan					etf_in: endpoint {
1806783abfa2SSai Prakash Ranjan						remote-endpoint =
1807783abfa2SSai Prakash Ranjan						  <&merge_funnel_out>;
1808783abfa2SSai Prakash Ranjan					};
1809783abfa2SSai Prakash Ranjan				};
1810783abfa2SSai Prakash Ranjan			};
1811783abfa2SSai Prakash Ranjan		};
1812783abfa2SSai Prakash Ranjan
1813a636f93fSSai Prakash Ranjan		etr: etr@6048000 {
1814783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-tmc", "arm,primecell";
1815783abfa2SSai Prakash Ranjan			reg = <0x06048000 0x1000>;
1816a636f93fSSai Prakash Ranjan			status = "disabled";
1817783abfa2SSai Prakash Ranjan
1818783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1819783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1820783abfa2SSai Prakash Ranjan			arm,scatter-gather;
1821783abfa2SSai Prakash Ranjan
1822783abfa2SSai Prakash Ranjan			in-ports {
1823783abfa2SSai Prakash Ranjan				port {
1824783abfa2SSai Prakash Ranjan					etr_in: endpoint {
1825783abfa2SSai Prakash Ranjan						remote-endpoint =
1826783abfa2SSai Prakash Ranjan						  <&replicator_out>;
1827783abfa2SSai Prakash Ranjan					};
1828783abfa2SSai Prakash Ranjan				};
1829783abfa2SSai Prakash Ranjan			};
1830783abfa2SSai Prakash Ranjan		};
1831783abfa2SSai Prakash Ranjan
1832a636f93fSSai Prakash Ranjan		etm1: etm@7840000 {
1833783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1834783abfa2SSai Prakash Ranjan			reg = <0x07840000 0x1000>;
1835a636f93fSSai Prakash Ranjan			status = "disabled";
1836783abfa2SSai Prakash Ranjan
1837783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1838783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1839783abfa2SSai Prakash Ranjan
1840783abfa2SSai Prakash Ranjan			cpu = <&CPU0>;
1841783abfa2SSai Prakash Ranjan
1842783abfa2SSai Prakash Ranjan			out-ports {
1843783abfa2SSai Prakash Ranjan				port {
1844783abfa2SSai Prakash Ranjan					etm0_out: endpoint {
1845783abfa2SSai Prakash Ranjan						remote-endpoint =
1846783abfa2SSai Prakash Ranjan						  <&apss_funnel_in0>;
1847783abfa2SSai Prakash Ranjan					};
1848783abfa2SSai Prakash Ranjan				};
1849783abfa2SSai Prakash Ranjan			};
1850783abfa2SSai Prakash Ranjan		};
1851783abfa2SSai Prakash Ranjan
1852a636f93fSSai Prakash Ranjan		etm2: etm@7940000 {
1853783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1854783abfa2SSai Prakash Ranjan			reg = <0x07940000 0x1000>;
1855a636f93fSSai Prakash Ranjan			status = "disabled";
1856783abfa2SSai Prakash Ranjan
1857783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1858783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1859783abfa2SSai Prakash Ranjan
1860783abfa2SSai Prakash Ranjan			cpu = <&CPU1>;
1861783abfa2SSai Prakash Ranjan
1862783abfa2SSai Prakash Ranjan			out-ports {
1863783abfa2SSai Prakash Ranjan				port {
1864783abfa2SSai Prakash Ranjan					etm1_out: endpoint {
1865783abfa2SSai Prakash Ranjan						remote-endpoint =
1866783abfa2SSai Prakash Ranjan						  <&apss_funnel_in1>;
1867783abfa2SSai Prakash Ranjan					};
1868783abfa2SSai Prakash Ranjan				};
1869783abfa2SSai Prakash Ranjan			};
1870783abfa2SSai Prakash Ranjan		};
1871783abfa2SSai Prakash Ranjan
1872a636f93fSSai Prakash Ranjan		etm3: etm@7a40000 {
1873783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1874783abfa2SSai Prakash Ranjan			reg = <0x07a40000 0x1000>;
1875a636f93fSSai Prakash Ranjan			status = "disabled";
1876783abfa2SSai Prakash Ranjan
1877783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1878783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1879783abfa2SSai Prakash Ranjan
1880783abfa2SSai Prakash Ranjan			cpu = <&CPU2>;
1881783abfa2SSai Prakash Ranjan
1882783abfa2SSai Prakash Ranjan			out-ports {
1883783abfa2SSai Prakash Ranjan				port {
1884783abfa2SSai Prakash Ranjan					etm2_out: endpoint {
1885783abfa2SSai Prakash Ranjan						remote-endpoint =
1886783abfa2SSai Prakash Ranjan						  <&apss_funnel_in2>;
1887783abfa2SSai Prakash Ranjan					};
1888783abfa2SSai Prakash Ranjan				};
1889783abfa2SSai Prakash Ranjan			};
1890783abfa2SSai Prakash Ranjan		};
1891783abfa2SSai Prakash Ranjan
1892a636f93fSSai Prakash Ranjan		etm4: etm@7b40000 {
1893783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1894783abfa2SSai Prakash Ranjan			reg = <0x07b40000 0x1000>;
1895a636f93fSSai Prakash Ranjan			status = "disabled";
1896783abfa2SSai Prakash Ranjan
1897783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1898783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1899783abfa2SSai Prakash Ranjan
1900783abfa2SSai Prakash Ranjan			cpu = <&CPU3>;
1901783abfa2SSai Prakash Ranjan
1902783abfa2SSai Prakash Ranjan			out-ports {
1903783abfa2SSai Prakash Ranjan				port {
1904783abfa2SSai Prakash Ranjan					etm3_out: endpoint {
1905783abfa2SSai Prakash Ranjan						remote-endpoint =
1906783abfa2SSai Prakash Ranjan						  <&apss_funnel_in3>;
1907783abfa2SSai Prakash Ranjan					};
1908783abfa2SSai Prakash Ranjan				};
1909783abfa2SSai Prakash Ranjan			};
1910783abfa2SSai Prakash Ranjan		};
1911783abfa2SSai Prakash Ranjan
1912a636f93fSSai Prakash Ranjan		funnel4: funnel@7b60000 { /* APSS Funnel */
1913783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
1914783abfa2SSai Prakash Ranjan			reg = <0x07b60000 0x1000>;
1915a636f93fSSai Prakash Ranjan			status = "disabled";
1916783abfa2SSai Prakash Ranjan
1917783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
1918783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
1919783abfa2SSai Prakash Ranjan
1920783abfa2SSai Prakash Ranjan			out-ports {
1921783abfa2SSai Prakash Ranjan				port {
1922783abfa2SSai Prakash Ranjan					apss_funnel_out: endpoint {
1923783abfa2SSai Prakash Ranjan						remote-endpoint =
1924783abfa2SSai Prakash Ranjan						  <&apss_merge_funnel_in>;
1925783abfa2SSai Prakash Ranjan					};
1926783abfa2SSai Prakash Ranjan				};
1927783abfa2SSai Prakash Ranjan			};
1928783abfa2SSai Prakash Ranjan
1929783abfa2SSai Prakash Ranjan			in-ports {
1930783abfa2SSai Prakash Ranjan				#address-cells = <1>;
1931783abfa2SSai Prakash Ranjan				#size-cells = <0>;
1932783abfa2SSai Prakash Ranjan
1933783abfa2SSai Prakash Ranjan				port@0 {
1934783abfa2SSai Prakash Ranjan					reg = <0>;
1935783abfa2SSai Prakash Ranjan					apss_funnel_in0: endpoint {
1936783abfa2SSai Prakash Ranjan						remote-endpoint =
1937783abfa2SSai Prakash Ranjan						  <&etm0_out>;
1938783abfa2SSai Prakash Ranjan					};
1939783abfa2SSai Prakash Ranjan				};
1940783abfa2SSai Prakash Ranjan
1941783abfa2SSai Prakash Ranjan				port@1 {
1942783abfa2SSai Prakash Ranjan					reg = <1>;
1943783abfa2SSai Prakash Ranjan					apss_funnel_in1: endpoint {
1944783abfa2SSai Prakash Ranjan						remote-endpoint =
1945783abfa2SSai Prakash Ranjan						  <&etm1_out>;
1946783abfa2SSai Prakash Ranjan					};
1947783abfa2SSai Prakash Ranjan				};
1948783abfa2SSai Prakash Ranjan
1949783abfa2SSai Prakash Ranjan				port@2 {
1950783abfa2SSai Prakash Ranjan					reg = <2>;
1951783abfa2SSai Prakash Ranjan					apss_funnel_in2: endpoint {
1952783abfa2SSai Prakash Ranjan						remote-endpoint =
1953783abfa2SSai Prakash Ranjan						  <&etm2_out>;
1954783abfa2SSai Prakash Ranjan					};
1955783abfa2SSai Prakash Ranjan				};
1956783abfa2SSai Prakash Ranjan
1957783abfa2SSai Prakash Ranjan				port@3 {
1958783abfa2SSai Prakash Ranjan					reg = <3>;
1959783abfa2SSai Prakash Ranjan					apss_funnel_in3: endpoint {
1960783abfa2SSai Prakash Ranjan						remote-endpoint =
1961783abfa2SSai Prakash Ranjan						  <&etm3_out>;
1962783abfa2SSai Prakash Ranjan					};
1963783abfa2SSai Prakash Ranjan				};
1964783abfa2SSai Prakash Ranjan
1965783abfa2SSai Prakash Ranjan				port@4 {
1966783abfa2SSai Prakash Ranjan					reg = <4>;
1967783abfa2SSai Prakash Ranjan					apss_funnel_in4: endpoint {
1968783abfa2SSai Prakash Ranjan						remote-endpoint =
1969783abfa2SSai Prakash Ranjan						  <&etm4_out>;
1970783abfa2SSai Prakash Ranjan					};
1971783abfa2SSai Prakash Ranjan				};
1972783abfa2SSai Prakash Ranjan
1973783abfa2SSai Prakash Ranjan				port@5 {
1974783abfa2SSai Prakash Ranjan					reg = <5>;
1975783abfa2SSai Prakash Ranjan					apss_funnel_in5: endpoint {
1976783abfa2SSai Prakash Ranjan						remote-endpoint =
1977783abfa2SSai Prakash Ranjan						  <&etm5_out>;
1978783abfa2SSai Prakash Ranjan					};
1979783abfa2SSai Prakash Ranjan				};
1980783abfa2SSai Prakash Ranjan
1981783abfa2SSai Prakash Ranjan				port@6 {
1982783abfa2SSai Prakash Ranjan					reg = <6>;
1983783abfa2SSai Prakash Ranjan					apss_funnel_in6: endpoint {
1984783abfa2SSai Prakash Ranjan						remote-endpoint =
1985783abfa2SSai Prakash Ranjan						  <&etm6_out>;
1986783abfa2SSai Prakash Ranjan					};
1987783abfa2SSai Prakash Ranjan				};
1988783abfa2SSai Prakash Ranjan
1989783abfa2SSai Prakash Ranjan				port@7 {
1990783abfa2SSai Prakash Ranjan					reg = <7>;
1991783abfa2SSai Prakash Ranjan					apss_funnel_in7: endpoint {
1992783abfa2SSai Prakash Ranjan						remote-endpoint =
1993783abfa2SSai Prakash Ranjan						  <&etm7_out>;
1994783abfa2SSai Prakash Ranjan					};
1995783abfa2SSai Prakash Ranjan				};
1996783abfa2SSai Prakash Ranjan			};
1997783abfa2SSai Prakash Ranjan		};
1998783abfa2SSai Prakash Ranjan
1999a636f93fSSai Prakash Ranjan		funnel5: funnel@7b70000 {
2000783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
2001783abfa2SSai Prakash Ranjan			reg = <0x07b70000 0x1000>;
2002a636f93fSSai Prakash Ranjan			status = "disabled";
2003783abfa2SSai Prakash Ranjan
2004783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2005783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
2006783abfa2SSai Prakash Ranjan
2007783abfa2SSai Prakash Ranjan			out-ports {
2008783abfa2SSai Prakash Ranjan				port {
2009783abfa2SSai Prakash Ranjan					apss_merge_funnel_out: endpoint {
2010783abfa2SSai Prakash Ranjan						remote-endpoint =
2011783abfa2SSai Prakash Ranjan						  <&funnel1_in6>;
2012783abfa2SSai Prakash Ranjan					};
2013783abfa2SSai Prakash Ranjan				};
2014783abfa2SSai Prakash Ranjan			};
2015783abfa2SSai Prakash Ranjan
2016783abfa2SSai Prakash Ranjan			in-ports {
2017783abfa2SSai Prakash Ranjan				port {
2018783abfa2SSai Prakash Ranjan					apss_merge_funnel_in: endpoint {
2019783abfa2SSai Prakash Ranjan						remote-endpoint =
2020783abfa2SSai Prakash Ranjan						  <&apss_funnel_out>;
2021783abfa2SSai Prakash Ranjan					};
2022783abfa2SSai Prakash Ranjan				};
2023783abfa2SSai Prakash Ranjan			};
2024783abfa2SSai Prakash Ranjan		};
2025783abfa2SSai Prakash Ranjan
2026a636f93fSSai Prakash Ranjan		etm5: etm@7c40000 {
2027783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
2028783abfa2SSai Prakash Ranjan			reg = <0x07c40000 0x1000>;
2029a636f93fSSai Prakash Ranjan			status = "disabled";
2030783abfa2SSai Prakash Ranjan
2031783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2032783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
2033783abfa2SSai Prakash Ranjan
2034783abfa2SSai Prakash Ranjan			cpu = <&CPU4>;
2035783abfa2SSai Prakash Ranjan
2036f127a0b6SMao Jinlong			out-ports {
2037783abfa2SSai Prakash Ranjan				port {
2038783abfa2SSai Prakash Ranjan					etm4_out: endpoint {
2039783abfa2SSai Prakash Ranjan						remote-endpoint = <&apss_funnel_in4>;
2040783abfa2SSai Prakash Ranjan					};
2041783abfa2SSai Prakash Ranjan				};
2042783abfa2SSai Prakash Ranjan			};
2043f127a0b6SMao Jinlong		};
2044783abfa2SSai Prakash Ranjan
2045a636f93fSSai Prakash Ranjan		etm6: etm@7d40000 {
2046783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
2047783abfa2SSai Prakash Ranjan			reg = <0x07d40000 0x1000>;
2048a636f93fSSai Prakash Ranjan			status = "disabled";
2049783abfa2SSai Prakash Ranjan
2050783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2051783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
2052783abfa2SSai Prakash Ranjan
2053783abfa2SSai Prakash Ranjan			cpu = <&CPU5>;
2054783abfa2SSai Prakash Ranjan
2055f127a0b6SMao Jinlong			out-ports {
2056783abfa2SSai Prakash Ranjan				port {
2057783abfa2SSai Prakash Ranjan					etm5_out: endpoint {
2058783abfa2SSai Prakash Ranjan						remote-endpoint = <&apss_funnel_in5>;
2059783abfa2SSai Prakash Ranjan					};
2060783abfa2SSai Prakash Ranjan				};
2061783abfa2SSai Prakash Ranjan			};
2062f127a0b6SMao Jinlong		};
2063783abfa2SSai Prakash Ranjan
2064a636f93fSSai Prakash Ranjan		etm7: etm@7e40000 {
2065783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
2066783abfa2SSai Prakash Ranjan			reg = <0x07e40000 0x1000>;
2067a636f93fSSai Prakash Ranjan			status = "disabled";
2068783abfa2SSai Prakash Ranjan
2069783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2070783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
2071783abfa2SSai Prakash Ranjan
2072783abfa2SSai Prakash Ranjan			cpu = <&CPU6>;
2073783abfa2SSai Prakash Ranjan
2074f127a0b6SMao Jinlong			out-ports {
2075783abfa2SSai Prakash Ranjan				port {
2076783abfa2SSai Prakash Ranjan					etm6_out: endpoint {
2077783abfa2SSai Prakash Ranjan						remote-endpoint = <&apss_funnel_in6>;
2078783abfa2SSai Prakash Ranjan					};
2079783abfa2SSai Prakash Ranjan				};
2080783abfa2SSai Prakash Ranjan			};
2081f127a0b6SMao Jinlong		};
2082783abfa2SSai Prakash Ranjan
2083a636f93fSSai Prakash Ranjan		etm8: etm@7f40000 {
2084783abfa2SSai Prakash Ranjan			compatible = "arm,coresight-etm4x", "arm,primecell";
2085783abfa2SSai Prakash Ranjan			reg = <0x07f40000 0x1000>;
2086a636f93fSSai Prakash Ranjan			status = "disabled";
2087783abfa2SSai Prakash Ranjan
2088783abfa2SSai Prakash Ranjan			clocks = <&rpmcc RPM_SMD_QDSS_CLK>, <&rpmcc RPM_SMD_QDSS_A_CLK>;
2089783abfa2SSai Prakash Ranjan			clock-names = "apb_pclk", "atclk";
2090783abfa2SSai Prakash Ranjan
2091783abfa2SSai Prakash Ranjan			cpu = <&CPU7>;
2092783abfa2SSai Prakash Ranjan
2093f127a0b6SMao Jinlong			out-ports {
2094783abfa2SSai Prakash Ranjan				port {
2095783abfa2SSai Prakash Ranjan					etm7_out: endpoint {
2096783abfa2SSai Prakash Ranjan						remote-endpoint = <&apss_funnel_in7>;
2097783abfa2SSai Prakash Ranjan					};
2098783abfa2SSai Prakash Ranjan				};
2099783abfa2SSai Prakash Ranjan			};
2100f127a0b6SMao Jinlong		};
2101783abfa2SSai Prakash Ranjan
2102290bc684SMaulik Shah		sram@290000 {
2103290bc684SMaulik Shah			compatible = "qcom,rpm-stats";
2104290bc684SMaulik Shah			reg = <0x00290000 0x10000>;
2105290bc684SMaulik Shah		};
2106290bc684SMaulik Shah
210732a5da21SJeffrey Hugo		spmi_bus: spmi@800f000 {
210832a5da21SJeffrey Hugo			compatible = "qcom,spmi-pmic-arb";
210932a5da21SJeffrey Hugo			reg = <0x0800f000 0x1000>,
211032a5da21SJeffrey Hugo			      <0x08400000 0x1000000>,
211132a5da21SJeffrey Hugo			      <0x09400000 0x1000000>,
211232a5da21SJeffrey Hugo			      <0x0a400000 0x220000>,
211332a5da21SJeffrey Hugo			      <0x0800a000 0x3000>;
211432a5da21SJeffrey Hugo			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
211532a5da21SJeffrey Hugo			interrupt-names = "periph_irq";
211632a5da21SJeffrey Hugo			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
211732a5da21SJeffrey Hugo			qcom,ee = <0>;
211832a5da21SJeffrey Hugo			qcom,channel = <0>;
211932a5da21SJeffrey Hugo			#address-cells = <2>;
212032a5da21SJeffrey Hugo			#size-cells = <0>;
212132a5da21SJeffrey Hugo			interrupt-controller;
212232a5da21SJeffrey Hugo			#interrupt-cells = <4>;
212331c1f0e3SBjorn Andersson		};
212431c1f0e3SBjorn Andersson
2125026dad8fSJeffrey Hugo		usb3: usb@a8f8800 {
2126026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
2127026dad8fSJeffrey Hugo			reg = <0x0a8f8800 0x400>;
2128026dad8fSJeffrey Hugo			status = "disabled";
2129026dad8fSJeffrey Hugo			#address-cells = <1>;
2130026dad8fSJeffrey Hugo			#size-cells = <1>;
2131026dad8fSJeffrey Hugo			ranges;
2132026dad8fSJeffrey Hugo
2133026dad8fSJeffrey Hugo			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
2134026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MASTER_CLK>,
2135026dad8fSJeffrey Hugo				 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
21368d5fd4e4SKrzysztof Kozlowski				 <&gcc GCC_USB30_SLEEP_CLK>,
21378d5fd4e4SKrzysztof Kozlowski				 <&gcc GCC_USB30_MOCK_UTMI_CLK>;
21388d5fd4e4SKrzysztof Kozlowski			clock-names = "cfg_noc",
21398d5fd4e4SKrzysztof Kozlowski				      "core",
21408d5fd4e4SKrzysztof Kozlowski				      "iface",
21418d5fd4e4SKrzysztof Kozlowski				      "sleep",
21428d5fd4e4SKrzysztof Kozlowski				      "mock_utmi";
2143026dad8fSJeffrey Hugo
2144026dad8fSJeffrey Hugo			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
2145026dad8fSJeffrey Hugo					  <&gcc GCC_USB30_MASTER_CLK>;
2146026dad8fSJeffrey Hugo			assigned-clock-rates = <19200000>, <120000000>;
2147026dad8fSJeffrey Hugo
2148026dad8fSJeffrey Hugo			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
2149026dad8fSJeffrey Hugo				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
2150026dad8fSJeffrey Hugo			interrupt-names = "hs_phy_irq", "ss_phy_irq";
2151026dad8fSJeffrey Hugo
2152026dad8fSJeffrey Hugo			power-domains = <&gcc USB_30_GDSC>;
2153026dad8fSJeffrey Hugo
2154026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB_30_BCR>;
2155026dad8fSJeffrey Hugo
2156b77a1c4dSKrzysztof Kozlowski			usb3_dwc3: usb@a800000 {
2157026dad8fSJeffrey Hugo				compatible = "snps,dwc3";
2158026dad8fSJeffrey Hugo				reg = <0x0a800000 0xcd00>;
2159026dad8fSJeffrey Hugo				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
2160026dad8fSJeffrey Hugo				snps,dis_u2_susphy_quirk;
2161026dad8fSJeffrey Hugo				snps,dis_enblslpm_quirk;
2162*cd4f3ad5SKrishna Kurapati				snps,parkmode-disable-ss-quirk;
2163267a485cSDmitry Baryshkov				phys = <&qusb2phy>, <&usb3phy>;
2164026dad8fSJeffrey Hugo				phy-names = "usb2-phy", "usb3-phy";
2165026dad8fSJeffrey Hugo				snps,has-lpm-erratum;
2166026dad8fSJeffrey Hugo				snps,hird-threshold = /bits/ 8 <0x10>;
2167026dad8fSJeffrey Hugo			};
2168026dad8fSJeffrey Hugo		};
2169026dad8fSJeffrey Hugo
2170026dad8fSJeffrey Hugo		usb3phy: phy@c010000 {
2171026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qmp-usb3-phy";
2172267a485cSDmitry Baryshkov			reg = <0x0c010000 0x1000>;
2173026dad8fSJeffrey Hugo
2174026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
2175267a485cSDmitry Baryshkov				 <&gcc GCC_USB3_CLKREF_CLK>,
2176026dad8fSJeffrey Hugo				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2177267a485cSDmitry Baryshkov				 <&gcc GCC_USB3_PHY_PIPE_CLK>;
2178267a485cSDmitry Baryshkov			clock-names = "aux",
2179267a485cSDmitry Baryshkov				      "ref",
2180267a485cSDmitry Baryshkov				      "cfg_ahb",
2181267a485cSDmitry Baryshkov				      "pipe";
2182267a485cSDmitry Baryshkov			clock-output-names = "usb3_phy_pipe_clk_src";
2183267a485cSDmitry Baryshkov			#clock-cells = <0>;
2184267a485cSDmitry Baryshkov			#phy-cells = <0>;
2185026dad8fSJeffrey Hugo
2186026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB3_PHY_BCR>,
2187026dad8fSJeffrey Hugo				 <&gcc GCC_USB3PHY_PHY_BCR>;
2188267a485cSDmitry Baryshkov			reset-names = "phy",
2189267a485cSDmitry Baryshkov				      "phy_phy";
2190026dad8fSJeffrey Hugo
2191267a485cSDmitry Baryshkov			status = "disabled";
2192026dad8fSJeffrey Hugo		};
2193026dad8fSJeffrey Hugo
2194026dad8fSJeffrey Hugo		qusb2phy: phy@c012000 {
2195026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qusb2-phy";
2196026dad8fSJeffrey Hugo			reg = <0x0c012000 0x2a8>;
2197026dad8fSJeffrey Hugo			status = "disabled";
2198026dad8fSJeffrey Hugo			#phy-cells = <0>;
2199026dad8fSJeffrey Hugo
2200026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
2201026dad8fSJeffrey Hugo				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
2202026dad8fSJeffrey Hugo			clock-names = "cfg_ahb", "ref";
2203026dad8fSJeffrey Hugo
2204026dad8fSJeffrey Hugo			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
2205026dad8fSJeffrey Hugo
2206026dad8fSJeffrey Hugo			nvmem-cells = <&qusb2_hstx_trim>;
2207026dad8fSJeffrey Hugo		};
2208026dad8fSJeffrey Hugo
220996bb736fSBhupesh Sharma		sdhc2: mmc@c0a4900 {
221018f581bfSKrzysztof Kozlowski			compatible = "qcom,msm8998-sdhci", "qcom,sdhci-msm-v4";
221132a5da21SJeffrey Hugo			reg = <0x0c0a4900 0x314>, <0x0c0a4000 0x800>;
2212eddc917dSKrzysztof Kozlowski			reg-names = "hc", "core";
22131cfce828SJeffrey Hugo
22141cfce828SJeffrey Hugo			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
22151cfce828SJeffrey Hugo				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
22161cfce828SJeffrey Hugo			interrupt-names = "hc_irq", "pwr_irq";
22171cfce828SJeffrey Hugo
22181cfce828SJeffrey Hugo			clock-names = "iface", "core", "xo";
22191cfce828SJeffrey Hugo			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
22201cfce828SJeffrey Hugo				 <&gcc GCC_SDCC2_APPS_CLK>,
222183fe4b9eSKonrad Dybcio				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
22221cfce828SJeffrey Hugo			bus-width = <4>;
22231cfce828SJeffrey Hugo			status = "disabled";
22241cfce828SJeffrey Hugo		};
22251cfce828SJeffrey Hugo
222694ed1811SVinod Koul		blsp1_dma: dma-controller@c144000 {
2227f1c1d4feSJeffrey Hugo			compatible = "qcom,bam-v1.7.0";
2228f1c1d4feSJeffrey Hugo			reg = <0x0c144000 0x25000>;
2229f1c1d4feSJeffrey Hugo			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
2230f1c1d4feSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
2231f1c1d4feSJeffrey Hugo			clock-names = "bam_clk";
2232f1c1d4feSJeffrey Hugo			#dma-cells = <1>;
2233f1c1d4feSJeffrey Hugo			qcom,ee = <0>;
2234f1c1d4feSJeffrey Hugo			qcom,controlled-remotely;
2235f1c1d4feSJeffrey Hugo			num-channels = <18>;
2236f1c1d4feSJeffrey Hugo			qcom,num-ees = <4>;
2237f1c1d4feSJeffrey Hugo		};
2238f1c1d4feSJeffrey Hugo
223973d4d2efSJeffrey Hugo		blsp1_uart3: serial@c171000 {
224073d4d2efSJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
224173d4d2efSJeffrey Hugo			reg = <0x0c171000 0x1000>;
224273d4d2efSJeffrey Hugo			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
224373d4d2efSJeffrey Hugo			clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>,
224473d4d2efSJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
224573d4d2efSJeffrey Hugo			clock-names = "core", "iface";
224673d4d2efSJeffrey Hugo			dmas = <&blsp1_dma 4>, <&blsp1_dma 5>;
224773d4d2efSJeffrey Hugo			dma-names = "tx", "rx";
224873d4d2efSJeffrey Hugo			pinctrl-names = "default";
224973d4d2efSJeffrey Hugo			pinctrl-0 = <&blsp1_uart3_on>;
225073d4d2efSJeffrey Hugo			status = "disabled";
225173d4d2efSJeffrey Hugo		};
225273d4d2efSJeffrey Hugo
22531e71d0c2SJeffrey Hugo		blsp1_i2c1: i2c@c175000 {
22541e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
22551e71d0c2SJeffrey Hugo			reg = <0x0c175000 0x600>;
22561e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
22571e71d0c2SJeffrey Hugo
22581e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
22591e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
22601e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
22616845359eSKonrad Dybcio			dmas = <&blsp1_dma 6>, <&blsp1_dma 7>;
22626845359eSKonrad Dybcio			dma-names = "tx", "rx";
22630fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
22640fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c1_default>;
22650fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c1_sleep>;
22661e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
22671e71d0c2SJeffrey Hugo
22681e71d0c2SJeffrey Hugo			status = "disabled";
22691e71d0c2SJeffrey Hugo			#address-cells = <1>;
22701e71d0c2SJeffrey Hugo			#size-cells = <0>;
22711e71d0c2SJeffrey Hugo		};
22721e71d0c2SJeffrey Hugo
22731e71d0c2SJeffrey Hugo		blsp1_i2c2: i2c@c176000 {
22741e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
22751e71d0c2SJeffrey Hugo			reg = <0x0c176000 0x600>;
22761e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
22771e71d0c2SJeffrey Hugo
22781e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
22791e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
22801e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
22816845359eSKonrad Dybcio			dmas = <&blsp1_dma 8>, <&blsp1_dma 9>;
22826845359eSKonrad Dybcio			dma-names = "tx", "rx";
22830fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
22840fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c2_default>;
22850fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c2_sleep>;
22861e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
22871e71d0c2SJeffrey Hugo
22881e71d0c2SJeffrey Hugo			status = "disabled";
22891e71d0c2SJeffrey Hugo			#address-cells = <1>;
22901e71d0c2SJeffrey Hugo			#size-cells = <0>;
22911e71d0c2SJeffrey Hugo		};
22921e71d0c2SJeffrey Hugo
22931e71d0c2SJeffrey Hugo		blsp1_i2c3: i2c@c177000 {
22941e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
22951e71d0c2SJeffrey Hugo			reg = <0x0c177000 0x600>;
22961e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
22971e71d0c2SJeffrey Hugo
22981e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
22991e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
23001e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23016845359eSKonrad Dybcio			dmas = <&blsp1_dma 10>, <&blsp1_dma 11>;
23026845359eSKonrad Dybcio			dma-names = "tx", "rx";
23030fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23040fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c3_default>;
23050fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c3_sleep>;
23061e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23071e71d0c2SJeffrey Hugo
23081e71d0c2SJeffrey Hugo			status = "disabled";
23091e71d0c2SJeffrey Hugo			#address-cells = <1>;
23101e71d0c2SJeffrey Hugo			#size-cells = <0>;
23111e71d0c2SJeffrey Hugo		};
23121e71d0c2SJeffrey Hugo
23131e71d0c2SJeffrey Hugo		blsp1_i2c4: i2c@c178000 {
23141e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
23151e71d0c2SJeffrey Hugo			reg = <0x0c178000 0x600>;
23161e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
23171e71d0c2SJeffrey Hugo
23181e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
23191e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
23201e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23216845359eSKonrad Dybcio			dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
23226845359eSKonrad Dybcio			dma-names = "tx", "rx";
23230fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23240fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c4_default>;
23250fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c4_sleep>;
23261e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23271e71d0c2SJeffrey Hugo
23281e71d0c2SJeffrey Hugo			status = "disabled";
23291e71d0c2SJeffrey Hugo			#address-cells = <1>;
23301e71d0c2SJeffrey Hugo			#size-cells = <0>;
23311e71d0c2SJeffrey Hugo		};
23321e71d0c2SJeffrey Hugo
23331e71d0c2SJeffrey Hugo		blsp1_i2c5: i2c@c179000 {
23341e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
23351e71d0c2SJeffrey Hugo			reg = <0x0c179000 0x600>;
23361e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
23371e71d0c2SJeffrey Hugo
23381e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
23391e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
23401e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23416845359eSKonrad Dybcio			dmas = <&blsp1_dma 14>, <&blsp1_dma 15>;
23426845359eSKonrad Dybcio			dma-names = "tx", "rx";
23430fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23440fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c5_default>;
23450fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c5_sleep>;
23461e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23471e71d0c2SJeffrey Hugo
23481e71d0c2SJeffrey Hugo			status = "disabled";
23491e71d0c2SJeffrey Hugo			#address-cells = <1>;
23501e71d0c2SJeffrey Hugo			#size-cells = <0>;
23511e71d0c2SJeffrey Hugo		};
23521e71d0c2SJeffrey Hugo
23531e71d0c2SJeffrey Hugo		blsp1_i2c6: i2c@c17a000 {
23541e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
23551e71d0c2SJeffrey Hugo			reg = <0x0c17a000 0x600>;
23561e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
23571e71d0c2SJeffrey Hugo
23581e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
23591e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
23601e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
23616845359eSKonrad Dybcio			dmas = <&blsp1_dma 16>, <&blsp1_dma 17>;
23626845359eSKonrad Dybcio			dma-names = "tx", "rx";
23630fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
23640fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp1_i2c6_default>;
23650fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp1_i2c6_sleep>;
23661e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
23671e71d0c2SJeffrey Hugo
23681e71d0c2SJeffrey Hugo			status = "disabled";
23691e71d0c2SJeffrey Hugo			#address-cells = <1>;
23701e71d0c2SJeffrey Hugo			#size-cells = <0>;
23711e71d0c2SJeffrey Hugo		};
23721e71d0c2SJeffrey Hugo
2373935e538fSArnaud Vrac		blsp1_spi1: spi@c175000 {
2374935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2375935e538fSArnaud Vrac			reg = <0x0c175000 0x600>;
2376935e538fSArnaud Vrac			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
2377935e538fSArnaud Vrac
2378935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
2379935e538fSArnaud Vrac				 <&gcc GCC_BLSP1_AHB_CLK>;
2380935e538fSArnaud Vrac			clock-names = "core", "iface";
2381935e538fSArnaud Vrac			dmas = <&blsp1_dma 6>, <&blsp1_dma 7>;
2382935e538fSArnaud Vrac			dma-names = "tx", "rx";
2383935e538fSArnaud Vrac			pinctrl-names = "default";
2384935e538fSArnaud Vrac			pinctrl-0 = <&blsp1_spi1_default>;
2385935e538fSArnaud Vrac
2386935e538fSArnaud Vrac			status = "disabled";
2387935e538fSArnaud Vrac			#address-cells = <1>;
2388935e538fSArnaud Vrac			#size-cells = <0>;
2389935e538fSArnaud Vrac		};
2390935e538fSArnaud Vrac
2391935e538fSArnaud Vrac		blsp1_spi2: spi@c176000 {
2392935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2393935e538fSArnaud Vrac			reg = <0x0c176000 0x600>;
2394935e538fSArnaud Vrac			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
2395935e538fSArnaud Vrac
2396935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
2397935e538fSArnaud Vrac				 <&gcc GCC_BLSP1_AHB_CLK>;
2398935e538fSArnaud Vrac			clock-names = "core", "iface";
2399935e538fSArnaud Vrac			dmas = <&blsp1_dma 8>, <&blsp1_dma 9>;
2400935e538fSArnaud Vrac			dma-names = "tx", "rx";
2401935e538fSArnaud Vrac			pinctrl-names = "default";
2402935e538fSArnaud Vrac			pinctrl-0 = <&blsp1_spi2_default>;
2403935e538fSArnaud Vrac
2404935e538fSArnaud Vrac			status = "disabled";
2405935e538fSArnaud Vrac			#address-cells = <1>;
2406935e538fSArnaud Vrac			#size-cells = <0>;
2407935e538fSArnaud Vrac		};
2408935e538fSArnaud Vrac
2409935e538fSArnaud Vrac		blsp1_spi3: spi@c177000 {
2410935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2411935e538fSArnaud Vrac			reg = <0x0c177000 0x600>;
2412935e538fSArnaud Vrac			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
2413935e538fSArnaud Vrac
2414935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
2415935e538fSArnaud Vrac				 <&gcc GCC_BLSP1_AHB_CLK>;
2416935e538fSArnaud Vrac			clock-names = "core", "iface";
2417935e538fSArnaud Vrac			dmas = <&blsp1_dma 10>, <&blsp1_dma 11>;
2418935e538fSArnaud Vrac			dma-names = "tx", "rx";
2419935e538fSArnaud Vrac			pinctrl-names = "default";
2420935e538fSArnaud Vrac			pinctrl-0 = <&blsp1_spi3_default>;
2421935e538fSArnaud Vrac
2422935e538fSArnaud Vrac			status = "disabled";
2423935e538fSArnaud Vrac			#address-cells = <1>;
2424935e538fSArnaud Vrac			#size-cells = <0>;
2425935e538fSArnaud Vrac		};
2426935e538fSArnaud Vrac
2427935e538fSArnaud Vrac		blsp1_spi4: spi@c178000 {
2428935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2429935e538fSArnaud Vrac			reg = <0x0c178000 0x600>;
2430935e538fSArnaud Vrac			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
2431935e538fSArnaud Vrac
2432935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
2433935e538fSArnaud Vrac				 <&gcc GCC_BLSP1_AHB_CLK>;
2434935e538fSArnaud Vrac			clock-names = "core", "iface";
2435935e538fSArnaud Vrac			dmas = <&blsp1_dma 12>, <&blsp1_dma 13>;
2436935e538fSArnaud Vrac			dma-names = "tx", "rx";
2437935e538fSArnaud Vrac			pinctrl-names = "default";
2438935e538fSArnaud Vrac			pinctrl-0 = <&blsp1_spi4_default>;
2439935e538fSArnaud Vrac
2440935e538fSArnaud Vrac			status = "disabled";
2441935e538fSArnaud Vrac			#address-cells = <1>;
2442935e538fSArnaud Vrac			#size-cells = <0>;
2443935e538fSArnaud Vrac		};
2444935e538fSArnaud Vrac
2445935e538fSArnaud Vrac		blsp1_spi5: spi@c179000 {
2446935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2447935e538fSArnaud Vrac			reg = <0x0c179000 0x600>;
2448935e538fSArnaud Vrac			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
2449935e538fSArnaud Vrac
2450935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
2451935e538fSArnaud Vrac				 <&gcc GCC_BLSP1_AHB_CLK>;
2452935e538fSArnaud Vrac			clock-names = "core", "iface";
2453935e538fSArnaud Vrac			dmas = <&blsp1_dma 14>, <&blsp1_dma 15>;
2454935e538fSArnaud Vrac			dma-names = "tx", "rx";
2455935e538fSArnaud Vrac			pinctrl-names = "default";
2456935e538fSArnaud Vrac			pinctrl-0 = <&blsp1_spi5_default>;
2457935e538fSArnaud Vrac
2458935e538fSArnaud Vrac			status = "disabled";
2459935e538fSArnaud Vrac			#address-cells = <1>;
2460935e538fSArnaud Vrac			#size-cells = <0>;
2461935e538fSArnaud Vrac		};
2462935e538fSArnaud Vrac
2463935e538fSArnaud Vrac		blsp1_spi6: spi@c17a000 {
2464935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2465935e538fSArnaud Vrac			reg = <0x0c17a000 0x600>;
2466935e538fSArnaud Vrac			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
2467935e538fSArnaud Vrac
2468935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP1_QUP6_SPI_APPS_CLK>,
2469935e538fSArnaud Vrac				 <&gcc GCC_BLSP1_AHB_CLK>;
2470935e538fSArnaud Vrac			clock-names = "core", "iface";
2471935e538fSArnaud Vrac			dmas = <&blsp1_dma 16>, <&blsp1_dma 17>;
2472935e538fSArnaud Vrac			dma-names = "tx", "rx";
2473935e538fSArnaud Vrac			pinctrl-names = "default";
2474935e538fSArnaud Vrac			pinctrl-0 = <&blsp1_spi6_default>;
2475935e538fSArnaud Vrac
2476935e538fSArnaud Vrac			status = "disabled";
2477935e538fSArnaud Vrac			#address-cells = <1>;
2478935e538fSArnaud Vrac			#size-cells = <0>;
2479935e538fSArnaud Vrac		};
2480935e538fSArnaud Vrac
2481bbef0142SShawn Guo		blsp2_dma: dma-controller@c184000 {
24826845359eSKonrad Dybcio			compatible = "qcom,bam-v1.7.0";
24836845359eSKonrad Dybcio			reg = <0x0c184000 0x25000>;
24846845359eSKonrad Dybcio			interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
24856845359eSKonrad Dybcio			clocks = <&gcc GCC_BLSP2_AHB_CLK>;
24866845359eSKonrad Dybcio			clock-names = "bam_clk";
24876845359eSKonrad Dybcio			#dma-cells = <1>;
24886845359eSKonrad Dybcio			qcom,ee = <0>;
24896845359eSKonrad Dybcio			qcom,controlled-remotely;
24906845359eSKonrad Dybcio			num-channels = <18>;
24916845359eSKonrad Dybcio			qcom,num-ees = <4>;
24926845359eSKonrad Dybcio		};
24936845359eSKonrad Dybcio
249432a5da21SJeffrey Hugo		blsp2_uart1: serial@c1b0000 {
249532a5da21SJeffrey Hugo			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
249632a5da21SJeffrey Hugo			reg = <0x0c1b0000 0x1000>;
249732a5da21SJeffrey Hugo			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
249832a5da21SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
249932a5da21SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
250032a5da21SJeffrey Hugo			clock-names = "core", "iface";
250132a5da21SJeffrey Hugo			status = "disabled";
250232a5da21SJeffrey Hugo		};
250332a5da21SJeffrey Hugo
25040fee55fcSKonrad Dybcio		blsp2_i2c1: i2c@c1b5000 {
25051e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
25061e71d0c2SJeffrey Hugo			reg = <0x0c1b5000 0x600>;
25071e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
25081e71d0c2SJeffrey Hugo
25091e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
25101e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
25111e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
25126845359eSKonrad Dybcio			dmas = <&blsp2_dma 6>, <&blsp2_dma 7>;
25136845359eSKonrad Dybcio			dma-names = "tx", "rx";
25140fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
25150fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c1_default>;
25160fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c1_sleep>;
25171e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
25181e71d0c2SJeffrey Hugo
25191e71d0c2SJeffrey Hugo			status = "disabled";
25201e71d0c2SJeffrey Hugo			#address-cells = <1>;
25211e71d0c2SJeffrey Hugo			#size-cells = <0>;
25221e71d0c2SJeffrey Hugo		};
25231e71d0c2SJeffrey Hugo
25240fee55fcSKonrad Dybcio		blsp2_i2c2: i2c@c1b6000 {
25251e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
25261e71d0c2SJeffrey Hugo			reg = <0x0c1b6000 0x600>;
25271e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
25281e71d0c2SJeffrey Hugo
25291e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
25301e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
25311e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
25326845359eSKonrad Dybcio			dmas = <&blsp2_dma 8>, <&blsp2_dma 9>;
25336845359eSKonrad Dybcio			dma-names = "tx", "rx";
25340fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
25350fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c2_default>;
25360fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c2_sleep>;
25371e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
25381e71d0c2SJeffrey Hugo
25391e71d0c2SJeffrey Hugo			status = "disabled";
25401e71d0c2SJeffrey Hugo			#address-cells = <1>;
25411e71d0c2SJeffrey Hugo			#size-cells = <0>;
25421e71d0c2SJeffrey Hugo		};
25431e71d0c2SJeffrey Hugo
25440fee55fcSKonrad Dybcio		blsp2_i2c3: i2c@c1b7000 {
25451e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
25461e71d0c2SJeffrey Hugo			reg = <0x0c1b7000 0x600>;
25471e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
25481e71d0c2SJeffrey Hugo
25491e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
25501e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
25511e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
25526845359eSKonrad Dybcio			dmas = <&blsp2_dma 10>, <&blsp2_dma 11>;
25536845359eSKonrad Dybcio			dma-names = "tx", "rx";
25540fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
25550fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c3_default>;
25560fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c3_sleep>;
25571e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
25581e71d0c2SJeffrey Hugo
25591e71d0c2SJeffrey Hugo			status = "disabled";
25601e71d0c2SJeffrey Hugo			#address-cells = <1>;
25611e71d0c2SJeffrey Hugo			#size-cells = <0>;
25621e71d0c2SJeffrey Hugo		};
25631e71d0c2SJeffrey Hugo
25640fee55fcSKonrad Dybcio		blsp2_i2c4: i2c@c1b8000 {
25651e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
25661e71d0c2SJeffrey Hugo			reg = <0x0c1b8000 0x600>;
25671e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
25681e71d0c2SJeffrey Hugo
25691e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
25701e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
25711e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
25726845359eSKonrad Dybcio			dmas = <&blsp2_dma 12>, <&blsp2_dma 13>;
25736845359eSKonrad Dybcio			dma-names = "tx", "rx";
25740fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
25750fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c4_default>;
25760fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c4_sleep>;
25771e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
25781e71d0c2SJeffrey Hugo
25791e71d0c2SJeffrey Hugo			status = "disabled";
25801e71d0c2SJeffrey Hugo			#address-cells = <1>;
25811e71d0c2SJeffrey Hugo			#size-cells = <0>;
25821e71d0c2SJeffrey Hugo		};
25831e71d0c2SJeffrey Hugo
25840fee55fcSKonrad Dybcio		blsp2_i2c5: i2c@c1b9000 {
25851e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
25861e71d0c2SJeffrey Hugo			reg = <0x0c1b9000 0x600>;
25871e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
25881e71d0c2SJeffrey Hugo
25891e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
25901e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
25911e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
25926845359eSKonrad Dybcio			dmas = <&blsp2_dma 14>, <&blsp2_dma 15>;
25936845359eSKonrad Dybcio			dma-names = "tx", "rx";
25940fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
25950fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c5_default>;
25960fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c5_sleep>;
25971e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
25981e71d0c2SJeffrey Hugo
25991e71d0c2SJeffrey Hugo			status = "disabled";
26001e71d0c2SJeffrey Hugo			#address-cells = <1>;
26011e71d0c2SJeffrey Hugo			#size-cells = <0>;
26021e71d0c2SJeffrey Hugo		};
26031e71d0c2SJeffrey Hugo
26040fee55fcSKonrad Dybcio		blsp2_i2c6: i2c@c1ba000 {
26051e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
2606c8be5541SMarc Gonzalez			reg = <0x0c1ba000 0x600>;
26071e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
26081e71d0c2SJeffrey Hugo
26091e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
26101e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
26111e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
26126845359eSKonrad Dybcio			dmas = <&blsp2_dma 16>, <&blsp2_dma 17>;
26136845359eSKonrad Dybcio			dma-names = "tx", "rx";
26140fee55fcSKonrad Dybcio			pinctrl-names = "default", "sleep";
26150fee55fcSKonrad Dybcio			pinctrl-0 = <&blsp2_i2c6_default>;
26160fee55fcSKonrad Dybcio			pinctrl-1 = <&blsp2_i2c6_sleep>;
26171e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
26181e71d0c2SJeffrey Hugo
26191e71d0c2SJeffrey Hugo			status = "disabled";
26201e71d0c2SJeffrey Hugo			#address-cells = <1>;
26211e71d0c2SJeffrey Hugo			#size-cells = <0>;
26221e71d0c2SJeffrey Hugo		};
26231e71d0c2SJeffrey Hugo
2624935e538fSArnaud Vrac		blsp2_spi1: spi@c1b5000 {
2625935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2626935e538fSArnaud Vrac			reg = <0x0c1b5000 0x600>;
2627935e538fSArnaud Vrac			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
2628935e538fSArnaud Vrac
2629935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP2_QUP1_SPI_APPS_CLK>,
2630935e538fSArnaud Vrac				 <&gcc GCC_BLSP2_AHB_CLK>;
2631935e538fSArnaud Vrac			clock-names = "core", "iface";
2632935e538fSArnaud Vrac			dmas = <&blsp2_dma 6>, <&blsp2_dma 7>;
2633935e538fSArnaud Vrac			dma-names = "tx", "rx";
2634935e538fSArnaud Vrac			pinctrl-names = "default";
2635935e538fSArnaud Vrac			pinctrl-0 = <&blsp2_spi1_default>;
2636935e538fSArnaud Vrac
2637935e538fSArnaud Vrac			status = "disabled";
2638935e538fSArnaud Vrac			#address-cells = <1>;
2639935e538fSArnaud Vrac			#size-cells = <0>;
2640935e538fSArnaud Vrac		};
2641935e538fSArnaud Vrac
2642935e538fSArnaud Vrac		blsp2_spi2: spi@c1b6000 {
2643935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2644935e538fSArnaud Vrac			reg = <0x0c1b6000 0x600>;
2645935e538fSArnaud Vrac			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
2646935e538fSArnaud Vrac
2647935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP2_QUP2_SPI_APPS_CLK>,
2648935e538fSArnaud Vrac				 <&gcc GCC_BLSP2_AHB_CLK>;
2649935e538fSArnaud Vrac			clock-names = "core", "iface";
2650935e538fSArnaud Vrac			dmas = <&blsp2_dma 8>, <&blsp2_dma 9>;
2651935e538fSArnaud Vrac			dma-names = "tx", "rx";
2652935e538fSArnaud Vrac			pinctrl-names = "default";
2653935e538fSArnaud Vrac			pinctrl-0 = <&blsp2_spi2_default>;
2654935e538fSArnaud Vrac
2655935e538fSArnaud Vrac			status = "disabled";
2656935e538fSArnaud Vrac			#address-cells = <1>;
2657935e538fSArnaud Vrac			#size-cells = <0>;
2658935e538fSArnaud Vrac		};
2659935e538fSArnaud Vrac
2660935e538fSArnaud Vrac		blsp2_spi3: spi@c1b7000 {
2661935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2662935e538fSArnaud Vrac			reg = <0x0c1b7000 0x600>;
2663935e538fSArnaud Vrac			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
2664935e538fSArnaud Vrac
2665935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP2_QUP3_SPI_APPS_CLK>,
2666935e538fSArnaud Vrac				 <&gcc GCC_BLSP2_AHB_CLK>;
2667935e538fSArnaud Vrac			clock-names = "core", "iface";
2668935e538fSArnaud Vrac			dmas = <&blsp2_dma 10>, <&blsp2_dma 11>;
2669935e538fSArnaud Vrac			dma-names = "tx", "rx";
2670935e538fSArnaud Vrac			pinctrl-names = "default";
2671935e538fSArnaud Vrac			pinctrl-0 = <&blsp2_spi3_default>;
2672935e538fSArnaud Vrac
2673935e538fSArnaud Vrac			status = "disabled";
2674935e538fSArnaud Vrac			#address-cells = <1>;
2675935e538fSArnaud Vrac			#size-cells = <0>;
2676935e538fSArnaud Vrac		};
2677935e538fSArnaud Vrac
2678935e538fSArnaud Vrac		blsp2_spi4: spi@c1b8000 {
2679935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2680935e538fSArnaud Vrac			reg = <0x0c1b8000 0x600>;
2681935e538fSArnaud Vrac			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
2682935e538fSArnaud Vrac
2683935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP2_QUP4_SPI_APPS_CLK>,
2684935e538fSArnaud Vrac				 <&gcc GCC_BLSP2_AHB_CLK>;
2685935e538fSArnaud Vrac			clock-names = "core", "iface";
2686935e538fSArnaud Vrac			dmas = <&blsp2_dma 12>, <&blsp2_dma 13>;
2687935e538fSArnaud Vrac			dma-names = "tx", "rx";
2688935e538fSArnaud Vrac			pinctrl-names = "default";
2689935e538fSArnaud Vrac			pinctrl-0 = <&blsp2_spi4_default>;
2690935e538fSArnaud Vrac
2691935e538fSArnaud Vrac			status = "disabled";
2692935e538fSArnaud Vrac			#address-cells = <1>;
2693935e538fSArnaud Vrac			#size-cells = <0>;
2694935e538fSArnaud Vrac		};
2695935e538fSArnaud Vrac
2696935e538fSArnaud Vrac		blsp2_spi5: spi@c1b9000 {
2697935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2698935e538fSArnaud Vrac			reg = <0x0c1b9000 0x600>;
2699935e538fSArnaud Vrac			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
2700935e538fSArnaud Vrac
2701935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP2_QUP5_SPI_APPS_CLK>,
2702935e538fSArnaud Vrac				 <&gcc GCC_BLSP2_AHB_CLK>;
2703935e538fSArnaud Vrac			clock-names = "core", "iface";
2704935e538fSArnaud Vrac			dmas = <&blsp2_dma 14>, <&blsp2_dma 15>;
2705935e538fSArnaud Vrac			dma-names = "tx", "rx";
2706935e538fSArnaud Vrac			pinctrl-names = "default";
2707935e538fSArnaud Vrac			pinctrl-0 = <&blsp2_spi5_default>;
2708935e538fSArnaud Vrac
2709935e538fSArnaud Vrac			status = "disabled";
2710935e538fSArnaud Vrac			#address-cells = <1>;
2711935e538fSArnaud Vrac			#size-cells = <0>;
2712935e538fSArnaud Vrac		};
2713935e538fSArnaud Vrac
2714935e538fSArnaud Vrac		blsp2_spi6: spi@c1ba000 {
2715935e538fSArnaud Vrac			compatible = "qcom,spi-qup-v2.2.1";
2716935e538fSArnaud Vrac			reg = <0x0c1ba000 0x600>;
2717935e538fSArnaud Vrac			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
2718935e538fSArnaud Vrac
2719935e538fSArnaud Vrac			clocks = <&gcc GCC_BLSP2_QUP6_SPI_APPS_CLK>,
2720935e538fSArnaud Vrac				 <&gcc GCC_BLSP2_AHB_CLK>;
2721935e538fSArnaud Vrac			clock-names = "core", "iface";
2722935e538fSArnaud Vrac			dmas = <&blsp2_dma 16>, <&blsp2_dma 17>;
2723935e538fSArnaud Vrac			dma-names = "tx", "rx";
2724935e538fSArnaud Vrac			pinctrl-names = "default";
2725935e538fSArnaud Vrac			pinctrl-0 = <&blsp2_spi6_default>;
2726935e538fSArnaud Vrac
2727935e538fSArnaud Vrac			status = "disabled";
2728935e538fSArnaud Vrac			#address-cells = <1>;
2729935e538fSArnaud Vrac			#size-cells = <0>;
2730935e538fSArnaud Vrac		};
2731935e538fSArnaud Vrac
2732c075a2e3SAngeloGioacchino Del Regno		mmcc: clock-controller@c8c0000 {
2733c075a2e3SAngeloGioacchino Del Regno			compatible = "qcom,mmcc-msm8998";
2734c075a2e3SAngeloGioacchino Del Regno			#clock-cells = <1>;
2735c075a2e3SAngeloGioacchino Del Regno			#reset-cells = <1>;
2736c075a2e3SAngeloGioacchino Del Regno			#power-domain-cells = <1>;
2737c075a2e3SAngeloGioacchino Del Regno			reg = <0xc8c0000 0x40000>;
2738c075a2e3SAngeloGioacchino Del Regno
2739c075a2e3SAngeloGioacchino Del Regno			clock-names = "xo",
2740c075a2e3SAngeloGioacchino Del Regno				      "gpll0",
2741c075a2e3SAngeloGioacchino Del Regno				      "dsi0dsi",
2742c075a2e3SAngeloGioacchino Del Regno				      "dsi0byte",
2743c075a2e3SAngeloGioacchino Del Regno				      "dsi1dsi",
2744c075a2e3SAngeloGioacchino Del Regno				      "dsi1byte",
2745c075a2e3SAngeloGioacchino Del Regno				      "hdmipll",
2746c075a2e3SAngeloGioacchino Del Regno				      "dplink",
274763f4e4b4SKonrad Dybcio				      "dpvco",
274863f4e4b4SKonrad Dybcio				      "gpll0_div";
2749c075a2e3SAngeloGioacchino Del Regno			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
2750c075a2e3SAngeloGioacchino Del Regno				 <&gcc GCC_MMSS_GPLL0_CLK>,
2751ff88e1c9SAngeloGioacchino Del Regno				 <&mdss_dsi0_phy 1>,
2752ff88e1c9SAngeloGioacchino Del Regno				 <&mdss_dsi0_phy 0>,
2753ff88e1c9SAngeloGioacchino Del Regno				 <&mdss_dsi1_phy 1>,
2754ff88e1c9SAngeloGioacchino Del Regno				 <&mdss_dsi1_phy 0>,
2755c075a2e3SAngeloGioacchino Del Regno				 <0>,
2756c075a2e3SAngeloGioacchino Del Regno				 <0>,
275763f4e4b4SKonrad Dybcio				 <0>,
275863f4e4b4SKonrad Dybcio				 <&gcc GCC_MMSS_GPLL0_DIV_CLK>;
2759c075a2e3SAngeloGioacchino Del Regno		};
2760c075a2e3SAngeloGioacchino Del Regno
2761ff88e1c9SAngeloGioacchino Del Regno		mdss: display-subsystem@c900000 {
2762ff88e1c9SAngeloGioacchino Del Regno			compatible = "qcom,msm8998-mdss";
2763ff88e1c9SAngeloGioacchino Del Regno			reg = <0x0c900000 0x1000>;
2764ff88e1c9SAngeloGioacchino Del Regno			reg-names = "mdss";
2765ff88e1c9SAngeloGioacchino Del Regno
2766ff88e1c9SAngeloGioacchino Del Regno			interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
2767ff88e1c9SAngeloGioacchino Del Regno			interrupt-controller;
2768ff88e1c9SAngeloGioacchino Del Regno			#interrupt-cells = <1>;
2769ff88e1c9SAngeloGioacchino Del Regno
2770ff88e1c9SAngeloGioacchino Del Regno			clocks = <&mmcc MDSS_AHB_CLK>,
2771ff88e1c9SAngeloGioacchino Del Regno				 <&mmcc MDSS_AXI_CLK>,
2772ff88e1c9SAngeloGioacchino Del Regno				 <&mmcc MDSS_MDP_CLK>;
2773ff88e1c9SAngeloGioacchino Del Regno			clock-names = "iface",
2774ff88e1c9SAngeloGioacchino Del Regno				      "bus",
2775ff88e1c9SAngeloGioacchino Del Regno				      "core";
2776ff88e1c9SAngeloGioacchino Del Regno
2777ff88e1c9SAngeloGioacchino Del Regno			power-domains = <&mmcc MDSS_GDSC>;
2778ff88e1c9SAngeloGioacchino Del Regno			iommus = <&mmss_smmu 0>;
2779ff88e1c9SAngeloGioacchino Del Regno
2780ff88e1c9SAngeloGioacchino Del Regno			#address-cells = <1>;
2781ff88e1c9SAngeloGioacchino Del Regno			#size-cells = <1>;
2782ff88e1c9SAngeloGioacchino Del Regno			ranges;
2783ff88e1c9SAngeloGioacchino Del Regno
2784ff88e1c9SAngeloGioacchino Del Regno			status = "disabled";
2785ff88e1c9SAngeloGioacchino Del Regno
2786ff88e1c9SAngeloGioacchino Del Regno			mdss_mdp: display-controller@c901000 {
2787ff88e1c9SAngeloGioacchino Del Regno				compatible = "qcom,msm8998-dpu";
2788ff88e1c9SAngeloGioacchino Del Regno				reg = <0x0c901000 0x8f000>,
2789ff88e1c9SAngeloGioacchino Del Regno				      <0x0c9a8e00 0xf0>,
2790ff88e1c9SAngeloGioacchino Del Regno				      <0x0c9b0000 0x2008>,
2791ff88e1c9SAngeloGioacchino Del Regno				      <0x0c9b8000 0x1040>;
2792ff88e1c9SAngeloGioacchino Del Regno				reg-names = "mdp",
2793ff88e1c9SAngeloGioacchino Del Regno					    "regdma",
2794ff88e1c9SAngeloGioacchino Del Regno					    "vbif",
2795ff88e1c9SAngeloGioacchino Del Regno					    "vbif_nrt";
2796ff88e1c9SAngeloGioacchino Del Regno
2797ff88e1c9SAngeloGioacchino Del Regno				interrupt-parent = <&mdss>;
2798ff88e1c9SAngeloGioacchino Del Regno				interrupts = <0>;
2799ff88e1c9SAngeloGioacchino Del Regno
2800ff88e1c9SAngeloGioacchino Del Regno				clocks = <&mmcc MDSS_AHB_CLK>,
2801ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_AXI_CLK>,
2802ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MNOC_AHB_CLK>,
2803ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_MDP_CLK>,
2804ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_VSYNC_CLK>;
2805ff88e1c9SAngeloGioacchino Del Regno				clock-names = "iface",
2806ff88e1c9SAngeloGioacchino Del Regno					      "bus",
2807ff88e1c9SAngeloGioacchino Del Regno					      "mnoc",
2808ff88e1c9SAngeloGioacchino Del Regno					      "core",
2809ff88e1c9SAngeloGioacchino Del Regno					      "vsync";
2810ff88e1c9SAngeloGioacchino Del Regno
2811ff88e1c9SAngeloGioacchino Del Regno				assigned-clocks = <&mmcc MDSS_VSYNC_CLK>;
2812ff88e1c9SAngeloGioacchino Del Regno				assigned-clock-rates = <19200000>;
2813ff88e1c9SAngeloGioacchino Del Regno
2814ff88e1c9SAngeloGioacchino Del Regno				operating-points-v2 = <&mdp_opp_table>;
2815ff88e1c9SAngeloGioacchino Del Regno				power-domains = <&rpmpd MSM8998_VDDMX>;
2816ff88e1c9SAngeloGioacchino Del Regno
2817ff88e1c9SAngeloGioacchino Del Regno				mdp_opp_table: opp-table {
2818ff88e1c9SAngeloGioacchino Del Regno					compatible = "operating-points-v2";
2819ff88e1c9SAngeloGioacchino Del Regno
2820ff88e1c9SAngeloGioacchino Del Regno					opp-171430000 {
2821ff88e1c9SAngeloGioacchino Del Regno						opp-hz = /bits/ 64 <171430000>;
2822ff88e1c9SAngeloGioacchino Del Regno						required-opps = <&rpmpd_opp_low_svs>;
2823ff88e1c9SAngeloGioacchino Del Regno					};
2824ff88e1c9SAngeloGioacchino Del Regno
2825ff88e1c9SAngeloGioacchino Del Regno					opp-275000000 {
2826ff88e1c9SAngeloGioacchino Del Regno						opp-hz = /bits/ 64 <275000000>;
2827ff88e1c9SAngeloGioacchino Del Regno						required-opps = <&rpmpd_opp_svs>;
2828ff88e1c9SAngeloGioacchino Del Regno					};
2829ff88e1c9SAngeloGioacchino Del Regno
2830ff88e1c9SAngeloGioacchino Del Regno					opp-330000000 {
2831ff88e1c9SAngeloGioacchino Del Regno						opp-hz = /bits/ 64 <330000000>;
2832ff88e1c9SAngeloGioacchino Del Regno						required-opps = <&rpmpd_opp_nom>;
2833ff88e1c9SAngeloGioacchino Del Regno					};
2834ff88e1c9SAngeloGioacchino Del Regno
2835ff88e1c9SAngeloGioacchino Del Regno					opp-412500000 {
2836ff88e1c9SAngeloGioacchino Del Regno						opp-hz = /bits/ 64 <412500000>;
2837ff88e1c9SAngeloGioacchino Del Regno						required-opps = <&rpmpd_opp_turbo>;
2838ff88e1c9SAngeloGioacchino Del Regno					};
2839ff88e1c9SAngeloGioacchino Del Regno				};
2840ff88e1c9SAngeloGioacchino Del Regno
2841ff88e1c9SAngeloGioacchino Del Regno				ports {
2842ff88e1c9SAngeloGioacchino Del Regno					#address-cells = <1>;
2843ff88e1c9SAngeloGioacchino Del Regno					#size-cells = <0>;
2844ff88e1c9SAngeloGioacchino Del Regno
2845ff88e1c9SAngeloGioacchino Del Regno					port@0 {
2846ff88e1c9SAngeloGioacchino Del Regno						reg = <0>;
2847ff88e1c9SAngeloGioacchino Del Regno
2848ff88e1c9SAngeloGioacchino Del Regno						dpu_intf1_out: endpoint {
2849ff88e1c9SAngeloGioacchino Del Regno							remote-endpoint = <&mdss_dsi0_in>;
2850ff88e1c9SAngeloGioacchino Del Regno						};
2851ff88e1c9SAngeloGioacchino Del Regno					};
2852ff88e1c9SAngeloGioacchino Del Regno
2853ff88e1c9SAngeloGioacchino Del Regno					port@1 {
2854ff88e1c9SAngeloGioacchino Del Regno						reg = <1>;
2855ff88e1c9SAngeloGioacchino Del Regno
2856ff88e1c9SAngeloGioacchino Del Regno						dpu_intf2_out: endpoint {
2857ff88e1c9SAngeloGioacchino Del Regno							remote-endpoint = <&mdss_dsi1_in>;
2858ff88e1c9SAngeloGioacchino Del Regno						};
2859ff88e1c9SAngeloGioacchino Del Regno					};
2860ff88e1c9SAngeloGioacchino Del Regno				};
2861ff88e1c9SAngeloGioacchino Del Regno			};
2862ff88e1c9SAngeloGioacchino Del Regno
2863ff88e1c9SAngeloGioacchino Del Regno			mdss_dsi0: dsi@c994000 {
2864ff88e1c9SAngeloGioacchino Del Regno				compatible = "qcom,msm8998-dsi-ctrl", "qcom,mdss-dsi-ctrl";
2865ff88e1c9SAngeloGioacchino Del Regno				reg = <0x0c994000 0x400>;
2866ff88e1c9SAngeloGioacchino Del Regno				reg-names = "dsi_ctrl";
2867ff88e1c9SAngeloGioacchino Del Regno
2868ff88e1c9SAngeloGioacchino Del Regno				interrupt-parent = <&mdss>;
2869ff88e1c9SAngeloGioacchino Del Regno				interrupts = <4>;
2870ff88e1c9SAngeloGioacchino Del Regno
2871ff88e1c9SAngeloGioacchino Del Regno				clocks = <&mmcc MDSS_BYTE0_CLK>,
2872ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_BYTE0_INTF_CLK>,
2873ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_PCLK0_CLK>,
2874ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_ESC0_CLK>,
2875ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_AHB_CLK>,
2876ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_AXI_CLK>;
2877ff88e1c9SAngeloGioacchino Del Regno				clock-names = "byte",
2878ff88e1c9SAngeloGioacchino Del Regno					      "byte_intf",
2879ff88e1c9SAngeloGioacchino Del Regno					      "pixel",
2880ff88e1c9SAngeloGioacchino Del Regno					      "core",
2881ff88e1c9SAngeloGioacchino Del Regno					      "iface",
2882ff88e1c9SAngeloGioacchino Del Regno					      "bus";
2883ff88e1c9SAngeloGioacchino Del Regno				assigned-clocks = <&mmcc BYTE0_CLK_SRC>,
2884ff88e1c9SAngeloGioacchino Del Regno						  <&mmcc PCLK0_CLK_SRC>;
2885ff88e1c9SAngeloGioacchino Del Regno				assigned-clock-parents = <&mdss_dsi0_phy 0>,
2886ff88e1c9SAngeloGioacchino Del Regno							 <&mdss_dsi0_phy 1>;
2887ff88e1c9SAngeloGioacchino Del Regno
2888ff88e1c9SAngeloGioacchino Del Regno				operating-points-v2 = <&dsi_opp_table>;
2889ff88e1c9SAngeloGioacchino Del Regno				power-domains = <&rpmpd MSM8998_VDDCX>;
2890ff88e1c9SAngeloGioacchino Del Regno
2891ff88e1c9SAngeloGioacchino Del Regno				phys = <&mdss_dsi0_phy>;
2892ff88e1c9SAngeloGioacchino Del Regno				phy-names = "dsi";
2893ff88e1c9SAngeloGioacchino Del Regno
2894ff88e1c9SAngeloGioacchino Del Regno				#address-cells = <1>;
2895ff88e1c9SAngeloGioacchino Del Regno				#size-cells = <0>;
2896ff88e1c9SAngeloGioacchino Del Regno
2897ff88e1c9SAngeloGioacchino Del Regno				status = "disabled";
2898ff88e1c9SAngeloGioacchino Del Regno
2899ff88e1c9SAngeloGioacchino Del Regno				ports {
2900ff88e1c9SAngeloGioacchino Del Regno					#address-cells = <1>;
2901ff88e1c9SAngeloGioacchino Del Regno					#size-cells = <0>;
2902ff88e1c9SAngeloGioacchino Del Regno
2903ff88e1c9SAngeloGioacchino Del Regno					port@0 {
2904ff88e1c9SAngeloGioacchino Del Regno						reg = <0>;
2905ff88e1c9SAngeloGioacchino Del Regno
2906ff88e1c9SAngeloGioacchino Del Regno						mdss_dsi0_in: endpoint {
2907ff88e1c9SAngeloGioacchino Del Regno							remote-endpoint = <&dpu_intf1_out>;
2908ff88e1c9SAngeloGioacchino Del Regno						};
2909ff88e1c9SAngeloGioacchino Del Regno					};
2910ff88e1c9SAngeloGioacchino Del Regno
2911ff88e1c9SAngeloGioacchino Del Regno					port@1 {
2912ff88e1c9SAngeloGioacchino Del Regno						reg = <1>;
2913ff88e1c9SAngeloGioacchino Del Regno
2914ff88e1c9SAngeloGioacchino Del Regno						mdss_dsi0_out: endpoint {
2915ff88e1c9SAngeloGioacchino Del Regno						};
2916ff88e1c9SAngeloGioacchino Del Regno					};
2917ff88e1c9SAngeloGioacchino Del Regno				};
2918ff88e1c9SAngeloGioacchino Del Regno			};
2919ff88e1c9SAngeloGioacchino Del Regno
2920ff88e1c9SAngeloGioacchino Del Regno			mdss_dsi0_phy: phy@c994400 {
2921ff88e1c9SAngeloGioacchino Del Regno				compatible = "qcom,dsi-phy-10nm-8998";
2922ff88e1c9SAngeloGioacchino Del Regno				reg = <0x0c994400 0x200>,
2923ff88e1c9SAngeloGioacchino Del Regno				      <0x0c994600 0x280>,
2924ff88e1c9SAngeloGioacchino Del Regno				      <0x0c994a00 0x1e0>;
2925ff88e1c9SAngeloGioacchino Del Regno				reg-names = "dsi_phy",
2926ff88e1c9SAngeloGioacchino Del Regno					    "dsi_phy_lane",
2927ff88e1c9SAngeloGioacchino Del Regno					    "dsi_pll";
2928ff88e1c9SAngeloGioacchino Del Regno
2929ff88e1c9SAngeloGioacchino Del Regno				clocks = <&mmcc MDSS_AHB_CLK>,
2930ff88e1c9SAngeloGioacchino Del Regno					 <&rpmcc RPM_SMD_XO_CLK_SRC>;
2931ff88e1c9SAngeloGioacchino Del Regno				clock-names = "iface", "ref";
2932ff88e1c9SAngeloGioacchino Del Regno
2933ff88e1c9SAngeloGioacchino Del Regno				#clock-cells = <1>;
2934ff88e1c9SAngeloGioacchino Del Regno				#phy-cells = <0>;
2935ff88e1c9SAngeloGioacchino Del Regno
2936ff88e1c9SAngeloGioacchino Del Regno				status = "disabled";
2937ff88e1c9SAngeloGioacchino Del Regno			};
2938ff88e1c9SAngeloGioacchino Del Regno
2939ff88e1c9SAngeloGioacchino Del Regno			mdss_dsi1: dsi@c996000 {
2940ff88e1c9SAngeloGioacchino Del Regno				compatible = "qcom,msm8998-dsi-ctrl", "qcom,mdss-dsi-ctrl";
2941ff88e1c9SAngeloGioacchino Del Regno				reg = <0x0c996000 0x400>;
2942ff88e1c9SAngeloGioacchino Del Regno				reg-names = "dsi_ctrl";
2943ff88e1c9SAngeloGioacchino Del Regno
2944ff88e1c9SAngeloGioacchino Del Regno				interrupt-parent = <&mdss>;
2945ff88e1c9SAngeloGioacchino Del Regno				interrupts = <5>;
2946ff88e1c9SAngeloGioacchino Del Regno
2947ff88e1c9SAngeloGioacchino Del Regno				clocks = <&mmcc MDSS_BYTE1_CLK>,
2948ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_BYTE1_INTF_CLK>,
2949ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_PCLK1_CLK>,
2950ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_ESC1_CLK>,
2951ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_AHB_CLK>,
2952ff88e1c9SAngeloGioacchino Del Regno					 <&mmcc MDSS_AXI_CLK>;
2953ff88e1c9SAngeloGioacchino Del Regno				clock-names = "byte",
2954ff88e1c9SAngeloGioacchino Del Regno					      "byte_intf",
2955ff88e1c9SAngeloGioacchino Del Regno					      "pixel",
2956ff88e1c9SAngeloGioacchino Del Regno					      "core",
2957ff88e1c9SAngeloGioacchino Del Regno					      "iface",
2958ff88e1c9SAngeloGioacchino Del Regno					      "bus";
2959ff88e1c9SAngeloGioacchino Del Regno				assigned-clocks = <&mmcc BYTE1_CLK_SRC>,
2960ff88e1c9SAngeloGioacchino Del Regno						  <&mmcc PCLK1_CLK_SRC>;
2961ff88e1c9SAngeloGioacchino Del Regno				assigned-clock-parents = <&mdss_dsi1_phy 0>,
2962ff88e1c9SAngeloGioacchino Del Regno							 <&mdss_dsi1_phy 1>;
2963ff88e1c9SAngeloGioacchino Del Regno
2964ff88e1c9SAngeloGioacchino Del Regno				operating-points-v2 = <&dsi_opp_table>;
2965ff88e1c9SAngeloGioacchino Del Regno				power-domains = <&rpmpd MSM8998_VDDCX>;
2966ff88e1c9SAngeloGioacchino Del Regno
2967ff88e1c9SAngeloGioacchino Del Regno				phys = <&mdss_dsi1_phy>;
2968ff88e1c9SAngeloGioacchino Del Regno				phy-names = "dsi";
2969ff88e1c9SAngeloGioacchino Del Regno
2970ff88e1c9SAngeloGioacchino Del Regno				#address-cells = <1>;
2971ff88e1c9SAngeloGioacchino Del Regno				#size-cells = <0>;
2972ff88e1c9SAngeloGioacchino Del Regno
2973ff88e1c9SAngeloGioacchino Del Regno				status = "disabled";
2974ff88e1c9SAngeloGioacchino Del Regno
2975ff88e1c9SAngeloGioacchino Del Regno				ports {
2976ff88e1c9SAngeloGioacchino Del Regno					#address-cells = <1>;
2977ff88e1c9SAngeloGioacchino Del Regno					#size-cells = <0>;
2978ff88e1c9SAngeloGioacchino Del Regno
2979ff88e1c9SAngeloGioacchino Del Regno					port@0 {
2980ff88e1c9SAngeloGioacchino Del Regno						reg = <0>;
2981ff88e1c9SAngeloGioacchino Del Regno
2982ff88e1c9SAngeloGioacchino Del Regno						mdss_dsi1_in: endpoint {
2983ff88e1c9SAngeloGioacchino Del Regno							remote-endpoint = <&dpu_intf2_out>;
2984ff88e1c9SAngeloGioacchino Del Regno						};
2985ff88e1c9SAngeloGioacchino Del Regno					};
2986ff88e1c9SAngeloGioacchino Del Regno
2987ff88e1c9SAngeloGioacchino Del Regno					port@1 {
2988ff88e1c9SAngeloGioacchino Del Regno						reg = <1>;
2989ff88e1c9SAngeloGioacchino Del Regno
2990ff88e1c9SAngeloGioacchino Del Regno						mdss_dsi1_out: endpoint {
2991ff88e1c9SAngeloGioacchino Del Regno						};
2992ff88e1c9SAngeloGioacchino Del Regno					};
2993ff88e1c9SAngeloGioacchino Del Regno				};
2994ff88e1c9SAngeloGioacchino Del Regno			};
2995ff88e1c9SAngeloGioacchino Del Regno
2996ff88e1c9SAngeloGioacchino Del Regno			mdss_dsi1_phy: phy@c996400 {
2997ff88e1c9SAngeloGioacchino Del Regno				compatible = "qcom,dsi-phy-10nm-8998";
2998ff88e1c9SAngeloGioacchino Del Regno				reg = <0x0c996400 0x200>,
2999ff88e1c9SAngeloGioacchino Del Regno				      <0x0c996600 0x280>,
3000ff88e1c9SAngeloGioacchino Del Regno				      <0x0c996a00 0x10e>;
3001ff88e1c9SAngeloGioacchino Del Regno				reg-names = "dsi_phy",
3002ff88e1c9SAngeloGioacchino Del Regno					    "dsi_phy_lane",
3003ff88e1c9SAngeloGioacchino Del Regno					    "dsi_pll";
3004ff88e1c9SAngeloGioacchino Del Regno
3005ff88e1c9SAngeloGioacchino Del Regno				clocks = <&mmcc MDSS_AHB_CLK>,
3006ff88e1c9SAngeloGioacchino Del Regno					 <&rpmcc RPM_SMD_XO_CLK_SRC>;
3007ff88e1c9SAngeloGioacchino Del Regno				clock-names = "iface",
3008ff88e1c9SAngeloGioacchino Del Regno					      "ref";
3009ff88e1c9SAngeloGioacchino Del Regno
3010ff88e1c9SAngeloGioacchino Del Regno				#clock-cells = <1>;
3011ff88e1c9SAngeloGioacchino Del Regno				#phy-cells = <0>;
3012ff88e1c9SAngeloGioacchino Del Regno
3013ff88e1c9SAngeloGioacchino Del Regno				status = "disabled";
3014ff88e1c9SAngeloGioacchino Del Regno			};
3015ff88e1c9SAngeloGioacchino Del Regno		};
3016ff88e1c9SAngeloGioacchino Del Regno
301705ce21b5SAngeloGioacchino Del Regno		mmss_smmu: iommu@cd00000 {
301805ce21b5SAngeloGioacchino Del Regno			compatible = "qcom,msm8998-smmu-v2", "qcom,smmu-v2";
301905ce21b5SAngeloGioacchino Del Regno			reg = <0x0cd00000 0x40000>;
302005ce21b5SAngeloGioacchino Del Regno			#iommu-cells = <1>;
302105ce21b5SAngeloGioacchino Del Regno
302205ce21b5SAngeloGioacchino Del Regno			clocks = <&mmcc MNOC_AHB_CLK>,
302305ce21b5SAngeloGioacchino Del Regno				 <&mmcc BIMC_SMMU_AHB_CLK>,
302405ce21b5SAngeloGioacchino Del Regno				 <&mmcc BIMC_SMMU_AXI_CLK>;
3025a3ce2363SKonrad Dybcio			clock-names = "iface-mm",
3026a3ce2363SKonrad Dybcio				      "iface-smmu",
3027a3ce2363SKonrad Dybcio				      "bus-smmu";
302805ce21b5SAngeloGioacchino Del Regno
302905ce21b5SAngeloGioacchino Del Regno			#global-interrupts = <0>;
303005ce21b5SAngeloGioacchino Del Regno			interrupts =
303105ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>,
303205ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>,
303305ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>,
303405ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
303505ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>,
303605ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>,
303705ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>,
303805ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>,
303905ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>,
304005ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>,
304105ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>,
304205ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>,
304305ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>,
304405ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>,
304505ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>,
304605ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
304705ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>,
304805ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>,
304905ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>,
305005ce21b5SAngeloGioacchino Del Regno				<GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
30517f828f32SKonrad Dybcio
30527f828f32SKonrad Dybcio			power-domains = <&mmcc BIMC_SMMU_GDSC>;
305305ce21b5SAngeloGioacchino Del Regno		};
305405ce21b5SAngeloGioacchino Del Regno
3055a9ee66deSSibi Sankar		remoteproc_adsp: remoteproc@17300000 {
3056a9ee66deSSibi Sankar			compatible = "qcom,msm8998-adsp-pas";
3057a9ee66deSSibi Sankar			reg = <0x17300000 0x4040>;
3058a9ee66deSSibi Sankar
3059a9ee66deSSibi Sankar			interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
3060a9ee66deSSibi Sankar					      <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
3061a9ee66deSSibi Sankar					      <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
3062a9ee66deSSibi Sankar					      <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
3063a9ee66deSSibi Sankar					      <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
3064a9ee66deSSibi Sankar			interrupt-names = "wdog", "fatal", "ready",
3065a9ee66deSSibi Sankar					  "handover", "stop-ack";
3066a9ee66deSSibi Sankar
3067a9ee66deSSibi Sankar			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
3068a9ee66deSSibi Sankar			clock-names = "xo";
3069a9ee66deSSibi Sankar
3070a9ee66deSSibi Sankar			memory-region = <&adsp_mem>;
3071a9ee66deSSibi Sankar
3072a9ee66deSSibi Sankar			qcom,smem-states = <&adsp_smp2p_out 0>;
3073a9ee66deSSibi Sankar			qcom,smem-state-names = "stop";
3074a9ee66deSSibi Sankar
3075a9ee66deSSibi Sankar			power-domains = <&rpmpd MSM8998_VDDCX>;
3076a9ee66deSSibi Sankar			power-domain-names = "cx";
3077a9ee66deSSibi Sankar
3078a9ee66deSSibi Sankar			status = "disabled";
3079a9ee66deSSibi Sankar
3080a9ee66deSSibi Sankar			glink-edge {
3081a9ee66deSSibi Sankar				interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>;
3082a9ee66deSSibi Sankar				label = "lpass";
3083a9ee66deSSibi Sankar				qcom,remote-pid = <2>;
3084a9ee66deSSibi Sankar				mboxes = <&apcs_glb 9>;
3085a9ee66deSSibi Sankar			};
3086a9ee66deSSibi Sankar		};
3087a9ee66deSSibi Sankar
308832a5da21SJeffrey Hugo		apcs_glb: mailbox@17911000 {
3089112f33b3SKrzysztof Kozlowski			compatible = "qcom,msm8998-apcs-hmss-global",
3090112f33b3SKrzysztof Kozlowski				     "qcom,msm8994-apcs-kpss-global";
309132a5da21SJeffrey Hugo			reg = <0x17911000 0x1000>;
309232a5da21SJeffrey Hugo
309332a5da21SJeffrey Hugo			#mbox-cells = <1>;
30944807c71cSJoonwoo Park		};
30954807c71cSJoonwoo Park
30964807c71cSJoonwoo Park		timer@17920000 {
30974807c71cSJoonwoo Park			#address-cells = <1>;
30984807c71cSJoonwoo Park			#size-cells = <1>;
30994807c71cSJoonwoo Park			ranges;
31004807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
31014807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
31024807c71cSJoonwoo Park
31034807c71cSJoonwoo Park			frame@17921000 {
31044807c71cSJoonwoo Park				frame-number = <0>;
31054807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
31064807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
31074807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
31084807c71cSJoonwoo Park				      <0x17922000 0x1000>;
31094807c71cSJoonwoo Park			};
31104807c71cSJoonwoo Park
31114807c71cSJoonwoo Park			frame@17923000 {
31124807c71cSJoonwoo Park				frame-number = <1>;
31134807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
31144807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
31154807c71cSJoonwoo Park				status = "disabled";
31164807c71cSJoonwoo Park			};
31174807c71cSJoonwoo Park
31184807c71cSJoonwoo Park			frame@17924000 {
31194807c71cSJoonwoo Park				frame-number = <2>;
31204807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
31214807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
31224807c71cSJoonwoo Park				status = "disabled";
31234807c71cSJoonwoo Park			};
31244807c71cSJoonwoo Park
31254807c71cSJoonwoo Park			frame@17925000 {
31264807c71cSJoonwoo Park				frame-number = <3>;
31274807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
31284807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
31294807c71cSJoonwoo Park				status = "disabled";
31304807c71cSJoonwoo Park			};
31314807c71cSJoonwoo Park
31324807c71cSJoonwoo Park			frame@17926000 {
31334807c71cSJoonwoo Park				frame-number = <4>;
31344807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
31354807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
31364807c71cSJoonwoo Park				status = "disabled";
31374807c71cSJoonwoo Park			};
31384807c71cSJoonwoo Park
31394807c71cSJoonwoo Park			frame@17927000 {
31404807c71cSJoonwoo Park				frame-number = <5>;
31414807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
31424807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
31434807c71cSJoonwoo Park				status = "disabled";
31444807c71cSJoonwoo Park			};
31454807c71cSJoonwoo Park
31464807c71cSJoonwoo Park			frame@17928000 {
31474807c71cSJoonwoo Park				frame-number = <6>;
31484807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
31494807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
31504807c71cSJoonwoo Park				status = "disabled";
31514807c71cSJoonwoo Park			};
31524807c71cSJoonwoo Park		};
31534807c71cSJoonwoo Park
31544807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
31554807c71cSJoonwoo Park			compatible = "arm,gic-v3";
31564807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
31574807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
31584807c71cSJoonwoo Park			#interrupt-cells = <3>;
31594807c71cSJoonwoo Park			#address-cells = <1>;
31604807c71cSJoonwoo Park			#size-cells = <1>;
31614807c71cSJoonwoo Park			ranges;
31624807c71cSJoonwoo Park			interrupt-controller;
31634807c71cSJoonwoo Park			#redistributor-regions = <1>;
31644807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
31654807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
31664807c71cSJoonwoo Park		};
316719b7caaaSJeffrey Hugo
316819b7caaaSJeffrey Hugo		wifi: wifi@18800000 {
316919b7caaaSJeffrey Hugo			compatible = "qcom,wcn3990-wifi";
317019b7caaaSJeffrey Hugo			status = "disabled";
317119b7caaaSJeffrey Hugo			reg = <0x18800000 0x800000>;
317219b7caaaSJeffrey Hugo			reg-names = "membase";
317319b7caaaSJeffrey Hugo			memory-region = <&wlan_msa_mem>;
317419b7caaaSJeffrey Hugo			clocks = <&rpmcc RPM_SMD_RF_CLK2_PIN>;
317519b7caaaSJeffrey Hugo			clock-names = "cxo_ref_clk_pin";
317619b7caaaSJeffrey Hugo			interrupts =
317719b7caaaSJeffrey Hugo				<GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>,
317819b7caaaSJeffrey Hugo				<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>,
317919b7caaaSJeffrey Hugo				<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>,
318019b7caaaSJeffrey Hugo				<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>,
318119b7caaaSJeffrey Hugo				<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>,
318219b7caaaSJeffrey Hugo				<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>,
318319b7caaaSJeffrey Hugo				<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>,
318419b7caaaSJeffrey Hugo				<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>,
318519b7caaaSJeffrey Hugo				<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>,
318619b7caaaSJeffrey Hugo				<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>,
318719b7caaaSJeffrey Hugo				<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>,
318819b7caaaSJeffrey Hugo				<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>;
318919b7caaaSJeffrey Hugo			iommus = <&anoc2_smmu 0x1900>,
319019b7caaaSJeffrey Hugo				 <&anoc2_smmu 0x1901>;
319119b7caaaSJeffrey Hugo			qcom,snoc-host-cap-8bit-quirk;
319219b7caaaSJeffrey Hugo		};
31934807c71cSJoonwoo Park	};
31944807c71cSJoonwoo Park};
3195