14807c71cSJoonwoo Park// SPDX-License-Identifier: GPL-2.0
24807c71cSJoonwoo Park/* Copyright (c) 2016, The Linux Foundation. All rights reserved. */
34807c71cSJoonwoo Park
44807c71cSJoonwoo Park#include <dt-bindings/interrupt-controller/arm-gic.h>
54807c71cSJoonwoo Park#include <dt-bindings/clock/qcom,gcc-msm8998.h>
61fb28636SMarc Gonzalez#include <dt-bindings/clock/qcom,rpmcc.h>
723bd4f78SJeffrey Hugo#include <dt-bindings/gpio/gpio.h>
84807c71cSJoonwoo Park
94807c71cSJoonwoo Park/ {
104807c71cSJoonwoo Park	interrupt-parent = <&intc>;
114807c71cSJoonwoo Park
124807c71cSJoonwoo Park	qcom,msm-id = <292 0x0>;
134807c71cSJoonwoo Park
144807c71cSJoonwoo Park	#address-cells = <2>;
154807c71cSJoonwoo Park	#size-cells = <2>;
164807c71cSJoonwoo Park
174807c71cSJoonwoo Park	chosen { };
184807c71cSJoonwoo Park
194807c71cSJoonwoo Park	memory {
204807c71cSJoonwoo Park		device_type = "memory";
214807c71cSJoonwoo Park		/* We expect the bootloader to fill in the reg */
224807c71cSJoonwoo Park		reg = <0 0 0 0>;
234807c71cSJoonwoo Park	};
244807c71cSJoonwoo Park
25c7833949SBjorn Andersson	reserved-memory {
26c7833949SBjorn Andersson		#address-cells = <2>;
27c7833949SBjorn Andersson		#size-cells = <2>;
28c7833949SBjorn Andersson		ranges;
29c7833949SBjorn Andersson
30c7833949SBjorn Andersson		memory@85800000 {
31c7833949SBjorn Andersson			reg = <0x0 0x85800000 0x0 0x800000>;
32c7833949SBjorn Andersson			no-map;
33c7833949SBjorn Andersson		};
34c7833949SBjorn Andersson
35c7833949SBjorn Andersson		smem_mem: smem-mem@86000000 {
36c7833949SBjorn Andersson			reg = <0x0 0x86000000 0x0 0x200000>;
37c7833949SBjorn Andersson			no-map;
38c7833949SBjorn Andersson		};
39c7833949SBjorn Andersson
40c7833949SBjorn Andersson		memory@86200000 {
416e533309SMarc Gonzalez			reg = <0x0 0x86200000 0x0 0x2d00000>;
42c7833949SBjorn Andersson			no-map;
43c7833949SBjorn Andersson		};
44c7833949SBjorn Andersson
45c7833949SBjorn Andersson		rmtfs {
46c7833949SBjorn Andersson			compatible = "qcom,rmtfs-mem";
47c7833949SBjorn Andersson
48c7833949SBjorn Andersson			size = <0x0 0x200000>;
49c7833949SBjorn Andersson			alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
50c7833949SBjorn Andersson			no-map;
51c7833949SBjorn Andersson
52c7833949SBjorn Andersson			qcom,client-id = <1>;
53c7833949SBjorn Andersson			qcom,vmid = <15>;
54c7833949SBjorn Andersson		};
55c7833949SBjorn Andersson	};
56c7833949SBjorn Andersson
574807c71cSJoonwoo Park	clocks {
58818046ebSAndy Gross		xo: xo-board {
594807c71cSJoonwoo Park			compatible = "fixed-clock";
604807c71cSJoonwoo Park			#clock-cells = <0>;
614807c71cSJoonwoo Park			clock-frequency = <19200000>;
62818046ebSAndy Gross			clock-output-names = "xo_board";
634807c71cSJoonwoo Park		};
644807c71cSJoonwoo Park
654807c71cSJoonwoo Park		sleep_clk {
664807c71cSJoonwoo Park			compatible = "fixed-clock";
674807c71cSJoonwoo Park			#clock-cells = <0>;
684807c71cSJoonwoo Park			clock-frequency = <32764>;
694807c71cSJoonwoo Park		};
704807c71cSJoonwoo Park	};
714807c71cSJoonwoo Park
724807c71cSJoonwoo Park	cpus {
734807c71cSJoonwoo Park		#address-cells = <2>;
744807c71cSJoonwoo Park		#size-cells = <0>;
754807c71cSJoonwoo Park
764807c71cSJoonwoo Park		CPU0: cpu@0 {
774807c71cSJoonwoo Park			device_type = "cpu";
784807c71cSJoonwoo Park			compatible = "arm,armv8";
794807c71cSJoonwoo Park			reg = <0x0 0x0>;
804807c71cSJoonwoo Park			enable-method = "psci";
814807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
824807c71cSJoonwoo Park			L2_0: l2-cache {
834807c71cSJoonwoo Park				compatible = "arm,arch-cache";
844807c71cSJoonwoo Park				cache-level = <2>;
854807c71cSJoonwoo Park			};
864807c71cSJoonwoo Park			L1_I_0: l1-icache {
874807c71cSJoonwoo Park				compatible = "arm,arch-cache";
884807c71cSJoonwoo Park			};
894807c71cSJoonwoo Park			L1_D_0: l1-dcache {
904807c71cSJoonwoo Park				compatible = "arm,arch-cache";
914807c71cSJoonwoo Park			};
924807c71cSJoonwoo Park		};
934807c71cSJoonwoo Park
944807c71cSJoonwoo Park		CPU1: cpu@1 {
954807c71cSJoonwoo Park			device_type = "cpu";
964807c71cSJoonwoo Park			compatible = "arm,armv8";
974807c71cSJoonwoo Park			reg = <0x0 0x1>;
984807c71cSJoonwoo Park			enable-method = "psci";
994807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1004807c71cSJoonwoo Park			L1_I_1: l1-icache {
1014807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1024807c71cSJoonwoo Park			};
1034807c71cSJoonwoo Park			L1_D_1: l1-dcache {
1044807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1054807c71cSJoonwoo Park			};
1064807c71cSJoonwoo Park		};
1074807c71cSJoonwoo Park
1084807c71cSJoonwoo Park		CPU2: cpu@2 {
1094807c71cSJoonwoo Park			device_type = "cpu";
1104807c71cSJoonwoo Park			compatible = "arm,armv8";
1114807c71cSJoonwoo Park			reg = <0x0 0x2>;
1124807c71cSJoonwoo Park			enable-method = "psci";
1134807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1144807c71cSJoonwoo Park			L1_I_2: l1-icache {
1154807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1164807c71cSJoonwoo Park			};
1174807c71cSJoonwoo Park			L1_D_2: l1-dcache {
1184807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1194807c71cSJoonwoo Park			};
1204807c71cSJoonwoo Park		};
1214807c71cSJoonwoo Park
1224807c71cSJoonwoo Park		CPU3: cpu@3 {
1234807c71cSJoonwoo Park			device_type = "cpu";
1244807c71cSJoonwoo Park			compatible = "arm,armv8";
1254807c71cSJoonwoo Park			reg = <0x0 0x3>;
1264807c71cSJoonwoo Park			enable-method = "psci";
1274807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1284807c71cSJoonwoo Park			L1_I_3: l1-icache {
1294807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1304807c71cSJoonwoo Park			};
1314807c71cSJoonwoo Park			L1_D_3: l1-dcache {
1324807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1334807c71cSJoonwoo Park			};
1344807c71cSJoonwoo Park		};
1354807c71cSJoonwoo Park
1364807c71cSJoonwoo Park		CPU4: cpu@100 {
1374807c71cSJoonwoo Park			device_type = "cpu";
1384807c71cSJoonwoo Park			compatible = "arm,armv8";
1394807c71cSJoonwoo Park			reg = <0x0 0x100>;
1404807c71cSJoonwoo Park			enable-method = "psci";
1414807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1424807c71cSJoonwoo Park			L2_1: l2-cache {
1434807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1444807c71cSJoonwoo Park				cache-level = <2>;
1454807c71cSJoonwoo Park			};
1464807c71cSJoonwoo Park			L1_I_100: l1-icache {
1474807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1484807c71cSJoonwoo Park			};
1494807c71cSJoonwoo Park			L1_D_100: l1-dcache {
1504807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1514807c71cSJoonwoo Park			};
1524807c71cSJoonwoo Park		};
1534807c71cSJoonwoo Park
1544807c71cSJoonwoo Park		CPU5: cpu@101 {
1554807c71cSJoonwoo Park			device_type = "cpu";
1564807c71cSJoonwoo Park			compatible = "arm,armv8";
1574807c71cSJoonwoo Park			reg = <0x0 0x101>;
1584807c71cSJoonwoo Park			enable-method = "psci";
1594807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1604807c71cSJoonwoo Park			L1_I_101: l1-icache {
1614807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1624807c71cSJoonwoo Park			};
1634807c71cSJoonwoo Park			L1_D_101: l1-dcache {
1644807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1654807c71cSJoonwoo Park			};
1664807c71cSJoonwoo Park		};
1674807c71cSJoonwoo Park
1684807c71cSJoonwoo Park		CPU6: cpu@102 {
1694807c71cSJoonwoo Park			device_type = "cpu";
1704807c71cSJoonwoo Park			compatible = "arm,armv8";
1714807c71cSJoonwoo Park			reg = <0x0 0x102>;
1724807c71cSJoonwoo Park			enable-method = "psci";
1734807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1744807c71cSJoonwoo Park			L1_I_102: l1-icache {
1754807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1764807c71cSJoonwoo Park			};
1774807c71cSJoonwoo Park			L1_D_102: l1-dcache {
1784807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1794807c71cSJoonwoo Park			};
1804807c71cSJoonwoo Park		};
1814807c71cSJoonwoo Park
1824807c71cSJoonwoo Park		CPU7: cpu@103 {
1834807c71cSJoonwoo Park			device_type = "cpu";
1844807c71cSJoonwoo Park			compatible = "arm,armv8";
1854807c71cSJoonwoo Park			reg = <0x0 0x103>;
1864807c71cSJoonwoo Park			enable-method = "psci";
1874807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1884807c71cSJoonwoo Park			L1_I_103: l1-icache {
1894807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1904807c71cSJoonwoo Park			};
1914807c71cSJoonwoo Park			L1_D_103: l1-dcache {
1924807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1934807c71cSJoonwoo Park			};
1944807c71cSJoonwoo Park		};
1954807c71cSJoonwoo Park
1964807c71cSJoonwoo Park		cpu-map {
1974807c71cSJoonwoo Park			cluster0 {
1984807c71cSJoonwoo Park				core0 {
1994807c71cSJoonwoo Park					cpu = <&CPU0>;
2004807c71cSJoonwoo Park				};
2014807c71cSJoonwoo Park
2024807c71cSJoonwoo Park				core1 {
2034807c71cSJoonwoo Park					cpu = <&CPU1>;
2044807c71cSJoonwoo Park				};
2054807c71cSJoonwoo Park
2064807c71cSJoonwoo Park				core2 {
2074807c71cSJoonwoo Park					cpu = <&CPU2>;
2084807c71cSJoonwoo Park				};
2094807c71cSJoonwoo Park
2104807c71cSJoonwoo Park				core3 {
2114807c71cSJoonwoo Park					cpu = <&CPU3>;
2124807c71cSJoonwoo Park				};
2134807c71cSJoonwoo Park			};
2144807c71cSJoonwoo Park
2154807c71cSJoonwoo Park			cluster1 {
2164807c71cSJoonwoo Park				core0 {
2174807c71cSJoonwoo Park					cpu = <&CPU4>;
2184807c71cSJoonwoo Park				};
2194807c71cSJoonwoo Park
2204807c71cSJoonwoo Park				core1 {
2214807c71cSJoonwoo Park					cpu = <&CPU5>;
2224807c71cSJoonwoo Park				};
2234807c71cSJoonwoo Park
2244807c71cSJoonwoo Park				core2 {
2254807c71cSJoonwoo Park					cpu = <&CPU6>;
2264807c71cSJoonwoo Park				};
2274807c71cSJoonwoo Park
2284807c71cSJoonwoo Park				core3 {
2294807c71cSJoonwoo Park					cpu = <&CPU7>;
2304807c71cSJoonwoo Park				};
2314807c71cSJoonwoo Park			};
2324807c71cSJoonwoo Park		};
2334807c71cSJoonwoo Park	};
2344807c71cSJoonwoo Park
235d850156aSBjorn Andersson	firmware {
236d850156aSBjorn Andersson		scm {
23770827d9fSBjorn Andersson			compatible = "qcom,scm-msm8998", "qcom,scm";
238d850156aSBjorn Andersson		};
239d850156aSBjorn Andersson	};
240d850156aSBjorn Andersson
241c7833949SBjorn Andersson	tcsr_mutex: hwlock {
242c7833949SBjorn Andersson		compatible = "qcom,tcsr-mutex";
243c7833949SBjorn Andersson		syscon = <&tcsr_mutex_regs 0 0x1000>;
244c7833949SBjorn Andersson		#hwlock-cells = <1>;
245c7833949SBjorn Andersson	};
246c7833949SBjorn Andersson
2474807c71cSJoonwoo Park	psci {
2484807c71cSJoonwoo Park		compatible = "arm,psci-1.0";
2494807c71cSJoonwoo Park		method = "smc";
2504807c71cSJoonwoo Park	};
2514807c71cSJoonwoo Park
25231c1f0e3SBjorn Andersson	rpm-glink {
25331c1f0e3SBjorn Andersson		compatible = "qcom,glink-rpm";
25431c1f0e3SBjorn Andersson
25531c1f0e3SBjorn Andersson		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
25631c1f0e3SBjorn Andersson		qcom,rpm-msg-ram = <&rpm_msg_ram>;
25731c1f0e3SBjorn Andersson		mboxes = <&apcs_glb 0>;
25831c1f0e3SBjorn Andersson
25931c1f0e3SBjorn Andersson		rpm_requests: rpm-requests {
26031c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msm8998";
26131c1f0e3SBjorn Andersson			qcom,glink-channels = "rpm_requests";
2621fb28636SMarc Gonzalez
2631fb28636SMarc Gonzalez			rpmcc: clock-controller {
2641fb28636SMarc Gonzalez				compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc";
2651fb28636SMarc Gonzalez				#clock-cells = <1>;
2661fb28636SMarc Gonzalez			};
26731c1f0e3SBjorn Andersson		};
26831c1f0e3SBjorn Andersson	};
26931c1f0e3SBjorn Andersson
270c7833949SBjorn Andersson	smem {
271c7833949SBjorn Andersson		compatible = "qcom,smem";
272c7833949SBjorn Andersson		memory-region = <&smem_mem>;
273c7833949SBjorn Andersson		hwlocks = <&tcsr_mutex 3>;
274c7833949SBjorn Andersson	};
275c7833949SBjorn Andersson
276e8d006fdSBjorn Andersson	smp2p-lpass {
277e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
278e8d006fdSBjorn Andersson		qcom,smem = <443>, <429>;
279e8d006fdSBjorn Andersson
280e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>;
281e8d006fdSBjorn Andersson
282e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 10>;
283e8d006fdSBjorn Andersson
284e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
285e8d006fdSBjorn Andersson		qcom,remote-pid = <2>;
286e8d006fdSBjorn Andersson
287e8d006fdSBjorn Andersson		adsp_smp2p_out: master-kernel {
288e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
289e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
290e8d006fdSBjorn Andersson		};
291e8d006fdSBjorn Andersson
292e8d006fdSBjorn Andersson		adsp_smp2p_in: slave-kernel {
293e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
294e8d006fdSBjorn Andersson
295e8d006fdSBjorn Andersson			interrupt-controller;
296e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
297e8d006fdSBjorn Andersson		};
298e8d006fdSBjorn Andersson	};
299e8d006fdSBjorn Andersson
300e8d006fdSBjorn Andersson	smp2p-mpss {
301e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
302e8d006fdSBjorn Andersson		qcom,smem = <435>, <428>;
303e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
304e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 14>;
305e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
306e8d006fdSBjorn Andersson		qcom,remote-pid = <1>;
307e8d006fdSBjorn Andersson
308e8d006fdSBjorn Andersson		modem_smp2p_out: master-kernel {
309e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
310e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
311e8d006fdSBjorn Andersson		};
312e8d006fdSBjorn Andersson
313e8d006fdSBjorn Andersson		modem_smp2p_in: slave-kernel {
314e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
315e8d006fdSBjorn Andersson			interrupt-controller;
316e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
317e8d006fdSBjorn Andersson		};
318e8d006fdSBjorn Andersson	};
319e8d006fdSBjorn Andersson
320e8d006fdSBjorn Andersson	smp2p-slpi {
321e8d006fdSBjorn Andersson		compatible = "qcom,smp2p";
322e8d006fdSBjorn Andersson		qcom,smem = <481>, <430>;
323e8d006fdSBjorn Andersson		interrupts = <GIC_SPI 178 IRQ_TYPE_EDGE_RISING>;
324e8d006fdSBjorn Andersson		mboxes = <&apcs_glb 26>;
325e8d006fdSBjorn Andersson		qcom,local-pid = <0>;
326e8d006fdSBjorn Andersson		qcom,remote-pid = <3>;
327e8d006fdSBjorn Andersson
328e8d006fdSBjorn Andersson		slpi_smp2p_out: master-kernel {
329e8d006fdSBjorn Andersson			qcom,entry-name = "master-kernel";
330e8d006fdSBjorn Andersson			#qcom,smem-state-cells = <1>;
331e8d006fdSBjorn Andersson		};
332e8d006fdSBjorn Andersson
333e8d006fdSBjorn Andersson		slpi_smp2p_in: slave-kernel {
334e8d006fdSBjorn Andersson			qcom,entry-name = "slave-kernel";
335e8d006fdSBjorn Andersson			interrupt-controller;
336e8d006fdSBjorn Andersson			#interrupt-cells = <2>;
337e8d006fdSBjorn Andersson		};
338e8d006fdSBjorn Andersson	};
339e8d006fdSBjorn Andersson
3404449b6f2SBjorn Andersson	thermal-zones {
341ae8876ddSAmit Kucheria		cpu0-thermal {
3424449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3434449b6f2SBjorn Andersson			polling-delay = <1000>;
3444449b6f2SBjorn Andersson
345b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 1>;
3464449b6f2SBjorn Andersson
3474449b6f2SBjorn Andersson			trips {
348ae8876ddSAmit Kucheria				cpu0_alert0: trip-point@0 {
3494449b6f2SBjorn Andersson					temperature = <75000>;
3504449b6f2SBjorn Andersson					hysteresis = <2000>;
3514449b6f2SBjorn Andersson					type = "passive";
3524449b6f2SBjorn Andersson				};
3534449b6f2SBjorn Andersson
354ae8876ddSAmit Kucheria				cpu0_crit: cpu_crit {
3554449b6f2SBjorn Andersson					temperature = <110000>;
3564449b6f2SBjorn Andersson					hysteresis = <2000>;
3574449b6f2SBjorn Andersson					type = "critical";
3584449b6f2SBjorn Andersson				};
3594449b6f2SBjorn Andersson			};
3604449b6f2SBjorn Andersson		};
3614449b6f2SBjorn Andersson
362ae8876ddSAmit Kucheria		cpu1-thermal {
3634449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3644449b6f2SBjorn Andersson			polling-delay = <1000>;
3654449b6f2SBjorn Andersson
366b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 2>;
3674449b6f2SBjorn Andersson
3684449b6f2SBjorn Andersson			trips {
369ae8876ddSAmit Kucheria				cpu1_alert0: trip-point@0 {
3704449b6f2SBjorn Andersson					temperature = <75000>;
3714449b6f2SBjorn Andersson					hysteresis = <2000>;
3724449b6f2SBjorn Andersson					type = "passive";
3734449b6f2SBjorn Andersson				};
3744449b6f2SBjorn Andersson
375ae8876ddSAmit Kucheria				cpu1_crit: cpu_crit {
3764449b6f2SBjorn Andersson					temperature = <110000>;
3774449b6f2SBjorn Andersson					hysteresis = <2000>;
3784449b6f2SBjorn Andersson					type = "critical";
3794449b6f2SBjorn Andersson				};
3804449b6f2SBjorn Andersson			};
3814449b6f2SBjorn Andersson		};
3824449b6f2SBjorn Andersson
383ae8876ddSAmit Kucheria		cpu2-thermal {
3844449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3854449b6f2SBjorn Andersson			polling-delay = <1000>;
3864449b6f2SBjorn Andersson
387b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 3>;
3884449b6f2SBjorn Andersson
3894449b6f2SBjorn Andersson			trips {
390ae8876ddSAmit Kucheria				cpu2_alert0: trip-point@0 {
3914449b6f2SBjorn Andersson					temperature = <75000>;
3924449b6f2SBjorn Andersson					hysteresis = <2000>;
3934449b6f2SBjorn Andersson					type = "passive";
3944449b6f2SBjorn Andersson				};
3954449b6f2SBjorn Andersson
396ae8876ddSAmit Kucheria				cpu2_crit: cpu_crit {
3974449b6f2SBjorn Andersson					temperature = <110000>;
3984449b6f2SBjorn Andersson					hysteresis = <2000>;
3994449b6f2SBjorn Andersson					type = "critical";
4004449b6f2SBjorn Andersson				};
4014449b6f2SBjorn Andersson			};
4024449b6f2SBjorn Andersson		};
4034449b6f2SBjorn Andersson
404ae8876ddSAmit Kucheria		cpu3-thermal {
4054449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4064449b6f2SBjorn Andersson			polling-delay = <1000>;
4074449b6f2SBjorn Andersson
408b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 4>;
4094449b6f2SBjorn Andersson
4104449b6f2SBjorn Andersson			trips {
411ae8876ddSAmit Kucheria				cpu3_alert0: trip-point@0 {
4124449b6f2SBjorn Andersson					temperature = <75000>;
4134449b6f2SBjorn Andersson					hysteresis = <2000>;
4144449b6f2SBjorn Andersson					type = "passive";
4154449b6f2SBjorn Andersson				};
4164449b6f2SBjorn Andersson
417ae8876ddSAmit Kucheria				cpu3_crit: cpu_crit {
4184449b6f2SBjorn Andersson					temperature = <110000>;
4194449b6f2SBjorn Andersson					hysteresis = <2000>;
4204449b6f2SBjorn Andersson					type = "critical";
4214449b6f2SBjorn Andersson				};
4224449b6f2SBjorn Andersson			};
4234449b6f2SBjorn Andersson		};
4244449b6f2SBjorn Andersson
425ae8876ddSAmit Kucheria		cpu4-thermal {
4264449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4274449b6f2SBjorn Andersson			polling-delay = <1000>;
4284449b6f2SBjorn Andersson
4294449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 7>;
4304449b6f2SBjorn Andersson
4314449b6f2SBjorn Andersson			trips {
432ae8876ddSAmit Kucheria				cpu4_alert0: trip-point@0 {
4334449b6f2SBjorn Andersson					temperature = <75000>;
4344449b6f2SBjorn Andersson					hysteresis = <2000>;
4354449b6f2SBjorn Andersson					type = "passive";
4364449b6f2SBjorn Andersson				};
4374449b6f2SBjorn Andersson
438ae8876ddSAmit Kucheria				cpu4_crit: cpu_crit {
4394449b6f2SBjorn Andersson					temperature = <110000>;
4404449b6f2SBjorn Andersson					hysteresis = <2000>;
4414449b6f2SBjorn Andersson					type = "critical";
4424449b6f2SBjorn Andersson				};
4434449b6f2SBjorn Andersson			};
4444449b6f2SBjorn Andersson		};
4454449b6f2SBjorn Andersson
446ae8876ddSAmit Kucheria		cpu5-thermal {
4474449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4484449b6f2SBjorn Andersson			polling-delay = <1000>;
4494449b6f2SBjorn Andersson
4504449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 8>;
4514449b6f2SBjorn Andersson
4524449b6f2SBjorn Andersson			trips {
453ae8876ddSAmit Kucheria				cpu5_alert0: trip-point@0 {
4544449b6f2SBjorn Andersson					temperature = <75000>;
4554449b6f2SBjorn Andersson					hysteresis = <2000>;
4564449b6f2SBjorn Andersson					type = "passive";
4574449b6f2SBjorn Andersson				};
4584449b6f2SBjorn Andersson
459ae8876ddSAmit Kucheria				cpu5_crit: cpu_crit {
4604449b6f2SBjorn Andersson					temperature = <110000>;
4614449b6f2SBjorn Andersson					hysteresis = <2000>;
4624449b6f2SBjorn Andersson					type = "critical";
4634449b6f2SBjorn Andersson				};
4644449b6f2SBjorn Andersson			};
4654449b6f2SBjorn Andersson		};
4664449b6f2SBjorn Andersson
467ae8876ddSAmit Kucheria		cpu6-thermal {
4684449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4694449b6f2SBjorn Andersson			polling-delay = <1000>;
4704449b6f2SBjorn Andersson
4714449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 9>;
4724449b6f2SBjorn Andersson
4734449b6f2SBjorn Andersson			trips {
474ae8876ddSAmit Kucheria				cpu6_alert0: trip-point@0 {
4754449b6f2SBjorn Andersson					temperature = <75000>;
4764449b6f2SBjorn Andersson					hysteresis = <2000>;
4774449b6f2SBjorn Andersson					type = "passive";
4784449b6f2SBjorn Andersson				};
4794449b6f2SBjorn Andersson
480ae8876ddSAmit Kucheria				cpu6_crit: cpu_crit {
4814449b6f2SBjorn Andersson					temperature = <110000>;
4824449b6f2SBjorn Andersson					hysteresis = <2000>;
4834449b6f2SBjorn Andersson					type = "critical";
4844449b6f2SBjorn Andersson				};
4854449b6f2SBjorn Andersson			};
4864449b6f2SBjorn Andersson		};
4874449b6f2SBjorn Andersson
488ae8876ddSAmit Kucheria		cpu7-thermal {
4894449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4904449b6f2SBjorn Andersson			polling-delay = <1000>;
4914449b6f2SBjorn Andersson
4924449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 10>;
4934449b6f2SBjorn Andersson
4944449b6f2SBjorn Andersson			trips {
495ae8876ddSAmit Kucheria				cpu7_alert0: trip-point@0 {
4964449b6f2SBjorn Andersson					temperature = <75000>;
4974449b6f2SBjorn Andersson					hysteresis = <2000>;
4984449b6f2SBjorn Andersson					type = "passive";
4994449b6f2SBjorn Andersson				};
5004449b6f2SBjorn Andersson
501ae8876ddSAmit Kucheria				cpu7_crit: cpu_crit {
5024449b6f2SBjorn Andersson					temperature = <110000>;
5034449b6f2SBjorn Andersson					hysteresis = <2000>;
5044449b6f2SBjorn Andersson					type = "critical";
5054449b6f2SBjorn Andersson				};
5064449b6f2SBjorn Andersson			};
5074449b6f2SBjorn Andersson		};
5084449b6f2SBjorn Andersson
5092fa2d301SAmit Kucheria		gpu-thermal-bottom {
5102fa2d301SAmit Kucheria			polling-delay-passive = <250>;
5112fa2d301SAmit Kucheria			polling-delay = <1000>;
5122fa2d301SAmit Kucheria
5132fa2d301SAmit Kucheria			thermal-sensors = <&tsens0 12>;
5142fa2d301SAmit Kucheria
5152fa2d301SAmit Kucheria			trips {
5162fa2d301SAmit Kucheria				gpu1_alert0: trip-point@0 {
5172fa2d301SAmit Kucheria					temperature = <90000>;
5182fa2d301SAmit Kucheria					hysteresis = <2000>;
5192fa2d301SAmit Kucheria					type = "hot";
5202fa2d301SAmit Kucheria				};
5212fa2d301SAmit Kucheria			};
5222fa2d301SAmit Kucheria		};
5232fa2d301SAmit Kucheria
5242fa2d301SAmit Kucheria		gpu-thermal-top {
5254449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5264449b6f2SBjorn Andersson			polling-delay = <1000>;
5274449b6f2SBjorn Andersson
5289284aa44SAmit Kucheria			thermal-sensors = <&tsens0 13>;
5292fa2d301SAmit Kucheria
5302fa2d301SAmit Kucheria			trips {
5312fa2d301SAmit Kucheria				gpu2_alert0: trip-point@0 {
5322fa2d301SAmit Kucheria					temperature = <90000>;
5332fa2d301SAmit Kucheria					hysteresis = <2000>;
5342fa2d301SAmit Kucheria					type = "hot";
5352fa2d301SAmit Kucheria				};
5362fa2d301SAmit Kucheria			};
5374449b6f2SBjorn Andersson		};
538e9d2729dSAmit Kucheria
539e9d2729dSAmit Kucheria		cluster0-mhm-thermal {
540e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
541e9d2729dSAmit Kucheria			polling-delay = <1000>;
542e9d2729dSAmit Kucheria
543e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 5>;
544e9d2729dSAmit Kucheria
545e9d2729dSAmit Kucheria			trips {
546e9d2729dSAmit Kucheria				cluster0_mhm_alert0: trip-point@0 {
547e9d2729dSAmit Kucheria					temperature = <90000>;
548e9d2729dSAmit Kucheria					hysteresis = <2000>;
549e9d2729dSAmit Kucheria					type = "hot";
550e9d2729dSAmit Kucheria				};
551e9d2729dSAmit Kucheria			};
552e9d2729dSAmit Kucheria		};
553e9d2729dSAmit Kucheria
554e9d2729dSAmit Kucheria		cluster1-mhm-thermal {
555e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
556e9d2729dSAmit Kucheria			polling-delay = <1000>;
557e9d2729dSAmit Kucheria
558e9d2729dSAmit Kucheria			thermal-sensors = <&tsens0 6>;
559e9d2729dSAmit Kucheria
560e9d2729dSAmit Kucheria			trips {
561e9d2729dSAmit Kucheria				cluster1_mhm_alert0: trip-point@0 {
562e9d2729dSAmit Kucheria					temperature = <90000>;
563e9d2729dSAmit Kucheria					hysteresis = <2000>;
564e9d2729dSAmit Kucheria					type = "hot";
565e9d2729dSAmit Kucheria				};
566e9d2729dSAmit Kucheria			};
567e9d2729dSAmit Kucheria		};
568e9d2729dSAmit Kucheria
569e9d2729dSAmit Kucheria		cluster1-l2-thermal {
5704449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5714449b6f2SBjorn Andersson			polling-delay = <1000>;
5724449b6f2SBjorn Andersson
5734449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 11>;
5744449b6f2SBjorn Andersson
5754449b6f2SBjorn Andersson			trips {
576e9d2729dSAmit Kucheria				cluster1_l2_alert0: trip-point@0 {
577e9d2729dSAmit Kucheria					temperature = <90000>;
5784449b6f2SBjorn Andersson					hysteresis = <2000>;
579e9d2729dSAmit Kucheria					type = "hot";
5804449b6f2SBjorn Andersson				};
5814449b6f2SBjorn Andersson			};
5824449b6f2SBjorn Andersson		};
5834449b6f2SBjorn Andersson
584e9d2729dSAmit Kucheria		modem-thermal {
5854449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5864449b6f2SBjorn Andersson			polling-delay = <1000>;
5874449b6f2SBjorn Andersson
5884449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 1>;
5894449b6f2SBjorn Andersson
5904449b6f2SBjorn Andersson			trips {
591e9d2729dSAmit Kucheria				modem_alert0: trip-point@0 {
592e9d2729dSAmit Kucheria					temperature = <90000>;
5934449b6f2SBjorn Andersson					hysteresis = <2000>;
594e9d2729dSAmit Kucheria					type = "hot";
5954449b6f2SBjorn Andersson				};
5964449b6f2SBjorn Andersson			};
5974449b6f2SBjorn Andersson		};
5984449b6f2SBjorn Andersson
599e9d2729dSAmit Kucheria		mem-thermal {
600e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
601e9d2729dSAmit Kucheria			polling-delay = <1000>;
602e9d2729dSAmit Kucheria
603e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 2>;
604e9d2729dSAmit Kucheria
605e9d2729dSAmit Kucheria			trips {
606e9d2729dSAmit Kucheria				mem_alert0: trip-point@0 {
607e9d2729dSAmit Kucheria					temperature = <90000>;
608e9d2729dSAmit Kucheria					hysteresis = <2000>;
609e9d2729dSAmit Kucheria					type = "hot";
610e9d2729dSAmit Kucheria				};
611e9d2729dSAmit Kucheria			};
612e9d2729dSAmit Kucheria		};
613e9d2729dSAmit Kucheria
614e9d2729dSAmit Kucheria		wlan-thermal {
6154449b6f2SBjorn Andersson			polling-delay-passive = <250>;
6164449b6f2SBjorn Andersson			polling-delay = <1000>;
6174449b6f2SBjorn Andersson
6184449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 3>;
619e9d2729dSAmit Kucheria
620e9d2729dSAmit Kucheria			trips {
621e9d2729dSAmit Kucheria				wlan_alert0: trip-point@0 {
622e9d2729dSAmit Kucheria					temperature = <90000>;
623e9d2729dSAmit Kucheria					hysteresis = <2000>;
624e9d2729dSAmit Kucheria					type = "hot";
625e9d2729dSAmit Kucheria				};
626e9d2729dSAmit Kucheria			};
627e9d2729dSAmit Kucheria		};
628e9d2729dSAmit Kucheria
629e9d2729dSAmit Kucheria		q6-dsp-thermal {
630e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
631e9d2729dSAmit Kucheria			polling-delay = <1000>;
632e9d2729dSAmit Kucheria
633e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 4>;
634e9d2729dSAmit Kucheria
635e9d2729dSAmit Kucheria			trips {
636e9d2729dSAmit Kucheria				q6_dsp_alert0: trip-point@0 {
637e9d2729dSAmit Kucheria					temperature = <90000>;
638e9d2729dSAmit Kucheria					hysteresis = <2000>;
639e9d2729dSAmit Kucheria					type = "hot";
640e9d2729dSAmit Kucheria				};
641e9d2729dSAmit Kucheria			};
642e9d2729dSAmit Kucheria		};
643e9d2729dSAmit Kucheria
644e9d2729dSAmit Kucheria		camera-thermal {
645e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
646e9d2729dSAmit Kucheria			polling-delay = <1000>;
647e9d2729dSAmit Kucheria
648e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 5>;
649e9d2729dSAmit Kucheria
650e9d2729dSAmit Kucheria			trips {
651e9d2729dSAmit Kucheria				camera_alert0: trip-point@0 {
652e9d2729dSAmit Kucheria					temperature = <90000>;
653e9d2729dSAmit Kucheria					hysteresis = <2000>;
654e9d2729dSAmit Kucheria					type = "hot";
655e9d2729dSAmit Kucheria				};
656e9d2729dSAmit Kucheria			};
657e9d2729dSAmit Kucheria		};
658e9d2729dSAmit Kucheria
659e9d2729dSAmit Kucheria		multimedia-thermal {
660e9d2729dSAmit Kucheria			polling-delay-passive = <250>;
661e9d2729dSAmit Kucheria			polling-delay = <1000>;
662e9d2729dSAmit Kucheria
663e9d2729dSAmit Kucheria			thermal-sensors = <&tsens1 6>;
664e9d2729dSAmit Kucheria
665e9d2729dSAmit Kucheria			trips {
666e9d2729dSAmit Kucheria				multimedia_alert0: trip-point@0 {
667e9d2729dSAmit Kucheria					temperature = <90000>;
668e9d2729dSAmit Kucheria					hysteresis = <2000>;
669e9d2729dSAmit Kucheria					type = "hot";
670e9d2729dSAmit Kucheria				};
671e9d2729dSAmit Kucheria			};
6724449b6f2SBjorn Andersson		};
6734449b6f2SBjorn Andersson	};
6744449b6f2SBjorn Andersson
6754807c71cSJoonwoo Park	timer {
6764807c71cSJoonwoo Park		compatible = "arm,armv8-timer";
6774807c71cSJoonwoo Park		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
6784807c71cSJoonwoo Park			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
6794807c71cSJoonwoo Park			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
6804807c71cSJoonwoo Park			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
6814807c71cSJoonwoo Park	};
6824807c71cSJoonwoo Park
6834807c71cSJoonwoo Park	soc: soc {
6844807c71cSJoonwoo Park		#address-cells = <1>;
6854807c71cSJoonwoo Park		#size-cells = <1>;
6864807c71cSJoonwoo Park		ranges = <0 0 0 0xffffffff>;
6874807c71cSJoonwoo Park		compatible = "simple-bus";
6884807c71cSJoonwoo Park
68931c1f0e3SBjorn Andersson		rpm_msg_ram: memory@68000 {
69031c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msg-ram";
69131c1f0e3SBjorn Andersson			reg = <0x778000 0x7000>;
69231c1f0e3SBjorn Andersson		};
69331c1f0e3SBjorn Andersson
694f259e398SBjorn Andersson		qfprom: qfprom@780000 {
695f259e398SBjorn Andersson			compatible = "qcom,qfprom";
696f259e398SBjorn Andersson			reg = <0x780000 0x621c>;
697f259e398SBjorn Andersson			#address-cells = <1>;
698f259e398SBjorn Andersson			#size-cells = <1>;
699026dad8fSJeffrey Hugo
700026dad8fSJeffrey Hugo			qusb2_hstx_trim: hstx-trim@423a {
701026dad8fSJeffrey Hugo				reg = <0x423a 0x1>;
702026dad8fSJeffrey Hugo				bits = <0 4>;
703026dad8fSJeffrey Hugo			};
704f259e398SBjorn Andersson		};
705f259e398SBjorn Andersson
7064807c71cSJoonwoo Park		gcc: clock-controller@100000 {
7074807c71cSJoonwoo Park			compatible = "qcom,gcc-msm8998";
7084807c71cSJoonwoo Park			#clock-cells = <1>;
7094807c71cSJoonwoo Park			#reset-cells = <1>;
7104807c71cSJoonwoo Park			#power-domain-cells = <1>;
7114807c71cSJoonwoo Park			reg = <0x100000 0xb0000>;
7124807c71cSJoonwoo Park		};
7134807c71cSJoonwoo Park
7144807c71cSJoonwoo Park		tlmm: pinctrl@3400000 {
7154807c71cSJoonwoo Park			compatible = "qcom,msm8998-pinctrl";
7164807c71cSJoonwoo Park			reg = <0x3400000 0xc00000>;
7174807c71cSJoonwoo Park			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
7184807c71cSJoonwoo Park			gpio-controller;
7194807c71cSJoonwoo Park			#gpio-cells = <0x2>;
7204807c71cSJoonwoo Park			interrupt-controller;
7214807c71cSJoonwoo Park			#interrupt-cells = <0x2>;
7224807c71cSJoonwoo Park		};
7234807c71cSJoonwoo Park
7244807c71cSJoonwoo Park		spmi_bus: spmi@800f000 {
7254807c71cSJoonwoo Park			compatible = "qcom,spmi-pmic-arb";
7264807c71cSJoonwoo Park			reg =	<0x800f000 0x1000>,
7274807c71cSJoonwoo Park				<0x8400000 0x1000000>,
7284807c71cSJoonwoo Park				<0x9400000 0x1000000>,
7294807c71cSJoonwoo Park				<0xa400000 0x220000>,
7304807c71cSJoonwoo Park				<0x800a000 0x3000>;
7314807c71cSJoonwoo Park			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
7324807c71cSJoonwoo Park			interrupt-names = "periph_irq";
7334807c71cSJoonwoo Park			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
7344807c71cSJoonwoo Park			qcom,ee = <0>;
7354807c71cSJoonwoo Park			qcom,channel = <0>;
7364807c71cSJoonwoo Park			#address-cells = <2>;
7374807c71cSJoonwoo Park			#size-cells = <0>;
7384807c71cSJoonwoo Park			interrupt-controller;
7394807c71cSJoonwoo Park			#interrupt-cells = <4>;
7404807c71cSJoonwoo Park			cell-index = <0>;
7414807c71cSJoonwoo Park		};
7424807c71cSJoonwoo Park
74350325048SAmit Kucheria		tsens0: thermal@10ab000 {
7444449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
74550325048SAmit Kucheria			reg = <0x10ab000 0x1000>, /* TM */
74650325048SAmit Kucheria			      <0x10aa000 0x1000>; /* SROT */
7474449b6f2SBjorn Andersson
7484449b6f2SBjorn Andersson			#qcom,sensors = <12>;
7494449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
7504449b6f2SBjorn Andersson		};
7514449b6f2SBjorn Andersson
75250325048SAmit Kucheria		tsens1: thermal@10ae000 {
7534449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
75450325048SAmit Kucheria			reg = <0x10ae000 0x1000>, /* TM */
75550325048SAmit Kucheria			      <0x10ad000 0x1000>; /* SROT */
7564449b6f2SBjorn Andersson
7574449b6f2SBjorn Andersson			#qcom,sensors = <8>;
7584449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
7594449b6f2SBjorn Andersson		};
7604449b6f2SBjorn Andersson
761c7833949SBjorn Andersson		tcsr_mutex_regs: syscon@1f40000 {
762c7833949SBjorn Andersson			compatible = "syscon";
763c7833949SBjorn Andersson			reg = <0x1f40000 0x20000>;
764c7833949SBjorn Andersson		};
765c7833949SBjorn Andersson
76631c1f0e3SBjorn Andersson		apcs_glb: mailbox@9820000 {
76731c1f0e3SBjorn Andersson			compatible = "qcom,msm8998-apcs-hmss-global";
76831c1f0e3SBjorn Andersson			reg = <0x17911000 0x1000>;
76931c1f0e3SBjorn Andersson
77031c1f0e3SBjorn Andersson			#mbox-cells = <1>;
77131c1f0e3SBjorn Andersson		};
77231c1f0e3SBjorn Andersson
773026dad8fSJeffrey Hugo		usb3: usb@a8f8800 {
774026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
775026dad8fSJeffrey Hugo			reg = <0x0a8f8800 0x400>;
776026dad8fSJeffrey Hugo			status = "disabled";
777026dad8fSJeffrey Hugo			#address-cells = <1>;
778026dad8fSJeffrey Hugo			#size-cells = <1>;
779026dad8fSJeffrey Hugo			ranges;
780026dad8fSJeffrey Hugo
781026dad8fSJeffrey Hugo			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
782026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MASTER_CLK>,
783026dad8fSJeffrey Hugo				 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
784026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
785026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_SLEEP_CLK>;
786026dad8fSJeffrey Hugo			clock-names = "cfg_noc", "core", "iface", "mock_utmi",
787026dad8fSJeffrey Hugo				      "sleep";
788026dad8fSJeffrey Hugo
789026dad8fSJeffrey Hugo			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
790026dad8fSJeffrey Hugo					  <&gcc GCC_USB30_MASTER_CLK>;
791026dad8fSJeffrey Hugo			assigned-clock-rates = <19200000>, <120000000>;
792026dad8fSJeffrey Hugo
793026dad8fSJeffrey Hugo			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
794026dad8fSJeffrey Hugo				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
795026dad8fSJeffrey Hugo			interrupt-names = "hs_phy_irq", "ss_phy_irq";
796026dad8fSJeffrey Hugo
797026dad8fSJeffrey Hugo			power-domains = <&gcc USB_30_GDSC>;
798026dad8fSJeffrey Hugo
799026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB_30_BCR>;
800026dad8fSJeffrey Hugo
801026dad8fSJeffrey Hugo			usb3_dwc3: dwc3@a800000 {
802026dad8fSJeffrey Hugo				compatible = "snps,dwc3";
803026dad8fSJeffrey Hugo				reg = <0x0a800000 0xcd00>;
804026dad8fSJeffrey Hugo				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
805026dad8fSJeffrey Hugo				snps,dis_u2_susphy_quirk;
806026dad8fSJeffrey Hugo				snps,dis_enblslpm_quirk;
807026dad8fSJeffrey Hugo				phys = <&qusb2phy>, <&usb1_ssphy>;
808026dad8fSJeffrey Hugo				phy-names = "usb2-phy", "usb3-phy";
809026dad8fSJeffrey Hugo				snps,has-lpm-erratum;
810026dad8fSJeffrey Hugo				snps,hird-threshold = /bits/ 8 <0x10>;
811026dad8fSJeffrey Hugo			};
812026dad8fSJeffrey Hugo		};
813026dad8fSJeffrey Hugo
814026dad8fSJeffrey Hugo		usb3phy: phy@c010000 {
815026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qmp-usb3-phy";
816026dad8fSJeffrey Hugo			reg = <0x0c010000 0x18c>;
817026dad8fSJeffrey Hugo			status = "disabled";
818026dad8fSJeffrey Hugo			#clock-cells = <1>;
819026dad8fSJeffrey Hugo			#address-cells = <1>;
820026dad8fSJeffrey Hugo			#size-cells = <1>;
821026dad8fSJeffrey Hugo			ranges;
822026dad8fSJeffrey Hugo
823026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
824026dad8fSJeffrey Hugo				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
825026dad8fSJeffrey Hugo				 <&gcc GCC_USB3_CLKREF_CLK>;
826026dad8fSJeffrey Hugo			clock-names = "aux", "cfg_ahb", "ref";
827026dad8fSJeffrey Hugo
828026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB3_PHY_BCR>,
829026dad8fSJeffrey Hugo				 <&gcc GCC_USB3PHY_PHY_BCR>;
830026dad8fSJeffrey Hugo			reset-names = "phy", "common";
831026dad8fSJeffrey Hugo
832026dad8fSJeffrey Hugo			usb1_ssphy: lane@c010200 {
833026dad8fSJeffrey Hugo				reg = <0xc010200 0x128>,
834026dad8fSJeffrey Hugo				      <0xc010400 0x200>,
835026dad8fSJeffrey Hugo				      <0xc010c00 0x20c>,
836026dad8fSJeffrey Hugo				      <0xc010600 0x128>,
837026dad8fSJeffrey Hugo				      <0xc010800 0x200>;
838026dad8fSJeffrey Hugo				#phy-cells = <0>;
839026dad8fSJeffrey Hugo				clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
840026dad8fSJeffrey Hugo				clock-names = "pipe0";
841026dad8fSJeffrey Hugo				clock-output-names = "usb3_phy_pipe_clk_src";
842026dad8fSJeffrey Hugo			};
843026dad8fSJeffrey Hugo		};
844026dad8fSJeffrey Hugo
845026dad8fSJeffrey Hugo		qusb2phy: phy@c012000 {
846026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qusb2-phy";
847026dad8fSJeffrey Hugo			reg = <0x0c012000 0x2a8>;
848026dad8fSJeffrey Hugo			status = "disabled";
849026dad8fSJeffrey Hugo			#phy-cells = <0>;
850026dad8fSJeffrey Hugo
851026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
852026dad8fSJeffrey Hugo				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
853026dad8fSJeffrey Hugo			clock-names = "cfg_ahb", "ref";
854026dad8fSJeffrey Hugo
855026dad8fSJeffrey Hugo			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
856026dad8fSJeffrey Hugo
857026dad8fSJeffrey Hugo			nvmem-cells = <&qusb2_hstx_trim>;
858026dad8fSJeffrey Hugo		};
859026dad8fSJeffrey Hugo
8601cfce828SJeffrey Hugo		sdhc2: sdhci@c0a4900 {
8611cfce828SJeffrey Hugo			compatible = "qcom,sdhci-msm-v4";
8621cfce828SJeffrey Hugo			reg = <0xc0a4900 0x314>, <0xc0a4000 0x800>;
8631cfce828SJeffrey Hugo			reg-names = "hc_mem", "core_mem";
8641cfce828SJeffrey Hugo
8651cfce828SJeffrey Hugo			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
8661cfce828SJeffrey Hugo				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
8671cfce828SJeffrey Hugo			interrupt-names = "hc_irq", "pwr_irq";
8681cfce828SJeffrey Hugo
8691cfce828SJeffrey Hugo			clock-names = "iface", "core", "xo";
8701cfce828SJeffrey Hugo			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
8711cfce828SJeffrey Hugo				 <&gcc GCC_SDCC2_APPS_CLK>,
8721cfce828SJeffrey Hugo				 <&xo>;
8731cfce828SJeffrey Hugo			bus-width = <4>;
8741cfce828SJeffrey Hugo			status = "disabled";
8751cfce828SJeffrey Hugo		};
8761cfce828SJeffrey Hugo
8771e71d0c2SJeffrey Hugo		blsp1_i2c1: i2c@c175000 {
8781e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8791e71d0c2SJeffrey Hugo			reg = <0x0c175000 0x600>;
8801e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
8811e71d0c2SJeffrey Hugo
8821e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
8831e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
8841e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
8851e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
8861e71d0c2SJeffrey Hugo
8871e71d0c2SJeffrey Hugo			status = "disabled";
8881e71d0c2SJeffrey Hugo			#address-cells = <1>;
8891e71d0c2SJeffrey Hugo			#size-cells = <0>;
8901e71d0c2SJeffrey Hugo		};
8911e71d0c2SJeffrey Hugo
8921e71d0c2SJeffrey Hugo		blsp1_i2c2: i2c@c176000 {
8931e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8941e71d0c2SJeffrey Hugo			reg = <0x0c176000 0x600>;
8951e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
8961e71d0c2SJeffrey Hugo
8971e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
8981e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
8991e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
9001e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
9011e71d0c2SJeffrey Hugo
9021e71d0c2SJeffrey Hugo			status = "disabled";
9031e71d0c2SJeffrey Hugo			#address-cells = <1>;
9041e71d0c2SJeffrey Hugo			#size-cells = <0>;
9051e71d0c2SJeffrey Hugo		};
9061e71d0c2SJeffrey Hugo
9071e71d0c2SJeffrey Hugo		blsp1_i2c3: i2c@c177000 {
9081e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
9091e71d0c2SJeffrey Hugo			reg = <0x0c177000 0x600>;
9101e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
9111e71d0c2SJeffrey Hugo
9121e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
9131e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
9141e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
9151e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
9161e71d0c2SJeffrey Hugo
9171e71d0c2SJeffrey Hugo			status = "disabled";
9181e71d0c2SJeffrey Hugo			#address-cells = <1>;
9191e71d0c2SJeffrey Hugo			#size-cells = <0>;
9201e71d0c2SJeffrey Hugo		};
9211e71d0c2SJeffrey Hugo
9221e71d0c2SJeffrey Hugo		blsp1_i2c4: i2c@c178000 {
9231e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
9241e71d0c2SJeffrey Hugo			reg = <0x0c178000 0x600>;
9251e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
9261e71d0c2SJeffrey Hugo
9271e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
9281e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
9291e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
9301e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
9311e71d0c2SJeffrey Hugo
9321e71d0c2SJeffrey Hugo			status = "disabled";
9331e71d0c2SJeffrey Hugo			#address-cells = <1>;
9341e71d0c2SJeffrey Hugo			#size-cells = <0>;
9351e71d0c2SJeffrey Hugo		};
9361e71d0c2SJeffrey Hugo
9371e71d0c2SJeffrey Hugo		blsp1_i2c5: i2c@c179000 {
9381e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
9391e71d0c2SJeffrey Hugo			reg = <0x0c179000 0x600>;
9401e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
9411e71d0c2SJeffrey Hugo
9421e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
9431e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
9441e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
9451e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
9461e71d0c2SJeffrey Hugo
9471e71d0c2SJeffrey Hugo			status = "disabled";
9481e71d0c2SJeffrey Hugo			#address-cells = <1>;
9491e71d0c2SJeffrey Hugo			#size-cells = <0>;
9501e71d0c2SJeffrey Hugo		};
9511e71d0c2SJeffrey Hugo
9521e71d0c2SJeffrey Hugo		blsp1_i2c6: i2c@c17a000 {
9531e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
9541e71d0c2SJeffrey Hugo			reg = <0x0c17a000 0x600>;
9551e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
9561e71d0c2SJeffrey Hugo
9571e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
9581e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
9591e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
9601e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
9611e71d0c2SJeffrey Hugo
9621e71d0c2SJeffrey Hugo			status = "disabled";
9631e71d0c2SJeffrey Hugo			#address-cells = <1>;
9641e71d0c2SJeffrey Hugo			#size-cells = <0>;
9651e71d0c2SJeffrey Hugo		};
9661e71d0c2SJeffrey Hugo
9671e71d0c2SJeffrey Hugo		blsp2_i2c0: i2c@c1b5000 {
9681e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
9691e71d0c2SJeffrey Hugo			reg = <0x0c1b5000 0x600>;
9701e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
9711e71d0c2SJeffrey Hugo
9721e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
9731e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
9741e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
9751e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
9761e71d0c2SJeffrey Hugo
9771e71d0c2SJeffrey Hugo			status = "disabled";
9781e71d0c2SJeffrey Hugo			#address-cells = <1>;
9791e71d0c2SJeffrey Hugo			#size-cells = <0>;
9801e71d0c2SJeffrey Hugo		};
9811e71d0c2SJeffrey Hugo
9821e71d0c2SJeffrey Hugo		blsp2_i2c1: i2c@c1b6000 {
9831e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
9841e71d0c2SJeffrey Hugo			reg = <0x0c1b6000 0x600>;
9851e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
9861e71d0c2SJeffrey Hugo
9871e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
9881e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
9891e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
9901e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
9911e71d0c2SJeffrey Hugo
9921e71d0c2SJeffrey Hugo			status = "disabled";
9931e71d0c2SJeffrey Hugo			#address-cells = <1>;
9941e71d0c2SJeffrey Hugo			#size-cells = <0>;
9951e71d0c2SJeffrey Hugo		};
9961e71d0c2SJeffrey Hugo
9971e71d0c2SJeffrey Hugo		blsp2_i2c2: i2c@c1b7000 {
9981e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
9991e71d0c2SJeffrey Hugo			reg = <0x0c1b7000 0x600>;
10001e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
10011e71d0c2SJeffrey Hugo
10021e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
10031e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
10041e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
10051e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
10061e71d0c2SJeffrey Hugo
10071e71d0c2SJeffrey Hugo			status = "disabled";
10081e71d0c2SJeffrey Hugo			#address-cells = <1>;
10091e71d0c2SJeffrey Hugo			#size-cells = <0>;
10101e71d0c2SJeffrey Hugo		};
10111e71d0c2SJeffrey Hugo
10121e71d0c2SJeffrey Hugo		blsp2_i2c3: i2c@c1b8000 {
10131e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
10141e71d0c2SJeffrey Hugo			reg = <0x0c1b8000 0x600>;
10151e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
10161e71d0c2SJeffrey Hugo
10171e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
10181e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
10191e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
10201e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
10211e71d0c2SJeffrey Hugo
10221e71d0c2SJeffrey Hugo			status = "disabled";
10231e71d0c2SJeffrey Hugo			#address-cells = <1>;
10241e71d0c2SJeffrey Hugo			#size-cells = <0>;
10251e71d0c2SJeffrey Hugo		};
10261e71d0c2SJeffrey Hugo
10271e71d0c2SJeffrey Hugo		blsp2_i2c4: i2c@c1b9000 {
10281e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
10291e71d0c2SJeffrey Hugo			reg = <0x0c1b9000 0x600>;
10301e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
10311e71d0c2SJeffrey Hugo
10321e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
10331e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
10341e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
10351e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
10361e71d0c2SJeffrey Hugo
10371e71d0c2SJeffrey Hugo			status = "disabled";
10381e71d0c2SJeffrey Hugo			#address-cells = <1>;
10391e71d0c2SJeffrey Hugo			#size-cells = <0>;
10401e71d0c2SJeffrey Hugo		};
10411e71d0c2SJeffrey Hugo
10421e71d0c2SJeffrey Hugo		blsp2_i2c5: i2c@c1ba000 {
10431e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
1044*c8be5541SMarc Gonzalez			reg = <0x0c1ba000 0x600>;
10451e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
10461e71d0c2SJeffrey Hugo
10471e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
10481e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
10491e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
10501e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
10511e71d0c2SJeffrey Hugo
10521e71d0c2SJeffrey Hugo			status = "disabled";
10531e71d0c2SJeffrey Hugo			#address-cells = <1>;
10541e71d0c2SJeffrey Hugo			#size-cells = <0>;
10551e71d0c2SJeffrey Hugo		};
10561e71d0c2SJeffrey Hugo
10574807c71cSJoonwoo Park		blsp2_uart1: serial@c1b0000 {
10584807c71cSJoonwoo Park			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
10594807c71cSJoonwoo Park			reg = <0xc1b0000 0x1000>;
10604807c71cSJoonwoo Park			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
10614807c71cSJoonwoo Park			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
10624807c71cSJoonwoo Park				 <&gcc GCC_BLSP2_AHB_CLK>;
10634807c71cSJoonwoo Park			clock-names = "core", "iface";
10644807c71cSJoonwoo Park			status = "disabled";
10654807c71cSJoonwoo Park		};
10664807c71cSJoonwoo Park
10674807c71cSJoonwoo Park		timer@17920000 {
10684807c71cSJoonwoo Park			#address-cells = <1>;
10694807c71cSJoonwoo Park			#size-cells = <1>;
10704807c71cSJoonwoo Park			ranges;
10714807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
10724807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
10734807c71cSJoonwoo Park
10744807c71cSJoonwoo Park			frame@17921000 {
10754807c71cSJoonwoo Park				frame-number = <0>;
10764807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
10774807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
10784807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
10794807c71cSJoonwoo Park				      <0x17922000 0x1000>;
10804807c71cSJoonwoo Park			};
10814807c71cSJoonwoo Park
10824807c71cSJoonwoo Park			frame@17923000 {
10834807c71cSJoonwoo Park				frame-number = <1>;
10844807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
10854807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
10864807c71cSJoonwoo Park				status = "disabled";
10874807c71cSJoonwoo Park			};
10884807c71cSJoonwoo Park
10894807c71cSJoonwoo Park			frame@17924000 {
10904807c71cSJoonwoo Park				frame-number = <2>;
10914807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
10924807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
10934807c71cSJoonwoo Park				status = "disabled";
10944807c71cSJoonwoo Park			};
10954807c71cSJoonwoo Park
10964807c71cSJoonwoo Park			frame@17925000 {
10974807c71cSJoonwoo Park				frame-number = <3>;
10984807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
10994807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
11004807c71cSJoonwoo Park				status = "disabled";
11014807c71cSJoonwoo Park			};
11024807c71cSJoonwoo Park
11034807c71cSJoonwoo Park			frame@17926000 {
11044807c71cSJoonwoo Park				frame-number = <4>;
11054807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
11064807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
11074807c71cSJoonwoo Park				status = "disabled";
11084807c71cSJoonwoo Park			};
11094807c71cSJoonwoo Park
11104807c71cSJoonwoo Park			frame@17927000 {
11114807c71cSJoonwoo Park				frame-number = <5>;
11124807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
11134807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
11144807c71cSJoonwoo Park				status = "disabled";
11154807c71cSJoonwoo Park			};
11164807c71cSJoonwoo Park
11174807c71cSJoonwoo Park			frame@17928000 {
11184807c71cSJoonwoo Park				frame-number = <6>;
11194807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
11204807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
11214807c71cSJoonwoo Park				status = "disabled";
11224807c71cSJoonwoo Park			};
11234807c71cSJoonwoo Park		};
11244807c71cSJoonwoo Park
11254807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
11264807c71cSJoonwoo Park			compatible = "arm,gic-v3";
11274807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
11284807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
11294807c71cSJoonwoo Park			#interrupt-cells = <3>;
11304807c71cSJoonwoo Park			#address-cells = <1>;
11314807c71cSJoonwoo Park			#size-cells = <1>;
11324807c71cSJoonwoo Park			ranges;
11334807c71cSJoonwoo Park			interrupt-controller;
11344807c71cSJoonwoo Park			#redistributor-regions = <1>;
11354807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
11364807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
11374807c71cSJoonwoo Park		};
1138cd3dbe2aSMarc Gonzalez
1139cd3dbe2aSMarc Gonzalez		ufshc: ufshc@1da4000 {
1140cd3dbe2aSMarc Gonzalez			compatible = "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
1141cd3dbe2aSMarc Gonzalez			reg = <0x01da4000 0x2500>;
1142cd3dbe2aSMarc Gonzalez			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
1143cd3dbe2aSMarc Gonzalez			phys = <&ufsphy_lanes>;
1144cd3dbe2aSMarc Gonzalez			phy-names = "ufsphy";
1145cd3dbe2aSMarc Gonzalez			lanes-per-direction = <2>;
1146cd3dbe2aSMarc Gonzalez			power-domains = <&gcc UFS_GDSC>;
1147c35b67d3SMarc Gonzalez			#reset-cells = <1>;
1148cd3dbe2aSMarc Gonzalez
1149cd3dbe2aSMarc Gonzalez			clock-names =
1150cd3dbe2aSMarc Gonzalez				"core_clk",
1151cd3dbe2aSMarc Gonzalez				"bus_aggr_clk",
1152cd3dbe2aSMarc Gonzalez				"iface_clk",
1153cd3dbe2aSMarc Gonzalez				"core_clk_unipro",
1154cd3dbe2aSMarc Gonzalez				"ref_clk",
1155cd3dbe2aSMarc Gonzalez				"tx_lane0_sync_clk",
1156cd3dbe2aSMarc Gonzalez				"rx_lane0_sync_clk",
1157cd3dbe2aSMarc Gonzalez				"rx_lane1_sync_clk";
1158cd3dbe2aSMarc Gonzalez			clocks =
1159cd3dbe2aSMarc Gonzalez				<&gcc GCC_UFS_AXI_CLK>,
1160cd3dbe2aSMarc Gonzalez				<&gcc GCC_AGGRE1_UFS_AXI_CLK>,
1161cd3dbe2aSMarc Gonzalez				<&gcc GCC_UFS_AHB_CLK>,
1162cd3dbe2aSMarc Gonzalez				<&gcc GCC_UFS_UNIPRO_CORE_CLK>,
1163cd3dbe2aSMarc Gonzalez				<&rpmcc RPM_SMD_LN_BB_CLK1>,
1164cd3dbe2aSMarc Gonzalez				<&gcc GCC_UFS_TX_SYMBOL_0_CLK>,
1165cd3dbe2aSMarc Gonzalez				<&gcc GCC_UFS_RX_SYMBOL_0_CLK>,
1166cd3dbe2aSMarc Gonzalez				<&gcc GCC_UFS_RX_SYMBOL_1_CLK>;
1167cd3dbe2aSMarc Gonzalez			freq-table-hz =
1168cd3dbe2aSMarc Gonzalez				<50000000 200000000>,
1169cd3dbe2aSMarc Gonzalez				<0 0>,
1170cd3dbe2aSMarc Gonzalez				<0 0>,
1171cd3dbe2aSMarc Gonzalez				<37500000 150000000>,
1172cd3dbe2aSMarc Gonzalez				<0 0>,
1173cd3dbe2aSMarc Gonzalez				<0 0>,
1174cd3dbe2aSMarc Gonzalez				<0 0>,
1175cd3dbe2aSMarc Gonzalez				<0 0>;
1176cd3dbe2aSMarc Gonzalez
1177cd3dbe2aSMarc Gonzalez			resets = <&gcc GCC_UFS_BCR>;
1178cd3dbe2aSMarc Gonzalez			reset-names = "rst";
1179cd3dbe2aSMarc Gonzalez		};
1180cd3dbe2aSMarc Gonzalez
1181cd3dbe2aSMarc Gonzalez		ufsphy: phy@1da7000 {
1182cd3dbe2aSMarc Gonzalez			compatible = "qcom,msm8998-qmp-ufs-phy";
1183cd3dbe2aSMarc Gonzalez			reg = <0x01da7000 0x18c>;
1184cd3dbe2aSMarc Gonzalez			#address-cells = <1>;
1185cd3dbe2aSMarc Gonzalez			#size-cells = <1>;
1186cd3dbe2aSMarc Gonzalez			ranges;
1187cd3dbe2aSMarc Gonzalez
1188cd3dbe2aSMarc Gonzalez			clock-names =
1189cd3dbe2aSMarc Gonzalez				"ref",
1190cd3dbe2aSMarc Gonzalez				"ref_aux";
1191cd3dbe2aSMarc Gonzalez			clocks =
1192cd3dbe2aSMarc Gonzalez				<&gcc GCC_UFS_CLKREF_CLK>,
1193cd3dbe2aSMarc Gonzalez				<&gcc GCC_UFS_PHY_AUX_CLK>;
1194cd3dbe2aSMarc Gonzalez
1195c35b67d3SMarc Gonzalez			reset-names = "ufsphy";
1196c35b67d3SMarc Gonzalez			resets = <&ufshc 0>;
1197c35b67d3SMarc Gonzalez
1198cd3dbe2aSMarc Gonzalez			ufsphy_lanes: lanes@1da7400 {
1199cd3dbe2aSMarc Gonzalez				reg = <0x01da7400 0x128>,
1200cd3dbe2aSMarc Gonzalez				      <0x01da7600 0x1fc>,
1201cd3dbe2aSMarc Gonzalez				      <0x01da7c00 0x1dc>,
1202cd3dbe2aSMarc Gonzalez				      <0x01da7800 0x128>,
1203cd3dbe2aSMarc Gonzalez				      <0x01da7a00 0x1fc>;
1204cd3dbe2aSMarc Gonzalez				#phy-cells = <0>;
1205cd3dbe2aSMarc Gonzalez			};
1206cd3dbe2aSMarc Gonzalez		};
12074807c71cSJoonwoo Park	};
12084807c71cSJoonwoo Park};
12096da80161SJeffrey Hugo
12106da80161SJeffrey Hugo#include "msm8998-pins.dtsi"
1211