xref: /freebsd/sys/contrib/device-tree/src/arm64/qcom/msm8937.dtsi (revision 0cd4430a9320c916a84617b6bbf400f5c64a09c7)
196fb1ebdSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
296fb1ebdSEmmanuel Vadot/*
396fb1ebdSEmmanuel Vadot * Copyright (c) 2023, Dang Huynh <danct12@riseup.net>
496fb1ebdSEmmanuel Vadot */
596fb1ebdSEmmanuel Vadot
696fb1ebdSEmmanuel Vadot#include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
796fb1ebdSEmmanuel Vadot#include <dt-bindings/clock/qcom,gcc-msm8917.h>
896fb1ebdSEmmanuel Vadot#include <dt-bindings/clock/qcom,rpmcc.h>
996fb1ebdSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
1096fb1ebdSEmmanuel Vadot#include <dt-bindings/power/qcom-rpmpd.h>
1196fb1ebdSEmmanuel Vadot#include <dt-bindings/thermal/thermal.h>
1296fb1ebdSEmmanuel Vadot
1396fb1ebdSEmmanuel Vadot/ {
1496fb1ebdSEmmanuel Vadot	interrupt-parent = <&intc>;
1596fb1ebdSEmmanuel Vadot
1696fb1ebdSEmmanuel Vadot	#address-cells = <2>;
1796fb1ebdSEmmanuel Vadot	#size-cells = <2>;
1896fb1ebdSEmmanuel Vadot
1996fb1ebdSEmmanuel Vadot	clocks {
2096fb1ebdSEmmanuel Vadot		xo_board: xo-board {
2196fb1ebdSEmmanuel Vadot			compatible = "fixed-clock";
2296fb1ebdSEmmanuel Vadot			#clock-cells = <0>;
2396fb1ebdSEmmanuel Vadot		};
2496fb1ebdSEmmanuel Vadot
2596fb1ebdSEmmanuel Vadot		sleep_clk: sleep-clk {
2696fb1ebdSEmmanuel Vadot			compatible = "fixed-clock";
2796fb1ebdSEmmanuel Vadot			#clock-cells = <0>;
2896fb1ebdSEmmanuel Vadot		};
2996fb1ebdSEmmanuel Vadot	};
3096fb1ebdSEmmanuel Vadot
3196fb1ebdSEmmanuel Vadot	cpus {
3296fb1ebdSEmmanuel Vadot		#address-cells = <1>;
3396fb1ebdSEmmanuel Vadot		#size-cells = <0>;
3496fb1ebdSEmmanuel Vadot
3596fb1ebdSEmmanuel Vadot		cpu0: cpu@0 {
3696fb1ebdSEmmanuel Vadot			compatible = "arm,cortex-a53";
3796fb1ebdSEmmanuel Vadot			reg = <0x0>;
3896fb1ebdSEmmanuel Vadot			device_type = "cpu";
3996fb1ebdSEmmanuel Vadot			enable-method = "psci";
4096fb1ebdSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table_c0>;
4196fb1ebdSEmmanuel Vadot			next-level-cache = <&l2_0>;
4296fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
4396fb1ebdSEmmanuel Vadot
4496fb1ebdSEmmanuel Vadot			l2_0: l2-cache {
4596fb1ebdSEmmanuel Vadot				compatible = "cache";
4696fb1ebdSEmmanuel Vadot				cache-level = <2>;
4796fb1ebdSEmmanuel Vadot				cache-size = <0x80000>;
4896fb1ebdSEmmanuel Vadot				cache-unified;
4996fb1ebdSEmmanuel Vadot			};
5096fb1ebdSEmmanuel Vadot		};
5196fb1ebdSEmmanuel Vadot
5296fb1ebdSEmmanuel Vadot		cpu1: cpu@1 {
5396fb1ebdSEmmanuel Vadot			compatible = "arm,cortex-a53";
5496fb1ebdSEmmanuel Vadot			reg = <0x1>;
5596fb1ebdSEmmanuel Vadot			device_type = "cpu";
5696fb1ebdSEmmanuel Vadot			enable-method = "psci";
5796fb1ebdSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table_c0>;
5896fb1ebdSEmmanuel Vadot			next-level-cache = <&l2_0>;
5996fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
6096fb1ebdSEmmanuel Vadot		};
6196fb1ebdSEmmanuel Vadot
6296fb1ebdSEmmanuel Vadot		cpu2: cpu@2 {
6396fb1ebdSEmmanuel Vadot			compatible = "arm,cortex-a53";
6496fb1ebdSEmmanuel Vadot			reg = <0x2>;
6596fb1ebdSEmmanuel Vadot			device_type = "cpu";
6696fb1ebdSEmmanuel Vadot			enable-method = "psci";
6796fb1ebdSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table_c0>;
6896fb1ebdSEmmanuel Vadot			next-level-cache = <&l2_0>;
6996fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
7096fb1ebdSEmmanuel Vadot		};
7196fb1ebdSEmmanuel Vadot
7296fb1ebdSEmmanuel Vadot		cpu3: cpu@3 {
7396fb1ebdSEmmanuel Vadot			compatible = "arm,cortex-a53";
7496fb1ebdSEmmanuel Vadot			reg = <0x3>;
7596fb1ebdSEmmanuel Vadot			device_type = "cpu";
7696fb1ebdSEmmanuel Vadot			enable-method = "psci";
7796fb1ebdSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table_c0>;
7896fb1ebdSEmmanuel Vadot			next-level-cache = <&l2_0>;
7996fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
8096fb1ebdSEmmanuel Vadot		};
8196fb1ebdSEmmanuel Vadot
8296fb1ebdSEmmanuel Vadot		cpu4: cpu@100 {
8396fb1ebdSEmmanuel Vadot			compatible = "arm,cortex-a53";
8496fb1ebdSEmmanuel Vadot			reg = <0x100>;
8596fb1ebdSEmmanuel Vadot			device_type = "cpu";
8696fb1ebdSEmmanuel Vadot			next-level-cache = <&l2_1>;
8796fb1ebdSEmmanuel Vadot			enable-method = "psci";
8896fb1ebdSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table_c1>;
8996fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
9096fb1ebdSEmmanuel Vadot
9196fb1ebdSEmmanuel Vadot			l2_1: l2-cache {
9296fb1ebdSEmmanuel Vadot				compatible = "cache";
9396fb1ebdSEmmanuel Vadot				cache-level = <2>;
9496fb1ebdSEmmanuel Vadot				cache-size = <0x100000>;
9596fb1ebdSEmmanuel Vadot				cache-unified;
9696fb1ebdSEmmanuel Vadot			};
9796fb1ebdSEmmanuel Vadot		};
9896fb1ebdSEmmanuel Vadot
9996fb1ebdSEmmanuel Vadot		cpu5: cpu@101 {
10096fb1ebdSEmmanuel Vadot			compatible = "arm,cortex-a53";
10196fb1ebdSEmmanuel Vadot			reg = <0x101>;
10296fb1ebdSEmmanuel Vadot			device_type = "cpu";
10396fb1ebdSEmmanuel Vadot			next-level-cache = <&l2_1>;
10496fb1ebdSEmmanuel Vadot			enable-method = "psci";
10596fb1ebdSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table_c1>;
10696fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
10796fb1ebdSEmmanuel Vadot		};
10896fb1ebdSEmmanuel Vadot
10996fb1ebdSEmmanuel Vadot		cpu6: cpu@102 {
11096fb1ebdSEmmanuel Vadot			compatible = "arm,cortex-a53";
11196fb1ebdSEmmanuel Vadot			reg = <0x102>;
11296fb1ebdSEmmanuel Vadot			device_type = "cpu";
11396fb1ebdSEmmanuel Vadot			next-level-cache = <&l2_1>;
11496fb1ebdSEmmanuel Vadot			enable-method = "psci";
11596fb1ebdSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table_c1>;
11696fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
11796fb1ebdSEmmanuel Vadot		};
11896fb1ebdSEmmanuel Vadot
11996fb1ebdSEmmanuel Vadot		cpu7: cpu@103 {
12096fb1ebdSEmmanuel Vadot			compatible = "arm,cortex-a53";
12196fb1ebdSEmmanuel Vadot			reg = <0x103>;
12296fb1ebdSEmmanuel Vadot			device_type = "cpu";
12396fb1ebdSEmmanuel Vadot			next-level-cache = <&l2_1>;
12496fb1ebdSEmmanuel Vadot			enable-method = "psci";
12596fb1ebdSEmmanuel Vadot			operating-points-v2 = <&cpu_opp_table_c1>;
12696fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
12796fb1ebdSEmmanuel Vadot		};
12896fb1ebdSEmmanuel Vadot
12996fb1ebdSEmmanuel Vadot		cpu-map {
13096fb1ebdSEmmanuel Vadot			/* Little Cores */
13196fb1ebdSEmmanuel Vadot			cluster0 {
13296fb1ebdSEmmanuel Vadot				core0 {
13396fb1ebdSEmmanuel Vadot					cpu = <&cpu0>;
13496fb1ebdSEmmanuel Vadot				};
13596fb1ebdSEmmanuel Vadot
13696fb1ebdSEmmanuel Vadot				core1 {
13796fb1ebdSEmmanuel Vadot					cpu = <&cpu1>;
13896fb1ebdSEmmanuel Vadot				};
13996fb1ebdSEmmanuel Vadot
14096fb1ebdSEmmanuel Vadot				core2 {
14196fb1ebdSEmmanuel Vadot					cpu = <&cpu2>;
14296fb1ebdSEmmanuel Vadot				};
14396fb1ebdSEmmanuel Vadot
14496fb1ebdSEmmanuel Vadot				core3 {
14596fb1ebdSEmmanuel Vadot					cpu = <&cpu3>;
14696fb1ebdSEmmanuel Vadot				};
14796fb1ebdSEmmanuel Vadot			};
14896fb1ebdSEmmanuel Vadot
14996fb1ebdSEmmanuel Vadot			/* Big Cores */
15096fb1ebdSEmmanuel Vadot			cluster1 {
15196fb1ebdSEmmanuel Vadot				core0 {
15296fb1ebdSEmmanuel Vadot					cpu = <&cpu4>;
15396fb1ebdSEmmanuel Vadot				};
15496fb1ebdSEmmanuel Vadot
15596fb1ebdSEmmanuel Vadot				core1 {
15696fb1ebdSEmmanuel Vadot					cpu = <&cpu5>;
15796fb1ebdSEmmanuel Vadot				};
15896fb1ebdSEmmanuel Vadot
15996fb1ebdSEmmanuel Vadot				core2 {
16096fb1ebdSEmmanuel Vadot					cpu = <&cpu6>;
16196fb1ebdSEmmanuel Vadot				};
16296fb1ebdSEmmanuel Vadot
16396fb1ebdSEmmanuel Vadot				core3 {
16496fb1ebdSEmmanuel Vadot					cpu = <&cpu7>;
16596fb1ebdSEmmanuel Vadot				};
16696fb1ebdSEmmanuel Vadot			};
16796fb1ebdSEmmanuel Vadot		};
16896fb1ebdSEmmanuel Vadot	};
16996fb1ebdSEmmanuel Vadot
17096fb1ebdSEmmanuel Vadot	firmware {
17196fb1ebdSEmmanuel Vadot		scm: scm {
17296fb1ebdSEmmanuel Vadot			compatible = "qcom,scm-msm8937", "qcom,scm";
17396fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_CRYPTO_CLK>,
17496fb1ebdSEmmanuel Vadot				 <&gcc GCC_CRYPTO_AXI_CLK>,
17596fb1ebdSEmmanuel Vadot				 <&gcc GCC_CRYPTO_AHB_CLK>;
17696fb1ebdSEmmanuel Vadot			clock-names = "core",
17796fb1ebdSEmmanuel Vadot				      "bus",
17896fb1ebdSEmmanuel Vadot				      "iface";
17996fb1ebdSEmmanuel Vadot			#reset-cells = <1>;
18096fb1ebdSEmmanuel Vadot
18196fb1ebdSEmmanuel Vadot			qcom,dload-mode = <&tcsr 0x6100>;
18296fb1ebdSEmmanuel Vadot		};
18396fb1ebdSEmmanuel Vadot	};
18496fb1ebdSEmmanuel Vadot
18596fb1ebdSEmmanuel Vadot	memory@80000000 {
18696fb1ebdSEmmanuel Vadot		/* We expect the bootloader to fill in the reg */
18796fb1ebdSEmmanuel Vadot		reg = <0 0x80000000 0 0>;
18896fb1ebdSEmmanuel Vadot		device_type = "memory";
18996fb1ebdSEmmanuel Vadot	};
19096fb1ebdSEmmanuel Vadot
19196fb1ebdSEmmanuel Vadot	reserved-memory {
19296fb1ebdSEmmanuel Vadot		ranges;
19396fb1ebdSEmmanuel Vadot		#address-cells = <2>;
19496fb1ebdSEmmanuel Vadot		#size-cells = <2>;
19596fb1ebdSEmmanuel Vadot
19696fb1ebdSEmmanuel Vadot		qseecom_mem: reserved@85b00000 {
19796fb1ebdSEmmanuel Vadot			reg = <0x0 0x85b00000 0x0 0x800000>;
19896fb1ebdSEmmanuel Vadot			no-map;
19996fb1ebdSEmmanuel Vadot		};
20096fb1ebdSEmmanuel Vadot
20196fb1ebdSEmmanuel Vadot		smem@86300000 {
20296fb1ebdSEmmanuel Vadot			compatible = "qcom,smem";
20396fb1ebdSEmmanuel Vadot			reg = <0x0 0x86300000 0x0 0x100000>;
20496fb1ebdSEmmanuel Vadot			no-map;
20596fb1ebdSEmmanuel Vadot
20696fb1ebdSEmmanuel Vadot			hwlocks = <&tcsr_mutex 3>;
20796fb1ebdSEmmanuel Vadot			qcom,rpm-msg-ram = <&rpm_msg_ram>;
20896fb1ebdSEmmanuel Vadot		};
20996fb1ebdSEmmanuel Vadot
21096fb1ebdSEmmanuel Vadot		reserved@86400000 {
21196fb1ebdSEmmanuel Vadot			reg = <0x0 0x86400000 0x0 0x400000>;
21296fb1ebdSEmmanuel Vadot			no-map;
21396fb1ebdSEmmanuel Vadot		};
21496fb1ebdSEmmanuel Vadot
21596fb1ebdSEmmanuel Vadot		rmtfs@92100000 {
21696fb1ebdSEmmanuel Vadot			compatible = "qcom,rmtfs-mem";
21796fb1ebdSEmmanuel Vadot			reg = <0x0 0x92100000 0x0 0x180000>;
21896fb1ebdSEmmanuel Vadot			no-map;
21996fb1ebdSEmmanuel Vadot
22096fb1ebdSEmmanuel Vadot			qcom,client-id = <1>;
22196fb1ebdSEmmanuel Vadot		};
22296fb1ebdSEmmanuel Vadot
22396fb1ebdSEmmanuel Vadot		adsp_mem: adsp {
22496fb1ebdSEmmanuel Vadot			size = <0x0 0x1100000>;
22596fb1ebdSEmmanuel Vadot			alignment = <0x0 0x100000>;
22696fb1ebdSEmmanuel Vadot			alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
22796fb1ebdSEmmanuel Vadot			no-map;
22896fb1ebdSEmmanuel Vadot			status = "disabled";
22996fb1ebdSEmmanuel Vadot		};
23096fb1ebdSEmmanuel Vadot
23196fb1ebdSEmmanuel Vadot		mba_mem: mba {
23296fb1ebdSEmmanuel Vadot			size = <0x0 0x100000>;
23396fb1ebdSEmmanuel Vadot			alignment = <0x0 0x100000>;
23496fb1ebdSEmmanuel Vadot			alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
23596fb1ebdSEmmanuel Vadot			no-map;
23696fb1ebdSEmmanuel Vadot			status = "disabled";
23796fb1ebdSEmmanuel Vadot		};
23896fb1ebdSEmmanuel Vadot
23996fb1ebdSEmmanuel Vadot		wcnss_mem: wcnss {
24096fb1ebdSEmmanuel Vadot			size = <0x0 0x700000>;
24196fb1ebdSEmmanuel Vadot			alignment = <0x0 0x100000>;
24296fb1ebdSEmmanuel Vadot			alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
24396fb1ebdSEmmanuel Vadot			no-map;
24496fb1ebdSEmmanuel Vadot			status = "disabled";
24596fb1ebdSEmmanuel Vadot		};
24696fb1ebdSEmmanuel Vadot
24796fb1ebdSEmmanuel Vadot		venus_mem: venus {
24896fb1ebdSEmmanuel Vadot			size = <0x0 0x400000>;
24996fb1ebdSEmmanuel Vadot			alignment = <0x0 0x100000>;
25096fb1ebdSEmmanuel Vadot			alloc-ranges = <0x0 0x86800000 0x0 0x8000000>;
25196fb1ebdSEmmanuel Vadot			no-map;
25296fb1ebdSEmmanuel Vadot			status = "disabled";
25396fb1ebdSEmmanuel Vadot		};
25496fb1ebdSEmmanuel Vadot	};
25596fb1ebdSEmmanuel Vadot
25696fb1ebdSEmmanuel Vadot	cpu_opp_table_c0: opp-table-c0 {
25796fb1ebdSEmmanuel Vadot		compatible = "operating-points-v2";
25896fb1ebdSEmmanuel Vadot		opp-shared;
25996fb1ebdSEmmanuel Vadot
26096fb1ebdSEmmanuel Vadot		opp-768000000 {
26196fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <768000000>;
26296fb1ebdSEmmanuel Vadot		};
26396fb1ebdSEmmanuel Vadot
26496fb1ebdSEmmanuel Vadot		opp-902400000 {
26596fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <902400000>;
26696fb1ebdSEmmanuel Vadot		};
26796fb1ebdSEmmanuel Vadot
26896fb1ebdSEmmanuel Vadot		opp-998400000 {
26996fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <998400000>;
27096fb1ebdSEmmanuel Vadot		};
27196fb1ebdSEmmanuel Vadot
27296fb1ebdSEmmanuel Vadot		opp-1094400000 {
27396fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <1094400000>;
27496fb1ebdSEmmanuel Vadot		};
27596fb1ebdSEmmanuel Vadot	};
27696fb1ebdSEmmanuel Vadot
27796fb1ebdSEmmanuel Vadot	cpu_opp_table_c1: opp-table-c1 {
27896fb1ebdSEmmanuel Vadot		compatible = "operating-points-v2";
27996fb1ebdSEmmanuel Vadot		opp-shared;
28096fb1ebdSEmmanuel Vadot
28196fb1ebdSEmmanuel Vadot		opp-960000000 {
28296fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <960000000>;
28396fb1ebdSEmmanuel Vadot		};
28496fb1ebdSEmmanuel Vadot
28596fb1ebdSEmmanuel Vadot		opp-1094400000 {
28696fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <1094400000>;
28796fb1ebdSEmmanuel Vadot		};
28896fb1ebdSEmmanuel Vadot
28996fb1ebdSEmmanuel Vadot		opp-1209600000 {
29096fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <1209600000>;
29196fb1ebdSEmmanuel Vadot		};
29296fb1ebdSEmmanuel Vadot
29396fb1ebdSEmmanuel Vadot		opp-1248000000 {
29496fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <1248000000>;
29596fb1ebdSEmmanuel Vadot		};
29696fb1ebdSEmmanuel Vadot
29796fb1ebdSEmmanuel Vadot		opp-1344000000 {
29896fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <1344000000>;
29996fb1ebdSEmmanuel Vadot		};
30096fb1ebdSEmmanuel Vadot
30196fb1ebdSEmmanuel Vadot		opp-1401600000 {
30296fb1ebdSEmmanuel Vadot			opp-hz = /bits/ 64 <1401600000>;
30396fb1ebdSEmmanuel Vadot		};
30496fb1ebdSEmmanuel Vadot	};
30596fb1ebdSEmmanuel Vadot
30696fb1ebdSEmmanuel Vadot	pmu {
30796fb1ebdSEmmanuel Vadot		compatible = "arm,cortex-a53-pmu";
30896fb1ebdSEmmanuel Vadot		interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
30996fb1ebdSEmmanuel Vadot	};
31096fb1ebdSEmmanuel Vadot
31196fb1ebdSEmmanuel Vadot	psci {
31296fb1ebdSEmmanuel Vadot		compatible = "arm,psci-1.0";
31396fb1ebdSEmmanuel Vadot		method = "smc";
31496fb1ebdSEmmanuel Vadot	};
31596fb1ebdSEmmanuel Vadot
31696fb1ebdSEmmanuel Vadot	rpm: remoteproc {
31796fb1ebdSEmmanuel Vadot		compatible = "qcom,msm8937-rpm-proc", "qcom,rpm-proc";
31896fb1ebdSEmmanuel Vadot
31996fb1ebdSEmmanuel Vadot		smd-edge {
32096fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
32196fb1ebdSEmmanuel Vadot			qcom,ipc = <&apcs1 8 0>;
32296fb1ebdSEmmanuel Vadot			qcom,smd-edge = <15>;
32396fb1ebdSEmmanuel Vadot
32496fb1ebdSEmmanuel Vadot			rpm_requests: rpm-requests {
32596fb1ebdSEmmanuel Vadot				compatible = "qcom,rpm-msm8937", "qcom,smd-rpm";
32696fb1ebdSEmmanuel Vadot				qcom,smd-channels = "rpm_requests";
32796fb1ebdSEmmanuel Vadot
32896fb1ebdSEmmanuel Vadot				rpmcc: clock-controller {
32996fb1ebdSEmmanuel Vadot					compatible = "qcom,rpmcc-msm8937", "qcom,rpmcc";
33096fb1ebdSEmmanuel Vadot					#clock-cells = <1>;
33196fb1ebdSEmmanuel Vadot					clocks = <&xo_board>;
33296fb1ebdSEmmanuel Vadot					clock-names = "xo";
33396fb1ebdSEmmanuel Vadot				};
33496fb1ebdSEmmanuel Vadot
33596fb1ebdSEmmanuel Vadot				rpmpd: power-controller {
33696fb1ebdSEmmanuel Vadot					compatible = "qcom,msm8937-rpmpd", "qcom,msm8917-rpmpd";
33796fb1ebdSEmmanuel Vadot					#power-domain-cells = <1>;
33896fb1ebdSEmmanuel Vadot					operating-points-v2 = <&rpmpd_opp_table>;
33996fb1ebdSEmmanuel Vadot
34096fb1ebdSEmmanuel Vadot					rpmpd_opp_table: opp-table {
34196fb1ebdSEmmanuel Vadot						compatible = "operating-points-v2";
34296fb1ebdSEmmanuel Vadot
34396fb1ebdSEmmanuel Vadot						rpmpd_opp_ret: opp1 {
34496fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_RETENTION>;
34596fb1ebdSEmmanuel Vadot						};
34696fb1ebdSEmmanuel Vadot
34796fb1ebdSEmmanuel Vadot						rpmpd_opp_ret_plus: opp2 {
34896fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>;
34996fb1ebdSEmmanuel Vadot						};
35096fb1ebdSEmmanuel Vadot
35196fb1ebdSEmmanuel Vadot						rpmpd_opp_min_svs: opp3 {
35296fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
35396fb1ebdSEmmanuel Vadot						};
35496fb1ebdSEmmanuel Vadot
35596fb1ebdSEmmanuel Vadot						rpmpd_opp_low_svs: opp4 {
35696fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
35796fb1ebdSEmmanuel Vadot						};
35896fb1ebdSEmmanuel Vadot
35996fb1ebdSEmmanuel Vadot						rpmpd_opp_svs: opp5 {
36096fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_SVS>;
36196fb1ebdSEmmanuel Vadot						};
36296fb1ebdSEmmanuel Vadot
36396fb1ebdSEmmanuel Vadot						rpmpd_opp_svs_plus: opp6 {
36496fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
36596fb1ebdSEmmanuel Vadot						};
36696fb1ebdSEmmanuel Vadot
36796fb1ebdSEmmanuel Vadot						rpmpd_opp_nom: opp7 {
36896fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_NOM>;
36996fb1ebdSEmmanuel Vadot						};
37096fb1ebdSEmmanuel Vadot
37196fb1ebdSEmmanuel Vadot						rpmpd_opp_nom_plus: opp8 {
37296fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
37396fb1ebdSEmmanuel Vadot						};
37496fb1ebdSEmmanuel Vadot
37596fb1ebdSEmmanuel Vadot						rpmpd_opp_turbo: opp9 {
37696fb1ebdSEmmanuel Vadot							opp-level = <RPM_SMD_LEVEL_TURBO>;
37796fb1ebdSEmmanuel Vadot						};
37896fb1ebdSEmmanuel Vadot					};
37996fb1ebdSEmmanuel Vadot				};
38096fb1ebdSEmmanuel Vadot			};
38196fb1ebdSEmmanuel Vadot		};
38296fb1ebdSEmmanuel Vadot	};
38396fb1ebdSEmmanuel Vadot
38496fb1ebdSEmmanuel Vadot	smp2p-adsp {
38596fb1ebdSEmmanuel Vadot		compatible = "qcom,smp2p";
38696fb1ebdSEmmanuel Vadot		qcom,smem = <443>, <429>;
38796fb1ebdSEmmanuel Vadot
38896fb1ebdSEmmanuel Vadot		interrupts = <GIC_SPI 291 IRQ_TYPE_EDGE_RISING>;
38996fb1ebdSEmmanuel Vadot
39096fb1ebdSEmmanuel Vadot		mboxes = <&apcs1 10>;
39196fb1ebdSEmmanuel Vadot
39296fb1ebdSEmmanuel Vadot		qcom,local-pid = <0>;
39396fb1ebdSEmmanuel Vadot		qcom,remote-pid = <2>;
39496fb1ebdSEmmanuel Vadot
39596fb1ebdSEmmanuel Vadot		adsp_smp2p_out: master-kernel {
39696fb1ebdSEmmanuel Vadot			qcom,entry-name = "master-kernel";
39796fb1ebdSEmmanuel Vadot
39896fb1ebdSEmmanuel Vadot			#qcom,smem-state-cells = <1>;
39996fb1ebdSEmmanuel Vadot		};
40096fb1ebdSEmmanuel Vadot
40196fb1ebdSEmmanuel Vadot		adsp_smp2p_in: slave-kernel {
40296fb1ebdSEmmanuel Vadot			qcom,entry-name = "slave-kernel";
40396fb1ebdSEmmanuel Vadot
40496fb1ebdSEmmanuel Vadot			interrupt-controller;
40596fb1ebdSEmmanuel Vadot			#interrupt-cells = <2>;
40696fb1ebdSEmmanuel Vadot		};
40796fb1ebdSEmmanuel Vadot	};
40896fb1ebdSEmmanuel Vadot
40996fb1ebdSEmmanuel Vadot	smp2p-modem {
41096fb1ebdSEmmanuel Vadot		compatible = "qcom,smp2p";
41196fb1ebdSEmmanuel Vadot		qcom,smem = <435>, <428>;
41296fb1ebdSEmmanuel Vadot
41396fb1ebdSEmmanuel Vadot		interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>;
41496fb1ebdSEmmanuel Vadot
41596fb1ebdSEmmanuel Vadot		mboxes = <&apcs1 14>;
41696fb1ebdSEmmanuel Vadot
41796fb1ebdSEmmanuel Vadot		qcom,local-pid = <0>;
41896fb1ebdSEmmanuel Vadot		qcom,remote-pid = <1>;
41996fb1ebdSEmmanuel Vadot
42096fb1ebdSEmmanuel Vadot		modem_smp2p_out: master-kernel {
42196fb1ebdSEmmanuel Vadot			qcom,entry-name = "master-kernel";
42296fb1ebdSEmmanuel Vadot
42396fb1ebdSEmmanuel Vadot			#qcom,smem-state-cells = <1>;
42496fb1ebdSEmmanuel Vadot		};
42596fb1ebdSEmmanuel Vadot
42696fb1ebdSEmmanuel Vadot		modem_smp2p_in: slave-kernel {
42796fb1ebdSEmmanuel Vadot			qcom,entry-name = "slave-kernel";
42896fb1ebdSEmmanuel Vadot
42996fb1ebdSEmmanuel Vadot			interrupt-controller;
43096fb1ebdSEmmanuel Vadot			#interrupt-cells = <2>;
43196fb1ebdSEmmanuel Vadot		};
43296fb1ebdSEmmanuel Vadot	};
43396fb1ebdSEmmanuel Vadot
43496fb1ebdSEmmanuel Vadot	smp2p-wcnss {
43596fb1ebdSEmmanuel Vadot		compatible = "qcom,smp2p";
43696fb1ebdSEmmanuel Vadot		qcom,smem = <451>, <431>;
43796fb1ebdSEmmanuel Vadot
43896fb1ebdSEmmanuel Vadot		interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
43996fb1ebdSEmmanuel Vadot
44096fb1ebdSEmmanuel Vadot		mboxes = <&apcs1 18>;
44196fb1ebdSEmmanuel Vadot
44296fb1ebdSEmmanuel Vadot		qcom,local-pid = <0>;
44396fb1ebdSEmmanuel Vadot		qcom,remote-pid = <4>;
44496fb1ebdSEmmanuel Vadot
44596fb1ebdSEmmanuel Vadot		wcnss_smp2p_out: master-kernel {
44696fb1ebdSEmmanuel Vadot			qcom,entry-name = "master-kernel";
44796fb1ebdSEmmanuel Vadot
44896fb1ebdSEmmanuel Vadot			#qcom,smem-state-cells = <1>;
44996fb1ebdSEmmanuel Vadot		};
45096fb1ebdSEmmanuel Vadot
45196fb1ebdSEmmanuel Vadot		wcnss_smp2p_in: slave-kernel {
45296fb1ebdSEmmanuel Vadot			qcom,entry-name = "slave-kernel";
45396fb1ebdSEmmanuel Vadot
45496fb1ebdSEmmanuel Vadot			interrupt-controller;
45596fb1ebdSEmmanuel Vadot			#interrupt-cells = <2>;
45696fb1ebdSEmmanuel Vadot		};
45796fb1ebdSEmmanuel Vadot	};
45896fb1ebdSEmmanuel Vadot
45996fb1ebdSEmmanuel Vadot	smsm {
46096fb1ebdSEmmanuel Vadot		compatible = "qcom,smsm";
46196fb1ebdSEmmanuel Vadot
46296fb1ebdSEmmanuel Vadot		#address-cells = <1>;
46396fb1ebdSEmmanuel Vadot		#size-cells = <0>;
46496fb1ebdSEmmanuel Vadot
46596fb1ebdSEmmanuel Vadot		mboxes = <0>, <&apcs1 13>, <0>, <&apcs1 19>;
46696fb1ebdSEmmanuel Vadot
46796fb1ebdSEmmanuel Vadot		apps_smsm: apps@0 {
46896fb1ebdSEmmanuel Vadot			reg = <0>;
46996fb1ebdSEmmanuel Vadot
47096fb1ebdSEmmanuel Vadot			#qcom,smem-state-cells = <1>;
47196fb1ebdSEmmanuel Vadot		};
47296fb1ebdSEmmanuel Vadot
47396fb1ebdSEmmanuel Vadot		hexagon_smsm: hexagon@1 {
47496fb1ebdSEmmanuel Vadot			reg = <1>;
47596fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
47696fb1ebdSEmmanuel Vadot
47796fb1ebdSEmmanuel Vadot			interrupt-controller;
47896fb1ebdSEmmanuel Vadot			#interrupt-cells = <2>;
47996fb1ebdSEmmanuel Vadot		};
48096fb1ebdSEmmanuel Vadot
48196fb1ebdSEmmanuel Vadot		wcnss_smsm: wcnss@6 {
48296fb1ebdSEmmanuel Vadot			reg = <6>;
48396fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 144 IRQ_TYPE_EDGE_RISING>;
48496fb1ebdSEmmanuel Vadot
48596fb1ebdSEmmanuel Vadot			interrupt-controller;
48696fb1ebdSEmmanuel Vadot			#interrupt-cells = <2>;
48796fb1ebdSEmmanuel Vadot		};
48896fb1ebdSEmmanuel Vadot	};
48996fb1ebdSEmmanuel Vadot
49096fb1ebdSEmmanuel Vadot	soc: soc@0 {
49196fb1ebdSEmmanuel Vadot		compatible = "simple-bus";
49296fb1ebdSEmmanuel Vadot		ranges = <0 0 0 0xffffffff>;
49396fb1ebdSEmmanuel Vadot		#address-cells = <1>;
49496fb1ebdSEmmanuel Vadot		#size-cells = <1>;
49596fb1ebdSEmmanuel Vadot
49696fb1ebdSEmmanuel Vadot		qfprom: qfprom@a4000 {
49796fb1ebdSEmmanuel Vadot			compatible = "qcom,msm8937-qfprom", "qcom,qfprom";
49896fb1ebdSEmmanuel Vadot			reg = <0x000a4000 0x3000>;
49996fb1ebdSEmmanuel Vadot			#address-cells = <1>;
50096fb1ebdSEmmanuel Vadot			#size-cells = <1>;
50196fb1ebdSEmmanuel Vadot
50296fb1ebdSEmmanuel Vadot			tsens_base1: base1@1d8 {
50396fb1ebdSEmmanuel Vadot				reg = <0x1d8 0x1>;
50496fb1ebdSEmmanuel Vadot				bits = <0 8>;
50596fb1ebdSEmmanuel Vadot			};
50696fb1ebdSEmmanuel Vadot
50796fb1ebdSEmmanuel Vadot			tsens_s5_p1: s5-p1@1d9 {
50896fb1ebdSEmmanuel Vadot				reg = <0x1d9 0x1>;
50996fb1ebdSEmmanuel Vadot				bits = <0 6>;
51096fb1ebdSEmmanuel Vadot			};
51196fb1ebdSEmmanuel Vadot
51296fb1ebdSEmmanuel Vadot			tsens_s5_p2: s5-p2@1d9 {
51396fb1ebdSEmmanuel Vadot				reg = <0x1d9 0x2>;
51496fb1ebdSEmmanuel Vadot				bits = <6 6>;
51596fb1ebdSEmmanuel Vadot			};
51696fb1ebdSEmmanuel Vadot
51796fb1ebdSEmmanuel Vadot			tsens_s6_p1: s6-p1@1da {
51896fb1ebdSEmmanuel Vadot				reg = <0x1da 0x2>;
51996fb1ebdSEmmanuel Vadot				bits = <4 6>;
52096fb1ebdSEmmanuel Vadot			};
52196fb1ebdSEmmanuel Vadot
52296fb1ebdSEmmanuel Vadot			tsens_s6_p2: s6-p2@1db {
52396fb1ebdSEmmanuel Vadot				reg = <0x1db 0x1>;
52496fb1ebdSEmmanuel Vadot				bits = <2 6>;
52596fb1ebdSEmmanuel Vadot			};
52696fb1ebdSEmmanuel Vadot
52796fb1ebdSEmmanuel Vadot			tsens_s7_p1: s7-p1@1dc {
52896fb1ebdSEmmanuel Vadot				reg = <0x1dc 0x1>;
52996fb1ebdSEmmanuel Vadot				bits = <0 6>;
53096fb1ebdSEmmanuel Vadot			};
53196fb1ebdSEmmanuel Vadot
53296fb1ebdSEmmanuel Vadot			tsens_s7_p2: s7-p2@1dc {
53396fb1ebdSEmmanuel Vadot				reg = <0x1dc 0x2>;
53496fb1ebdSEmmanuel Vadot				bits = <6 6>;
53596fb1ebdSEmmanuel Vadot			};
53696fb1ebdSEmmanuel Vadot
53796fb1ebdSEmmanuel Vadot			tsens_s8_p1: s8-p1@1dd {
53896fb1ebdSEmmanuel Vadot				reg = <0x1dd 0x2>;
53996fb1ebdSEmmanuel Vadot				bits = <4 6>;
54096fb1ebdSEmmanuel Vadot			};
54196fb1ebdSEmmanuel Vadot
54296fb1ebdSEmmanuel Vadot			tsens_s8_p2: s8-p2@1de {
54396fb1ebdSEmmanuel Vadot				reg = <0x1de 0x1>;
54496fb1ebdSEmmanuel Vadot				bits = <2 6>;
54596fb1ebdSEmmanuel Vadot			};
54696fb1ebdSEmmanuel Vadot
54796fb1ebdSEmmanuel Vadot			tsens_base2: base2@1df {
54896fb1ebdSEmmanuel Vadot				reg = <0x1df 0x1>;
54996fb1ebdSEmmanuel Vadot				bits = <0 8>;
55096fb1ebdSEmmanuel Vadot			};
55196fb1ebdSEmmanuel Vadot
55296fb1ebdSEmmanuel Vadot			tsens_mode: mode@210 {
55396fb1ebdSEmmanuel Vadot				reg = <0x210 0x1>;
55496fb1ebdSEmmanuel Vadot				bits = <0 3>;
55596fb1ebdSEmmanuel Vadot			};
55696fb1ebdSEmmanuel Vadot
55796fb1ebdSEmmanuel Vadot			tsens_s0_p1: s0-p1@210 {
55896fb1ebdSEmmanuel Vadot				reg = <0x210 0x2>;
55996fb1ebdSEmmanuel Vadot				bits = <3 6>;
56096fb1ebdSEmmanuel Vadot			};
56196fb1ebdSEmmanuel Vadot
56296fb1ebdSEmmanuel Vadot			tsens_s0_p2: s0-p2@211 {
56396fb1ebdSEmmanuel Vadot				reg = <0x211 0x1>;
56496fb1ebdSEmmanuel Vadot				bits = <1 6>;
56596fb1ebdSEmmanuel Vadot			};
56696fb1ebdSEmmanuel Vadot
56796fb1ebdSEmmanuel Vadot			tsens_s1_p1: s1-p1@211 {
56896fb1ebdSEmmanuel Vadot				reg = <0x211 0x2>;
56996fb1ebdSEmmanuel Vadot				bits = <7 6>;
57096fb1ebdSEmmanuel Vadot			};
57196fb1ebdSEmmanuel Vadot
57296fb1ebdSEmmanuel Vadot			tsens_s1_p2: s1-p2@212 {
57396fb1ebdSEmmanuel Vadot				reg = <0x212 0x2>;
57496fb1ebdSEmmanuel Vadot				bits = <5 6>;
57596fb1ebdSEmmanuel Vadot			};
57696fb1ebdSEmmanuel Vadot
57796fb1ebdSEmmanuel Vadot			tsens_s2_p1: s2-p1@213 {
57896fb1ebdSEmmanuel Vadot				reg = <0x213 0x2>;
57996fb1ebdSEmmanuel Vadot				bits = <3 6>;
58096fb1ebdSEmmanuel Vadot			};
58196fb1ebdSEmmanuel Vadot
58296fb1ebdSEmmanuel Vadot			tsens_s2_p2: s2-p2@214 {
58396fb1ebdSEmmanuel Vadot				reg = <0x214 0x1>;
58496fb1ebdSEmmanuel Vadot				bits = <1 6>;
58596fb1ebdSEmmanuel Vadot			};
58696fb1ebdSEmmanuel Vadot
58796fb1ebdSEmmanuel Vadot			tsens_s3_p1: s3-p1@214 {
58896fb1ebdSEmmanuel Vadot				reg = <0x214 0x2>;
58996fb1ebdSEmmanuel Vadot				bits = <7 6>;
59096fb1ebdSEmmanuel Vadot			};
59196fb1ebdSEmmanuel Vadot
59296fb1ebdSEmmanuel Vadot			tsens_s3_p2: s3-p2@215 {
59396fb1ebdSEmmanuel Vadot				reg = <0x215 0x2>;
59496fb1ebdSEmmanuel Vadot				bits = <5 6>;
59596fb1ebdSEmmanuel Vadot			};
59696fb1ebdSEmmanuel Vadot
59796fb1ebdSEmmanuel Vadot			tsens_s4_p1: s4-p1@216 {
59896fb1ebdSEmmanuel Vadot				reg = <0x216 0x2>;
59996fb1ebdSEmmanuel Vadot				bits = <3 6>;
60096fb1ebdSEmmanuel Vadot			};
60196fb1ebdSEmmanuel Vadot
60296fb1ebdSEmmanuel Vadot			tsens_s4_p2: s4-p2@217 {
60396fb1ebdSEmmanuel Vadot				reg = <0x217 0x1>;
60496fb1ebdSEmmanuel Vadot				bits = <1 6>;
60596fb1ebdSEmmanuel Vadot			};
60696fb1ebdSEmmanuel Vadot
60796fb1ebdSEmmanuel Vadot			tsens_s9_p1: s9-p1@230 {
60896fb1ebdSEmmanuel Vadot				reg = <0x230 0x1>;
60996fb1ebdSEmmanuel Vadot				bits = <0 6>;
61096fb1ebdSEmmanuel Vadot			};
61196fb1ebdSEmmanuel Vadot
61296fb1ebdSEmmanuel Vadot			tsens_s9_p2: s9-p2@230 {
61396fb1ebdSEmmanuel Vadot				reg = <0x230 0x2>;
61496fb1ebdSEmmanuel Vadot				bits = <6 6>;
61596fb1ebdSEmmanuel Vadot			};
61696fb1ebdSEmmanuel Vadot
61796fb1ebdSEmmanuel Vadot			tsens_s10_p1: s10-p1@231 {
61896fb1ebdSEmmanuel Vadot				reg = <0x231 0x2>;
61996fb1ebdSEmmanuel Vadot				bits = <4 6>;
62096fb1ebdSEmmanuel Vadot			};
62196fb1ebdSEmmanuel Vadot
62296fb1ebdSEmmanuel Vadot			tsens_s10_p2: s10-p2@232 {
62396fb1ebdSEmmanuel Vadot				reg = <0x232 0x1>;
62496fb1ebdSEmmanuel Vadot				bits = <2 6>;
62596fb1ebdSEmmanuel Vadot			};
62696fb1ebdSEmmanuel Vadot
62796fb1ebdSEmmanuel Vadot			gpu_speed_bin: gpu-speed-bin@201b {
62896fb1ebdSEmmanuel Vadot				reg = <0x201b 0x1>;
62996fb1ebdSEmmanuel Vadot				bits = <7 1>;
63096fb1ebdSEmmanuel Vadot			};
63196fb1ebdSEmmanuel Vadot		};
63296fb1ebdSEmmanuel Vadot
63396fb1ebdSEmmanuel Vadot		rpm_msg_ram: sram@60000 {
63496fb1ebdSEmmanuel Vadot			compatible = "qcom,rpm-msg-ram";
63596fb1ebdSEmmanuel Vadot			reg = <0x00060000 0x8000>;
63696fb1ebdSEmmanuel Vadot		};
63796fb1ebdSEmmanuel Vadot
63896fb1ebdSEmmanuel Vadot		usb_hs_phy: phy@6c000 {
63996fb1ebdSEmmanuel Vadot			compatible = "qcom,usb-hs-28nm-femtophy";
64096fb1ebdSEmmanuel Vadot			reg = <0x0006c000 0x200>;
64196fb1ebdSEmmanuel Vadot			#phy-cells = <0>;
64296fb1ebdSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
64396fb1ebdSEmmanuel Vadot				 <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>,
64496fb1ebdSEmmanuel Vadot				 <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
64596fb1ebdSEmmanuel Vadot			clock-names = "ref",
64696fb1ebdSEmmanuel Vadot				      "ahb",
64796fb1ebdSEmmanuel Vadot				      "sleep";
64896fb1ebdSEmmanuel Vadot			resets = <&gcc GCC_QUSB2_PHY_BCR>,
64996fb1ebdSEmmanuel Vadot				 <&gcc GCC_USB2_HS_PHY_ONLY_BCR>;
65096fb1ebdSEmmanuel Vadot			reset-names = "phy",
65196fb1ebdSEmmanuel Vadot				      "por";
65296fb1ebdSEmmanuel Vadot			status = "disabled";
65396fb1ebdSEmmanuel Vadot		};
65496fb1ebdSEmmanuel Vadot
65596fb1ebdSEmmanuel Vadot		rng@e3000 {
65696fb1ebdSEmmanuel Vadot			compatible = "qcom,prng";
65796fb1ebdSEmmanuel Vadot			reg = <0x000e3000 0x1000>;
65896fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_PRNG_AHB_CLK>;
65996fb1ebdSEmmanuel Vadot			clock-names = "core";
66096fb1ebdSEmmanuel Vadot		};
66196fb1ebdSEmmanuel Vadot
66296fb1ebdSEmmanuel Vadot		tsens: thermal-sensor@4a9000 {
66396fb1ebdSEmmanuel Vadot			compatible = "qcom,msm8937-tsens", "qcom,tsens-v1";
66496fb1ebdSEmmanuel Vadot			reg = <0x004a9000 0x1000>,
66596fb1ebdSEmmanuel Vadot			      <0x004a8000 0x1000>;
66696fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
66796fb1ebdSEmmanuel Vadot			interrupt-names = "uplow";
66896fb1ebdSEmmanuel Vadot			nvmem-cells = <&tsens_mode>,
66996fb1ebdSEmmanuel Vadot				      <&tsens_base1>, <&tsens_base2>,
67096fb1ebdSEmmanuel Vadot				      <&tsens_s0_p1>, <&tsens_s0_p2>,
67196fb1ebdSEmmanuel Vadot				      <&tsens_s1_p1>, <&tsens_s1_p2>,
67296fb1ebdSEmmanuel Vadot				      <&tsens_s2_p1>, <&tsens_s2_p2>,
67396fb1ebdSEmmanuel Vadot				      <&tsens_s3_p1>, <&tsens_s3_p2>,
67496fb1ebdSEmmanuel Vadot				      <&tsens_s4_p1>, <&tsens_s4_p2>,
67596fb1ebdSEmmanuel Vadot				      <&tsens_s5_p1>, <&tsens_s5_p2>,
67696fb1ebdSEmmanuel Vadot				      <&tsens_s6_p1>, <&tsens_s6_p2>,
67796fb1ebdSEmmanuel Vadot				      <&tsens_s7_p1>, <&tsens_s7_p2>,
67896fb1ebdSEmmanuel Vadot				      <&tsens_s8_p1>, <&tsens_s8_p2>,
67996fb1ebdSEmmanuel Vadot				      <&tsens_s9_p1>, <&tsens_s9_p2>,
68096fb1ebdSEmmanuel Vadot				      <&tsens_s10_p1>, <&tsens_s10_p2>;
68196fb1ebdSEmmanuel Vadot			nvmem-cell-names = "mode",
68296fb1ebdSEmmanuel Vadot					   "base1", "base2",
68396fb1ebdSEmmanuel Vadot					   "s0_p1", "s0_p2",
68496fb1ebdSEmmanuel Vadot					   "s1_p1", "s1_p2",
68596fb1ebdSEmmanuel Vadot					   "s2_p1", "s2_p2",
68696fb1ebdSEmmanuel Vadot					   "s3_p1", "s3_p2",
68796fb1ebdSEmmanuel Vadot					   "s4_p1", "s4_p2",
68896fb1ebdSEmmanuel Vadot					   "s5_p1", "s5_p2",
68996fb1ebdSEmmanuel Vadot					   "s6_p1", "s6_p2",
69096fb1ebdSEmmanuel Vadot					   "s7_p1", "s7_p2",
69196fb1ebdSEmmanuel Vadot					   "s8_p1", "s8_p2",
69296fb1ebdSEmmanuel Vadot					   "s9_p1", "s9_p2",
69396fb1ebdSEmmanuel Vadot					   "s10_p1", "s10_p2";
69496fb1ebdSEmmanuel Vadot			#qcom,sensors = <11>;
69596fb1ebdSEmmanuel Vadot			#thermal-sensor-cells = <1>;
69696fb1ebdSEmmanuel Vadot		};
69796fb1ebdSEmmanuel Vadot
69896fb1ebdSEmmanuel Vadot		restart@4ab000 {
69996fb1ebdSEmmanuel Vadot			compatible = "qcom,pshold";
70096fb1ebdSEmmanuel Vadot			reg = <0x004ab000 0x4>;
70196fb1ebdSEmmanuel Vadot		};
70296fb1ebdSEmmanuel Vadot
70396fb1ebdSEmmanuel Vadot		tlmm: pinctrl@1000000 {
70496fb1ebdSEmmanuel Vadot			compatible = "qcom,msm8917-pinctrl";
70596fb1ebdSEmmanuel Vadot			reg = <0x01000000 0x300000>;
70696fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
70796fb1ebdSEmmanuel Vadot			gpio-controller;
70896fb1ebdSEmmanuel Vadot			gpio-ranges = <&tlmm 0 0 134>;
70996fb1ebdSEmmanuel Vadot			#gpio-cells = <2>;
71096fb1ebdSEmmanuel Vadot			interrupt-controller;
71196fb1ebdSEmmanuel Vadot			#interrupt-cells = <2>;
71296fb1ebdSEmmanuel Vadot
71396fb1ebdSEmmanuel Vadot			blsp1_i2c2_default: blsp1-i2c2-default-state {
71496fb1ebdSEmmanuel Vadot				pins = "gpio6", "gpio7";
71596fb1ebdSEmmanuel Vadot				function = "blsp_i2c2";
71696fb1ebdSEmmanuel Vadot				drive-strength = <2>;
71796fb1ebdSEmmanuel Vadot				bias-disable;
71896fb1ebdSEmmanuel Vadot			};
71996fb1ebdSEmmanuel Vadot
72096fb1ebdSEmmanuel Vadot			blsp1_i2c2_sleep: blsp1-i2c2-sleep-state {
72196fb1ebdSEmmanuel Vadot				pins = "gpio6", "gpio7";
72296fb1ebdSEmmanuel Vadot				function = "gpio";
72396fb1ebdSEmmanuel Vadot				drive-strength = <2>;
72496fb1ebdSEmmanuel Vadot				bias-disable;
72596fb1ebdSEmmanuel Vadot			};
72696fb1ebdSEmmanuel Vadot
72796fb1ebdSEmmanuel Vadot			blsp1_i2c3_default: blsp1-i2c3-default-state {
72896fb1ebdSEmmanuel Vadot				pins = "gpio10", "gpio11";
72996fb1ebdSEmmanuel Vadot				function = "blsp_i2c3";
73096fb1ebdSEmmanuel Vadot				drive-strength = <2>;
73196fb1ebdSEmmanuel Vadot				bias-disable;
73296fb1ebdSEmmanuel Vadot			};
73396fb1ebdSEmmanuel Vadot
73496fb1ebdSEmmanuel Vadot			blsp1_i2c3_sleep: blsp1-i2c3-sleep-state {
73596fb1ebdSEmmanuel Vadot				pins = "gpio10", "gpio11";
73696fb1ebdSEmmanuel Vadot				function = "gpio";
73796fb1ebdSEmmanuel Vadot				drive-strength = <2>;
73896fb1ebdSEmmanuel Vadot				bias-disable;
73996fb1ebdSEmmanuel Vadot			};
74096fb1ebdSEmmanuel Vadot
74196fb1ebdSEmmanuel Vadot			blsp1_i2c4_default: blsp1-i2c4-default-state {
74296fb1ebdSEmmanuel Vadot				pins = "gpio14", "gpio15";
74396fb1ebdSEmmanuel Vadot				function = "blsp_i2c4";
74496fb1ebdSEmmanuel Vadot				drive-strength = <2>;
74596fb1ebdSEmmanuel Vadot				bias-disable;
74696fb1ebdSEmmanuel Vadot			};
74796fb1ebdSEmmanuel Vadot
74896fb1ebdSEmmanuel Vadot			blsp1_i2c4_sleep: blsp1-i2c4-sleep-state {
74996fb1ebdSEmmanuel Vadot				pins = "gpio14", "gpio15";
75096fb1ebdSEmmanuel Vadot				function = "gpio";
75196fb1ebdSEmmanuel Vadot				drive-strength = <2>;
75296fb1ebdSEmmanuel Vadot				bias-disable;
75396fb1ebdSEmmanuel Vadot			};
75496fb1ebdSEmmanuel Vadot
75596fb1ebdSEmmanuel Vadot			blsp2_i2c1_default: blsp2-i2c1-default-state {
75696fb1ebdSEmmanuel Vadot				pins = "gpio18", "gpio19";
75796fb1ebdSEmmanuel Vadot				function = "blsp_i2c5";
75896fb1ebdSEmmanuel Vadot				drive-strength = <2>;
75996fb1ebdSEmmanuel Vadot				bias-disable;
76096fb1ebdSEmmanuel Vadot			};
76196fb1ebdSEmmanuel Vadot
76296fb1ebdSEmmanuel Vadot			blsp2_i2c1_sleep: blsp2-i2c1-sleep-state {
76396fb1ebdSEmmanuel Vadot				pins = "gpio18", "gpio19";
76496fb1ebdSEmmanuel Vadot				function = "gpio";
76596fb1ebdSEmmanuel Vadot				drive-strength = <2>;
76696fb1ebdSEmmanuel Vadot				bias-disable;
76796fb1ebdSEmmanuel Vadot			};
76896fb1ebdSEmmanuel Vadot
76996fb1ebdSEmmanuel Vadot			blsp1_spi3_default: blsp1-spi3-default-state {
77096fb1ebdSEmmanuel Vadot				cs-pins {
77196fb1ebdSEmmanuel Vadot					pins = "gpio10";
77296fb1ebdSEmmanuel Vadot					function = "blsp_spi3";
77396fb1ebdSEmmanuel Vadot					drive-strength = <2>;
77496fb1ebdSEmmanuel Vadot					bias-disable;
77596fb1ebdSEmmanuel Vadot				};
77696fb1ebdSEmmanuel Vadot
77796fb1ebdSEmmanuel Vadot				spi-pins {
77896fb1ebdSEmmanuel Vadot					pins = "gpio8", "gpio9", "gpio11";
77996fb1ebdSEmmanuel Vadot					function = "blsp_spi3";
78096fb1ebdSEmmanuel Vadot					drive-strength = <12>;
78196fb1ebdSEmmanuel Vadot					bias-disable;
78296fb1ebdSEmmanuel Vadot				};
78396fb1ebdSEmmanuel Vadot			};
78496fb1ebdSEmmanuel Vadot
78596fb1ebdSEmmanuel Vadot			blsp1_spi3_sleep: blsp1-spi3-sleep-state {
78696fb1ebdSEmmanuel Vadot				cs-pins {
78796fb1ebdSEmmanuel Vadot					pins = "gpio10";
78896fb1ebdSEmmanuel Vadot					function = "gpio";
78996fb1ebdSEmmanuel Vadot					drive-strength = <2>;
79096fb1ebdSEmmanuel Vadot					bias-disable;
79196fb1ebdSEmmanuel Vadot				};
79296fb1ebdSEmmanuel Vadot
79396fb1ebdSEmmanuel Vadot				spi-pins {
79496fb1ebdSEmmanuel Vadot					pins = "gpio8", "gpio9", "gpio11";
79596fb1ebdSEmmanuel Vadot					function = "gpio";
79696fb1ebdSEmmanuel Vadot					drive-strength = <2>;
79796fb1ebdSEmmanuel Vadot					bias-pull-down;
79896fb1ebdSEmmanuel Vadot				};
79996fb1ebdSEmmanuel Vadot			};
80096fb1ebdSEmmanuel Vadot
80196fb1ebdSEmmanuel Vadot			blsp2_spi2_default: blsp2-spi2-default-state {
80296fb1ebdSEmmanuel Vadot				cs0-pins {
80396fb1ebdSEmmanuel Vadot					pins = "gpio47";
80496fb1ebdSEmmanuel Vadot					function = "blsp_spi6";
80596fb1ebdSEmmanuel Vadot					drive-strength = <16>;
80696fb1ebdSEmmanuel Vadot					bias-disable;
80796fb1ebdSEmmanuel Vadot				};
80896fb1ebdSEmmanuel Vadot
80996fb1ebdSEmmanuel Vadot				cs1-pins {
81096fb1ebdSEmmanuel Vadot					pins = "gpio22";
81196fb1ebdSEmmanuel Vadot					function = "blsp_spi6";
81296fb1ebdSEmmanuel Vadot					drive-strength = <16>;
81396fb1ebdSEmmanuel Vadot					bias-disable;
81496fb1ebdSEmmanuel Vadot				};
81596fb1ebdSEmmanuel Vadot
81696fb1ebdSEmmanuel Vadot				spi-pins {
81796fb1ebdSEmmanuel Vadot					pins = "gpio20", "gpio21", "gpio23";
81896fb1ebdSEmmanuel Vadot					function = "blsp_spi6";
81996fb1ebdSEmmanuel Vadot					drive-strength = <16>;
82096fb1ebdSEmmanuel Vadot					bias-disable;
82196fb1ebdSEmmanuel Vadot				};
82296fb1ebdSEmmanuel Vadot			};
82396fb1ebdSEmmanuel Vadot
82496fb1ebdSEmmanuel Vadot			blsp2_spi2_sleep: blsp2-spi2-sleep-state {
82596fb1ebdSEmmanuel Vadot				cs0-pins {
82696fb1ebdSEmmanuel Vadot					pins = "gpio47";
82796fb1ebdSEmmanuel Vadot					function = "gpio";
82896fb1ebdSEmmanuel Vadot					drive-strength = <2>;
82996fb1ebdSEmmanuel Vadot					bias-disable;
83096fb1ebdSEmmanuel Vadot				};
83196fb1ebdSEmmanuel Vadot
83296fb1ebdSEmmanuel Vadot				cs1-pins {
83396fb1ebdSEmmanuel Vadot					pins = "gpio22";
83496fb1ebdSEmmanuel Vadot					function = "gpio";
83596fb1ebdSEmmanuel Vadot					drive-strength = <2>;
83696fb1ebdSEmmanuel Vadot					bias-disable;
83796fb1ebdSEmmanuel Vadot				};
83896fb1ebdSEmmanuel Vadot
83996fb1ebdSEmmanuel Vadot				spi-pins {
84096fb1ebdSEmmanuel Vadot					pins = "gpio20", "gpio21", "gpio23";
84196fb1ebdSEmmanuel Vadot					function = "gpio";
84296fb1ebdSEmmanuel Vadot					drive-strength = <2>;
84396fb1ebdSEmmanuel Vadot					bias-pull-down;
84496fb1ebdSEmmanuel Vadot				};
84596fb1ebdSEmmanuel Vadot			};
84696fb1ebdSEmmanuel Vadot
84796fb1ebdSEmmanuel Vadot			blsp1_uart1_default: blsp1-uart1-default-state {
84896fb1ebdSEmmanuel Vadot				pins = "gpio0", "gpio1", "gpio2", "gpio3";
84996fb1ebdSEmmanuel Vadot				function = "blsp_uart1";
85096fb1ebdSEmmanuel Vadot				drive-strength = <2>;
85196fb1ebdSEmmanuel Vadot				bias-disable;
85296fb1ebdSEmmanuel Vadot			};
85396fb1ebdSEmmanuel Vadot
85496fb1ebdSEmmanuel Vadot			blsp1_uart1_sleep: blsp1-uart1-sleep-state {
85596fb1ebdSEmmanuel Vadot				pins = "gpio0", "gpio1", "gpio2", "gpio3";
85696fb1ebdSEmmanuel Vadot				function = "gpio";
85796fb1ebdSEmmanuel Vadot				drive-strength = <2>;
85896fb1ebdSEmmanuel Vadot				bias-disable;
85996fb1ebdSEmmanuel Vadot			};
86096fb1ebdSEmmanuel Vadot
86196fb1ebdSEmmanuel Vadot			blsp1_uart2_default: blsp1-uart2-default-state {
86296fb1ebdSEmmanuel Vadot				pins = "gpio4", "gpio5";
86396fb1ebdSEmmanuel Vadot				function = "blsp_uart2";
86496fb1ebdSEmmanuel Vadot				drive-strength = <2>;
86596fb1ebdSEmmanuel Vadot				bias-disable;
86696fb1ebdSEmmanuel Vadot			};
86796fb1ebdSEmmanuel Vadot
86896fb1ebdSEmmanuel Vadot			blsp1_uart2_sleep: blsp1-uart2-sleep-state {
86996fb1ebdSEmmanuel Vadot				pins = "gpio4", "gpio5";
87096fb1ebdSEmmanuel Vadot				function = "gpio";
87196fb1ebdSEmmanuel Vadot				drive-strength = <2>;
87296fb1ebdSEmmanuel Vadot				bias-pull-down;
87396fb1ebdSEmmanuel Vadot			};
87496fb1ebdSEmmanuel Vadot
87596fb1ebdSEmmanuel Vadot			sdc1_default: sdc1-default-state {
87696fb1ebdSEmmanuel Vadot				clk-pins {
87796fb1ebdSEmmanuel Vadot					pins = "sdc1_clk";
87896fb1ebdSEmmanuel Vadot					drive-strength = <16>;
87996fb1ebdSEmmanuel Vadot					bias-disable;
88096fb1ebdSEmmanuel Vadot				};
88196fb1ebdSEmmanuel Vadot
88296fb1ebdSEmmanuel Vadot				cmd-pins {
88396fb1ebdSEmmanuel Vadot					pins = "sdc1_cmd";
88496fb1ebdSEmmanuel Vadot					drive-strength = <10>;
88596fb1ebdSEmmanuel Vadot					bias-pull-up;
88696fb1ebdSEmmanuel Vadot				};
88796fb1ebdSEmmanuel Vadot
88896fb1ebdSEmmanuel Vadot				data-pins {
88996fb1ebdSEmmanuel Vadot					pins = "sdc1_data";
89096fb1ebdSEmmanuel Vadot					drive-strength = <10>;
89196fb1ebdSEmmanuel Vadot					bias-pull-up;
89296fb1ebdSEmmanuel Vadot				};
89396fb1ebdSEmmanuel Vadot
89496fb1ebdSEmmanuel Vadot				rclk-pins {
89596fb1ebdSEmmanuel Vadot					pins = "sdc1_rclk";
89696fb1ebdSEmmanuel Vadot					bias-pull-down;
89796fb1ebdSEmmanuel Vadot				};
89896fb1ebdSEmmanuel Vadot			};
89996fb1ebdSEmmanuel Vadot
90096fb1ebdSEmmanuel Vadot			sdc1_sleep: sdc1-sleep-state {
90196fb1ebdSEmmanuel Vadot				clk-pins {
90296fb1ebdSEmmanuel Vadot					pins = "sdc1_clk";
90396fb1ebdSEmmanuel Vadot					drive-strength = <2>;
90496fb1ebdSEmmanuel Vadot					bias-disable;
90596fb1ebdSEmmanuel Vadot				};
90696fb1ebdSEmmanuel Vadot
90796fb1ebdSEmmanuel Vadot				cmd-pins {
90896fb1ebdSEmmanuel Vadot					pins = "sdc1_cmd";
90996fb1ebdSEmmanuel Vadot					drive-strength = <2>;
91096fb1ebdSEmmanuel Vadot					bias-pull-up;
91196fb1ebdSEmmanuel Vadot				};
91296fb1ebdSEmmanuel Vadot
91396fb1ebdSEmmanuel Vadot				data-pins {
91496fb1ebdSEmmanuel Vadot					pins = "sdc1_data";
91596fb1ebdSEmmanuel Vadot					drive-strength = <2>;
91696fb1ebdSEmmanuel Vadot					bias-pull-up;
91796fb1ebdSEmmanuel Vadot				};
91896fb1ebdSEmmanuel Vadot
91996fb1ebdSEmmanuel Vadot				rclk-pins {
92096fb1ebdSEmmanuel Vadot					pins = "sdc1_rclk";
92196fb1ebdSEmmanuel Vadot					bias-pull-down;
92296fb1ebdSEmmanuel Vadot				};
92396fb1ebdSEmmanuel Vadot			};
92496fb1ebdSEmmanuel Vadot
92596fb1ebdSEmmanuel Vadot			sdc2_default: sdc2-default-state {
92696fb1ebdSEmmanuel Vadot				clk-pins {
92796fb1ebdSEmmanuel Vadot					pins = "sdc2_clk";
92896fb1ebdSEmmanuel Vadot					drive-strength = <16>;
92996fb1ebdSEmmanuel Vadot					bias-disable;
93096fb1ebdSEmmanuel Vadot				};
93196fb1ebdSEmmanuel Vadot
93296fb1ebdSEmmanuel Vadot				sdc2_cmd_default: cmd-pins {
93396fb1ebdSEmmanuel Vadot					pins = "sdc2_cmd";
93496fb1ebdSEmmanuel Vadot					drive-strength = <16>;
93596fb1ebdSEmmanuel Vadot					bias-pull-up;
93696fb1ebdSEmmanuel Vadot				};
93796fb1ebdSEmmanuel Vadot
93896fb1ebdSEmmanuel Vadot				sdc2_data_default: data-pins {
93996fb1ebdSEmmanuel Vadot					pins = "sdc2_data";
94096fb1ebdSEmmanuel Vadot					drive-strength = <16>;
94196fb1ebdSEmmanuel Vadot					bias-pull-up;
94296fb1ebdSEmmanuel Vadot				};
94396fb1ebdSEmmanuel Vadot			};
94496fb1ebdSEmmanuel Vadot
94596fb1ebdSEmmanuel Vadot			sdc2_sleep: sdc2-sleep-state {
94696fb1ebdSEmmanuel Vadot				clk-pins {
94796fb1ebdSEmmanuel Vadot					pins = "sdc2_clk";
94896fb1ebdSEmmanuel Vadot					drive-strength = <2>;
94996fb1ebdSEmmanuel Vadot					bias-disable;
95096fb1ebdSEmmanuel Vadot				};
95196fb1ebdSEmmanuel Vadot
95296fb1ebdSEmmanuel Vadot				cmd-pins {
95396fb1ebdSEmmanuel Vadot					pins = "sdc2_cmd";
95496fb1ebdSEmmanuel Vadot					drive-strength = <2>;
95596fb1ebdSEmmanuel Vadot					bias-pull-up;
95696fb1ebdSEmmanuel Vadot				};
95796fb1ebdSEmmanuel Vadot
95896fb1ebdSEmmanuel Vadot				data-pins {
95996fb1ebdSEmmanuel Vadot					pins = "sdc2_data";
96096fb1ebdSEmmanuel Vadot					drive-strength = <2>;
96196fb1ebdSEmmanuel Vadot					bias-pull-up;
96296fb1ebdSEmmanuel Vadot				};
96396fb1ebdSEmmanuel Vadot			};
96496fb1ebdSEmmanuel Vadot
96596fb1ebdSEmmanuel Vadot			wcnss_pin_a: wcnss-active-state {
96696fb1ebdSEmmanuel Vadot				wcss-wlan-pins {
96796fb1ebdSEmmanuel Vadot					pins = "gpio79", "gpio80";
96896fb1ebdSEmmanuel Vadot					function = "wcss_wlan";
96996fb1ebdSEmmanuel Vadot					drive-strength = <6>;
97096fb1ebdSEmmanuel Vadot					bias-pull-up;
97196fb1ebdSEmmanuel Vadot
97296fb1ebdSEmmanuel Vadot				};
97396fb1ebdSEmmanuel Vadot
97496fb1ebdSEmmanuel Vadot				wcss-wlan0-pins {
97596fb1ebdSEmmanuel Vadot					pins = "gpio78";
97696fb1ebdSEmmanuel Vadot					function = "wcss_wlan0";
97796fb1ebdSEmmanuel Vadot					drive-strength = <6>;
97896fb1ebdSEmmanuel Vadot					bias-pull-up;
97996fb1ebdSEmmanuel Vadot
98096fb1ebdSEmmanuel Vadot				};
98196fb1ebdSEmmanuel Vadot
98296fb1ebdSEmmanuel Vadot				wcss-wlan1-pins {
98396fb1ebdSEmmanuel Vadot					pins = "gpio77";
98496fb1ebdSEmmanuel Vadot					function = "wcss_wlan1";
98596fb1ebdSEmmanuel Vadot					drive-strength = <6>;
98696fb1ebdSEmmanuel Vadot					bias-pull-up;
98796fb1ebdSEmmanuel Vadot
98896fb1ebdSEmmanuel Vadot				};
98996fb1ebdSEmmanuel Vadot
99096fb1ebdSEmmanuel Vadot				wcss-wlan2-pins {
99196fb1ebdSEmmanuel Vadot					pins = "gpio76";
99296fb1ebdSEmmanuel Vadot					function = "wcss_wlan2";
99396fb1ebdSEmmanuel Vadot					drive-strength = <6>;
99496fb1ebdSEmmanuel Vadot					bias-pull-up;
99596fb1ebdSEmmanuel Vadot
99696fb1ebdSEmmanuel Vadot				};
99796fb1ebdSEmmanuel Vadot			};
99896fb1ebdSEmmanuel Vadot		};
99996fb1ebdSEmmanuel Vadot
100096fb1ebdSEmmanuel Vadot		gcc: clock-controller@1800000 {
100196fb1ebdSEmmanuel Vadot			compatible = "qcom,gcc-msm8937";
100296fb1ebdSEmmanuel Vadot			reg = <0x01800000 0x80000>;
100396fb1ebdSEmmanuel Vadot			#clock-cells = <1>;
100496fb1ebdSEmmanuel Vadot			#reset-cells = <1>;
100596fb1ebdSEmmanuel Vadot			#power-domain-cells = <1>;
100696fb1ebdSEmmanuel Vadot			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
100796fb1ebdSEmmanuel Vadot				 <&sleep_clk>,
100896fb1ebdSEmmanuel Vadot				 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>,
100996fb1ebdSEmmanuel Vadot				 <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
101096fb1ebdSEmmanuel Vadot				 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>,
101196fb1ebdSEmmanuel Vadot				 <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>;
101296fb1ebdSEmmanuel Vadot			clock-names = "xo",
101396fb1ebdSEmmanuel Vadot				      "sleep",
101496fb1ebdSEmmanuel Vadot				      "dsi0pll",
101596fb1ebdSEmmanuel Vadot				      "dsi0pllbyte",
101696fb1ebdSEmmanuel Vadot				      "dsi1pll",
101796fb1ebdSEmmanuel Vadot				      "dsi1pllbyte";
101896fb1ebdSEmmanuel Vadot		};
101996fb1ebdSEmmanuel Vadot
102096fb1ebdSEmmanuel Vadot		tcsr_mutex: hwlock@1905000 {
102196fb1ebdSEmmanuel Vadot			compatible = "qcom,tcsr-mutex";
102296fb1ebdSEmmanuel Vadot			reg = <0x01905000 0x20000>;
102396fb1ebdSEmmanuel Vadot			#hwlock-cells = <1>;
102496fb1ebdSEmmanuel Vadot		};
102596fb1ebdSEmmanuel Vadot
102696fb1ebdSEmmanuel Vadot		tcsr: syscon@1937000 {
102796fb1ebdSEmmanuel Vadot			compatible = "qcom,tcsr-msm8937", "syscon";
102896fb1ebdSEmmanuel Vadot			reg = <0x01937000 0x30000>;
102996fb1ebdSEmmanuel Vadot		};
103096fb1ebdSEmmanuel Vadot
103196fb1ebdSEmmanuel Vadot		mdss: display-subsystem@1a00000 {
103296fb1ebdSEmmanuel Vadot			compatible = "qcom,mdss";
103396fb1ebdSEmmanuel Vadot			reg = <0x01a00000 0x1000>,
103496fb1ebdSEmmanuel Vadot			      <0x01ab0000 0x3000>;
103596fb1ebdSEmmanuel Vadot			reg-names = "mdss_phys",
103696fb1ebdSEmmanuel Vadot				    "vbif_phys";
103796fb1ebdSEmmanuel Vadot			ranges;
103896fb1ebdSEmmanuel Vadot
103996fb1ebdSEmmanuel Vadot			power-domains = <&gcc MDSS_GDSC>;
104096fb1ebdSEmmanuel Vadot
104196fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_MDSS_AHB_CLK>,
104296fb1ebdSEmmanuel Vadot				 <&gcc GCC_MDSS_AXI_CLK>,
104396fb1ebdSEmmanuel Vadot				 <&gcc GCC_MDSS_VSYNC_CLK>;
104496fb1ebdSEmmanuel Vadot			clock-names = "iface",
104596fb1ebdSEmmanuel Vadot				      "bus",
104696fb1ebdSEmmanuel Vadot				      "vsync";
1047*0cd4430aSEmmanuel Vadot			resets = <&gcc GCC_MDSS_BCR>;
104896fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
104996fb1ebdSEmmanuel Vadot
105096fb1ebdSEmmanuel Vadot			interrupt-controller;
105196fb1ebdSEmmanuel Vadot			#interrupt-cells = <1>;
105296fb1ebdSEmmanuel Vadot
105396fb1ebdSEmmanuel Vadot			#address-cells = <1>;
105496fb1ebdSEmmanuel Vadot			#size-cells = <1>;
105596fb1ebdSEmmanuel Vadot
105696fb1ebdSEmmanuel Vadot			status = "disabled";
105796fb1ebdSEmmanuel Vadot
105896fb1ebdSEmmanuel Vadot			mdp: display-controller@1a01000 {
105996fb1ebdSEmmanuel Vadot				compatible = "qcom,msm8937-mdp5", "qcom,mdp5";
106096fb1ebdSEmmanuel Vadot				reg = <0x01a01000 0x89000>;
106196fb1ebdSEmmanuel Vadot				reg-names = "mdp_phys";
106296fb1ebdSEmmanuel Vadot
106396fb1ebdSEmmanuel Vadot				interrupt-parent = <&mdss>;
106496fb1ebdSEmmanuel Vadot				interrupts = <0>;
106596fb1ebdSEmmanuel Vadot
106696fb1ebdSEmmanuel Vadot				clocks = <&gcc GCC_MDSS_AHB_CLK>,
106796fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_AXI_CLK>,
106896fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_MDP_CLK>,
106996fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_VSYNC_CLK>;
107096fb1ebdSEmmanuel Vadot				clock-names = "iface",
107196fb1ebdSEmmanuel Vadot					      "bus",
107296fb1ebdSEmmanuel Vadot					      "core",
107396fb1ebdSEmmanuel Vadot					      "vsync";
107496fb1ebdSEmmanuel Vadot
107596fb1ebdSEmmanuel Vadot				iommus = <&apps_iommu 0x15>;
107696fb1ebdSEmmanuel Vadot
107796fb1ebdSEmmanuel Vadot				ports {
107896fb1ebdSEmmanuel Vadot					#address-cells = <1>;
107996fb1ebdSEmmanuel Vadot					#size-cells = <0>;
108096fb1ebdSEmmanuel Vadot
108196fb1ebdSEmmanuel Vadot					port@0 {
108296fb1ebdSEmmanuel Vadot						reg = <0>;
108396fb1ebdSEmmanuel Vadot						mdp5_intf1_out: endpoint {
108496fb1ebdSEmmanuel Vadot							remote-endpoint = <&mdss_dsi0_in>;
108596fb1ebdSEmmanuel Vadot						};
108696fb1ebdSEmmanuel Vadot					};
108796fb1ebdSEmmanuel Vadot
108896fb1ebdSEmmanuel Vadot					port@1 {
108996fb1ebdSEmmanuel Vadot						reg = <1>;
109096fb1ebdSEmmanuel Vadot						mdp5_intf2_out: endpoint {
109196fb1ebdSEmmanuel Vadot							remote-endpoint = <&mdss_dsi1_in>;
109296fb1ebdSEmmanuel Vadot						};
109396fb1ebdSEmmanuel Vadot					};
109496fb1ebdSEmmanuel Vadot				};
109596fb1ebdSEmmanuel Vadot			};
109696fb1ebdSEmmanuel Vadot
109796fb1ebdSEmmanuel Vadot			mdss_dsi0: dsi@1a94000 {
109896fb1ebdSEmmanuel Vadot				compatible = "qcom,mdss-dsi-ctrl";
109996fb1ebdSEmmanuel Vadot				reg = <0x01a94000 0x300>;
110096fb1ebdSEmmanuel Vadot				reg-names = "dsi_ctrl";
110196fb1ebdSEmmanuel Vadot
110296fb1ebdSEmmanuel Vadot				interrupt-parent = <&mdss>;
110396fb1ebdSEmmanuel Vadot				interrupts = <4>;
110496fb1ebdSEmmanuel Vadot
110596fb1ebdSEmmanuel Vadot				assigned-clocks = <&gcc BYTE0_CLK_SRC>,
110696fb1ebdSEmmanuel Vadot						  <&gcc PCLK0_CLK_SRC>;
110796fb1ebdSEmmanuel Vadot				assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>,
110896fb1ebdSEmmanuel Vadot							 <&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>;
110996fb1ebdSEmmanuel Vadot
111096fb1ebdSEmmanuel Vadot				clocks = <&gcc GCC_MDSS_MDP_CLK>,
111196fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_AHB_CLK>,
111296fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_AXI_CLK>,
111396fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_BYTE0_CLK>,
111496fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_PCLK0_CLK>,
111596fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_ESC0_CLK>;
111696fb1ebdSEmmanuel Vadot				clock-names = "mdp_core",
111796fb1ebdSEmmanuel Vadot					      "iface",
111896fb1ebdSEmmanuel Vadot					      "bus",
111996fb1ebdSEmmanuel Vadot					      "byte",
112096fb1ebdSEmmanuel Vadot					      "pixel",
112196fb1ebdSEmmanuel Vadot					      "core";
112296fb1ebdSEmmanuel Vadot				phys = <&mdss_dsi0_phy>;
112396fb1ebdSEmmanuel Vadot
112496fb1ebdSEmmanuel Vadot				operating-points-v2 = <&mdss_dsi0_opp_table>;
1125*0cd4430aSEmmanuel Vadot				power-domains = <&rpmpd RPMPD_VDDCX>;
112696fb1ebdSEmmanuel Vadot
112796fb1ebdSEmmanuel Vadot				#address-cells = <1>;
112896fb1ebdSEmmanuel Vadot				#size-cells = <0>;
112996fb1ebdSEmmanuel Vadot
113096fb1ebdSEmmanuel Vadot				status = "disabled";
113196fb1ebdSEmmanuel Vadot
113296fb1ebdSEmmanuel Vadot				ports {
113396fb1ebdSEmmanuel Vadot					#address-cells = <1>;
113496fb1ebdSEmmanuel Vadot					#size-cells = <0>;
113596fb1ebdSEmmanuel Vadot
113696fb1ebdSEmmanuel Vadot					port@0 {
113796fb1ebdSEmmanuel Vadot						reg = <0>;
113896fb1ebdSEmmanuel Vadot						mdss_dsi0_in: endpoint {
113996fb1ebdSEmmanuel Vadot							remote-endpoint = <&mdp5_intf1_out>;
114096fb1ebdSEmmanuel Vadot						};
114196fb1ebdSEmmanuel Vadot					};
114296fb1ebdSEmmanuel Vadot
114396fb1ebdSEmmanuel Vadot					port@1 {
114496fb1ebdSEmmanuel Vadot						reg = <1>;
114596fb1ebdSEmmanuel Vadot						mdss_dsi0_out: endpoint {
114696fb1ebdSEmmanuel Vadot						};
114796fb1ebdSEmmanuel Vadot					};
114896fb1ebdSEmmanuel Vadot				};
114996fb1ebdSEmmanuel Vadot
115096fb1ebdSEmmanuel Vadot				mdss_dsi0_opp_table: opp-table {
115196fb1ebdSEmmanuel Vadot					compatible = "operating-points-v2";
115296fb1ebdSEmmanuel Vadot
115396fb1ebdSEmmanuel Vadot					opp-125000000 {
115496fb1ebdSEmmanuel Vadot						opp-hz = /bits/ 64 <125000000>;
115596fb1ebdSEmmanuel Vadot						required-opps = <&rpmpd_opp_svs>;
115696fb1ebdSEmmanuel Vadot					};
115796fb1ebdSEmmanuel Vadot
115896fb1ebdSEmmanuel Vadot					opp-187500000 {
115996fb1ebdSEmmanuel Vadot						opp-hz = /bits/ 64 <187500000>;
116096fb1ebdSEmmanuel Vadot						required-opps = <&rpmpd_opp_nom>;
116196fb1ebdSEmmanuel Vadot					};
116296fb1ebdSEmmanuel Vadot				};
116396fb1ebdSEmmanuel Vadot			};
116496fb1ebdSEmmanuel Vadot
116596fb1ebdSEmmanuel Vadot			mdss_dsi0_phy: phy@1a94400 {
116696fb1ebdSEmmanuel Vadot				compatible = "qcom,dsi-phy-28nm-8937";
116796fb1ebdSEmmanuel Vadot				reg = <0x01a94a00 0xd4>,
116896fb1ebdSEmmanuel Vadot				      <0x01a94400 0x280>,
116996fb1ebdSEmmanuel Vadot				      <0x01a94b80 0x30>;
117096fb1ebdSEmmanuel Vadot				reg-names = "dsi_pll",
117196fb1ebdSEmmanuel Vadot					    "dsi_phy",
117296fb1ebdSEmmanuel Vadot					    "dsi_phy_regulator";
117396fb1ebdSEmmanuel Vadot
117496fb1ebdSEmmanuel Vadot				#clock-cells = <1>;
117596fb1ebdSEmmanuel Vadot				#phy-cells = <0>;
117696fb1ebdSEmmanuel Vadot
117796fb1ebdSEmmanuel Vadot				clocks = <&gcc GCC_MDSS_AHB_CLK>,
117896fb1ebdSEmmanuel Vadot					 <&rpmcc RPM_SMD_XO_CLK_SRC>;
117996fb1ebdSEmmanuel Vadot				clock-names = "iface",
118096fb1ebdSEmmanuel Vadot					      "ref";
118196fb1ebdSEmmanuel Vadot
118296fb1ebdSEmmanuel Vadot				status = "disabled";
118396fb1ebdSEmmanuel Vadot			};
118496fb1ebdSEmmanuel Vadot
118596fb1ebdSEmmanuel Vadot			mdss_dsi1: dsi@1a96000 {
118696fb1ebdSEmmanuel Vadot				compatible = "qcom,mdss-dsi-ctrl";
118796fb1ebdSEmmanuel Vadot				reg = <0x01a96000 0x300>;
118896fb1ebdSEmmanuel Vadot				reg-names = "dsi_ctrl";
118996fb1ebdSEmmanuel Vadot
119096fb1ebdSEmmanuel Vadot				interrupt-parent = <&mdss>;
119196fb1ebdSEmmanuel Vadot				interrupts = <4>;
119296fb1ebdSEmmanuel Vadot
119396fb1ebdSEmmanuel Vadot				assigned-clocks = <&gcc MSM8937_BYTE1_CLK_SRC>,
119496fb1ebdSEmmanuel Vadot						  <&gcc MSM8937_PCLK1_CLK_SRC>;
119596fb1ebdSEmmanuel Vadot				assigned-clock-parents = <&mdss_dsi1_phy DSI_BYTE_PLL_CLK>,
119696fb1ebdSEmmanuel Vadot							 <&mdss_dsi1_phy DSI_PIXEL_PLL_CLK>;
119796fb1ebdSEmmanuel Vadot
119896fb1ebdSEmmanuel Vadot				clocks = <&gcc GCC_MDSS_MDP_CLK>,
119996fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_AHB_CLK>,
120096fb1ebdSEmmanuel Vadot					 <&gcc GCC_MDSS_AXI_CLK>,
120196fb1ebdSEmmanuel Vadot					 <&gcc MSM8937_GCC_MDSS_BYTE1_CLK>,
120296fb1ebdSEmmanuel Vadot					 <&gcc MSM8937_GCC_MDSS_PCLK1_CLK>,
120396fb1ebdSEmmanuel Vadot					 <&gcc MSM8937_GCC_MDSS_ESC1_CLK>;
120496fb1ebdSEmmanuel Vadot				clock-names = "mdp_core",
120596fb1ebdSEmmanuel Vadot					      "iface",
120696fb1ebdSEmmanuel Vadot					      "bus",
120796fb1ebdSEmmanuel Vadot					      "byte",
120896fb1ebdSEmmanuel Vadot					      "pixel",
120996fb1ebdSEmmanuel Vadot					      "core";
121096fb1ebdSEmmanuel Vadot				phys = <&mdss_dsi1_phy>;
121196fb1ebdSEmmanuel Vadot
121296fb1ebdSEmmanuel Vadot				operating-points-v2 = <&mdss_dsi1_opp_table>;
1213*0cd4430aSEmmanuel Vadot				power-domains = <&rpmpd RPMPD_VDDCX>;
121496fb1ebdSEmmanuel Vadot
121596fb1ebdSEmmanuel Vadot				#address-cells = <1>;
121696fb1ebdSEmmanuel Vadot				#size-cells = <0>;
121796fb1ebdSEmmanuel Vadot
121896fb1ebdSEmmanuel Vadot				status = "disabled";
121996fb1ebdSEmmanuel Vadot
122096fb1ebdSEmmanuel Vadot				ports {
122196fb1ebdSEmmanuel Vadot					#address-cells = <1>;
122296fb1ebdSEmmanuel Vadot					#size-cells = <0>;
122396fb1ebdSEmmanuel Vadot
122496fb1ebdSEmmanuel Vadot					port@0 {
122596fb1ebdSEmmanuel Vadot						reg = <0>;
122696fb1ebdSEmmanuel Vadot						mdss_dsi1_in: endpoint {
122796fb1ebdSEmmanuel Vadot							remote-endpoint = <&mdp5_intf2_out>;
122896fb1ebdSEmmanuel Vadot						};
122996fb1ebdSEmmanuel Vadot					};
123096fb1ebdSEmmanuel Vadot
123196fb1ebdSEmmanuel Vadot					port@1 {
123296fb1ebdSEmmanuel Vadot						reg = <1>;
123396fb1ebdSEmmanuel Vadot						mdss_dsi1_out: endpoint {
123496fb1ebdSEmmanuel Vadot						};
123596fb1ebdSEmmanuel Vadot					};
123696fb1ebdSEmmanuel Vadot				};
123796fb1ebdSEmmanuel Vadot
123896fb1ebdSEmmanuel Vadot				mdss_dsi1_opp_table: opp-table {
123996fb1ebdSEmmanuel Vadot					compatible = "operating-points-v2";
124096fb1ebdSEmmanuel Vadot
124196fb1ebdSEmmanuel Vadot					opp-125000000 {
124296fb1ebdSEmmanuel Vadot						opp-hz = /bits/ 64 <125000000>;
124396fb1ebdSEmmanuel Vadot						required-opps = <&rpmpd_opp_svs>;
124496fb1ebdSEmmanuel Vadot					};
124596fb1ebdSEmmanuel Vadot
124696fb1ebdSEmmanuel Vadot					opp-187500000 {
124796fb1ebdSEmmanuel Vadot						opp-hz = /bits/ 64 <187500000>;
124896fb1ebdSEmmanuel Vadot						required-opps = <&rpmpd_opp_nom>;
124996fb1ebdSEmmanuel Vadot					};
125096fb1ebdSEmmanuel Vadot				};
125196fb1ebdSEmmanuel Vadot			};
125296fb1ebdSEmmanuel Vadot
125396fb1ebdSEmmanuel Vadot			mdss_dsi1_phy: phy@1a96a00 {
125496fb1ebdSEmmanuel Vadot				compatible = "qcom,dsi-phy-28nm-8937";
125596fb1ebdSEmmanuel Vadot				reg = <0x01a96a00 0xd4>,
125696fb1ebdSEmmanuel Vadot				      <0x01a96400 0x280>,
125796fb1ebdSEmmanuel Vadot				      <0x01a94b80 0x30>;
125896fb1ebdSEmmanuel Vadot				reg-names = "dsi_pll",
125996fb1ebdSEmmanuel Vadot					    "dsi_phy",
126096fb1ebdSEmmanuel Vadot					    "dsi_phy_regulator";
126196fb1ebdSEmmanuel Vadot
126296fb1ebdSEmmanuel Vadot				#clock-cells = <1>;
126396fb1ebdSEmmanuel Vadot				#phy-cells = <0>;
126496fb1ebdSEmmanuel Vadot
126596fb1ebdSEmmanuel Vadot				clocks = <&gcc GCC_MDSS_AHB_CLK>,
126696fb1ebdSEmmanuel Vadot					 <&rpmcc RPM_SMD_XO_CLK_SRC>;
126796fb1ebdSEmmanuel Vadot				clock-names = "iface",
126896fb1ebdSEmmanuel Vadot					      "ref";
126996fb1ebdSEmmanuel Vadot
127096fb1ebdSEmmanuel Vadot				status = "disabled";
127196fb1ebdSEmmanuel Vadot			};
127296fb1ebdSEmmanuel Vadot		};
127396fb1ebdSEmmanuel Vadot
127496fb1ebdSEmmanuel Vadot		gpu: gpu@1c00000 {
127596fb1ebdSEmmanuel Vadot			compatible = "qcom,adreno-505.0", "qcom,adreno";
127696fb1ebdSEmmanuel Vadot			reg = <0x01c00000 0x40000>;
127796fb1ebdSEmmanuel Vadot			reg-names = "kgsl_3d0_reg_memory";
127896fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
127996fb1ebdSEmmanuel Vadot			interrupt-names = "kgsl_3d0_irq";
128096fb1ebdSEmmanuel Vadot			#cooling-cells = <2>;
128196fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_OXILI_GFX3D_CLK>,
128296fb1ebdSEmmanuel Vadot				 <&gcc GCC_OXILI_AHB_CLK>,
128396fb1ebdSEmmanuel Vadot				 <&gcc GCC_BIMC_GFX_CLK>,
128496fb1ebdSEmmanuel Vadot				 <&gcc GCC_BIMC_GPU_CLK>,
128596fb1ebdSEmmanuel Vadot				 <&gcc MSM8937_GCC_OXILI_TIMER_CLK>,
128696fb1ebdSEmmanuel Vadot				 <&gcc MSM8937_GCC_OXILI_AON_CLK>;
128796fb1ebdSEmmanuel Vadot			clock-names = "core",
128896fb1ebdSEmmanuel Vadot				      "iface",
128996fb1ebdSEmmanuel Vadot				      "mem_iface",
129096fb1ebdSEmmanuel Vadot				      "alt_mem_iface",
129196fb1ebdSEmmanuel Vadot				      "rbbmtimer",
129296fb1ebdSEmmanuel Vadot				      "alwayson";
129396fb1ebdSEmmanuel Vadot			operating-points-v2 = <&gpu_opp_table>;
129496fb1ebdSEmmanuel Vadot			power-domains = <&gcc OXILI_GX_GDSC>;
129596fb1ebdSEmmanuel Vadot
129696fb1ebdSEmmanuel Vadot			iommus = <&adreno_smmu 0>;
129796fb1ebdSEmmanuel Vadot
129896fb1ebdSEmmanuel Vadot			nvmem-cells = <&gpu_speed_bin>;
129996fb1ebdSEmmanuel Vadot			nvmem-cell-names = "speed_bin";
130096fb1ebdSEmmanuel Vadot
130196fb1ebdSEmmanuel Vadot			status = "disabled";
130296fb1ebdSEmmanuel Vadot
130396fb1ebdSEmmanuel Vadot			gpu_opp_table: opp-table {
130496fb1ebdSEmmanuel Vadot				compatible = "operating-points-v2";
130596fb1ebdSEmmanuel Vadot
130696fb1ebdSEmmanuel Vadot				opp-19200000 {
130796fb1ebdSEmmanuel Vadot					opp-hz = /bits/ 64 <19200000>;
130896fb1ebdSEmmanuel Vadot					opp-supported-hw = <0xff>;
130996fb1ebdSEmmanuel Vadot					required-opps = <&rpmpd_opp_min_svs>;
131096fb1ebdSEmmanuel Vadot				};
131196fb1ebdSEmmanuel Vadot
131296fb1ebdSEmmanuel Vadot				opp-216000000 {
131396fb1ebdSEmmanuel Vadot					opp-hz = /bits/ 64 <216000000>;
131496fb1ebdSEmmanuel Vadot					opp-supported-hw = <0xff>;
131596fb1ebdSEmmanuel Vadot					required-opps = <&rpmpd_opp_svs>;
131696fb1ebdSEmmanuel Vadot				};
131796fb1ebdSEmmanuel Vadot
131896fb1ebdSEmmanuel Vadot				opp-300000000 {
131996fb1ebdSEmmanuel Vadot					opp-hz = /bits/ 64 <300000000>;
132096fb1ebdSEmmanuel Vadot					opp-supported-hw = <0xff>;
132196fb1ebdSEmmanuel Vadot					required-opps = <&rpmpd_opp_svs_plus>;
132296fb1ebdSEmmanuel Vadot				};
132396fb1ebdSEmmanuel Vadot
132496fb1ebdSEmmanuel Vadot				opp-375000000 {
132596fb1ebdSEmmanuel Vadot					opp-hz = /bits/ 64 <375000000>;
132696fb1ebdSEmmanuel Vadot					opp-supported-hw = <0xff>;
132796fb1ebdSEmmanuel Vadot					required-opps = <&rpmpd_opp_nom>;
132896fb1ebdSEmmanuel Vadot				};
132996fb1ebdSEmmanuel Vadot
133096fb1ebdSEmmanuel Vadot				opp-400000000 {
133196fb1ebdSEmmanuel Vadot					opp-hz = /bits/ 64 <400000000>;
133296fb1ebdSEmmanuel Vadot					opp-supported-hw = <0xff>;
133396fb1ebdSEmmanuel Vadot					required-opps = <&rpmpd_opp_nom_plus>;
133496fb1ebdSEmmanuel Vadot				};
133596fb1ebdSEmmanuel Vadot
133696fb1ebdSEmmanuel Vadot				opp-450000000 {
133796fb1ebdSEmmanuel Vadot					opp-hz = /bits/ 64 <450000000>;
133896fb1ebdSEmmanuel Vadot					opp-supported-hw = <0xff>;
133996fb1ebdSEmmanuel Vadot					required-opps = <&rpmpd_opp_turbo>;
134096fb1ebdSEmmanuel Vadot				};
134196fb1ebdSEmmanuel Vadot			};
134296fb1ebdSEmmanuel Vadot		};
134396fb1ebdSEmmanuel Vadot
134496fb1ebdSEmmanuel Vadot		adreno_smmu: iommu@1c40000 {
134596fb1ebdSEmmanuel Vadot			compatible = "qcom,msm8996-smmu-v2",
134696fb1ebdSEmmanuel Vadot				     "qcom,adreno-smmu",
134796fb1ebdSEmmanuel Vadot				     "qcom,smmu-v2";
134896fb1ebdSEmmanuel Vadot			reg = <0x01c40000 0x10000>;
134996fb1ebdSEmmanuel Vadot
135096fb1ebdSEmmanuel Vadot			#global-interrupts = <1>;
135196fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>,
135296fb1ebdSEmmanuel Vadot				     <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>,
135396fb1ebdSEmmanuel Vadot				     <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>,
135496fb1ebdSEmmanuel Vadot				     <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>,
135596fb1ebdSEmmanuel Vadot				     <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>;
135696fb1ebdSEmmanuel Vadot			#iommu-cells = <1>;
135796fb1ebdSEmmanuel Vadot
135896fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BIMC_GFX_CLK>,
135996fb1ebdSEmmanuel Vadot				 <&gcc GCC_OXILI_AHB_CLK>;
136096fb1ebdSEmmanuel Vadot			clock-names = "bus",
136196fb1ebdSEmmanuel Vadot				      "iface";
136296fb1ebdSEmmanuel Vadot
136396fb1ebdSEmmanuel Vadot			power-domains = <&gcc MSM8937_OXILI_CX_GDSC>;
136496fb1ebdSEmmanuel Vadot		};
136596fb1ebdSEmmanuel Vadot
136696fb1ebdSEmmanuel Vadot		apps_iommu: iommu@1e20000 {
136796fb1ebdSEmmanuel Vadot			compatible = "qcom,msm8937-iommu", "qcom,msm-iommu-v1";
136896fb1ebdSEmmanuel Vadot			ranges = <0 0x01e20000 0x20000>;
136996fb1ebdSEmmanuel Vadot
137096fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_SMMU_CFG_CLK>,
137196fb1ebdSEmmanuel Vadot				 <&gcc GCC_APSS_TCU_CLK>;
137296fb1ebdSEmmanuel Vadot			clock-names = "iface",
137396fb1ebdSEmmanuel Vadot				      "bus";
137496fb1ebdSEmmanuel Vadot
137596fb1ebdSEmmanuel Vadot			qcom,iommu-secure-id = <17>;
137696fb1ebdSEmmanuel Vadot
137796fb1ebdSEmmanuel Vadot			#address-cells = <1>;
137896fb1ebdSEmmanuel Vadot			#iommu-cells = <1>;
137996fb1ebdSEmmanuel Vadot			#size-cells = <1>;
138096fb1ebdSEmmanuel Vadot
138196fb1ebdSEmmanuel Vadot			/* VFE */
138296fb1ebdSEmmanuel Vadot			iommu-ctx@14000 {
138396fb1ebdSEmmanuel Vadot				compatible = "qcom,msm-iommu-v1-ns";
138496fb1ebdSEmmanuel Vadot				reg = <0x14000 0x1000>;
138596fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>;
138696fb1ebdSEmmanuel Vadot			};
138796fb1ebdSEmmanuel Vadot
138896fb1ebdSEmmanuel Vadot			/* MDP_0 */
138996fb1ebdSEmmanuel Vadot			iommu-ctx@15000 {
139096fb1ebdSEmmanuel Vadot				compatible = "qcom,msm-iommu-v1-ns";
139196fb1ebdSEmmanuel Vadot				reg = <0x15000 0x1000>;
139296fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
139396fb1ebdSEmmanuel Vadot			};
139496fb1ebdSEmmanuel Vadot
139596fb1ebdSEmmanuel Vadot			/* VENUS_NS */
139696fb1ebdSEmmanuel Vadot			iommu-ctx@16000 {
139796fb1ebdSEmmanuel Vadot				compatible = "qcom,msm-iommu-v1-ns";
139896fb1ebdSEmmanuel Vadot				reg = <0x16000 0x1000>;
139996fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
140096fb1ebdSEmmanuel Vadot			};
140196fb1ebdSEmmanuel Vadot		};
140296fb1ebdSEmmanuel Vadot
140396fb1ebdSEmmanuel Vadot		spmi_bus: spmi@200f000 {
140496fb1ebdSEmmanuel Vadot			compatible = "qcom,spmi-pmic-arb";
140596fb1ebdSEmmanuel Vadot			reg = <0x0200f000 0x001000>,
140696fb1ebdSEmmanuel Vadot			      <0x02400000 0x800000>,
140796fb1ebdSEmmanuel Vadot			      <0x02c00000 0x800000>,
140896fb1ebdSEmmanuel Vadot			      <0x03800000 0x200000>,
140996fb1ebdSEmmanuel Vadot			      <0x0200a000 0x002100>;
141096fb1ebdSEmmanuel Vadot			reg-names = "core",
141196fb1ebdSEmmanuel Vadot				    "chnls",
141296fb1ebdSEmmanuel Vadot				    "obsrvr",
141396fb1ebdSEmmanuel Vadot				    "intr",
141496fb1ebdSEmmanuel Vadot				    "cnfg";
141596fb1ebdSEmmanuel Vadot			interrupt-names = "periph_irq";
141696fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
141796fb1ebdSEmmanuel Vadot			qcom,ee = <0>;
141896fb1ebdSEmmanuel Vadot			qcom,channel = <0>;
141996fb1ebdSEmmanuel Vadot			#address-cells = <2>;
142096fb1ebdSEmmanuel Vadot			#size-cells = <0>;
142196fb1ebdSEmmanuel Vadot			interrupt-controller;
142296fb1ebdSEmmanuel Vadot			#interrupt-cells = <4>;
142396fb1ebdSEmmanuel Vadot		};
142496fb1ebdSEmmanuel Vadot
142596fb1ebdSEmmanuel Vadot		bam_dmux_dma: dma-controller@4044000 {
142696fb1ebdSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
142796fb1ebdSEmmanuel Vadot			reg = <0x04044000 0x19000>;
142896fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
142996fb1ebdSEmmanuel Vadot			#dma-cells = <1>;
143096fb1ebdSEmmanuel Vadot			qcom,ee = <0>;
143196fb1ebdSEmmanuel Vadot
143296fb1ebdSEmmanuel Vadot			num-channels = <6>;
143396fb1ebdSEmmanuel Vadot			qcom,num-ees = <1>;
143496fb1ebdSEmmanuel Vadot			qcom,powered-remotely;
143596fb1ebdSEmmanuel Vadot
143696fb1ebdSEmmanuel Vadot			status = "disabled";
143796fb1ebdSEmmanuel Vadot		};
143896fb1ebdSEmmanuel Vadot
143996fb1ebdSEmmanuel Vadot		sdhc_1: mmc@7824900 {
144096fb1ebdSEmmanuel Vadot			compatible = "qcom,sdhci-msm-v4";
144196fb1ebdSEmmanuel Vadot			reg = <0x07824900 0x500>,
144296fb1ebdSEmmanuel Vadot			      <0x07824000 0x800>;
144396fb1ebdSEmmanuel Vadot			reg-names = "hc",
144496fb1ebdSEmmanuel Vadot				    "core";
144596fb1ebdSEmmanuel Vadot
144696fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
144796fb1ebdSEmmanuel Vadot				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
144896fb1ebdSEmmanuel Vadot			interrupt-names = "hc_irq",
144996fb1ebdSEmmanuel Vadot					  "pwr_irq";
145096fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
145196fb1ebdSEmmanuel Vadot				 <&gcc GCC_SDCC1_APPS_CLK>,
145296fb1ebdSEmmanuel Vadot				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
145396fb1ebdSEmmanuel Vadot			clock-names = "iface",
145496fb1ebdSEmmanuel Vadot				      "core",
145596fb1ebdSEmmanuel Vadot				      "xo";
145696fb1ebdSEmmanuel Vadot			pinctrl-0 = <&sdc1_default>;
145796fb1ebdSEmmanuel Vadot			pinctrl-1 = <&sdc1_sleep>;
145896fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
145996fb1ebdSEmmanuel Vadot					"sleep";
1460*0cd4430aSEmmanuel Vadot			power-domains = <&rpmpd RPMPD_VDDCX>;
146196fb1ebdSEmmanuel Vadot			mmc-hs200-1_8v;
146296fb1ebdSEmmanuel Vadot			mmc-hs400-1_8v;
146396fb1ebdSEmmanuel Vadot			mmc-ddr-1_8v;
146496fb1ebdSEmmanuel Vadot			bus-width = <8>;
146596fb1ebdSEmmanuel Vadot			non-removable;
146696fb1ebdSEmmanuel Vadot			status = "disabled";
146796fb1ebdSEmmanuel Vadot		};
146896fb1ebdSEmmanuel Vadot
146996fb1ebdSEmmanuel Vadot		sdhc_2: mmc@7864900 {
147096fb1ebdSEmmanuel Vadot			compatible = "qcom,sdhci-msm-v4";
147196fb1ebdSEmmanuel Vadot			reg = <0x07864900 0x500>,
147296fb1ebdSEmmanuel Vadot			      <0x07864000 0x800>;
147396fb1ebdSEmmanuel Vadot			reg-names = "hc",
147496fb1ebdSEmmanuel Vadot				    "core";
147596fb1ebdSEmmanuel Vadot
147696fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
147796fb1ebdSEmmanuel Vadot				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
147896fb1ebdSEmmanuel Vadot			interrupt-names = "hc_irq",
147996fb1ebdSEmmanuel Vadot					  "pwr_irq";
148096fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
148196fb1ebdSEmmanuel Vadot				 <&gcc GCC_SDCC2_APPS_CLK>,
148296fb1ebdSEmmanuel Vadot				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
148396fb1ebdSEmmanuel Vadot			clock-names = "iface",
148496fb1ebdSEmmanuel Vadot				      "core",
148596fb1ebdSEmmanuel Vadot				      "xo";
148696fb1ebdSEmmanuel Vadot			pinctrl-0 = <&sdc2_default>;
148796fb1ebdSEmmanuel Vadot			pinctrl-1 = <&sdc2_sleep>;
148896fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
148996fb1ebdSEmmanuel Vadot					"sleep";
1490*0cd4430aSEmmanuel Vadot			power-domains = <&rpmpd RPMPD_VDDCX>;
149196fb1ebdSEmmanuel Vadot			bus-width = <4>;
149296fb1ebdSEmmanuel Vadot			status = "disabled";
149396fb1ebdSEmmanuel Vadot		};
149496fb1ebdSEmmanuel Vadot
149596fb1ebdSEmmanuel Vadot		blsp1_dma: dma-controller@7884000 {
149696fb1ebdSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
149796fb1ebdSEmmanuel Vadot			reg = <0x07884000 0x1f000>;
149896fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
149996fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_AHB_CLK>;
150096fb1ebdSEmmanuel Vadot			clock-names = "bam_clk";
150196fb1ebdSEmmanuel Vadot			qcom,controlled-remotely;
150296fb1ebdSEmmanuel Vadot			#dma-cells = <1>;
150396fb1ebdSEmmanuel Vadot			num-channels = <12>;
150496fb1ebdSEmmanuel Vadot			qcom,num-ees = <4>;
150596fb1ebdSEmmanuel Vadot			qcom,ee = <0>;
150696fb1ebdSEmmanuel Vadot		};
150796fb1ebdSEmmanuel Vadot
150896fb1ebdSEmmanuel Vadot		blsp1_uart2: serial@78b0000 {
150996fb1ebdSEmmanuel Vadot			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
151096fb1ebdSEmmanuel Vadot			reg = <0x078b0000 0x200>;
151196fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
151296fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
151396fb1ebdSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
151496fb1ebdSEmmanuel Vadot			clock-names = "core",
151596fb1ebdSEmmanuel Vadot				      "iface";
151696fb1ebdSEmmanuel Vadot			dmas = <&blsp1_dma 2>,
151796fb1ebdSEmmanuel Vadot			       <&blsp1_dma 3>;
151896fb1ebdSEmmanuel Vadot			dma-names = "tx",
151996fb1ebdSEmmanuel Vadot				    "rx";
152096fb1ebdSEmmanuel Vadot			pinctrl-0 = <&blsp1_uart2_default>;
152196fb1ebdSEmmanuel Vadot			pinctrl-1 = <&blsp1_uart2_sleep>;
152296fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
152396fb1ebdSEmmanuel Vadot					"sleep";
152496fb1ebdSEmmanuel Vadot			status = "disabled";
152596fb1ebdSEmmanuel Vadot		};
152696fb1ebdSEmmanuel Vadot
152796fb1ebdSEmmanuel Vadot		blsp1_i2c2: i2c@78b6000 {
152896fb1ebdSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
152996fb1ebdSEmmanuel Vadot			reg = <0x078b6000 0x600>;
153096fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
153196fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>,
153296fb1ebdSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
153396fb1ebdSEmmanuel Vadot			clock-names = "core", "iface";
153496fb1ebdSEmmanuel Vadot			dmas = <&blsp1_dma 6>,
153596fb1ebdSEmmanuel Vadot			       <&blsp1_dma 7>;
153696fb1ebdSEmmanuel Vadot			dma-names = "tx",
153796fb1ebdSEmmanuel Vadot				    "rx";
153896fb1ebdSEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c2_default>;
153996fb1ebdSEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c2_sleep>;
154096fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
154196fb1ebdSEmmanuel Vadot					"sleep";
154296fb1ebdSEmmanuel Vadot			#address-cells = <1>;
154396fb1ebdSEmmanuel Vadot			#size-cells = <0>;
154496fb1ebdSEmmanuel Vadot			status = "disabled";
154596fb1ebdSEmmanuel Vadot		};
154696fb1ebdSEmmanuel Vadot
154796fb1ebdSEmmanuel Vadot		blsp1_i2c3: i2c@78b7000 {
154896fb1ebdSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
154996fb1ebdSEmmanuel Vadot			reg = <0x078b7000 0x600>;
155096fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
155196fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>,
155296fb1ebdSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
155396fb1ebdSEmmanuel Vadot			clock-names = "core",
155496fb1ebdSEmmanuel Vadot				      "iface";
155596fb1ebdSEmmanuel Vadot			dmas = <&blsp1_dma 8>,
155696fb1ebdSEmmanuel Vadot			       <&blsp1_dma 9>;
155796fb1ebdSEmmanuel Vadot			dma-names = "tx",
155896fb1ebdSEmmanuel Vadot				    "rx";
155996fb1ebdSEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c3_default>;
156096fb1ebdSEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c3_sleep>;
156196fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
156296fb1ebdSEmmanuel Vadot					"sleep";
156396fb1ebdSEmmanuel Vadot			#address-cells = <1>;
156496fb1ebdSEmmanuel Vadot			#size-cells = <0>;
156596fb1ebdSEmmanuel Vadot			status = "disabled";
156696fb1ebdSEmmanuel Vadot		};
156796fb1ebdSEmmanuel Vadot
156896fb1ebdSEmmanuel Vadot		blsp1_spi3: spi@78b7000 {
156996fb1ebdSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
157096fb1ebdSEmmanuel Vadot			reg = <0x078b7000 0x600>;
157196fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
157296fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
157396fb1ebdSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
157496fb1ebdSEmmanuel Vadot			clock-names = "core",
157596fb1ebdSEmmanuel Vadot				      "iface";
157696fb1ebdSEmmanuel Vadot			dmas = <&blsp1_dma 8>,
157796fb1ebdSEmmanuel Vadot			       <&blsp1_dma 9>;
157896fb1ebdSEmmanuel Vadot			dma-names = "tx",
157996fb1ebdSEmmanuel Vadot				    "rx";
158096fb1ebdSEmmanuel Vadot			pinctrl-0 = <&blsp1_spi3_default>;
158196fb1ebdSEmmanuel Vadot			pinctrl-1 = <&blsp1_spi3_sleep>;
158296fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
158396fb1ebdSEmmanuel Vadot					"sleep";
158496fb1ebdSEmmanuel Vadot			#address-cells = <1>;
158596fb1ebdSEmmanuel Vadot			#size-cells = <0>;
158696fb1ebdSEmmanuel Vadot			status = "disabled";
158796fb1ebdSEmmanuel Vadot		};
158896fb1ebdSEmmanuel Vadot
158996fb1ebdSEmmanuel Vadot		blsp1_i2c4: i2c@78b8000 {
159096fb1ebdSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
159196fb1ebdSEmmanuel Vadot			reg = <0x078b8000 0x500>;
159296fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
159396fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>,
159496fb1ebdSEmmanuel Vadot				 <&gcc GCC_BLSP1_AHB_CLK>;
159596fb1ebdSEmmanuel Vadot			clock-names = "core",
159696fb1ebdSEmmanuel Vadot				      "iface";
159796fb1ebdSEmmanuel Vadot			dmas = <&blsp1_dma 10>,
159896fb1ebdSEmmanuel Vadot			       <&blsp1_dma 11>;
159996fb1ebdSEmmanuel Vadot			dma-names = "tx",
160096fb1ebdSEmmanuel Vadot				    "rx";
160196fb1ebdSEmmanuel Vadot			pinctrl-0 = <&blsp1_i2c4_default>;
160296fb1ebdSEmmanuel Vadot			pinctrl-1 = <&blsp1_i2c4_sleep>;
160396fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
160496fb1ebdSEmmanuel Vadot					"sleep";
160596fb1ebdSEmmanuel Vadot			#address-cells = <1>;
160696fb1ebdSEmmanuel Vadot			#size-cells = <0>;
160796fb1ebdSEmmanuel Vadot			status = "disabled";
160896fb1ebdSEmmanuel Vadot		};
160996fb1ebdSEmmanuel Vadot
161096fb1ebdSEmmanuel Vadot		blsp2_dma: dma-controller@7ac4000 {
161196fb1ebdSEmmanuel Vadot			compatible = "qcom,bam-v1.7.0";
161296fb1ebdSEmmanuel Vadot			reg = <0x07ac4000 0x1d000>;
161396fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
161496fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_AHB_CLK>;
161596fb1ebdSEmmanuel Vadot			clock-names = "bam_clk";
161696fb1ebdSEmmanuel Vadot			qcom,controlled-remotely;
161796fb1ebdSEmmanuel Vadot			#dma-cells = <1>;
161896fb1ebdSEmmanuel Vadot			num-channels = <10>;
161996fb1ebdSEmmanuel Vadot			qcom,num-ees = <4>;
162096fb1ebdSEmmanuel Vadot			qcom,ee = <0>;
162196fb1ebdSEmmanuel Vadot		};
162296fb1ebdSEmmanuel Vadot
162396fb1ebdSEmmanuel Vadot		blsp2_i2c1: i2c@7af5000 {
162496fb1ebdSEmmanuel Vadot			compatible = "qcom,i2c-qup-v2.2.1";
162596fb1ebdSEmmanuel Vadot			reg = <0x07af5000 0x600>;
162696fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>;
162796fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>,
162896fb1ebdSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
162996fb1ebdSEmmanuel Vadot			clock-names = "core",
163096fb1ebdSEmmanuel Vadot				      "iface";
163196fb1ebdSEmmanuel Vadot			dmas = <&blsp2_dma 4>,
163296fb1ebdSEmmanuel Vadot			       <&blsp2_dma 5>;
163396fb1ebdSEmmanuel Vadot			dma-names = "tx",
163496fb1ebdSEmmanuel Vadot				    "rx";
163596fb1ebdSEmmanuel Vadot			pinctrl-0 = <&blsp2_i2c1_default>;
163696fb1ebdSEmmanuel Vadot			pinctrl-1 = <&blsp2_i2c1_sleep>;
163796fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
163896fb1ebdSEmmanuel Vadot					"sleep";
163996fb1ebdSEmmanuel Vadot			#address-cells = <1>;
164096fb1ebdSEmmanuel Vadot			#size-cells = <0>;
164196fb1ebdSEmmanuel Vadot			status = "disabled";
164296fb1ebdSEmmanuel Vadot		};
164396fb1ebdSEmmanuel Vadot
164496fb1ebdSEmmanuel Vadot		blsp2_spi2: spi@7af6000 {
164596fb1ebdSEmmanuel Vadot			compatible = "qcom,spi-qup-v2.2.1";
164696fb1ebdSEmmanuel Vadot			reg = <0x07af6000 0x600>;
164796fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>;
164896fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_BLSP2_QUP2_SPI_APPS_CLK>,
164996fb1ebdSEmmanuel Vadot				 <&gcc GCC_BLSP2_AHB_CLK>;
165096fb1ebdSEmmanuel Vadot			clock-names = "core",
165196fb1ebdSEmmanuel Vadot				      "iface";
165296fb1ebdSEmmanuel Vadot			dmas = <&blsp2_dma 6>,
165396fb1ebdSEmmanuel Vadot			       <&blsp2_dma 7>;
165496fb1ebdSEmmanuel Vadot			dma-names = "tx",
165596fb1ebdSEmmanuel Vadot				    "rx";
165696fb1ebdSEmmanuel Vadot			pinctrl-0 = <&blsp2_spi2_default>;
165796fb1ebdSEmmanuel Vadot			pinctrl-1 = <&blsp2_spi2_sleep>;
165896fb1ebdSEmmanuel Vadot			pinctrl-names = "default",
165996fb1ebdSEmmanuel Vadot					"sleep";
166096fb1ebdSEmmanuel Vadot			#address-cells = <1>;
166196fb1ebdSEmmanuel Vadot			#size-cells = <0>;
166296fb1ebdSEmmanuel Vadot			status = "disabled";
166396fb1ebdSEmmanuel Vadot		};
166496fb1ebdSEmmanuel Vadot
166596fb1ebdSEmmanuel Vadot		usb: usb@78db000 {
166696fb1ebdSEmmanuel Vadot			compatible = "qcom,ci-hdrc";
166796fb1ebdSEmmanuel Vadot			reg = <0x078db000 0x200>,
166896fb1ebdSEmmanuel Vadot			      <0x078db200 0x200>;
166996fb1ebdSEmmanuel Vadot			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>,
167096fb1ebdSEmmanuel Vadot				     <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
167196fb1ebdSEmmanuel Vadot			clocks = <&gcc GCC_USB_HS_AHB_CLK>,
167296fb1ebdSEmmanuel Vadot				 <&gcc GCC_USB_HS_SYSTEM_CLK>;
167396fb1ebdSEmmanuel Vadot			clock-names = "iface",
167496fb1ebdSEmmanuel Vadot				      "core";
167596fb1ebdSEmmanuel Vadot			assigned-clocks = <&gcc GCC_USB_HS_SYSTEM_CLK>;
167696fb1ebdSEmmanuel Vadot			assigned-clock-rates = <80000000>;
167796fb1ebdSEmmanuel Vadot			resets = <&gcc GCC_USB_HS_BCR>;
167896fb1ebdSEmmanuel Vadot			reset-names = "core";
167996fb1ebdSEmmanuel Vadot			phy_type = "ulpi";
168096fb1ebdSEmmanuel Vadot			dr_mode = "otg";
168196fb1ebdSEmmanuel Vadot			hnp-disable;
168296fb1ebdSEmmanuel Vadot			srp-disable;
168396fb1ebdSEmmanuel Vadot			adp-disable;
168496fb1ebdSEmmanuel Vadot			ahb-burst-config = <0>;
168596fb1ebdSEmmanuel Vadot			phy-names = "usb-phy";
168696fb1ebdSEmmanuel Vadot			phys = <&usb_hs_phy>;
168796fb1ebdSEmmanuel Vadot			status = "disabled";
168896fb1ebdSEmmanuel Vadot			#reset-cells = <1>;
168996fb1ebdSEmmanuel Vadot		};
169096fb1ebdSEmmanuel Vadot
169196fb1ebdSEmmanuel Vadot		wcnss: remoteproc@a204000 {
169296fb1ebdSEmmanuel Vadot			compatible = "qcom,pronto-v3-pil", "qcom,pronto";
169396fb1ebdSEmmanuel Vadot			reg = <0x0a204000 0x2000>,
169496fb1ebdSEmmanuel Vadot			      <0x0a202000 0x1000>,
169596fb1ebdSEmmanuel Vadot			      <0x0a21b000 0x3000>;
169696fb1ebdSEmmanuel Vadot			reg-names = "ccu",
169796fb1ebdSEmmanuel Vadot				    "dxe",
169896fb1ebdSEmmanuel Vadot				    "pmu";
169996fb1ebdSEmmanuel Vadot
170096fb1ebdSEmmanuel Vadot			memory-region = <&wcnss_mem>;
170196fb1ebdSEmmanuel Vadot
170296fb1ebdSEmmanuel Vadot			interrupts-extended = <&intc GIC_SPI 149 IRQ_TYPE_EDGE_RISING>,
170396fb1ebdSEmmanuel Vadot					      <&wcnss_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
170496fb1ebdSEmmanuel Vadot					      <&wcnss_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
170596fb1ebdSEmmanuel Vadot					      <&wcnss_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
170696fb1ebdSEmmanuel Vadot					      <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
170796fb1ebdSEmmanuel Vadot			interrupt-names = "wdog",
170896fb1ebdSEmmanuel Vadot					  "fatal",
170996fb1ebdSEmmanuel Vadot					  "ready",
171096fb1ebdSEmmanuel Vadot					  "handover",
171196fb1ebdSEmmanuel Vadot					  "stop-ack";
171296fb1ebdSEmmanuel Vadot
1713*0cd4430aSEmmanuel Vadot			power-domains = <&rpmpd RPMPD_VDDCX>,
1714*0cd4430aSEmmanuel Vadot					<&rpmpd RPMPD_VDDMX>;
171596fb1ebdSEmmanuel Vadot			power-domain-names = "cx",
171696fb1ebdSEmmanuel Vadot					     "mx";
171796fb1ebdSEmmanuel Vadot
171896fb1ebdSEmmanuel Vadot			qcom,smem-states = <&wcnss_smp2p_out 0>;
171996fb1ebdSEmmanuel Vadot			qcom,smem-state-names = "stop";
172096fb1ebdSEmmanuel Vadot
172196fb1ebdSEmmanuel Vadot			pinctrl-0 = <&wcnss_pin_a>;
172296fb1ebdSEmmanuel Vadot			pinctrl-names = "default";
172396fb1ebdSEmmanuel Vadot
172496fb1ebdSEmmanuel Vadot			status = "disabled";
172596fb1ebdSEmmanuel Vadot
172696fb1ebdSEmmanuel Vadot			wcnss_iris: iris {
172796fb1ebdSEmmanuel Vadot				clocks = <&rpmcc RPM_SMD_RF_CLK2>;
172896fb1ebdSEmmanuel Vadot				clock-names = "xo";
172996fb1ebdSEmmanuel Vadot			};
173096fb1ebdSEmmanuel Vadot
173196fb1ebdSEmmanuel Vadot			smd-edge {
173296fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 142 IRQ_TYPE_EDGE_RISING>;
173396fb1ebdSEmmanuel Vadot
173496fb1ebdSEmmanuel Vadot				mboxes = <&apcs1 17>;
173596fb1ebdSEmmanuel Vadot				qcom,smd-edge = <6>;
173696fb1ebdSEmmanuel Vadot				qcom,remote-pid = <4>;
173796fb1ebdSEmmanuel Vadot
173896fb1ebdSEmmanuel Vadot				label = "pronto";
173996fb1ebdSEmmanuel Vadot
174096fb1ebdSEmmanuel Vadot				wcnss_ctrl: wcnss {
174196fb1ebdSEmmanuel Vadot					compatible = "qcom,wcnss";
174296fb1ebdSEmmanuel Vadot					qcom,smd-channels = "WCNSS_CTRL";
174396fb1ebdSEmmanuel Vadot
174496fb1ebdSEmmanuel Vadot					qcom,mmio = <&wcnss>;
174596fb1ebdSEmmanuel Vadot
174696fb1ebdSEmmanuel Vadot					wcnss_bt: bluetooth {
174796fb1ebdSEmmanuel Vadot						compatible = "qcom,wcnss-bt";
174896fb1ebdSEmmanuel Vadot					};
174996fb1ebdSEmmanuel Vadot
175096fb1ebdSEmmanuel Vadot					wcnss_wifi: wifi {
175196fb1ebdSEmmanuel Vadot						compatible = "qcom,wcnss-wlan";
175296fb1ebdSEmmanuel Vadot
175396fb1ebdSEmmanuel Vadot						interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
175496fb1ebdSEmmanuel Vadot							     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
175596fb1ebdSEmmanuel Vadot						interrupt-names = "tx",
175696fb1ebdSEmmanuel Vadot								  "rx";
175796fb1ebdSEmmanuel Vadot
175896fb1ebdSEmmanuel Vadot						qcom,smem-states = <&apps_smsm 10>, <&apps_smsm 9>;
175996fb1ebdSEmmanuel Vadot						qcom,smem-state-names = "tx-enable",
176096fb1ebdSEmmanuel Vadot									"tx-rings-empty";
176196fb1ebdSEmmanuel Vadot					};
176296fb1ebdSEmmanuel Vadot				};
176396fb1ebdSEmmanuel Vadot			};
176496fb1ebdSEmmanuel Vadot		};
176596fb1ebdSEmmanuel Vadot
176696fb1ebdSEmmanuel Vadot		intc: interrupt-controller@b000000 {
176796fb1ebdSEmmanuel Vadot			compatible = "qcom,msm-qgic2";
176896fb1ebdSEmmanuel Vadot			interrupt-controller;
176996fb1ebdSEmmanuel Vadot			#interrupt-cells = <3>;
177096fb1ebdSEmmanuel Vadot			reg = <0x0b000000 0x1000>,
177196fb1ebdSEmmanuel Vadot			      <0x0b002000 0x1000>;
177296fb1ebdSEmmanuel Vadot		};
177396fb1ebdSEmmanuel Vadot
177496fb1ebdSEmmanuel Vadot		apcs1: mailbox@b011000 {
177596fb1ebdSEmmanuel Vadot			compatible = "qcom,msm8939-apcs-kpss-global", "syscon";
177696fb1ebdSEmmanuel Vadot			reg = <0x0b011000 0x1000>;
177796fb1ebdSEmmanuel Vadot			#mbox-cells = <1>;
177896fb1ebdSEmmanuel Vadot		};
177996fb1ebdSEmmanuel Vadot
178096fb1ebdSEmmanuel Vadot		watchdog@b017000 {
178196fb1ebdSEmmanuel Vadot			compatible = "qcom,apss-wdt-qcs404", "qcom,kpss-wdt";
178296fb1ebdSEmmanuel Vadot			reg = <0x0b017000 0x1000>;
178396fb1ebdSEmmanuel Vadot			clocks = <&sleep_clk>;
178496fb1ebdSEmmanuel Vadot		};
178596fb1ebdSEmmanuel Vadot
178696fb1ebdSEmmanuel Vadot		timer@b120000 {
178796fb1ebdSEmmanuel Vadot			compatible = "arm,armv7-timer-mem";
178896fb1ebdSEmmanuel Vadot			reg = <0x0b120000 0x1000>;
178996fb1ebdSEmmanuel Vadot			ranges;
179096fb1ebdSEmmanuel Vadot			#address-cells = <1>;
179196fb1ebdSEmmanuel Vadot			#size-cells = <1>;
179296fb1ebdSEmmanuel Vadot
179396fb1ebdSEmmanuel Vadot			frame@b121000 {
179496fb1ebdSEmmanuel Vadot				reg = <0x0b121000 0x1000>,
179596fb1ebdSEmmanuel Vadot				      <0x0b122000 0x1000>;
179696fb1ebdSEmmanuel Vadot				frame-number = <0>;
179796fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
179896fb1ebdSEmmanuel Vadot					     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
179996fb1ebdSEmmanuel Vadot			};
180096fb1ebdSEmmanuel Vadot
180196fb1ebdSEmmanuel Vadot			frame@b123000 {
180296fb1ebdSEmmanuel Vadot				reg = <0x0b123000 0x1000>;
180396fb1ebdSEmmanuel Vadot				frame-number = <1>;
180496fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
180596fb1ebdSEmmanuel Vadot				status = "disabled";
180696fb1ebdSEmmanuel Vadot			};
180796fb1ebdSEmmanuel Vadot
180896fb1ebdSEmmanuel Vadot			frame@b124000 {
180996fb1ebdSEmmanuel Vadot				reg = <0x0b124000 0x1000>;
181096fb1ebdSEmmanuel Vadot				frame-number = <2>;
181196fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
181296fb1ebdSEmmanuel Vadot				status = "disabled";
181396fb1ebdSEmmanuel Vadot			};
181496fb1ebdSEmmanuel Vadot
181596fb1ebdSEmmanuel Vadot			frame@b125000 {
181696fb1ebdSEmmanuel Vadot				reg = <0x0b125000 0x1000>;
181796fb1ebdSEmmanuel Vadot				frame-number = <3>;
181896fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
181996fb1ebdSEmmanuel Vadot				status = "disabled";
182096fb1ebdSEmmanuel Vadot			};
182196fb1ebdSEmmanuel Vadot
182296fb1ebdSEmmanuel Vadot			frame@b126000 {
182396fb1ebdSEmmanuel Vadot				reg = <0x0b126000 0x1000>;
182496fb1ebdSEmmanuel Vadot				frame-number = <4>;
182596fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
182696fb1ebdSEmmanuel Vadot				status = "disabled";
182796fb1ebdSEmmanuel Vadot			};
182896fb1ebdSEmmanuel Vadot
182996fb1ebdSEmmanuel Vadot			frame@b127000 {
183096fb1ebdSEmmanuel Vadot				reg = <0x0b127000 0x1000>;
183196fb1ebdSEmmanuel Vadot				frame-number = <5>;
183296fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
183396fb1ebdSEmmanuel Vadot				status = "disabled";
183496fb1ebdSEmmanuel Vadot			};
183596fb1ebdSEmmanuel Vadot
183696fb1ebdSEmmanuel Vadot			frame@b128000 {
183796fb1ebdSEmmanuel Vadot				reg = <0x0b128000 0x1000>;
183896fb1ebdSEmmanuel Vadot				frame-number = <6>;
183996fb1ebdSEmmanuel Vadot				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
184096fb1ebdSEmmanuel Vadot				status = "disabled";
184196fb1ebdSEmmanuel Vadot			};
184296fb1ebdSEmmanuel Vadot		};
184396fb1ebdSEmmanuel Vadot	};
184496fb1ebdSEmmanuel Vadot
184596fb1ebdSEmmanuel Vadot	thermal_zones: thermal-zones {
184696fb1ebdSEmmanuel Vadot		aoss-thermal {
184796fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 0>;
184896fb1ebdSEmmanuel Vadot
184996fb1ebdSEmmanuel Vadot			trips {
185096fb1ebdSEmmanuel Vadot				aoss_alert0: trip-point0 {
185196fb1ebdSEmmanuel Vadot					temperature = <85000>;
185296fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
185396fb1ebdSEmmanuel Vadot					type = "critical";
185496fb1ebdSEmmanuel Vadot				};
185596fb1ebdSEmmanuel Vadot			};
185696fb1ebdSEmmanuel Vadot		};
185796fb1ebdSEmmanuel Vadot
185896fb1ebdSEmmanuel Vadot		mdm-core-thermal {
185996fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 1>;
186096fb1ebdSEmmanuel Vadot
186196fb1ebdSEmmanuel Vadot			trips {
186296fb1ebdSEmmanuel Vadot				mdm_core_alert0: trip-point0 {
186396fb1ebdSEmmanuel Vadot					temperature = <85000>;
186496fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
186596fb1ebdSEmmanuel Vadot					type = "critical";
186696fb1ebdSEmmanuel Vadot				};
186796fb1ebdSEmmanuel Vadot			};
186896fb1ebdSEmmanuel Vadot		};
186996fb1ebdSEmmanuel Vadot
187096fb1ebdSEmmanuel Vadot		q6-thermal {
187196fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 2>;
187296fb1ebdSEmmanuel Vadot
187396fb1ebdSEmmanuel Vadot			trips {
187496fb1ebdSEmmanuel Vadot				q6_alert0: trip-point0 {
187596fb1ebdSEmmanuel Vadot					temperature = <85000>;
187696fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
187796fb1ebdSEmmanuel Vadot					type = "critical";
187896fb1ebdSEmmanuel Vadot				};
187996fb1ebdSEmmanuel Vadot			};
188096fb1ebdSEmmanuel Vadot		};
188196fb1ebdSEmmanuel Vadot
188296fb1ebdSEmmanuel Vadot		camera-thermal {
188396fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 3>;
188496fb1ebdSEmmanuel Vadot
188596fb1ebdSEmmanuel Vadot			trips {
188696fb1ebdSEmmanuel Vadot				camera_alert0: trip-point0 {
188796fb1ebdSEmmanuel Vadot					temperature = <85000>;
188896fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
188996fb1ebdSEmmanuel Vadot					type = "critical";
189096fb1ebdSEmmanuel Vadot				};
189196fb1ebdSEmmanuel Vadot			};
189296fb1ebdSEmmanuel Vadot		};
189396fb1ebdSEmmanuel Vadot
189496fb1ebdSEmmanuel Vadot		cpuss1-thermal {
189596fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 4>;
189696fb1ebdSEmmanuel Vadot
189796fb1ebdSEmmanuel Vadot			cooling-maps {
189896fb1ebdSEmmanuel Vadot				map0 {
189996fb1ebdSEmmanuel Vadot					trip = <&cpuss1_alert0>;
190096fb1ebdSEmmanuel Vadot					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
190196fb1ebdSEmmanuel Vadot							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
190296fb1ebdSEmmanuel Vadot							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
190396fb1ebdSEmmanuel Vadot							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
190496fb1ebdSEmmanuel Vadot				};
190596fb1ebdSEmmanuel Vadot			};
190696fb1ebdSEmmanuel Vadot
190796fb1ebdSEmmanuel Vadot			trips {
190896fb1ebdSEmmanuel Vadot				cpuss1_alert0: trip-point0 {
190996fb1ebdSEmmanuel Vadot					temperature = <75000>;
191096fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
191196fb1ebdSEmmanuel Vadot					type = "passive";
191296fb1ebdSEmmanuel Vadot				};
191396fb1ebdSEmmanuel Vadot
191496fb1ebdSEmmanuel Vadot				cpuss1_alert1: trip-point1 {
191596fb1ebdSEmmanuel Vadot					temperature = <85000>;
191696fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
191796fb1ebdSEmmanuel Vadot					type = "hot";
191896fb1ebdSEmmanuel Vadot				};
191996fb1ebdSEmmanuel Vadot
192096fb1ebdSEmmanuel Vadot				cpuss1_crit: cpuss1-crit {
192196fb1ebdSEmmanuel Vadot					temperature = <100000>;
192296fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
192396fb1ebdSEmmanuel Vadot					type = "critical";
192496fb1ebdSEmmanuel Vadot				};
192596fb1ebdSEmmanuel Vadot			};
192696fb1ebdSEmmanuel Vadot		};
192796fb1ebdSEmmanuel Vadot
192896fb1ebdSEmmanuel Vadot		cpu4-thermal {
192996fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 5>;
193096fb1ebdSEmmanuel Vadot
193196fb1ebdSEmmanuel Vadot			cooling-maps {
193296fb1ebdSEmmanuel Vadot				map0 {
193396fb1ebdSEmmanuel Vadot					trip = <&cpu4_alert1>;
193496fb1ebdSEmmanuel Vadot					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
193596fb1ebdSEmmanuel Vadot							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
193696fb1ebdSEmmanuel Vadot							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
193796fb1ebdSEmmanuel Vadot							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
193896fb1ebdSEmmanuel Vadot				};
193996fb1ebdSEmmanuel Vadot			};
194096fb1ebdSEmmanuel Vadot
194196fb1ebdSEmmanuel Vadot			trips {
194296fb1ebdSEmmanuel Vadot				cpu4_alert0: trip-point0 {
194396fb1ebdSEmmanuel Vadot					temperature = <75000>;
194496fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
194596fb1ebdSEmmanuel Vadot					type = "passive";
194696fb1ebdSEmmanuel Vadot				};
194796fb1ebdSEmmanuel Vadot
194896fb1ebdSEmmanuel Vadot				cpu4_alert1: trip-point1 {
194996fb1ebdSEmmanuel Vadot					temperature = <85000>;
195096fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
195196fb1ebdSEmmanuel Vadot					type = "hot";
195296fb1ebdSEmmanuel Vadot				};
195396fb1ebdSEmmanuel Vadot
195496fb1ebdSEmmanuel Vadot				cpu4_crit: cpu-crit {
195596fb1ebdSEmmanuel Vadot					temperature = <100000>;
195696fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
195796fb1ebdSEmmanuel Vadot					type = "critical";
195896fb1ebdSEmmanuel Vadot				};
195996fb1ebdSEmmanuel Vadot			};
196096fb1ebdSEmmanuel Vadot		};
196196fb1ebdSEmmanuel Vadot
196296fb1ebdSEmmanuel Vadot		cpu5-thermal {
196396fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 6>;
196496fb1ebdSEmmanuel Vadot
196596fb1ebdSEmmanuel Vadot			cooling-maps {
196696fb1ebdSEmmanuel Vadot				map0 {
196796fb1ebdSEmmanuel Vadot					trip = <&cpu5_alert1>;
196896fb1ebdSEmmanuel Vadot					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
196996fb1ebdSEmmanuel Vadot							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
197096fb1ebdSEmmanuel Vadot							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
197196fb1ebdSEmmanuel Vadot							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
197296fb1ebdSEmmanuel Vadot				};
197396fb1ebdSEmmanuel Vadot			};
197496fb1ebdSEmmanuel Vadot
197596fb1ebdSEmmanuel Vadot			trips {
197696fb1ebdSEmmanuel Vadot				cpu5_alert0: trip-point0 {
197796fb1ebdSEmmanuel Vadot					temperature = <75000>;
197896fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
197996fb1ebdSEmmanuel Vadot					type = "hot";
198096fb1ebdSEmmanuel Vadot				};
198196fb1ebdSEmmanuel Vadot
198296fb1ebdSEmmanuel Vadot				cpu5_alert1: trip-point1 {
198396fb1ebdSEmmanuel Vadot					temperature = <85000>;
198496fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
198596fb1ebdSEmmanuel Vadot					type = "passive";
198696fb1ebdSEmmanuel Vadot				};
198796fb1ebdSEmmanuel Vadot
198896fb1ebdSEmmanuel Vadot				cpu5_crit: cpu-crit {
198996fb1ebdSEmmanuel Vadot					temperature = <100000>;
199096fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
199196fb1ebdSEmmanuel Vadot					type = "critical";
199296fb1ebdSEmmanuel Vadot				};
199396fb1ebdSEmmanuel Vadot			};
199496fb1ebdSEmmanuel Vadot		};
199596fb1ebdSEmmanuel Vadot
199696fb1ebdSEmmanuel Vadot		cpu6-thermal {
199796fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 7>;
199896fb1ebdSEmmanuel Vadot
199996fb1ebdSEmmanuel Vadot			cooling-maps {
200096fb1ebdSEmmanuel Vadot				map0 {
200196fb1ebdSEmmanuel Vadot					trip = <&cpu6_alert1>;
200296fb1ebdSEmmanuel Vadot					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
200396fb1ebdSEmmanuel Vadot							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
200496fb1ebdSEmmanuel Vadot							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
200596fb1ebdSEmmanuel Vadot							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
200696fb1ebdSEmmanuel Vadot				};
200796fb1ebdSEmmanuel Vadot			};
200896fb1ebdSEmmanuel Vadot
200996fb1ebdSEmmanuel Vadot			trips {
201096fb1ebdSEmmanuel Vadot				cpu6_alert0: trip-point0 {
201196fb1ebdSEmmanuel Vadot					temperature = <75000>;
201296fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
201396fb1ebdSEmmanuel Vadot					type = "hot";
201496fb1ebdSEmmanuel Vadot				};
201596fb1ebdSEmmanuel Vadot
201696fb1ebdSEmmanuel Vadot				cpu6_alert1: trip-point1 {
201796fb1ebdSEmmanuel Vadot					temperature = <85000>;
201896fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
201996fb1ebdSEmmanuel Vadot					type = "passive";
202096fb1ebdSEmmanuel Vadot				};
202196fb1ebdSEmmanuel Vadot
202296fb1ebdSEmmanuel Vadot				cpu6_crit: cpu-crit {
202396fb1ebdSEmmanuel Vadot					temperature = <100000>;
202496fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
202596fb1ebdSEmmanuel Vadot					type = "critical";
202696fb1ebdSEmmanuel Vadot				};
202796fb1ebdSEmmanuel Vadot			};
202896fb1ebdSEmmanuel Vadot		};
202996fb1ebdSEmmanuel Vadot
203096fb1ebdSEmmanuel Vadot		cpu7-thermal {
203196fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 8>;
203296fb1ebdSEmmanuel Vadot
203396fb1ebdSEmmanuel Vadot			cooling-maps {
203496fb1ebdSEmmanuel Vadot				map0 {
203596fb1ebdSEmmanuel Vadot					trip = <&cpu7_alert1>;
203696fb1ebdSEmmanuel Vadot					cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
203796fb1ebdSEmmanuel Vadot							 <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
203896fb1ebdSEmmanuel Vadot							 <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
203996fb1ebdSEmmanuel Vadot							 <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
204096fb1ebdSEmmanuel Vadot				};
204196fb1ebdSEmmanuel Vadot			};
204296fb1ebdSEmmanuel Vadot
204396fb1ebdSEmmanuel Vadot			trips {
204496fb1ebdSEmmanuel Vadot				cpu7_alert0: trip-point0 {
204596fb1ebdSEmmanuel Vadot					temperature = <75000>;
204696fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
204796fb1ebdSEmmanuel Vadot					type = "hot";
204896fb1ebdSEmmanuel Vadot				};
204996fb1ebdSEmmanuel Vadot
205096fb1ebdSEmmanuel Vadot				cpu7_alert1: trip-point1 {
205196fb1ebdSEmmanuel Vadot					temperature = <85000>;
205296fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
205396fb1ebdSEmmanuel Vadot					type = "passive";
205496fb1ebdSEmmanuel Vadot				};
205596fb1ebdSEmmanuel Vadot
205696fb1ebdSEmmanuel Vadot				cpu7_crit: cpu-crit {
205796fb1ebdSEmmanuel Vadot					temperature = <100000>;
205896fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
205996fb1ebdSEmmanuel Vadot					type = "critical";
206096fb1ebdSEmmanuel Vadot				};
206196fb1ebdSEmmanuel Vadot			};
206296fb1ebdSEmmanuel Vadot		};
206396fb1ebdSEmmanuel Vadot
206496fb1ebdSEmmanuel Vadot		cpuss0-thermal {
206596fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 9>;
206696fb1ebdSEmmanuel Vadot
206796fb1ebdSEmmanuel Vadot			cooling-maps {
206896fb1ebdSEmmanuel Vadot				map0 {
206996fb1ebdSEmmanuel Vadot					trip = <&cpuss0_alert0>;
207096fb1ebdSEmmanuel Vadot					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
207196fb1ebdSEmmanuel Vadot							 <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
207296fb1ebdSEmmanuel Vadot							 <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
207396fb1ebdSEmmanuel Vadot							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
207496fb1ebdSEmmanuel Vadot				};
207596fb1ebdSEmmanuel Vadot			};
207696fb1ebdSEmmanuel Vadot
207796fb1ebdSEmmanuel Vadot			trips {
207896fb1ebdSEmmanuel Vadot				cpuss0_alert0: trip-point0 {
207996fb1ebdSEmmanuel Vadot					temperature = <75000>;
208096fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
208196fb1ebdSEmmanuel Vadot					type = "passive";
208296fb1ebdSEmmanuel Vadot				};
208396fb1ebdSEmmanuel Vadot
208496fb1ebdSEmmanuel Vadot				cpuss0_alert1: trip-point1 {
208596fb1ebdSEmmanuel Vadot					temperature = <85000>;
208696fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
208796fb1ebdSEmmanuel Vadot					type = "hot";
208896fb1ebdSEmmanuel Vadot				};
208996fb1ebdSEmmanuel Vadot
209096fb1ebdSEmmanuel Vadot				cpuss0_crit: cpuss0-crit {
209196fb1ebdSEmmanuel Vadot					temperature = <100000>;
209296fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
209396fb1ebdSEmmanuel Vadot					type = "critical";
209496fb1ebdSEmmanuel Vadot				};
209596fb1ebdSEmmanuel Vadot			};
209696fb1ebdSEmmanuel Vadot		};
209796fb1ebdSEmmanuel Vadot
209896fb1ebdSEmmanuel Vadot		gpu-thermal {
209996fb1ebdSEmmanuel Vadot			polling-delay-passive = <250>;
210096fb1ebdSEmmanuel Vadot
210196fb1ebdSEmmanuel Vadot			thermal-sensors = <&tsens 10>;
210296fb1ebdSEmmanuel Vadot
210396fb1ebdSEmmanuel Vadot			cooling-maps {
210496fb1ebdSEmmanuel Vadot				map0 {
210596fb1ebdSEmmanuel Vadot					trip = <&gpu_alert>;
210696fb1ebdSEmmanuel Vadot					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
210796fb1ebdSEmmanuel Vadot				};
210896fb1ebdSEmmanuel Vadot			};
210996fb1ebdSEmmanuel Vadot
211096fb1ebdSEmmanuel Vadot			trips {
211196fb1ebdSEmmanuel Vadot				gpu_alert: trip-point0 {
211296fb1ebdSEmmanuel Vadot					temperature = <70000>;
211396fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
211496fb1ebdSEmmanuel Vadot					type = "passive";
211596fb1ebdSEmmanuel Vadot				};
211696fb1ebdSEmmanuel Vadot
211796fb1ebdSEmmanuel Vadot				gpu_crit: gpu-crit {
211896fb1ebdSEmmanuel Vadot					temperature = <90000>;
211996fb1ebdSEmmanuel Vadot					hysteresis = <2000>;
212096fb1ebdSEmmanuel Vadot					type = "critical";
212196fb1ebdSEmmanuel Vadot				};
212296fb1ebdSEmmanuel Vadot			};
212396fb1ebdSEmmanuel Vadot		};
212496fb1ebdSEmmanuel Vadot	};
212596fb1ebdSEmmanuel Vadot
212696fb1ebdSEmmanuel Vadot	timer {
212796fb1ebdSEmmanuel Vadot		compatible = "arm,armv8-timer";
212896fb1ebdSEmmanuel Vadot		interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
212996fb1ebdSEmmanuel Vadot			     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
213096fb1ebdSEmmanuel Vadot			     <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
213196fb1ebdSEmmanuel Vadot			     <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
213296fb1ebdSEmmanuel Vadot	};
213396fb1ebdSEmmanuel Vadot};
213496fb1ebdSEmmanuel Vadot
2135