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
23*c7833949SBjorn Andersson	reserved-memory {
24*c7833949SBjorn Andersson		#address-cells = <2>;
25*c7833949SBjorn Andersson		#size-cells = <2>;
26*c7833949SBjorn Andersson		ranges;
27*c7833949SBjorn Andersson
28*c7833949SBjorn Andersson		memory@85800000 {
29*c7833949SBjorn Andersson			reg = <0x0 0x85800000 0x0 0x800000>;
30*c7833949SBjorn Andersson			no-map;
31*c7833949SBjorn Andersson		};
32*c7833949SBjorn Andersson
33*c7833949SBjorn Andersson		smem_mem: smem-mem@86000000 {
34*c7833949SBjorn Andersson			reg = <0x0 0x86000000 0x0 0x200000>;
35*c7833949SBjorn Andersson			no-map;
36*c7833949SBjorn Andersson		};
37*c7833949SBjorn Andersson
38*c7833949SBjorn Andersson		memory@86200000 {
39*c7833949SBjorn Andersson			reg = <0x0 0x86200000 0x0 0x2600000>;
40*c7833949SBjorn Andersson			no-map;
41*c7833949SBjorn Andersson		};
42*c7833949SBjorn Andersson
43*c7833949SBjorn Andersson		rmtfs {
44*c7833949SBjorn Andersson			compatible = "qcom,rmtfs-mem";
45*c7833949SBjorn Andersson
46*c7833949SBjorn Andersson			size = <0x0 0x200000>;
47*c7833949SBjorn Andersson			alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
48*c7833949SBjorn Andersson			no-map;
49*c7833949SBjorn Andersson
50*c7833949SBjorn Andersson			qcom,client-id = <1>;
51*c7833949SBjorn Andersson			qcom,vmid = <15>;
52*c7833949SBjorn Andersson		};
53*c7833949SBjorn Andersson	};
54*c7833949SBjorn Andersson
554807c71cSJoonwoo Park	clocks {
564807c71cSJoonwoo Park		xo_board {
574807c71cSJoonwoo Park			compatible = "fixed-clock";
584807c71cSJoonwoo Park			#clock-cells = <0>;
594807c71cSJoonwoo Park			clock-frequency = <19200000>;
604807c71cSJoonwoo Park		};
614807c71cSJoonwoo Park
624807c71cSJoonwoo Park		sleep_clk {
634807c71cSJoonwoo Park			compatible = "fixed-clock";
644807c71cSJoonwoo Park			#clock-cells = <0>;
654807c71cSJoonwoo Park			clock-frequency = <32764>;
664807c71cSJoonwoo Park		};
674807c71cSJoonwoo Park	};
684807c71cSJoonwoo Park
694807c71cSJoonwoo Park	cpus {
704807c71cSJoonwoo Park		#address-cells = <2>;
714807c71cSJoonwoo Park		#size-cells = <0>;
724807c71cSJoonwoo Park
734807c71cSJoonwoo Park		CPU0: cpu@0 {
744807c71cSJoonwoo Park			device_type = "cpu";
754807c71cSJoonwoo Park			compatible = "arm,armv8";
764807c71cSJoonwoo Park			reg = <0x0 0x0>;
774807c71cSJoonwoo Park			enable-method = "psci";
784807c71cSJoonwoo Park			efficiency = <1024>;
794807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
804807c71cSJoonwoo Park			L2_0: l2-cache {
814807c71cSJoonwoo Park				compatible = "arm,arch-cache";
824807c71cSJoonwoo Park				cache-level = <2>;
834807c71cSJoonwoo Park			};
844807c71cSJoonwoo Park			L1_I_0: l1-icache {
854807c71cSJoonwoo Park				compatible = "arm,arch-cache";
864807c71cSJoonwoo Park			};
874807c71cSJoonwoo Park			L1_D_0: l1-dcache {
884807c71cSJoonwoo Park				compatible = "arm,arch-cache";
894807c71cSJoonwoo Park			};
904807c71cSJoonwoo Park		};
914807c71cSJoonwoo Park
924807c71cSJoonwoo Park		CPU1: cpu@1 {
934807c71cSJoonwoo Park			device_type = "cpu";
944807c71cSJoonwoo Park			compatible = "arm,armv8";
954807c71cSJoonwoo Park			reg = <0x0 0x1>;
964807c71cSJoonwoo Park			enable-method = "psci";
974807c71cSJoonwoo Park			efficiency = <1024>;
984807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
994807c71cSJoonwoo Park			L1_I_1: l1-icache {
1004807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1014807c71cSJoonwoo Park			};
1024807c71cSJoonwoo Park			L1_D_1: l1-dcache {
1034807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1044807c71cSJoonwoo Park			};
1054807c71cSJoonwoo Park		};
1064807c71cSJoonwoo Park
1074807c71cSJoonwoo Park		CPU2: cpu@2 {
1084807c71cSJoonwoo Park			device_type = "cpu";
1094807c71cSJoonwoo Park			compatible = "arm,armv8";
1104807c71cSJoonwoo Park			reg = <0x0 0x2>;
1114807c71cSJoonwoo Park			enable-method = "psci";
1124807c71cSJoonwoo Park			efficiency = <1024>;
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			efficiency = <1024>;
1284807c71cSJoonwoo Park			next-level-cache = <&L2_0>;
1294807c71cSJoonwoo Park			L1_I_3: l1-icache {
1304807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1314807c71cSJoonwoo Park			};
1324807c71cSJoonwoo Park			L1_D_3: l1-dcache {
1334807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1344807c71cSJoonwoo Park			};
1354807c71cSJoonwoo Park		};
1364807c71cSJoonwoo Park
1374807c71cSJoonwoo Park		CPU4: cpu@100 {
1384807c71cSJoonwoo Park			device_type = "cpu";
1394807c71cSJoonwoo Park			compatible = "arm,armv8";
1404807c71cSJoonwoo Park			reg = <0x0 0x100>;
1414807c71cSJoonwoo Park			enable-method = "psci";
1424807c71cSJoonwoo Park			efficiency = <1536>;
1434807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1444807c71cSJoonwoo Park			L2_1: l2-cache {
1454807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1464807c71cSJoonwoo Park				cache-level = <2>;
1474807c71cSJoonwoo Park			};
1484807c71cSJoonwoo Park			L1_I_100: l1-icache {
1494807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1504807c71cSJoonwoo Park			};
1514807c71cSJoonwoo Park			L1_D_100: l1-dcache {
1524807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1534807c71cSJoonwoo Park			};
1544807c71cSJoonwoo Park		};
1554807c71cSJoonwoo Park
1564807c71cSJoonwoo Park		CPU5: cpu@101 {
1574807c71cSJoonwoo Park			device_type = "cpu";
1584807c71cSJoonwoo Park			compatible = "arm,armv8";
1594807c71cSJoonwoo Park			reg = <0x0 0x101>;
1604807c71cSJoonwoo Park			enable-method = "psci";
1614807c71cSJoonwoo Park			efficiency = <1536>;
1624807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1634807c71cSJoonwoo Park			L1_I_101: l1-icache {
1644807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1654807c71cSJoonwoo Park			};
1664807c71cSJoonwoo Park			L1_D_101: l1-dcache {
1674807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1684807c71cSJoonwoo Park			};
1694807c71cSJoonwoo Park		};
1704807c71cSJoonwoo Park
1714807c71cSJoonwoo Park		CPU6: cpu@102 {
1724807c71cSJoonwoo Park			device_type = "cpu";
1734807c71cSJoonwoo Park			compatible = "arm,armv8";
1744807c71cSJoonwoo Park			reg = <0x0 0x102>;
1754807c71cSJoonwoo Park			enable-method = "psci";
1764807c71cSJoonwoo Park			efficiency = <1536>;
1774807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1784807c71cSJoonwoo Park			L1_I_102: l1-icache {
1794807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1804807c71cSJoonwoo Park			};
1814807c71cSJoonwoo Park			L1_D_102: l1-dcache {
1824807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1834807c71cSJoonwoo Park			};
1844807c71cSJoonwoo Park		};
1854807c71cSJoonwoo Park
1864807c71cSJoonwoo Park		CPU7: cpu@103 {
1874807c71cSJoonwoo Park			device_type = "cpu";
1884807c71cSJoonwoo Park			compatible = "arm,armv8";
1894807c71cSJoonwoo Park			reg = <0x0 0x103>;
1904807c71cSJoonwoo Park			enable-method = "psci";
1914807c71cSJoonwoo Park			efficiency = <1536>;
1924807c71cSJoonwoo Park			next-level-cache = <&L2_1>;
1934807c71cSJoonwoo Park			L1_I_103: l1-icache {
1944807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1954807c71cSJoonwoo Park			};
1964807c71cSJoonwoo Park			L1_D_103: l1-dcache {
1974807c71cSJoonwoo Park				compatible = "arm,arch-cache";
1984807c71cSJoonwoo Park			};
1994807c71cSJoonwoo Park		};
2004807c71cSJoonwoo Park
2014807c71cSJoonwoo Park		cpu-map {
2024807c71cSJoonwoo Park			cluster0 {
2034807c71cSJoonwoo Park				core0 {
2044807c71cSJoonwoo Park					cpu = <&CPU0>;
2054807c71cSJoonwoo Park				};
2064807c71cSJoonwoo Park
2074807c71cSJoonwoo Park				core1 {
2084807c71cSJoonwoo Park					cpu = <&CPU1>;
2094807c71cSJoonwoo Park				};
2104807c71cSJoonwoo Park
2114807c71cSJoonwoo Park				core2 {
2124807c71cSJoonwoo Park					cpu = <&CPU2>;
2134807c71cSJoonwoo Park				};
2144807c71cSJoonwoo Park
2154807c71cSJoonwoo Park				core3 {
2164807c71cSJoonwoo Park					cpu = <&CPU3>;
2174807c71cSJoonwoo Park				};
2184807c71cSJoonwoo Park			};
2194807c71cSJoonwoo Park
2204807c71cSJoonwoo Park			cluster1 {
2214807c71cSJoonwoo Park				core0 {
2224807c71cSJoonwoo Park					cpu = <&CPU4>;
2234807c71cSJoonwoo Park				};
2244807c71cSJoonwoo Park
2254807c71cSJoonwoo Park				core1 {
2264807c71cSJoonwoo Park					cpu = <&CPU5>;
2274807c71cSJoonwoo Park				};
2284807c71cSJoonwoo Park
2294807c71cSJoonwoo Park				core2 {
2304807c71cSJoonwoo Park					cpu = <&CPU6>;
2314807c71cSJoonwoo Park				};
2324807c71cSJoonwoo Park
2334807c71cSJoonwoo Park				core3 {
2344807c71cSJoonwoo Park					cpu = <&CPU7>;
2354807c71cSJoonwoo Park				};
2364807c71cSJoonwoo Park			};
2374807c71cSJoonwoo Park		};
2384807c71cSJoonwoo Park	};
2394807c71cSJoonwoo Park
240*c7833949SBjorn Andersson	tcsr_mutex: hwlock {
241*c7833949SBjorn Andersson		compatible = "qcom,tcsr-mutex";
242*c7833949SBjorn Andersson		syscon = <&tcsr_mutex_regs 0 0x1000>;
243*c7833949SBjorn Andersson		#hwlock-cells = <1>;
244*c7833949SBjorn Andersson	};
245*c7833949SBjorn Andersson
2464807c71cSJoonwoo Park	psci {
2474807c71cSJoonwoo Park		compatible = "arm,psci-1.0";
2484807c71cSJoonwoo Park		method = "smc";
2494807c71cSJoonwoo Park	};
2504807c71cSJoonwoo Park
25131c1f0e3SBjorn Andersson	rpm-glink {
25231c1f0e3SBjorn Andersson		compatible = "qcom,glink-rpm";
25331c1f0e3SBjorn Andersson
25431c1f0e3SBjorn Andersson		interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
25531c1f0e3SBjorn Andersson		qcom,rpm-msg-ram = <&rpm_msg_ram>;
25631c1f0e3SBjorn Andersson		mboxes = <&apcs_glb 0>;
25731c1f0e3SBjorn Andersson
25831c1f0e3SBjorn Andersson		rpm_requests: rpm-requests {
25931c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msm8998";
26031c1f0e3SBjorn Andersson			qcom,glink-channels = "rpm_requests";
26131c1f0e3SBjorn Andersson		};
26231c1f0e3SBjorn Andersson	};
26331c1f0e3SBjorn Andersson
264*c7833949SBjorn Andersson	smem {
265*c7833949SBjorn Andersson		compatible = "qcom,smem";
266*c7833949SBjorn Andersson		memory-region = <&smem_mem>;
267*c7833949SBjorn Andersson		hwlocks = <&tcsr_mutex 3>;
268*c7833949SBjorn Andersson	};
269*c7833949SBjorn Andersson
2704449b6f2SBjorn Andersson	thermal-zones {
2714449b6f2SBjorn Andersson		cpu-thermal0 {
2724449b6f2SBjorn Andersson			polling-delay-passive = <250>;
2734449b6f2SBjorn Andersson			polling-delay = <1000>;
2744449b6f2SBjorn Andersson
2754449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 6>;
2764449b6f2SBjorn Andersson
2774449b6f2SBjorn Andersson			trips {
2784449b6f2SBjorn Andersson				cpu_alert0: trip0 {
2794449b6f2SBjorn Andersson					temperature = <75000>;
2804449b6f2SBjorn Andersson					hysteresis = <2000>;
2814449b6f2SBjorn Andersson					type = "passive";
2824449b6f2SBjorn Andersson				};
2834449b6f2SBjorn Andersson
2844449b6f2SBjorn Andersson				cpu_crit0: trip1 {
2854449b6f2SBjorn Andersson					temperature = <110000>;
2864449b6f2SBjorn Andersson					hysteresis = <2000>;
2874449b6f2SBjorn Andersson					type = "critical";
2884449b6f2SBjorn Andersson				};
2894449b6f2SBjorn Andersson			};
2904449b6f2SBjorn Andersson		};
2914449b6f2SBjorn Andersson
2924449b6f2SBjorn Andersson		cpu-thermal1 {
2934449b6f2SBjorn Andersson			polling-delay-passive = <250>;
2944449b6f2SBjorn Andersson			polling-delay = <1000>;
2954449b6f2SBjorn Andersson
2964449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 7>;
2974449b6f2SBjorn Andersson
2984449b6f2SBjorn Andersson			trips {
2994449b6f2SBjorn Andersson				cpu_alert1: trip0 {
3004449b6f2SBjorn Andersson					temperature = <75000>;
3014449b6f2SBjorn Andersson					hysteresis = <2000>;
3024449b6f2SBjorn Andersson					type = "passive";
3034449b6f2SBjorn Andersson				};
3044449b6f2SBjorn Andersson
3054449b6f2SBjorn Andersson				cpu_crit1: trip1 {
3064449b6f2SBjorn Andersson					temperature = <110000>;
3074449b6f2SBjorn Andersson					hysteresis = <2000>;
3084449b6f2SBjorn Andersson					type = "critical";
3094449b6f2SBjorn Andersson				};
3104449b6f2SBjorn Andersson			};
3114449b6f2SBjorn Andersson		};
3124449b6f2SBjorn Andersson
3134449b6f2SBjorn Andersson		cpu-thermal2 {
3144449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3154449b6f2SBjorn Andersson			polling-delay = <1000>;
3164449b6f2SBjorn Andersson
3174449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 8>;
3184449b6f2SBjorn Andersson
3194449b6f2SBjorn Andersson			trips {
3204449b6f2SBjorn Andersson				cpu_alert2: trip0 {
3214449b6f2SBjorn Andersson					temperature = <75000>;
3224449b6f2SBjorn Andersson					hysteresis = <2000>;
3234449b6f2SBjorn Andersson					type = "passive";
3244449b6f2SBjorn Andersson				};
3254449b6f2SBjorn Andersson
3264449b6f2SBjorn Andersson				cpu_crit2: trip1 {
3274449b6f2SBjorn Andersson					temperature = <110000>;
3284449b6f2SBjorn Andersson					hysteresis = <2000>;
3294449b6f2SBjorn Andersson					type = "critical";
3304449b6f2SBjorn Andersson				};
3314449b6f2SBjorn Andersson			};
3324449b6f2SBjorn Andersson		};
3334449b6f2SBjorn Andersson
3344449b6f2SBjorn Andersson		cpu-thermal3 {
3354449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3364449b6f2SBjorn Andersson			polling-delay = <1000>;
3374449b6f2SBjorn Andersson
3384449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 9>;
3394449b6f2SBjorn Andersson
3404449b6f2SBjorn Andersson			trips {
3414449b6f2SBjorn Andersson				cpu_alert3: trip0 {
3424449b6f2SBjorn Andersson					temperature = <75000>;
3434449b6f2SBjorn Andersson					hysteresis = <2000>;
3444449b6f2SBjorn Andersson					type = "passive";
3454449b6f2SBjorn Andersson				};
3464449b6f2SBjorn Andersson
3474449b6f2SBjorn Andersson				cpu_crit3: trip1 {
3484449b6f2SBjorn Andersson					temperature = <110000>;
3494449b6f2SBjorn Andersson					hysteresis = <2000>;
3504449b6f2SBjorn Andersson					type = "critical";
3514449b6f2SBjorn Andersson				};
3524449b6f2SBjorn Andersson			};
3534449b6f2SBjorn Andersson		};
3544449b6f2SBjorn Andersson
3554449b6f2SBjorn Andersson		cpu-thermal4 {
3564449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3574449b6f2SBjorn Andersson			polling-delay = <1000>;
3584449b6f2SBjorn Andersson
3594449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 10>;
3604449b6f2SBjorn Andersson
3614449b6f2SBjorn Andersson			trips {
3624449b6f2SBjorn Andersson				cpu_alert4: trip0 {
3634449b6f2SBjorn Andersson					temperature = <75000>;
3644449b6f2SBjorn Andersson					hysteresis = <2000>;
3654449b6f2SBjorn Andersson					type = "passive";
3664449b6f2SBjorn Andersson				};
3674449b6f2SBjorn Andersson
3684449b6f2SBjorn Andersson				cpu_crit4: trip1 {
3694449b6f2SBjorn Andersson					temperature = <110000>;
3704449b6f2SBjorn Andersson					hysteresis = <2000>;
3714449b6f2SBjorn Andersson					type = "critical";
3724449b6f2SBjorn Andersson				};
3734449b6f2SBjorn Andersson			};
3744449b6f2SBjorn Andersson		};
3754449b6f2SBjorn Andersson
3764449b6f2SBjorn Andersson		cpu-thermal5 {
3774449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3784449b6f2SBjorn Andersson			polling-delay = <1000>;
3794449b6f2SBjorn Andersson
3804449b6f2SBjorn Andersson			thermal-sensors = <&tsens0 11>;
3814449b6f2SBjorn Andersson
3824449b6f2SBjorn Andersson			trips {
3834449b6f2SBjorn Andersson				cpu_alert5: trip0 {
3844449b6f2SBjorn Andersson					temperature = <75000>;
3854449b6f2SBjorn Andersson					hysteresis = <2000>;
3864449b6f2SBjorn Andersson					type = "passive";
3874449b6f2SBjorn Andersson				};
3884449b6f2SBjorn Andersson
3894449b6f2SBjorn Andersson				cpu_crit5: trip1 {
3904449b6f2SBjorn Andersson					temperature = <110000>;
3914449b6f2SBjorn Andersson					hysteresis = <2000>;
3924449b6f2SBjorn Andersson					type = "critical";
3934449b6f2SBjorn Andersson				};
3944449b6f2SBjorn Andersson			};
3954449b6f2SBjorn Andersson		};
3964449b6f2SBjorn Andersson
3974449b6f2SBjorn Andersson		cpu-thermal6 {
3984449b6f2SBjorn Andersson			polling-delay-passive = <250>;
3994449b6f2SBjorn Andersson			polling-delay = <1000>;
4004449b6f2SBjorn Andersson
4014449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 0>;
4024449b6f2SBjorn Andersson
4034449b6f2SBjorn Andersson			trips {
4044449b6f2SBjorn Andersson				cpu_alert6: trip0 {
4054449b6f2SBjorn Andersson					temperature = <75000>;
4064449b6f2SBjorn Andersson					hysteresis = <2000>;
4074449b6f2SBjorn Andersson					type = "passive";
4084449b6f2SBjorn Andersson				};
4094449b6f2SBjorn Andersson
4104449b6f2SBjorn Andersson				cpu_crit6: trip1 {
4114449b6f2SBjorn Andersson					temperature = <110000>;
4124449b6f2SBjorn Andersson					hysteresis = <2000>;
4134449b6f2SBjorn Andersson					type = "critical";
4144449b6f2SBjorn Andersson				};
4154449b6f2SBjorn Andersson			};
4164449b6f2SBjorn Andersson		};
4174449b6f2SBjorn Andersson
4184449b6f2SBjorn Andersson		cpu-thermal7 {
4194449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4204449b6f2SBjorn Andersson			polling-delay = <1000>;
4214449b6f2SBjorn Andersson
4224449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 1>;
4234449b6f2SBjorn Andersson
4244449b6f2SBjorn Andersson			trips {
4254449b6f2SBjorn Andersson				cpu_alert7: trip0 {
4264449b6f2SBjorn Andersson					temperature = <75000>;
4274449b6f2SBjorn Andersson					hysteresis = <2000>;
4284449b6f2SBjorn Andersson					type = "passive";
4294449b6f2SBjorn Andersson				};
4304449b6f2SBjorn Andersson
4314449b6f2SBjorn Andersson				cpu_crit7: trip1 {
4324449b6f2SBjorn Andersson					temperature = <110000>;
4334449b6f2SBjorn Andersson					hysteresis = <2000>;
4344449b6f2SBjorn Andersson					type = "critical";
4354449b6f2SBjorn Andersson				};
4364449b6f2SBjorn Andersson			};
4374449b6f2SBjorn Andersson		};
4384449b6f2SBjorn Andersson
4394449b6f2SBjorn Andersson		gpu-thermal {
4404449b6f2SBjorn Andersson			polling-delay-passive = <250>;
4414449b6f2SBjorn Andersson			polling-delay = <1000>;
4424449b6f2SBjorn Andersson
4434449b6f2SBjorn Andersson			thermal-sensors = <&tsens1 3>;
4444449b6f2SBjorn Andersson		};
4454449b6f2SBjorn Andersson	};
4464449b6f2SBjorn Andersson
4474807c71cSJoonwoo Park	timer {
4484807c71cSJoonwoo Park		compatible = "arm,armv8-timer";
4494807c71cSJoonwoo Park		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>,
4504807c71cSJoonwoo Park			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>,
4514807c71cSJoonwoo Park			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>,
4524807c71cSJoonwoo Park			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>;
4534807c71cSJoonwoo Park	};
4544807c71cSJoonwoo Park
4554807c71cSJoonwoo Park	soc: soc {
4564807c71cSJoonwoo Park		#address-cells = <1>;
4574807c71cSJoonwoo Park		#size-cells = <1>;
4584807c71cSJoonwoo Park		ranges = <0 0 0 0xffffffff>;
4594807c71cSJoonwoo Park		compatible = "simple-bus";
4604807c71cSJoonwoo Park
46131c1f0e3SBjorn Andersson		rpm_msg_ram: memory@68000 {
46231c1f0e3SBjorn Andersson			compatible = "qcom,rpm-msg-ram";
46331c1f0e3SBjorn Andersson			reg = <0x778000 0x7000>;
46431c1f0e3SBjorn Andersson		};
46531c1f0e3SBjorn Andersson
4664807c71cSJoonwoo Park		gcc: clock-controller@100000 {
4674807c71cSJoonwoo Park			compatible = "qcom,gcc-msm8998";
4684807c71cSJoonwoo Park			#clock-cells = <1>;
4694807c71cSJoonwoo Park			#reset-cells = <1>;
4704807c71cSJoonwoo Park			#power-domain-cells = <1>;
4714807c71cSJoonwoo Park			reg = <0x100000 0xb0000>;
4724807c71cSJoonwoo Park		};
4734807c71cSJoonwoo Park
4744807c71cSJoonwoo Park		tlmm: pinctrl@3400000 {
4754807c71cSJoonwoo Park			compatible = "qcom,msm8998-pinctrl";
4764807c71cSJoonwoo Park			reg = <0x3400000 0xc00000>;
4774807c71cSJoonwoo Park			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
4784807c71cSJoonwoo Park			gpio-controller;
4794807c71cSJoonwoo Park			#gpio-cells = <0x2>;
4804807c71cSJoonwoo Park			interrupt-controller;
4814807c71cSJoonwoo Park			#interrupt-cells = <0x2>;
4824807c71cSJoonwoo Park		};
4834807c71cSJoonwoo Park
4844807c71cSJoonwoo Park		spmi_bus: spmi@800f000 {
4854807c71cSJoonwoo Park			compatible = "qcom,spmi-pmic-arb";
4864807c71cSJoonwoo Park			reg =	<0x800f000 0x1000>,
4874807c71cSJoonwoo Park				<0x8400000 0x1000000>,
4884807c71cSJoonwoo Park				<0x9400000 0x1000000>,
4894807c71cSJoonwoo Park				<0xa400000 0x220000>,
4904807c71cSJoonwoo Park				<0x800a000 0x3000>;
4914807c71cSJoonwoo Park			reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
4924807c71cSJoonwoo Park			interrupt-names = "periph_irq";
4934807c71cSJoonwoo Park			interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>;
4944807c71cSJoonwoo Park			qcom,ee = <0>;
4954807c71cSJoonwoo Park			qcom,channel = <0>;
4964807c71cSJoonwoo Park			#address-cells = <2>;
4974807c71cSJoonwoo Park			#size-cells = <0>;
4984807c71cSJoonwoo Park			interrupt-controller;
4994807c71cSJoonwoo Park			#interrupt-cells = <4>;
5004807c71cSJoonwoo Park			cell-index = <0>;
5014807c71cSJoonwoo Park		};
5024807c71cSJoonwoo Park
5034449b6f2SBjorn Andersson		tsens0: thermal@10aa000 {
5044449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
5054449b6f2SBjorn Andersson			reg = <0x10aa000 0x2000>;
5064449b6f2SBjorn Andersson
5074449b6f2SBjorn Andersson			#qcom,sensors = <12>;
5084449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
5094449b6f2SBjorn Andersson		};
5104449b6f2SBjorn Andersson
5114449b6f2SBjorn Andersson		tsens1: thermal@10ad000 {
5124449b6f2SBjorn Andersson			compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
5134449b6f2SBjorn Andersson			reg = <0x10ad000 0x2000>;
5144449b6f2SBjorn Andersson
5154449b6f2SBjorn Andersson			#qcom,sensors = <8>;
5164449b6f2SBjorn Andersson			#thermal-sensor-cells = <1>;
5174449b6f2SBjorn Andersson		};
5184449b6f2SBjorn Andersson
519*c7833949SBjorn Andersson		tcsr_mutex_regs: syscon@1f40000 {
520*c7833949SBjorn Andersson			compatible = "syscon";
521*c7833949SBjorn Andersson			reg = <0x1f40000 0x20000>;
522*c7833949SBjorn Andersson		};
523*c7833949SBjorn Andersson
52431c1f0e3SBjorn Andersson		apcs_glb: mailbox@9820000 {
52531c1f0e3SBjorn Andersson			compatible = "qcom,msm8998-apcs-hmss-global";
52631c1f0e3SBjorn Andersson			reg = <0x17911000 0x1000>;
52731c1f0e3SBjorn Andersson
52831c1f0e3SBjorn Andersson			#mbox-cells = <1>;
52931c1f0e3SBjorn Andersson		};
53031c1f0e3SBjorn Andersson
5314807c71cSJoonwoo Park		blsp2_uart1: serial@c1b0000 {
5324807c71cSJoonwoo Park			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
5334807c71cSJoonwoo Park			reg = <0xc1b0000 0x1000>;
5344807c71cSJoonwoo Park			interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>;
5354807c71cSJoonwoo Park			clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
5364807c71cSJoonwoo Park				 <&gcc GCC_BLSP2_AHB_CLK>;
5374807c71cSJoonwoo Park			clock-names = "core", "iface";
5384807c71cSJoonwoo Park			status = "disabled";
5394807c71cSJoonwoo Park		};
5404807c71cSJoonwoo Park
5414807c71cSJoonwoo Park		timer@17920000 {
5424807c71cSJoonwoo Park			#address-cells = <1>;
5434807c71cSJoonwoo Park			#size-cells = <1>;
5444807c71cSJoonwoo Park			ranges;
5454807c71cSJoonwoo Park			compatible = "arm,armv7-timer-mem";
5464807c71cSJoonwoo Park			reg = <0x17920000 0x1000>;
5474807c71cSJoonwoo Park
5484807c71cSJoonwoo Park			frame@17921000 {
5494807c71cSJoonwoo Park				frame-number = <0>;
5504807c71cSJoonwoo Park				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
5514807c71cSJoonwoo Park					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
5524807c71cSJoonwoo Park				reg = <0x17921000 0x1000>,
5534807c71cSJoonwoo Park				      <0x17922000 0x1000>;
5544807c71cSJoonwoo Park			};
5554807c71cSJoonwoo Park
5564807c71cSJoonwoo Park			frame@17923000 {
5574807c71cSJoonwoo Park				frame-number = <1>;
5584807c71cSJoonwoo Park				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
5594807c71cSJoonwoo Park				reg = <0x17923000 0x1000>;
5604807c71cSJoonwoo Park				status = "disabled";
5614807c71cSJoonwoo Park			};
5624807c71cSJoonwoo Park
5634807c71cSJoonwoo Park			frame@17924000 {
5644807c71cSJoonwoo Park				frame-number = <2>;
5654807c71cSJoonwoo Park				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
5664807c71cSJoonwoo Park				reg = <0x17924000 0x1000>;
5674807c71cSJoonwoo Park				status = "disabled";
5684807c71cSJoonwoo Park			};
5694807c71cSJoonwoo Park
5704807c71cSJoonwoo Park			frame@17925000 {
5714807c71cSJoonwoo Park				frame-number = <3>;
5724807c71cSJoonwoo Park				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
5734807c71cSJoonwoo Park				reg = <0x17925000 0x1000>;
5744807c71cSJoonwoo Park				status = "disabled";
5754807c71cSJoonwoo Park			};
5764807c71cSJoonwoo Park
5774807c71cSJoonwoo Park			frame@17926000 {
5784807c71cSJoonwoo Park				frame-number = <4>;
5794807c71cSJoonwoo Park				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
5804807c71cSJoonwoo Park				reg = <0x17926000 0x1000>;
5814807c71cSJoonwoo Park				status = "disabled";
5824807c71cSJoonwoo Park			};
5834807c71cSJoonwoo Park
5844807c71cSJoonwoo Park			frame@17927000 {
5854807c71cSJoonwoo Park				frame-number = <5>;
5864807c71cSJoonwoo Park				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
5874807c71cSJoonwoo Park				reg = <0x17927000 0x1000>;
5884807c71cSJoonwoo Park				status = "disabled";
5894807c71cSJoonwoo Park			};
5904807c71cSJoonwoo Park
5914807c71cSJoonwoo Park			frame@17928000 {
5924807c71cSJoonwoo Park				frame-number = <6>;
5934807c71cSJoonwoo Park				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
5944807c71cSJoonwoo Park				reg = <0x17928000 0x1000>;
5954807c71cSJoonwoo Park				status = "disabled";
5964807c71cSJoonwoo Park			};
5974807c71cSJoonwoo Park		};
5984807c71cSJoonwoo Park
5994807c71cSJoonwoo Park		intc: interrupt-controller@17a00000 {
6004807c71cSJoonwoo Park			compatible = "arm,gic-v3";
6014807c71cSJoonwoo Park			reg = <0x17a00000 0x10000>,       /* GICD */
6024807c71cSJoonwoo Park			      <0x17b00000 0x100000>;      /* GICR * 8 */
6034807c71cSJoonwoo Park			#interrupt-cells = <3>;
6044807c71cSJoonwoo Park			#address-cells = <1>;
6054807c71cSJoonwoo Park			#size-cells = <1>;
6064807c71cSJoonwoo Park			ranges;
6074807c71cSJoonwoo Park			interrupt-controller;
6084807c71cSJoonwoo Park			#redistributor-regions = <1>;
6094807c71cSJoonwoo Park			redistributor-stride = <0x0 0x20000>;
6104807c71cSJoonwoo Park			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
6114807c71cSJoonwoo Park		};
6124807c71cSJoonwoo Park	};
6134807c71cSJoonwoo Park};
614