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 {
3414449b6f2SBjorn Andersson		cpu-thermal0 {
3424449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3434449b6f2SBjorn Andersson			polling-delay = <1000>;
3444449b6f2SBjorn Andersson
345b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 1>;
3464449b6f2SBjorn Andersson
3474449b6f2SBjorn Andersson			trips {
3484449b6f2SBjorn Andersson				cpu_alert0: trip0 {
3494449b6f2SBjorn Andersson					temperature = <75000>;
3504449b6f2SBjorn Andersson					hysteresis = <2000>;
3514449b6f2SBjorn Andersson					type = "passive";
3524449b6f2SBjorn Andersson				};
3534449b6f2SBjorn Andersson
3544449b6f2SBjorn Andersson				cpu_crit0: trip1 {
3554449b6f2SBjorn Andersson					temperature = <110000>;
3564449b6f2SBjorn Andersson					hysteresis = <2000>;
3574449b6f2SBjorn Andersson					type = "critical";
3584449b6f2SBjorn Andersson				};
3594449b6f2SBjorn Andersson			};
3604449b6f2SBjorn Andersson		};
3614449b6f2SBjorn Andersson
3624449b6f2SBjorn Andersson		cpu-thermal1 {
3634449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3644449b6f2SBjorn Andersson			polling-delay = <1000>;
3654449b6f2SBjorn Andersson
366b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 2>;
3674449b6f2SBjorn Andersson
3684449b6f2SBjorn Andersson			trips {
3694449b6f2SBjorn Andersson				cpu_alert1: trip0 {
3704449b6f2SBjorn Andersson					temperature = <75000>;
3714449b6f2SBjorn Andersson					hysteresis = <2000>;
3724449b6f2SBjorn Andersson					type = "passive";
3734449b6f2SBjorn Andersson				};
3744449b6f2SBjorn Andersson
3754449b6f2SBjorn Andersson				cpu_crit1: trip1 {
3764449b6f2SBjorn Andersson					temperature = <110000>;
3774449b6f2SBjorn Andersson					hysteresis = <2000>;
3784449b6f2SBjorn Andersson					type = "critical";
3794449b6f2SBjorn Andersson				};
3804449b6f2SBjorn Andersson			};
3814449b6f2SBjorn Andersson		};
3824449b6f2SBjorn Andersson
3834449b6f2SBjorn Andersson		cpu-thermal2 {
3844449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3854449b6f2SBjorn Andersson			polling-delay = <1000>;
3864449b6f2SBjorn Andersson
387b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 3>;
3884449b6f2SBjorn Andersson
3894449b6f2SBjorn Andersson			trips {
3904449b6f2SBjorn Andersson				cpu_alert2: trip0 {
3914449b6f2SBjorn Andersson					temperature = <75000>;
3924449b6f2SBjorn Andersson					hysteresis = <2000>;
3934449b6f2SBjorn Andersson					type = "passive";
3944449b6f2SBjorn Andersson				};
3954449b6f2SBjorn Andersson
3964449b6f2SBjorn Andersson				cpu_crit2: trip1 {
3974449b6f2SBjorn Andersson					temperature = <110000>;
3984449b6f2SBjorn Andersson					hysteresis = <2000>;
3994449b6f2SBjorn Andersson					type = "critical";
4004449b6f2SBjorn Andersson				};
4014449b6f2SBjorn Andersson			};
4024449b6f2SBjorn Andersson		};
4034449b6f2SBjorn Andersson
4044449b6f2SBjorn Andersson		cpu-thermal3 {
4054449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4064449b6f2SBjorn Andersson			polling-delay = <1000>;
4074449b6f2SBjorn Andersson
408b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 4>;
4094449b6f2SBjorn Andersson
4104449b6f2SBjorn Andersson			trips {
4114449b6f2SBjorn Andersson				cpu_alert3: trip0 {
4124449b6f2SBjorn Andersson					temperature = <75000>;
4134449b6f2SBjorn Andersson					hysteresis = <2000>;
4144449b6f2SBjorn Andersson					type = "passive";
4154449b6f2SBjorn Andersson				};
4164449b6f2SBjorn Andersson
4174449b6f2SBjorn Andersson				cpu_crit3: trip1 {
4184449b6f2SBjorn Andersson					temperature = <110000>;
4194449b6f2SBjorn Andersson					hysteresis = <2000>;
4204449b6f2SBjorn Andersson					type = "critical";
4214449b6f2SBjorn Andersson				};
4224449b6f2SBjorn Andersson			};
4234449b6f2SBjorn Andersson		};
4244449b6f2SBjorn Andersson
4254449b6f2SBjorn Andersson		cpu-thermal4 {
4264449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4274449b6f2SBjorn Andersson			polling-delay = <1000>;
4284449b6f2SBjorn Andersson
429b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 7>;
4304449b6f2SBjorn Andersson
4314449b6f2SBjorn Andersson			trips {
4324449b6f2SBjorn Andersson				cpu_alert4: trip0 {
4334449b6f2SBjorn Andersson					temperature = <75000>;
4344449b6f2SBjorn Andersson					hysteresis = <2000>;
4354449b6f2SBjorn Andersson					type = "passive";
4364449b6f2SBjorn Andersson				};
4374449b6f2SBjorn Andersson
4384449b6f2SBjorn Andersson				cpu_crit4: trip1 {
4394449b6f2SBjorn Andersson					temperature = <110000>;
4404449b6f2SBjorn Andersson					hysteresis = <2000>;
4414449b6f2SBjorn Andersson					type = "critical";
4424449b6f2SBjorn Andersson				};
4434449b6f2SBjorn Andersson			};
4444449b6f2SBjorn Andersson		};
4454449b6f2SBjorn Andersson
4464449b6f2SBjorn Andersson		cpu-thermal5 {
4474449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4484449b6f2SBjorn Andersson			polling-delay = <1000>;
4494449b6f2SBjorn Andersson
450b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 8>;
4514449b6f2SBjorn Andersson
4524449b6f2SBjorn Andersson			trips {
4534449b6f2SBjorn Andersson				cpu_alert5: trip0 {
4544449b6f2SBjorn Andersson					temperature = <75000>;
4554449b6f2SBjorn Andersson					hysteresis = <2000>;
4564449b6f2SBjorn Andersson					type = "passive";
4574449b6f2SBjorn Andersson				};
4584449b6f2SBjorn Andersson
4594449b6f2SBjorn Andersson				cpu_crit5: trip1 {
4604449b6f2SBjorn Andersson					temperature = <110000>;
4614449b6f2SBjorn Andersson					hysteresis = <2000>;
4624449b6f2SBjorn Andersson					type = "critical";
4634449b6f2SBjorn Andersson				};
4644449b6f2SBjorn Andersson			};
4654449b6f2SBjorn Andersson		};
4664449b6f2SBjorn Andersson
4674449b6f2SBjorn Andersson		cpu-thermal6 {
4684449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4694449b6f2SBjorn Andersson			polling-delay = <1000>;
4704449b6f2SBjorn Andersson
471b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 9>;
4724449b6f2SBjorn Andersson
4734449b6f2SBjorn Andersson			trips {
4744449b6f2SBjorn Andersson				cpu_alert6: trip0 {
4754449b6f2SBjorn Andersson					temperature = <75000>;
4764449b6f2SBjorn Andersson					hysteresis = <2000>;
4774449b6f2SBjorn Andersson					type = "passive";
4784449b6f2SBjorn Andersson				};
4794449b6f2SBjorn Andersson
4804449b6f2SBjorn Andersson				cpu_crit6: trip1 {
4814449b6f2SBjorn Andersson					temperature = <110000>;
4824449b6f2SBjorn Andersson					hysteresis = <2000>;
4834449b6f2SBjorn Andersson					type = "critical";
4844449b6f2SBjorn Andersson				};
4854449b6f2SBjorn Andersson			};
4864449b6f2SBjorn Andersson		};
4874449b6f2SBjorn Andersson
4884449b6f2SBjorn Andersson		cpu-thermal7 {
4894449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4904449b6f2SBjorn Andersson			polling-delay = <1000>;
4914449b6f2SBjorn Andersson
492b67d9c5dSAmit Kucheria			thermal-sensors = <&tsens0 10>;
4934449b6f2SBjorn Andersson
4944449b6f2SBjorn Andersson			trips {
4954449b6f2SBjorn Andersson				cpu_alert7: trip0 {
4964449b6f2SBjorn Andersson					temperature = <75000>;
4974449b6f2SBjorn Andersson					hysteresis = <2000>;
4984449b6f2SBjorn Andersson					type = "passive";
4994449b6f2SBjorn Andersson				};
5004449b6f2SBjorn Andersson
5014449b6f2SBjorn Andersson				cpu_crit7: trip1 {
5024449b6f2SBjorn Andersson					temperature = <110000>;
5034449b6f2SBjorn Andersson					hysteresis = <2000>;
5044449b6f2SBjorn Andersson					type = "critical";
5054449b6f2SBjorn Andersson				};
5064449b6f2SBjorn Andersson			};
5074449b6f2SBjorn Andersson		};
5084449b6f2SBjorn Andersson
509*2fa2d301SAmit Kucheria		gpu-thermal-bottom {
510*2fa2d301SAmit Kucheria			polling-delay-passive = <250>;
511*2fa2d301SAmit Kucheria			polling-delay = <1000>;
512*2fa2d301SAmit Kucheria
513*2fa2d301SAmit Kucheria			thermal-sensors = <&tsens0 12>;
514*2fa2d301SAmit Kucheria
515*2fa2d301SAmit Kucheria			trips {
516*2fa2d301SAmit Kucheria				gpu1_alert0: trip-point@0 {
517*2fa2d301SAmit Kucheria					temperature = <90000>;
518*2fa2d301SAmit Kucheria					hysteresis = <2000>;
519*2fa2d301SAmit Kucheria					type = "hot";
520*2fa2d301SAmit Kucheria				};
521*2fa2d301SAmit Kucheria			};
522*2fa2d301SAmit Kucheria		};
523*2fa2d301SAmit Kucheria
524*2fa2d301SAmit Kucheria		gpu-thermal-top {
5254449b6f2SBjorn Andersson			polling-delay-passive = <250>;
5264449b6f2SBjorn Andersson			polling-delay = <1000>;
5274449b6f2SBjorn Andersson
5289284aa44SAmit Kucheria			thermal-sensors = <&tsens0 13>;
529*2fa2d301SAmit Kucheria
530*2fa2d301SAmit Kucheria			trips {
531*2fa2d301SAmit Kucheria				gpu2_alert0: trip-point@0 {
532*2fa2d301SAmit Kucheria					temperature = <90000>;
533*2fa2d301SAmit Kucheria					hysteresis = <2000>;
534*2fa2d301SAmit Kucheria					type = "hot";
535*2fa2d301SAmit Kucheria				};
536*2fa2d301SAmit Kucheria			};
5374449b6f2SBjorn Andersson		};
5384449b6f2SBjorn Andersson	};
5394449b6f2SBjorn Andersson
5404807c71cSJoonwoo Park	timer {
5414807c71cSJoonwoo Park		compatible = "arm,armv8-timer";
5424807c71cSJoonwoo Park		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
5434807c71cSJoonwoo Park			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
5444807c71cSJoonwoo Park			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
5454807c71cSJoonwoo Park			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
5464807c71cSJoonwoo Park	};
5474807c71cSJoonwoo Park
5484807c71cSJoonwoo Park	soc: soc {
5494807c71cSJoonwoo Park		#address-cells = <1>;
5504807c71cSJoonwoo Park		#size-cells = <1>;
5514807c71cSJoonwoo Park		ranges = <0 0 0 0xffffffff>;
5524807c71cSJoonwoo Park		compatible = "simple-bus";
5534807c71cSJoonwoo Park
55431c1f0e3SBjorn Andersson		rpm_msg_ram: memory@68000 {
55531c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msg-ram";
55631c1f0e3SBjorn Andersson			reg = <0x778000 0x7000>;
55731c1f0e3SBjorn Andersson		};
55831c1f0e3SBjorn Andersson
559f259e398SBjorn Andersson		qfprom: qfprom@780000 {
560f259e398SBjorn Andersson			compatible = "qcom,qfprom";
561f259e398SBjorn Andersson			reg = <0x780000 0x621c>;
562f259e398SBjorn Andersson			#address-cells = <1>;
563f259e398SBjorn Andersson			#size-cells = <1>;
564026dad8fSJeffrey Hugo
565026dad8fSJeffrey Hugo			qusb2_hstx_trim: hstx-trim@423a {
566026dad8fSJeffrey Hugo				reg = <0x423a 0x1>;
567026dad8fSJeffrey Hugo				bits = <0 4>;
568026dad8fSJeffrey Hugo			};
569f259e398SBjorn Andersson		};
570f259e398SBjorn Andersson
5714807c71cSJoonwoo Park		gcc: clock-controller@100000 {
5724807c71cSJoonwoo Park			compatible = "qcom,gcc-msm8998";
5734807c71cSJoonwoo Park			#clock-cells = <1>;
5744807c71cSJoonwoo Park			#reset-cells = <1>;
5754807c71cSJoonwoo Park			#power-domain-cells = <1>;
5764807c71cSJoonwoo Park			reg = <0x100000 0xb0000>;
5774807c71cSJoonwoo Park		};
5784807c71cSJoonwoo Park
5794807c71cSJoonwoo Park		tlmm: pinctrl@3400000 {
5804807c71cSJoonwoo Park			compatible = "qcom,msm8998-pinctrl";
5814807c71cSJoonwoo Park			reg = <0x3400000 0xc00000>;
5824807c71cSJoonwoo Park			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
5834807c71cSJoonwoo Park			gpio-controller;
5844807c71cSJoonwoo Park			#gpio-cells = <0x2>;
5854807c71cSJoonwoo Park			interrupt-controller;
5864807c71cSJoonwoo Park			#interrupt-cells = <0x2>;
5874807c71cSJoonwoo Park		};
5884807c71cSJoonwoo Park
5894807c71cSJoonwoo Park		spmi_bus: spmi@800f000 {
5904807c71cSJoonwoo Park			compatible = "qcom,spmi-pmic-arb";
5914807c71cSJoonwoo Park			reg =	<0x800f000 0x1000>,
5924807c71cSJoonwoo Park				<0x8400000 0x1000000>,
5934807c71cSJoonwoo Park				<0x9400000 0x1000000>,
5944807c71cSJoonwoo Park				<0xa400000 0x220000>,
5954807c71cSJoonwoo Park				<0x800a000 0x3000>;
5964807c71cSJoonwoo Park			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
5974807c71cSJoonwoo Park			interrupt-names = "periph_irq";
5984807c71cSJoonwoo Park			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
5994807c71cSJoonwoo Park			qcom,ee = <0>;
6004807c71cSJoonwoo Park			qcom,channel = <0>;
6014807c71cSJoonwoo Park			#address-cells = <2>;
6024807c71cSJoonwoo Park			#size-cells = <0>;
6034807c71cSJoonwoo Park			interrupt-controller;
6044807c71cSJoonwoo Park			#interrupt-cells = <4>;
6054807c71cSJoonwoo Park			cell-index = <0>;
6064807c71cSJoonwoo Park		};
6074807c71cSJoonwoo Park
60850325048SAmit Kucheria		tsens0: thermal@10ab000 {
6094449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
61050325048SAmit Kucheria			reg = <0x10ab000 0x1000>, /* TM */
61150325048SAmit Kucheria			      <0x10aa000 0x1000>; /* SROT */
6124449b6f2SBjorn Andersson
6134449b6f2SBjorn Andersson			#qcom,sensors = <12>;
6144449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
6154449b6f2SBjorn Andersson		};
6164449b6f2SBjorn Andersson
61750325048SAmit Kucheria		tsens1: thermal@10ae000 {
6184449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
61950325048SAmit Kucheria			reg = <0x10ae000 0x1000>, /* TM */
62050325048SAmit Kucheria			      <0x10ad000 0x1000>; /* SROT */
6214449b6f2SBjorn Andersson
6224449b6f2SBjorn Andersson			#qcom,sensors = <8>;
6234449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
6244449b6f2SBjorn Andersson		};
6254449b6f2SBjorn Andersson
626c7833949SBjorn Andersson		tcsr_mutex_regs: syscon@1f40000 {
627c7833949SBjorn Andersson			compatible = "syscon";
628c7833949SBjorn Andersson			reg = <0x1f40000 0x20000>;
629c7833949SBjorn Andersson		};
630c7833949SBjorn Andersson
63131c1f0e3SBjorn Andersson		apcs_glb: mailbox@9820000 {
63231c1f0e3SBjorn Andersson			compatible = "qcom,msm8998-apcs-hmss-global";
63331c1f0e3SBjorn Andersson			reg = <0x17911000 0x1000>;
63431c1f0e3SBjorn Andersson
63531c1f0e3SBjorn Andersson			#mbox-cells = <1>;
63631c1f0e3SBjorn Andersson		};
63731c1f0e3SBjorn Andersson
638026dad8fSJeffrey Hugo		usb3: usb@a8f8800 {
639026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-dwc3", "qcom,dwc3";
640026dad8fSJeffrey Hugo			reg = <0x0a8f8800 0x400>;
641026dad8fSJeffrey Hugo			status = "disabled";
642026dad8fSJeffrey Hugo			#address-cells = <1>;
643026dad8fSJeffrey Hugo			#size-cells = <1>;
644026dad8fSJeffrey Hugo			ranges;
645026dad8fSJeffrey Hugo
646026dad8fSJeffrey Hugo			clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>,
647026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MASTER_CLK>,
648026dad8fSJeffrey Hugo				 <&gcc GCC_AGGRE1_USB3_AXI_CLK>,
649026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_MOCK_UTMI_CLK>,
650026dad8fSJeffrey Hugo				 <&gcc GCC_USB30_SLEEP_CLK>;
651026dad8fSJeffrey Hugo			clock-names = "cfg_noc", "core", "iface", "mock_utmi",
652026dad8fSJeffrey Hugo				      "sleep";
653026dad8fSJeffrey Hugo
654026dad8fSJeffrey Hugo			assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
655026dad8fSJeffrey Hugo					  <&gcc GCC_USB30_MASTER_CLK>;
656026dad8fSJeffrey Hugo			assigned-clock-rates = <19200000>, <120000000>;
657026dad8fSJeffrey Hugo
658026dad8fSJeffrey Hugo			interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
659026dad8fSJeffrey Hugo				     <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
660026dad8fSJeffrey Hugo			interrupt-names = "hs_phy_irq", "ss_phy_irq";
661026dad8fSJeffrey Hugo
662026dad8fSJeffrey Hugo			power-domains = <&gcc USB_30_GDSC>;
663026dad8fSJeffrey Hugo
664026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB_30_BCR>;
665026dad8fSJeffrey Hugo
666026dad8fSJeffrey Hugo			usb3_dwc3: dwc3@a800000 {
667026dad8fSJeffrey Hugo				compatible = "snps,dwc3";
668026dad8fSJeffrey Hugo				reg = <0x0a800000 0xcd00>;
669026dad8fSJeffrey Hugo				interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;
670026dad8fSJeffrey Hugo				snps,dis_u2_susphy_quirk;
671026dad8fSJeffrey Hugo				snps,dis_enblslpm_quirk;
672026dad8fSJeffrey Hugo				phys = <&qusb2phy>, <&usb1_ssphy>;
673026dad8fSJeffrey Hugo				phy-names = "usb2-phy", "usb3-phy";
674026dad8fSJeffrey Hugo				snps,has-lpm-erratum;
675026dad8fSJeffrey Hugo				snps,hird-threshold = /bits/ 8 <0x10>;
676026dad8fSJeffrey Hugo			};
677026dad8fSJeffrey Hugo		};
678026dad8fSJeffrey Hugo
679026dad8fSJeffrey Hugo		usb3phy: phy@c010000 {
680026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qmp-usb3-phy";
681026dad8fSJeffrey Hugo			reg = <0x0c010000 0x18c>;
682026dad8fSJeffrey Hugo			status = "disabled";
683026dad8fSJeffrey Hugo			#clock-cells = <1>;
684026dad8fSJeffrey Hugo			#address-cells = <1>;
685026dad8fSJeffrey Hugo			#size-cells = <1>;
686026dad8fSJeffrey Hugo			ranges;
687026dad8fSJeffrey Hugo
688026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
689026dad8fSJeffrey Hugo				 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
690026dad8fSJeffrey Hugo				 <&gcc GCC_USB3_CLKREF_CLK>;
691026dad8fSJeffrey Hugo			clock-names = "aux", "cfg_ahb", "ref";
692026dad8fSJeffrey Hugo
693026dad8fSJeffrey Hugo			resets = <&gcc GCC_USB3_PHY_BCR>,
694026dad8fSJeffrey Hugo				 <&gcc GCC_USB3PHY_PHY_BCR>;
695026dad8fSJeffrey Hugo			reset-names = "phy", "common";
696026dad8fSJeffrey Hugo
697026dad8fSJeffrey Hugo			usb1_ssphy: lane@c010200 {
698026dad8fSJeffrey Hugo				reg = <0xc010200 0x128>,
699026dad8fSJeffrey Hugo				      <0xc010400 0x200>,
700026dad8fSJeffrey Hugo				      <0xc010c00 0x20c>,
701026dad8fSJeffrey Hugo				      <0xc010600 0x128>,
702026dad8fSJeffrey Hugo				      <0xc010800 0x200>;
703026dad8fSJeffrey Hugo				#phy-cells = <0>;
704026dad8fSJeffrey Hugo				clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
705026dad8fSJeffrey Hugo				clock-names = "pipe0";
706026dad8fSJeffrey Hugo				clock-output-names = "usb3_phy_pipe_clk_src";
707026dad8fSJeffrey Hugo			};
708026dad8fSJeffrey Hugo		};
709026dad8fSJeffrey Hugo
710026dad8fSJeffrey Hugo		qusb2phy: phy@c012000 {
711026dad8fSJeffrey Hugo			compatible = "qcom,msm8998-qusb2-phy";
712026dad8fSJeffrey Hugo			reg = <0x0c012000 0x2a8>;
713026dad8fSJeffrey Hugo			status = "disabled";
714026dad8fSJeffrey Hugo			#phy-cells = <0>;
715026dad8fSJeffrey Hugo
716026dad8fSJeffrey Hugo			clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
717026dad8fSJeffrey Hugo				 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
718026dad8fSJeffrey Hugo			clock-names = "cfg_ahb", "ref";
719026dad8fSJeffrey Hugo
720026dad8fSJeffrey Hugo			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
721026dad8fSJeffrey Hugo
722026dad8fSJeffrey Hugo			nvmem-cells = <&qusb2_hstx_trim>;
723026dad8fSJeffrey Hugo		};
724026dad8fSJeffrey Hugo
7251cfce828SJeffrey Hugo		sdhc2: sdhci@c0a4900 {
7261cfce828SJeffrey Hugo			compatible = "qcom,sdhci-msm-v4";
7271cfce828SJeffrey Hugo			reg = <0xc0a4900 0x314>, <0xc0a4000 0x800>;
7281cfce828SJeffrey Hugo			reg-names = "hc_mem", "core_mem";
7291cfce828SJeffrey Hugo
7301cfce828SJeffrey Hugo			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
7311cfce828SJeffrey Hugo				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
7321cfce828SJeffrey Hugo			interrupt-names = "hc_irq", "pwr_irq";
7331cfce828SJeffrey Hugo
7341cfce828SJeffrey Hugo			clock-names = "iface", "core", "xo";
7351cfce828SJeffrey Hugo			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
7361cfce828SJeffrey Hugo				 <&gcc GCC_SDCC2_APPS_CLK>,
7371cfce828SJeffrey Hugo				 <&xo>;
7381cfce828SJeffrey Hugo			bus-width = <4>;
7391cfce828SJeffrey Hugo			status = "disabled";
7401cfce828SJeffrey Hugo		};
7411cfce828SJeffrey Hugo
7421e71d0c2SJeffrey Hugo		blsp1_i2c1: i2c@c175000 {
7431e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
7441e71d0c2SJeffrey Hugo			reg = <0x0c175000 0x600>;
7451e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
7461e71d0c2SJeffrey Hugo
7471e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>,
7481e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
7491e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
7501e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
7511e71d0c2SJeffrey Hugo
7521e71d0c2SJeffrey Hugo			status = "disabled";
7531e71d0c2SJeffrey Hugo			#address-cells = <1>;
7541e71d0c2SJeffrey Hugo			#size-cells = <0>;
7551e71d0c2SJeffrey Hugo		};
7561e71d0c2SJeffrey Hugo
7571e71d0c2SJeffrey Hugo		blsp1_i2c2: i2c@c176000 {
7581e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
7591e71d0c2SJeffrey Hugo			reg = <0x0c176000 0x600>;
7601e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
7611e71d0c2SJeffrey Hugo
7621e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
7631e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
7641e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
7651e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
7661e71d0c2SJeffrey Hugo
7671e71d0c2SJeffrey Hugo			status = "disabled";
7681e71d0c2SJeffrey Hugo			#address-cells = <1>;
7691e71d0c2SJeffrey Hugo			#size-cells = <0>;
7701e71d0c2SJeffrey Hugo		};
7711e71d0c2SJeffrey Hugo
7721e71d0c2SJeffrey Hugo		blsp1_i2c3: i2c@c177000 {
7731e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
7741e71d0c2SJeffrey Hugo			reg = <0x0c177000 0x600>;
7751e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
7761e71d0c2SJeffrey Hugo
7771e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
7781e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
7791e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
7801e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
7811e71d0c2SJeffrey Hugo
7821e71d0c2SJeffrey Hugo			status = "disabled";
7831e71d0c2SJeffrey Hugo			#address-cells = <1>;
7841e71d0c2SJeffrey Hugo			#size-cells = <0>;
7851e71d0c2SJeffrey Hugo		};
7861e71d0c2SJeffrey Hugo
7871e71d0c2SJeffrey Hugo		blsp1_i2c4: i2c@c178000 {
7881e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
7891e71d0c2SJeffrey Hugo			reg = <0x0c178000 0x600>;
7901e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
7911e71d0c2SJeffrey Hugo
7921e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
7931e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
7941e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
7951e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
7961e71d0c2SJeffrey Hugo
7971e71d0c2SJeffrey Hugo			status = "disabled";
7981e71d0c2SJeffrey Hugo			#address-cells = <1>;
7991e71d0c2SJeffrey Hugo			#size-cells = <0>;
8001e71d0c2SJeffrey Hugo		};
8011e71d0c2SJeffrey Hugo
8021e71d0c2SJeffrey Hugo		blsp1_i2c5: i2c@c179000 {
8031e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8041e71d0c2SJeffrey Hugo			reg = <0x0c179000 0x600>;
8051e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
8061e71d0c2SJeffrey Hugo
8071e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>,
8081e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
8091e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
8101e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
8111e71d0c2SJeffrey Hugo
8121e71d0c2SJeffrey Hugo			status = "disabled";
8131e71d0c2SJeffrey Hugo			#address-cells = <1>;
8141e71d0c2SJeffrey Hugo			#size-cells = <0>;
8151e71d0c2SJeffrey Hugo		};
8161e71d0c2SJeffrey Hugo
8171e71d0c2SJeffrey Hugo		blsp1_i2c6: i2c@c17a000 {
8181e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8191e71d0c2SJeffrey Hugo			reg = <0x0c17a000 0x600>;
8201e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
8211e71d0c2SJeffrey Hugo
8221e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>,
8231e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP1_AHB_CLK>;
8241e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
8251e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
8261e71d0c2SJeffrey Hugo
8271e71d0c2SJeffrey Hugo			status = "disabled";
8281e71d0c2SJeffrey Hugo			#address-cells = <1>;
8291e71d0c2SJeffrey Hugo			#size-cells = <0>;
8301e71d0c2SJeffrey Hugo		};
8311e71d0c2SJeffrey Hugo
8321e71d0c2SJeffrey Hugo		blsp2_i2c0: i2c@c1b5000 {
8331e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8341e71d0c2SJeffrey Hugo			reg = <0x0c1b5000 0x600>;
8351e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
8361e71d0c2SJeffrey Hugo
8371e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
8381e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
8391e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
8401e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
8411e71d0c2SJeffrey Hugo
8421e71d0c2SJeffrey Hugo			status = "disabled";
8431e71d0c2SJeffrey Hugo			#address-cells = <1>;
8441e71d0c2SJeffrey Hugo			#size-cells = <0>;
8451e71d0c2SJeffrey Hugo		};
8461e71d0c2SJeffrey Hugo
8471e71d0c2SJeffrey Hugo		blsp2_i2c1: i2c@c1b6000 {
8481e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8491e71d0c2SJeffrey Hugo			reg = <0x0c1b6000 0x600>;
8501e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
8511e71d0c2SJeffrey Hugo
8521e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>,
8531e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
8541e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
8551e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
8561e71d0c2SJeffrey Hugo
8571e71d0c2SJeffrey Hugo			status = "disabled";
8581e71d0c2SJeffrey Hugo			#address-cells = <1>;
8591e71d0c2SJeffrey Hugo			#size-cells = <0>;
8601e71d0c2SJeffrey Hugo		};
8611e71d0c2SJeffrey Hugo
8621e71d0c2SJeffrey Hugo		blsp2_i2c2: i2c@c1b7000 {
8631e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8641e71d0c2SJeffrey Hugo			reg = <0x0c1b7000 0x600>;
8651e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
8661e71d0c2SJeffrey Hugo
8671e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>,
8681e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_AHB_CLK>;
8691e71d0c2SJeffrey Hugo			clock-names = "core", "iface";
8701e71d0c2SJeffrey Hugo			clock-frequency = <400000>;
8711e71d0c2SJeffrey Hugo
8721e71d0c2SJeffrey Hugo			status = "disabled";
8731e71d0c2SJeffrey Hugo			#address-cells = <1>;
8741e71d0c2SJeffrey Hugo			#size-cells = <0>;
8751e71d0c2SJeffrey Hugo		};
8761e71d0c2SJeffrey Hugo
8771e71d0c2SJeffrey Hugo		blsp2_i2c3: i2c@c1b8000 {
8781e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8791e71d0c2SJeffrey Hugo			reg = <0x0c1b8000 0x600>;
8801e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
8811e71d0c2SJeffrey Hugo
8821e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>,
8831e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_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		blsp2_i2c4: i2c@c1b9000 {
8931e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
8941e71d0c2SJeffrey Hugo			reg = <0x0c1b9000 0x600>;
8951e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
8961e71d0c2SJeffrey Hugo
8971e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>,
8981e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_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		blsp2_i2c5: i2c@c1ba000 {
9081e71d0c2SJeffrey Hugo			compatible = "qcom,i2c-qup-v2.2.1";
9091e71d0c2SJeffrey Hugo			reg = <0x0c175000 0x600>;
9101e71d0c2SJeffrey Hugo			interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
9111e71d0c2SJeffrey Hugo
9121e71d0c2SJeffrey Hugo			clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>,
9131e71d0c2SJeffrey Hugo				 <&gcc GCC_BLSP2_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
9224807c71cSJoonwoo Park		blsp2_uart1: serial@c1b0000 {
9234807c71cSJoonwoo Park			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
9244807c71cSJoonwoo Park			reg = <0xc1b0000 0x1000>;
9254807c71cSJoonwoo Park			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
9264807c71cSJoonwoo Park			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
9274807c71cSJoonwoo Park				 <&gcc GCC_BLSP2_AHB_CLK>;
9284807c71cSJoonwoo Park			clock-names = "core", "iface";
9294807c71cSJoonwoo Park			status = "disabled";
9304807c71cSJoonwoo Park		};
9314807c71cSJoonwoo Park
9324807c71cSJoonwoo Park		timer@17920000 {
9334807c71cSJoonwoo Park			#address-cells = <1>;
9344807c71cSJoonwoo Park			#size-cells = <1>;
9354807c71cSJoonwoo Park			ranges;
9364807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
9374807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
9384807c71cSJoonwoo Park
9394807c71cSJoonwoo Park			frame@17921000 {
9404807c71cSJoonwoo Park				frame-number = <0>;
9414807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
9424807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
9434807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
9444807c71cSJoonwoo Park				      <0x17922000 0x1000>;
9454807c71cSJoonwoo Park			};
9464807c71cSJoonwoo Park
9474807c71cSJoonwoo Park			frame@17923000 {
9484807c71cSJoonwoo Park				frame-number = <1>;
9494807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
9504807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
9514807c71cSJoonwoo Park				status = "disabled";
9524807c71cSJoonwoo Park			};
9534807c71cSJoonwoo Park
9544807c71cSJoonwoo Park			frame@17924000 {
9554807c71cSJoonwoo Park				frame-number = <2>;
9564807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
9574807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
9584807c71cSJoonwoo Park				status = "disabled";
9594807c71cSJoonwoo Park			};
9604807c71cSJoonwoo Park
9614807c71cSJoonwoo Park			frame@17925000 {
9624807c71cSJoonwoo Park				frame-number = <3>;
9634807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
9644807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
9654807c71cSJoonwoo Park				status = "disabled";
9664807c71cSJoonwoo Park			};
9674807c71cSJoonwoo Park
9684807c71cSJoonwoo Park			frame@17926000 {
9694807c71cSJoonwoo Park				frame-number = <4>;
9704807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
9714807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
9724807c71cSJoonwoo Park				status = "disabled";
9734807c71cSJoonwoo Park			};
9744807c71cSJoonwoo Park
9754807c71cSJoonwoo Park			frame@17927000 {
9764807c71cSJoonwoo Park				frame-number = <5>;
9774807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
9784807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
9794807c71cSJoonwoo Park				status = "disabled";
9804807c71cSJoonwoo Park			};
9814807c71cSJoonwoo Park
9824807c71cSJoonwoo Park			frame@17928000 {
9834807c71cSJoonwoo Park				frame-number = <6>;
9844807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
9854807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
9864807c71cSJoonwoo Park				status = "disabled";
9874807c71cSJoonwoo Park			};
9884807c71cSJoonwoo Park		};
9894807c71cSJoonwoo Park
9904807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
9914807c71cSJoonwoo Park			compatible = "arm,gic-v3";
9924807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
9934807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
9944807c71cSJoonwoo Park			#interrupt-cells = <3>;
9954807c71cSJoonwoo Park			#address-cells = <1>;
9964807c71cSJoonwoo Park			#size-cells = <1>;
9974807c71cSJoonwoo Park			ranges;
9984807c71cSJoonwoo Park			interrupt-controller;
9994807c71cSJoonwoo Park			#redistributor-regions = <1>;
10004807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
10014807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
10024807c71cSJoonwoo Park		};
10034807c71cSJoonwoo Park	};
10044807c71cSJoonwoo Park};
10056da80161SJeffrey Hugo
10066da80161SJeffrey Hugo#include "msm8998-pins.dtsi"
1007