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>
64807c71cSJoonwoo Park
74807c71cSJoonwoo Park/ {
84807c71cSJoonwoo Park	interrupt-parent = <&intc>;
94807c71cSJoonwoo Park
104807c71cSJoonwoo Park	qcom,msm-id = <292 0x0>;
114807c71cSJoonwoo Park
124807c71cSJoonwoo Park	#address-cells = <2>;
134807c71cSJoonwoo Park	#size-cells = <2>;
144807c71cSJoonwoo Park
154807c71cSJoonwoo Park	chosen { };
164807c71cSJoonwoo Park
174807c71cSJoonwoo Park	memory {
184807c71cSJoonwoo Park		device_type = "memory";
194807c71cSJoonwoo Park		/* We expect the bootloader to fill in the reg */
204807c71cSJoonwoo Park		reg = <0 0 0 0>;
214807c71cSJoonwoo Park	};
224807c71cSJoonwoo Park
234807c71cSJoonwoo Park	clocks {
244807c71cSJoonwoo Park		xo_board {
254807c71cSJoonwoo Park			compatible = "fixed-clock";
264807c71cSJoonwoo Park			#clock-cells = <0>;
274807c71cSJoonwoo Park			clock-frequency = <19200000>;
284807c71cSJoonwoo Park		};
294807c71cSJoonwoo Park
304807c71cSJoonwoo Park		sleep_clk {
314807c71cSJoonwoo Park			compatible = "fixed-clock";
324807c71cSJoonwoo Park			#clock-cells = <0>;
334807c71cSJoonwoo Park			clock-frequency = <32764>;
344807c71cSJoonwoo Park		};
354807c71cSJoonwoo Park	};
364807c71cSJoonwoo Park
374807c71cSJoonwoo Park	cpus {
384807c71cSJoonwoo Park		#address-cells = <2>;
394807c71cSJoonwoo Park		#size-cells = <0>;
404807c71cSJoonwoo Park
414807c71cSJoonwoo Park		CPU0: cpu@0 {
424807c71cSJoonwoo Park			device_type = "cpu";
434807c71cSJoonwoo Park			compatible = "arm,armv8";
444807c71cSJoonwoo Park			reg = <0x0 0x0>;
454807c71cSJoonwoo Park			enable-method = "psci";
464807c71cSJoonwoo Park			efficiency = <1024>;
474807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
484807c71cSJoonwoo Park			L2_0: l2-cache {
494807c71cSJoonwoo Park				compatible = "arm,arch-cache";
504807c71cSJoonwoo Park				cache-level = <2>;
514807c71cSJoonwoo Park			};
524807c71cSJoonwoo Park			L1_I_0: l1-icache {
534807c71cSJoonwoo Park				compatible = "arm,arch-cache";
544807c71cSJoonwoo Park			};
554807c71cSJoonwoo Park			L1_D_0: l1-dcache {
564807c71cSJoonwoo Park				compatible = "arm,arch-cache";
574807c71cSJoonwoo Park			};
584807c71cSJoonwoo Park		};
594807c71cSJoonwoo Park
604807c71cSJoonwoo Park		CPU1: cpu@1 {
614807c71cSJoonwoo Park			device_type = "cpu";
624807c71cSJoonwoo Park			compatible = "arm,armv8";
634807c71cSJoonwoo Park			reg = <0x0 0x1>;
644807c71cSJoonwoo Park			enable-method = "psci";
654807c71cSJoonwoo Park			efficiency = <1024>;
664807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
674807c71cSJoonwoo Park			L1_I_1: l1-icache {
684807c71cSJoonwoo Park				compatible = "arm,arch-cache";
694807c71cSJoonwoo Park			};
704807c71cSJoonwoo Park			L1_D_1: l1-dcache {
714807c71cSJoonwoo Park				compatible = "arm,arch-cache";
724807c71cSJoonwoo Park			};
734807c71cSJoonwoo Park		};
744807c71cSJoonwoo Park
754807c71cSJoonwoo Park		CPU2: cpu@2 {
764807c71cSJoonwoo Park			device_type = "cpu";
774807c71cSJoonwoo Park			compatible = "arm,armv8";
784807c71cSJoonwoo Park			reg = <0x0 0x2>;
794807c71cSJoonwoo Park			enable-method = "psci";
804807c71cSJoonwoo Park			efficiency = <1024>;
814807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
824807c71cSJoonwoo Park			L1_I_2: l1-icache {
834807c71cSJoonwoo Park				compatible = "arm,arch-cache";
844807c71cSJoonwoo Park			};
854807c71cSJoonwoo Park			L1_D_2: l1-dcache {
864807c71cSJoonwoo Park				compatible = "arm,arch-cache";
874807c71cSJoonwoo Park			};
884807c71cSJoonwoo Park		};
894807c71cSJoonwoo Park
904807c71cSJoonwoo Park		CPU3: cpu@3 {
914807c71cSJoonwoo Park			device_type = "cpu";
924807c71cSJoonwoo Park			compatible = "arm,armv8";
934807c71cSJoonwoo Park			reg = <0x0 0x3>;
944807c71cSJoonwoo Park			enable-method = "psci";
954807c71cSJoonwoo Park			efficiency = <1024>;
964807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
974807c71cSJoonwoo Park			L1_I_3: l1-icache {
984807c71cSJoonwoo Park				compatible = "arm,arch-cache";
994807c71cSJoonwoo Park			};
1004807c71cSJoonwoo Park			L1_D_3: l1-dcache {
1014807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1024807c71cSJoonwoo Park			};
1034807c71cSJoonwoo Park		};
1044807c71cSJoonwoo Park
1054807c71cSJoonwoo Park		CPU4: cpu@100 {
1064807c71cSJoonwoo Park			device_type = "cpu";
1074807c71cSJoonwoo Park			compatible = "arm,armv8";
1084807c71cSJoonwoo Park			reg = <0x0 0x100>;
1094807c71cSJoonwoo Park			enable-method = "psci";
1104807c71cSJoonwoo Park			efficiency = <1536>;
1114807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1124807c71cSJoonwoo Park			L2_1: l2-cache {
1134807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1144807c71cSJoonwoo Park				cache-level = <2>;
1154807c71cSJoonwoo Park			};
1164807c71cSJoonwoo Park			L1_I_100: l1-icache {
1174807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1184807c71cSJoonwoo Park			};
1194807c71cSJoonwoo Park			L1_D_100: l1-dcache {
1204807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1214807c71cSJoonwoo Park			};
1224807c71cSJoonwoo Park		};
1234807c71cSJoonwoo Park
1244807c71cSJoonwoo Park		CPU5: cpu@101 {
1254807c71cSJoonwoo Park			device_type = "cpu";
1264807c71cSJoonwoo Park			compatible = "arm,armv8";
1274807c71cSJoonwoo Park			reg = <0x0 0x101>;
1284807c71cSJoonwoo Park			enable-method = "psci";
1294807c71cSJoonwoo Park			efficiency = <1536>;
1304807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1314807c71cSJoonwoo Park			L1_I_101: l1-icache {
1324807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1334807c71cSJoonwoo Park			};
1344807c71cSJoonwoo Park			L1_D_101: l1-dcache {
1354807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1364807c71cSJoonwoo Park			};
1374807c71cSJoonwoo Park		};
1384807c71cSJoonwoo Park
1394807c71cSJoonwoo Park		CPU6: cpu@102 {
1404807c71cSJoonwoo Park			device_type = "cpu";
1414807c71cSJoonwoo Park			compatible = "arm,armv8";
1424807c71cSJoonwoo Park			reg = <0x0 0x102>;
1434807c71cSJoonwoo Park			enable-method = "psci";
1444807c71cSJoonwoo Park			efficiency = <1536>;
1454807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1464807c71cSJoonwoo Park			L1_I_102: l1-icache {
1474807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1484807c71cSJoonwoo Park			};
1494807c71cSJoonwoo Park			L1_D_102: l1-dcache {
1504807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1514807c71cSJoonwoo Park			};
1524807c71cSJoonwoo Park		};
1534807c71cSJoonwoo Park
1544807c71cSJoonwoo Park		CPU7: cpu@103 {
1554807c71cSJoonwoo Park			device_type = "cpu";
1564807c71cSJoonwoo Park			compatible = "arm,armv8";
1574807c71cSJoonwoo Park			reg = <0x0 0x103>;
1584807c71cSJoonwoo Park			enable-method = "psci";
1594807c71cSJoonwoo Park			efficiency = <1536>;
1604807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1614807c71cSJoonwoo Park			L1_I_103: l1-icache {
1624807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1634807c71cSJoonwoo Park			};
1644807c71cSJoonwoo Park			L1_D_103: l1-dcache {
1654807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1664807c71cSJoonwoo Park			};
1674807c71cSJoonwoo Park		};
1684807c71cSJoonwoo Park
1694807c71cSJoonwoo Park		cpu-map {
1704807c71cSJoonwoo Park			cluster0 {
1714807c71cSJoonwoo Park				core0 {
1724807c71cSJoonwoo Park					cpu = <&CPU0>;
1734807c71cSJoonwoo Park				};
1744807c71cSJoonwoo Park
1754807c71cSJoonwoo Park				core1 {
1764807c71cSJoonwoo Park					cpu = <&CPU1>;
1774807c71cSJoonwoo Park				};
1784807c71cSJoonwoo Park
1794807c71cSJoonwoo Park				core2 {
1804807c71cSJoonwoo Park					cpu = <&CPU2>;
1814807c71cSJoonwoo Park				};
1824807c71cSJoonwoo Park
1834807c71cSJoonwoo Park				core3 {
1844807c71cSJoonwoo Park					cpu = <&CPU3>;
1854807c71cSJoonwoo Park				};
1864807c71cSJoonwoo Park			};
1874807c71cSJoonwoo Park
1884807c71cSJoonwoo Park			cluster1 {
1894807c71cSJoonwoo Park				core0 {
1904807c71cSJoonwoo Park					cpu = <&CPU4>;
1914807c71cSJoonwoo Park				};
1924807c71cSJoonwoo Park
1934807c71cSJoonwoo Park				core1 {
1944807c71cSJoonwoo Park					cpu = <&CPU5>;
1954807c71cSJoonwoo Park				};
1964807c71cSJoonwoo Park
1974807c71cSJoonwoo Park				core2 {
1984807c71cSJoonwoo Park					cpu = <&CPU6>;
1994807c71cSJoonwoo Park				};
2004807c71cSJoonwoo Park
2014807c71cSJoonwoo Park				core3 {
2024807c71cSJoonwoo Park					cpu = <&CPU7>;
2034807c71cSJoonwoo Park				};
2044807c71cSJoonwoo Park			};
2054807c71cSJoonwoo Park		};
2064807c71cSJoonwoo Park	};
2074807c71cSJoonwoo Park
2084807c71cSJoonwoo Park	psci {
2094807c71cSJoonwoo Park		compatible = "arm,psci-1.0";
2104807c71cSJoonwoo Park		method = "smc";
2114807c71cSJoonwoo Park	};
2124807c71cSJoonwoo Park
21331c1f0e3SBjorn Andersson	rpm-glink {
21431c1f0e3SBjorn Andersson		compatible = "qcom,glink-rpm";
21531c1f0e3SBjorn Andersson
21631c1f0e3SBjorn Andersson		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
21731c1f0e3SBjorn Andersson		qcom,rpm-msg-ram = <&rpm_msg_ram>;
21831c1f0e3SBjorn Andersson		mboxes = <&apcs_glb 0>;
21931c1f0e3SBjorn Andersson
22031c1f0e3SBjorn Andersson		rpm_requests: rpm-requests {
22131c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msm8998";
22231c1f0e3SBjorn Andersson			qcom,glink-channels = "rpm_requests";
22331c1f0e3SBjorn Andersson		};
22431c1f0e3SBjorn Andersson	};
22531c1f0e3SBjorn Andersson
226*4449b6f2SBjorn Andersson	thermal-zones {
227*4449b6f2SBjorn Andersson		cpu-thermal0 {
228*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
229*4449b6f2SBjorn Andersson			polling-delay = <1000>;
230*4449b6f2SBjorn Andersson
231*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 6>;
232*4449b6f2SBjorn Andersson
233*4449b6f2SBjorn Andersson			trips {
234*4449b6f2SBjorn Andersson				cpu_alert0: trip0 {
235*4449b6f2SBjorn Andersson					temperature = <75000>;
236*4449b6f2SBjorn Andersson					hysteresis = <2000>;
237*4449b6f2SBjorn Andersson					type = "passive";
238*4449b6f2SBjorn Andersson				};
239*4449b6f2SBjorn Andersson
240*4449b6f2SBjorn Andersson				cpu_crit0: trip1 {
241*4449b6f2SBjorn Andersson					temperature = <110000>;
242*4449b6f2SBjorn Andersson					hysteresis = <2000>;
243*4449b6f2SBjorn Andersson					type = "critical";
244*4449b6f2SBjorn Andersson				};
245*4449b6f2SBjorn Andersson			};
246*4449b6f2SBjorn Andersson		};
247*4449b6f2SBjorn Andersson
248*4449b6f2SBjorn Andersson		cpu-thermal1 {
249*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
250*4449b6f2SBjorn Andersson			polling-delay = <1000>;
251*4449b6f2SBjorn Andersson
252*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 7>;
253*4449b6f2SBjorn Andersson
254*4449b6f2SBjorn Andersson			trips {
255*4449b6f2SBjorn Andersson				cpu_alert1: trip0 {
256*4449b6f2SBjorn Andersson					temperature = <75000>;
257*4449b6f2SBjorn Andersson					hysteresis = <2000>;
258*4449b6f2SBjorn Andersson					type = "passive";
259*4449b6f2SBjorn Andersson				};
260*4449b6f2SBjorn Andersson
261*4449b6f2SBjorn Andersson				cpu_crit1: trip1 {
262*4449b6f2SBjorn Andersson					temperature = <110000>;
263*4449b6f2SBjorn Andersson					hysteresis = <2000>;
264*4449b6f2SBjorn Andersson					type = "critical";
265*4449b6f2SBjorn Andersson				};
266*4449b6f2SBjorn Andersson			};
267*4449b6f2SBjorn Andersson		};
268*4449b6f2SBjorn Andersson
269*4449b6f2SBjorn Andersson		cpu-thermal2 {
270*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
271*4449b6f2SBjorn Andersson			polling-delay = <1000>;
272*4449b6f2SBjorn Andersson
273*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 8>;
274*4449b6f2SBjorn Andersson
275*4449b6f2SBjorn Andersson			trips {
276*4449b6f2SBjorn Andersson				cpu_alert2: trip0 {
277*4449b6f2SBjorn Andersson					temperature = <75000>;
278*4449b6f2SBjorn Andersson					hysteresis = <2000>;
279*4449b6f2SBjorn Andersson					type = "passive";
280*4449b6f2SBjorn Andersson				};
281*4449b6f2SBjorn Andersson
282*4449b6f2SBjorn Andersson				cpu_crit2: trip1 {
283*4449b6f2SBjorn Andersson					temperature = <110000>;
284*4449b6f2SBjorn Andersson					hysteresis = <2000>;
285*4449b6f2SBjorn Andersson					type = "critical";
286*4449b6f2SBjorn Andersson				};
287*4449b6f2SBjorn Andersson			};
288*4449b6f2SBjorn Andersson		};
289*4449b6f2SBjorn Andersson
290*4449b6f2SBjorn Andersson		cpu-thermal3 {
291*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
292*4449b6f2SBjorn Andersson			polling-delay = <1000>;
293*4449b6f2SBjorn Andersson
294*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 9>;
295*4449b6f2SBjorn Andersson
296*4449b6f2SBjorn Andersson			trips {
297*4449b6f2SBjorn Andersson				cpu_alert3: trip0 {
298*4449b6f2SBjorn Andersson					temperature = <75000>;
299*4449b6f2SBjorn Andersson					hysteresis = <2000>;
300*4449b6f2SBjorn Andersson					type = "passive";
301*4449b6f2SBjorn Andersson				};
302*4449b6f2SBjorn Andersson
303*4449b6f2SBjorn Andersson				cpu_crit3: trip1 {
304*4449b6f2SBjorn Andersson					temperature = <110000>;
305*4449b6f2SBjorn Andersson					hysteresis = <2000>;
306*4449b6f2SBjorn Andersson					type = "critical";
307*4449b6f2SBjorn Andersson				};
308*4449b6f2SBjorn Andersson			};
309*4449b6f2SBjorn Andersson		};
310*4449b6f2SBjorn Andersson
311*4449b6f2SBjorn Andersson		cpu-thermal4 {
312*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
313*4449b6f2SBjorn Andersson			polling-delay = <1000>;
314*4449b6f2SBjorn Andersson
315*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 10>;
316*4449b6f2SBjorn Andersson
317*4449b6f2SBjorn Andersson			trips {
318*4449b6f2SBjorn Andersson				cpu_alert4: trip0 {
319*4449b6f2SBjorn Andersson					temperature = <75000>;
320*4449b6f2SBjorn Andersson					hysteresis = <2000>;
321*4449b6f2SBjorn Andersson					type = "passive";
322*4449b6f2SBjorn Andersson				};
323*4449b6f2SBjorn Andersson
324*4449b6f2SBjorn Andersson				cpu_crit4: trip1 {
325*4449b6f2SBjorn Andersson					temperature = <110000>;
326*4449b6f2SBjorn Andersson					hysteresis = <2000>;
327*4449b6f2SBjorn Andersson					type = "critical";
328*4449b6f2SBjorn Andersson				};
329*4449b6f2SBjorn Andersson			};
330*4449b6f2SBjorn Andersson		};
331*4449b6f2SBjorn Andersson
332*4449b6f2SBjorn Andersson		cpu-thermal5 {
333*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
334*4449b6f2SBjorn Andersson			polling-delay = <1000>;
335*4449b6f2SBjorn Andersson
336*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 11>;
337*4449b6f2SBjorn Andersson
338*4449b6f2SBjorn Andersson			trips {
339*4449b6f2SBjorn Andersson				cpu_alert5: trip0 {
340*4449b6f2SBjorn Andersson					temperature = <75000>;
341*4449b6f2SBjorn Andersson					hysteresis = <2000>;
342*4449b6f2SBjorn Andersson					type = "passive";
343*4449b6f2SBjorn Andersson				};
344*4449b6f2SBjorn Andersson
345*4449b6f2SBjorn Andersson				cpu_crit5: trip1 {
346*4449b6f2SBjorn Andersson					temperature = <110000>;
347*4449b6f2SBjorn Andersson					hysteresis = <2000>;
348*4449b6f2SBjorn Andersson					type = "critical";
349*4449b6f2SBjorn Andersson				};
350*4449b6f2SBjorn Andersson			};
351*4449b6f2SBjorn Andersson		};
352*4449b6f2SBjorn Andersson
353*4449b6f2SBjorn Andersson		cpu-thermal6 {
354*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
355*4449b6f2SBjorn Andersson			polling-delay = <1000>;
356*4449b6f2SBjorn Andersson
357*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 0>;
358*4449b6f2SBjorn Andersson
359*4449b6f2SBjorn Andersson			trips {
360*4449b6f2SBjorn Andersson				cpu_alert6: trip0 {
361*4449b6f2SBjorn Andersson					temperature = <75000>;
362*4449b6f2SBjorn Andersson					hysteresis = <2000>;
363*4449b6f2SBjorn Andersson					type = "passive";
364*4449b6f2SBjorn Andersson				};
365*4449b6f2SBjorn Andersson
366*4449b6f2SBjorn Andersson				cpu_crit6: trip1 {
367*4449b6f2SBjorn Andersson					temperature = <110000>;
368*4449b6f2SBjorn Andersson					hysteresis = <2000>;
369*4449b6f2SBjorn Andersson					type = "critical";
370*4449b6f2SBjorn Andersson				};
371*4449b6f2SBjorn Andersson			};
372*4449b6f2SBjorn Andersson		};
373*4449b6f2SBjorn Andersson
374*4449b6f2SBjorn Andersson		cpu-thermal7 {
375*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
376*4449b6f2SBjorn Andersson			polling-delay = <1000>;
377*4449b6f2SBjorn Andersson
378*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 1>;
379*4449b6f2SBjorn Andersson
380*4449b6f2SBjorn Andersson			trips {
381*4449b6f2SBjorn Andersson				cpu_alert7: trip0 {
382*4449b6f2SBjorn Andersson					temperature = <75000>;
383*4449b6f2SBjorn Andersson					hysteresis = <2000>;
384*4449b6f2SBjorn Andersson					type = "passive";
385*4449b6f2SBjorn Andersson				};
386*4449b6f2SBjorn Andersson
387*4449b6f2SBjorn Andersson				cpu_crit7: trip1 {
388*4449b6f2SBjorn Andersson					temperature = <110000>;
389*4449b6f2SBjorn Andersson					hysteresis = <2000>;
390*4449b6f2SBjorn Andersson					type = "critical";
391*4449b6f2SBjorn Andersson				};
392*4449b6f2SBjorn Andersson			};
393*4449b6f2SBjorn Andersson		};
394*4449b6f2SBjorn Andersson
395*4449b6f2SBjorn Andersson		gpu-thermal {
396*4449b6f2SBjorn Andersson			polling-delay-passive = <250>;
397*4449b6f2SBjorn Andersson			polling-delay = <1000>;
398*4449b6f2SBjorn Andersson
399*4449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 3>;
400*4449b6f2SBjorn Andersson		};
401*4449b6f2SBjorn Andersson	};
402*4449b6f2SBjorn Andersson
4034807c71cSJoonwoo Park	timer {
4044807c71cSJoonwoo Park		compatible = "arm,armv8-timer";
4054807c71cSJoonwoo Park		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
4064807c71cSJoonwoo Park			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
4074807c71cSJoonwoo Park			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
4084807c71cSJoonwoo Park			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
4094807c71cSJoonwoo Park	};
4104807c71cSJoonwoo Park
4114807c71cSJoonwoo Park	soc: soc {
4124807c71cSJoonwoo Park		#address-cells = <1>;
4134807c71cSJoonwoo Park		#size-cells = <1>;
4144807c71cSJoonwoo Park		ranges = <0 0 0 0xffffffff>;
4154807c71cSJoonwoo Park		compatible = "simple-bus";
4164807c71cSJoonwoo Park
41731c1f0e3SBjorn Andersson		rpm_msg_ram: memory@68000 {
41831c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msg-ram";
41931c1f0e3SBjorn Andersson			reg = <0x778000 0x7000>;
42031c1f0e3SBjorn Andersson		};
42131c1f0e3SBjorn Andersson
4224807c71cSJoonwoo Park		gcc: clock-controller@100000 {
4234807c71cSJoonwoo Park			compatible = "qcom,gcc-msm8998";
4244807c71cSJoonwoo Park			#clock-cells = <1>;
4254807c71cSJoonwoo Park			#reset-cells = <1>;
4264807c71cSJoonwoo Park			#power-domain-cells = <1>;
4274807c71cSJoonwoo Park			reg = <0x100000 0xb0000>;
4284807c71cSJoonwoo Park		};
4294807c71cSJoonwoo Park
4304807c71cSJoonwoo Park		tlmm: pinctrl@3400000 {
4314807c71cSJoonwoo Park			compatible = "qcom,msm8998-pinctrl";
4324807c71cSJoonwoo Park			reg = <0x3400000 0xc00000>;
4334807c71cSJoonwoo Park			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
4344807c71cSJoonwoo Park			gpio-controller;
4354807c71cSJoonwoo Park			#gpio-cells = <0x2>;
4364807c71cSJoonwoo Park			interrupt-controller;
4374807c71cSJoonwoo Park			#interrupt-cells = <0x2>;
4384807c71cSJoonwoo Park		};
4394807c71cSJoonwoo Park
4404807c71cSJoonwoo Park		spmi_bus: spmi@800f000 {
4414807c71cSJoonwoo Park			compatible = "qcom,spmi-pmic-arb";
4424807c71cSJoonwoo Park			reg =	<0x800f000 0x1000>,
4434807c71cSJoonwoo Park				<0x8400000 0x1000000>,
4444807c71cSJoonwoo Park				<0x9400000 0x1000000>,
4454807c71cSJoonwoo Park				<0xa400000 0x220000>,
4464807c71cSJoonwoo Park				<0x800a000 0x3000>;
4474807c71cSJoonwoo Park			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4484807c71cSJoonwoo Park			interrupt-names = "periph_irq";
4494807c71cSJoonwoo Park			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
4504807c71cSJoonwoo Park			qcom,ee = <0>;
4514807c71cSJoonwoo Park			qcom,channel = <0>;
4524807c71cSJoonwoo Park			#address-cells = <2>;
4534807c71cSJoonwoo Park			#size-cells = <0>;
4544807c71cSJoonwoo Park			interrupt-controller;
4554807c71cSJoonwoo Park			#interrupt-cells = <4>;
4564807c71cSJoonwoo Park			cell-index = <0>;
4574807c71cSJoonwoo Park		};
4584807c71cSJoonwoo Park
459*4449b6f2SBjorn Andersson		tsens0: thermal@10aa000 {
460*4449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
461*4449b6f2SBjorn Andersson			reg = <0x10aa000 0x2000>;
462*4449b6f2SBjorn Andersson
463*4449b6f2SBjorn Andersson			#qcom,sensors = <12>;
464*4449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
465*4449b6f2SBjorn Andersson		};
466*4449b6f2SBjorn Andersson
467*4449b6f2SBjorn Andersson		tsens1: thermal@10ad000 {
468*4449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
469*4449b6f2SBjorn Andersson			reg = <0x10ad000 0x2000>;
470*4449b6f2SBjorn Andersson
471*4449b6f2SBjorn Andersson			#qcom,sensors = <8>;
472*4449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
473*4449b6f2SBjorn Andersson		};
474*4449b6f2SBjorn Andersson
47531c1f0e3SBjorn Andersson		apcs_glb: mailbox@9820000 {
47631c1f0e3SBjorn Andersson			compatible = "qcom,msm8998-apcs-hmss-global";
47731c1f0e3SBjorn Andersson			reg = <0x17911000 0x1000>;
47831c1f0e3SBjorn Andersson
47931c1f0e3SBjorn Andersson			#mbox-cells = <1>;
48031c1f0e3SBjorn Andersson		};
48131c1f0e3SBjorn Andersson
4824807c71cSJoonwoo Park		blsp2_uart1: serial@c1b0000 {
4834807c71cSJoonwoo Park			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
4844807c71cSJoonwoo Park			reg = <0xc1b0000 0x1000>;
4854807c71cSJoonwoo Park			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
4864807c71cSJoonwoo Park			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
4874807c71cSJoonwoo Park				 <&gcc GCC_BLSP2_AHB_CLK>;
4884807c71cSJoonwoo Park			clock-names = "core", "iface";
4894807c71cSJoonwoo Park			status = "disabled";
4904807c71cSJoonwoo Park		};
4914807c71cSJoonwoo Park
4924807c71cSJoonwoo Park		timer@17920000 {
4934807c71cSJoonwoo Park			#address-cells = <1>;
4944807c71cSJoonwoo Park			#size-cells = <1>;
4954807c71cSJoonwoo Park			ranges;
4964807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
4974807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
4984807c71cSJoonwoo Park
4994807c71cSJoonwoo Park			frame@17921000 {
5004807c71cSJoonwoo Park				frame-number = <0>;
5014807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
5024807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
5034807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
5044807c71cSJoonwoo Park				      <0x17922000 0x1000>;
5054807c71cSJoonwoo Park			};
5064807c71cSJoonwoo Park
5074807c71cSJoonwoo Park			frame@17923000 {
5084807c71cSJoonwoo Park				frame-number = <1>;
5094807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
5104807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
5114807c71cSJoonwoo Park				status = "disabled";
5124807c71cSJoonwoo Park			};
5134807c71cSJoonwoo Park
5144807c71cSJoonwoo Park			frame@17924000 {
5154807c71cSJoonwoo Park				frame-number = <2>;
5164807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
5174807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
5184807c71cSJoonwoo Park				status = "disabled";
5194807c71cSJoonwoo Park			};
5204807c71cSJoonwoo Park
5214807c71cSJoonwoo Park			frame@17925000 {
5224807c71cSJoonwoo Park				frame-number = <3>;
5234807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
5244807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
5254807c71cSJoonwoo Park				status = "disabled";
5264807c71cSJoonwoo Park			};
5274807c71cSJoonwoo Park
5284807c71cSJoonwoo Park			frame@17926000 {
5294807c71cSJoonwoo Park				frame-number = <4>;
5304807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
5314807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
5324807c71cSJoonwoo Park				status = "disabled";
5334807c71cSJoonwoo Park			};
5344807c71cSJoonwoo Park
5354807c71cSJoonwoo Park			frame@17927000 {
5364807c71cSJoonwoo Park				frame-number = <5>;
5374807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
5384807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
5394807c71cSJoonwoo Park				status = "disabled";
5404807c71cSJoonwoo Park			};
5414807c71cSJoonwoo Park
5424807c71cSJoonwoo Park			frame@17928000 {
5434807c71cSJoonwoo Park				frame-number = <6>;
5444807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
5454807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
5464807c71cSJoonwoo Park				status = "disabled";
5474807c71cSJoonwoo Park			};
5484807c71cSJoonwoo Park		};
5494807c71cSJoonwoo Park
5504807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
5514807c71cSJoonwoo Park			compatible = "arm,gic-v3";
5524807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
5534807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
5544807c71cSJoonwoo Park			#interrupt-cells = <3>;
5554807c71cSJoonwoo Park			#address-cells = <1>;
5564807c71cSJoonwoo Park			#size-cells = <1>;
5574807c71cSJoonwoo Park			ranges;
5584807c71cSJoonwoo Park			interrupt-controller;
5594807c71cSJoonwoo Park			#redistributor-regions = <1>;
5604807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
5614807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
5624807c71cSJoonwoo Park		};
5634807c71cSJoonwoo Park	};
5644807c71cSJoonwoo Park};
565