// SPDX-License-Identifier: BSD-3-Clause
/*
 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
 */

#include <dt-bindings/clock/qcom,dispcc-qcm2290.h>
#include <dt-bindings/clock/qcom,qcm2290-gpucc.h>
#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/clock/qcom,shikra-audiocorecc.h>
#include <dt-bindings/clock/qcom,shikra-gcc.h>
#include <dt-bindings/interconnect/qcom,icc.h>
#include <dt-bindings/interconnect/qcom,osm-l3.h>
#include <dt-bindings/dma/qcom-gpi.h>
#include <dt-bindings/interconnect/qcom,rpm-icc.h>
#include <dt-bindings/interconnect/qcom,shikra.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/phy/phy-qcom-qmp.h>
#include <dt-bindings/power/qcom-rpmpd.h>
#include <dt-bindings/thermal/thermal.h>

/ {
	interrupt-parent = <&intc>;

	#address-cells = <2>;
	#size-cells = <2>;

	clocks {
		xo_board: xo-board {
			compatible = "fixed-clock";
			clock-frequency = <38400000>;
			#clock-cells = <0>;
		};

		sleep_clk: sleep-clk {
			compatible = "fixed-clock";
			clock-frequency = <32764>;
			#clock-cells = <0>;
		};
	};

	cpus {
		#address-cells = <2>;
		#size-cells = <0>;

		cpu0: cpu@0 {
			device_type = "cpu";
			compatible = "arm,cortex-a55";
			reg = <0x0 0x0>;
			enable-method = "psci";
			next-level-cache = <&l3>;
			capacity-dmips-mhz = <1024>;
			dynamic-power-coefficient = <100>;
			clocks = <&cpufreq_hw 0>;
			qcom,freq-domain = <&cpufreq_hw 0>;
			#cooling-cells = <2>;
			operating-points-v2 = <&cpu0_opp_table>;
			interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ACTIVE_TAG>,
					<&epss_l3 MASTER_EPSS_L3_APPS
					 &epss_l3 SLAVE_EPSS_L3_SHARED>;
		};

		cpu1: cpu@100 {
			device_type = "cpu";
			compatible = "arm,cortex-a55";
			reg = <0x0 0x100>;
			enable-method = "psci";
			next-level-cache = <&l3>;
			capacity-dmips-mhz = <1024>;
			dynamic-power-coefficient = <100>;
			clocks = <&cpufreq_hw 0>;
			qcom,freq-domain = <&cpufreq_hw 0>;
			#cooling-cells = <2>;
			operating-points-v2 = <&cpu0_opp_table>;
			interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ACTIVE_TAG>,
					<&epss_l3 MASTER_EPSS_L3_APPS
					 &epss_l3 SLAVE_EPSS_L3_SHARED>;
		};

		cpu2: cpu@200 {
			device_type = "cpu";
			compatible = "arm,cortex-a55";
			reg = <0x0 0x200>;
			enable-method = "psci";
			next-level-cache = <&l3>;
			capacity-dmips-mhz = <1024>;
			dynamic-power-coefficient = <100>;
			clocks = <&cpufreq_hw 0>;
			qcom,freq-domain = <&cpufreq_hw 0>;
			#cooling-cells = <2>;
			operating-points-v2 = <&cpu0_opp_table>;
			interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ACTIVE_TAG>,
					<&epss_l3 MASTER_EPSS_L3_APPS
					 &epss_l3 SLAVE_EPSS_L3_SHARED>;
		};

		cpu3: cpu@300 {
			device_type = "cpu";
			compatible = "arm,cortex-a78c";
			reg = <0x0 0x300>;
			enable-method = "psci";
			next-level-cache = <&l2_3>;
			capacity-dmips-mhz = <1946>;
			dynamic-power-coefficient = <489>;
			clocks = <&cpufreq_hw 1>;
			qcom,freq-domain = <&cpufreq_hw 1>;
			#cooling-cells = <2>;
			operating-points-v2 = <&cpu3_opp_table>;
			interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ACTIVE_TAG>,
					<&epss_l3 MASTER_EPSS_L3_APPS
					 &epss_l3 SLAVE_EPSS_L3_SHARED>;

			l2_3: l2-cache {
				compatible = "cache";
				cache-level = <2>;
				cache-unified;
				next-level-cache = <&l3>;
				cache-size = <0x40000>;
			};
		};

		cpu-map {
			cluster0 {
				core0 {
					cpu = <&cpu0>;
				};

				core1 {
					cpu = <&cpu1>;
				};

				core2 {
					cpu = <&cpu2>;
				};
			};

			cluster1 {
				core0 {
					cpu = <&cpu3>;
				};
			};
		};

		l3: l3-cache {
			compatible = "cache";
			cache-level = <3>;
			cache-unified;
			cache-size = <0x80000>;
		};
	};

	dummy-eud {
		compatible = "arm,coresight-dummy-sink";

		label = "eud";

		in-ports {
			port {
				eud_in: endpoint {
					remote-endpoint = <&replicator_eud_out1>;
				};
			};
		};
	};

	etm0 {
		compatible = "arm,coresight-etm4x-sysreg";

		clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
		clock-names = "apb_pclk";
		cpu = <&cpu0>;
		qcom,skip-power-up;

		out-ports {
			port {
				etm0_out: endpoint {
					remote-endpoint = <&funnel_cpuss0_in0>;
				};
			};
		};
	};

	etm1 {
		compatible = "arm,coresight-etm4x-sysreg";

		clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
		clock-names = "apb_pclk";
		cpu = <&cpu1>;
		qcom,skip-power-up;

		out-ports {
			port {
				etm1_out: endpoint {
					remote-endpoint = <&funnel_cpuss0_in1>;
				};
			};
		};
	};

	etm2 {
		compatible = "arm,coresight-etm4x-sysreg";

		clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
		clock-names = "apb_pclk";
		cpu = <&cpu2>;
		qcom,skip-power-up;

		out-ports {
			port {
				etm2_out: endpoint {
					remote-endpoint = <&funnel_cpuss0_in2>;
				};
			};
		};
	};

	etm3 {
		compatible = "arm,coresight-etm4x-sysreg";

		clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
		clock-names = "apb_pclk";
		cpu = <&cpu3>;
		qcom,skip-power-up;

		out-ports {
			port {
				etm3_out: endpoint {
					remote-endpoint = <&funnel_cpuss0_in3>;
				};
			};
		};
	};

	firmware {
		scm {
			compatible = "qcom,scm-shikra", "qcom,scm";
			clocks = <&rpmcc RPM_SMD_CE1_CLK>;
			clock-names = "core";
			qcom,dload-mode = <&tcsr_regs 0x13000>;
			#reset-cells = <1>;
			interconnects = <&system_noc MASTER_CRYPTO_CORE0 RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
		};
	};

	memory@80000000 {
		device_type = "memory";
		/* We expect the bootloader to fill in the size */
		reg = <0x0 0x80000000 0x0 0x0>;
	};

	cpu0_opp_table: opp-table-cpu0 {
		compatible = "operating-points-v2";
		opp-shared;

		opp-768000000 {
			opp-hz = /bits/ 64 <768000000>;
			opp-peak-kBps = <1200000 17817600>;
		};

		opp-1017600000 {
			opp-hz = /bits/ 64 <1017600000>;
			opp-peak-kBps = <2188000 25804800>;
		};

		opp-1094400000 {
			opp-hz = /bits/ 64 <1094400000>;
			opp-peak-kBps = <3072000 30105600>;
		};

		opp-1497600000 {
			opp-hz = /bits/ 64 <1497600000>;
			opp-peak-kBps = <4068000 38707200>;
		};

		opp-1612800000 {
			opp-hz = /bits/ 64 <1612800000>;
			opp-peak-kBps = <6220000 43008000>;
		};

		opp-1804800000 {
			opp-hz = /bits/ 64 <1804800000>;
			opp-peak-kBps = <7216000 43622400>;
		};

		opp-2208000000 {
			opp-hz = /bits/ 64 <2208000000>;
			opp-peak-kBps = <7216000 43622400>;
		};
	};

	cpu3_opp_table: opp-table-cpu3 {
		compatible = "operating-points-v2";
		opp-shared;

		opp-768000000 {
			opp-hz = /bits/ 64 <768000000>;
			opp-peak-kBps = <1200000 17817600>;
		};

		opp-1017600000 {
			opp-hz = /bits/ 64 <1017600000>;
			opp-peak-kBps = <2188000 25804800>;
		};

		opp-1190400000 {
			opp-hz = /bits/ 64 <1190400000>;
			opp-peak-kBps = <3072000 30105600>;
		};

		opp-1497600000 {
			opp-hz = /bits/ 64 <1497600000>;
			opp-peak-kBps = <4068000 38707200>;
		};

		opp-1708800000 {
			opp-hz = /bits/ 64 <1708800000>;
			opp-peak-kBps = <6220000 43008000>;
		};

		opp-1900800000 {
			opp-hz = /bits/ 64 <1900800000>;
			opp-peak-kBps = <7216000 43622400>;
		};

		opp-2208000000 {
			opp-hz = /bits/ 64 <2208000000>;
			opp-peak-kBps = <7216000 43622400>;
		};
	};

	modem-etm0 {
		compatible = "arm,coresight-dummy-source";

		label = "modem_etm0";
		arm,static-trace-id = <36>;

		out-ports {
			port {
				modem_etm0_out: endpoint {
					remote-endpoint = <&funnel_in1_in4>;
				};
			};
		};
	};

	pmu-a55 {
		compatible = "arm,cortex-a55-pmu";
		interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH &ppi_cluster0>;
	};

	pmu-a78c {
		compatible = "arm,cortex-a78-pmu";
		interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH &ppi_cluster1>;
	};

	psci {
		compatible = "arm,psci-1.0";
		method = "smc";
	};

	rpm: remoteproc {
		compatible = "qcom,shikra-rpm-proc", "qcom,rpm-proc";

		glink-edge {
			compatible = "qcom,glink-rpm";
			interrupts = <GIC_SPI 194 IRQ_TYPE_EDGE_RISING 0>;
			qcom,rpm-msg-ram = <&rpm_msg_ram>;
			mboxes = <&apcs_glb 0>;

			rpm_requests: rpm-requests {
				compatible = "qcom,rpm-shikra", "qcom,glink-smd-rpm";
				qcom,glink-channels = "rpm_requests";

				rpmcc: clock-controller {
					compatible = "qcom,rpmcc-shikra", "qcom,rpmcc-qcm2290", "qcom,rpmcc";
					clocks = <&xo_board>;
					clock-names = "xo";
					#clock-cells = <1>;
				};

				rpmpd: power-controller {
					compatible = "qcom,shikra-rpmpd";
					#power-domain-cells = <1>;
					operating-points-v2 = <&rpmpd_opp_table>;

					rpmpd_opp_table: opp-table {
						compatible = "operating-points-v2";

						rpmpd_opp_min_svs: opp1 {
							opp-level = <RPM_SMD_LEVEL_MIN_SVS>;
						};

						rpmpd_opp_low_svs: opp2 {
							opp-level = <RPM_SMD_LEVEL_LOW_SVS>;
						};

						rpmpd_opp_svs: opp3 {
							opp-level = <RPM_SMD_LEVEL_SVS>;
						};

						rpmpd_opp_svs_plus: opp4 {
							opp-level = <RPM_SMD_LEVEL_SVS_PLUS>;
						};

						rpmpd_opp_nom: opp5 {
							opp-level = <RPM_SMD_LEVEL_NOM>;
						};

						rpmpd_opp_nom_plus: opp6 {
							opp-level = <RPM_SMD_LEVEL_NOM_PLUS>;
						};

						rpmpd_opp_turbo: opp7 {
							opp-level = <RPM_SMD_LEVEL_TURBO>;
						};

						rpmpd_opp_turbo_plus: opp8 {
							opp-level = <RPM_SMD_LEVEL_TURBO_NO_CPR>;
						};
					};
				};
			};
		};

		mpm: interrupt-controller {
			compatible = "qcom,mpm";
			qcom,rpm-msg-ram = <&apss_mpm>;
			interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING 0>;
			mboxes = <&apcs_glb 1>;
			interrupt-controller;
			#interrupt-cells = <2>;
			#power-domain-cells = <0>;
			interrupt-parent = <&intc>;
			qcom,mpm-pin-count = <96>;
			qcom,mpm-pin-map = <2 275>,  /* TSENS0 uplow */
					   <12 422>, /* DWC3 ss_phy_irq */
					   <58 272>, /* QUSB2_PHY dmse_hv_vddmx */
					   <59 273>, /* QUSB2_PHY dpse_hv_vddmx */
					   <86 183>, /* MPM wake, SPMI */
					   <90 157>, /* QUSB2_PHY DM */
					   <91 158>; /* QUSB2_PHY DP */
		};
	};

	reserved_memory: reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		hyp_mem: hyp@80000000 {
			reg = <0x0 0x80000000 0x0 0x1600000>;
			no-map;
		};

		xblboot_mem: xblboot@85e00000 {
			reg = <0x0 0x85e00000 0x0 0x100000>;
			no-map;
		};

		secdata_apss_mem: secdata-apss@85fff000 {
			reg = <0x0 0x85fff000 0x0 0x1000>;
			no-map;
		};

		smem_mem: smem@86000000 {
			compatible = "qcom,smem";
			reg = <0x0 0x86000000 0x0 0x200000>;
			no-map;

			hwlocks = <&tcsr_mutex 3>;
		};

		audio_heap_mem: audio-heap@86200000 {
			reg = <0x0 0x86200000 0x0 0x100000>;
			no-map;
		};

		tz_stat_mem: tz-stat@a0000000 {
			reg = <0x0 0xa0000000 0x0 0x100000>;
			no-map;
		};

		qtee_mem: qtee@a1300000 {
			reg = <0x0 0xa1300000 0x0 0x500000>;
			no-map;
		};

		tz_apps_mem: tz-apps@a1800000 {
			reg = <0x0 0xa1800000 0x0 0x2100000>;
			no-map;
		};

		mpss_wlan_mem: mpss-wlan@ab000000 {
			reg = <0x0 0xab000000 0x0 0x6e00000>;
			no-map;
		};

		wlan_mem: wlan@b2300000 {
			reg = <0x0 0xb2300000 0x0 0x100000>;
			no-map;
		};

		cdsp_mem: cdsp@b2400000 {
			reg = <0x0 0xb2400000 0x0 0x1900000>;
			no-map;
		};

		gpu_micro_code_mem: gpu-micro-code@b3d00000 {
			reg = <0x0 0xb3d00000 0x0 0x2000>;
			no-map;
		};

		video_mem: video@b3d02000 {
			reg = <0x0 0xb3d02000 0x0 0x700000>;
			no-map;
		};

		lmcu_mem: lmcu@b4402000 {
			reg = <0x0 0xb4402000 0x0 0x300000>;
			no-map;
		};

		lmcu_dtb_mem: lmcu-dtb@b4702000 {
			reg = <0x0 0xb4702000 0x0 0x40000>;
			no-map;
		};
	};

	smp2p-cdsp {
		compatible = "qcom,smp2p";
		qcom,smem = <94>, <432>;

		interrupts = <GIC_SPI 263 IRQ_TYPE_EDGE_RISING 0>;

		mboxes = <&apcs_glb 6>;

		qcom,local-pid = <0>;
		qcom,remote-pid = <5>;

		cdsp_smp2p_out: master-kernel {
			qcom,entry-name = "master-kernel";
			#qcom,smem-state-cells = <1>;
		};

		cdsp_smp2p_in: slave-kernel {
			qcom,entry-name = "slave-kernel";
			interrupt-controller;
			#interrupt-cells = <2>;
		};
	};

	smp2p-lmcu {
		compatible = "qcom,smp2p";
		qcom,smem = <617>, <616>;

		interrupts = <GIC_SPI 287 IRQ_TYPE_EDGE_RISING 0>;

		mboxes = <&apcs_glb 10>;

		qcom,local-pid = <0>;
		qcom,remote-pid = <26>;

		lmcu_smp2p_out: master-kernel {
			qcom,entry-name = "master-kernel";
			#qcom,smem-state-cells = <1>;
		};

		lmcu_smp2p_in: slave-kernel {
			qcom,entry-name = "slave-kernel";
			interrupt-controller;
			#interrupt-cells = <2>;
		};
	};

	smp2p-mpss {
		compatible = "qcom,smp2p";
		qcom,smem = <435>, <428>;

		interrupts = <GIC_SPI 70 IRQ_TYPE_EDGE_RISING 0>;

		mboxes = <&apcs_glb 14>;

		qcom,local-pid = <0>;
		qcom,remote-pid = <1>;

		modem_smp2p_out: master-kernel {
			qcom,entry-name = "master-kernel";
			#qcom,smem-state-cells = <1>;
		};

		modem_smp2p_in: slave-kernel {
			qcom,entry-name = "slave-kernel";
			interrupt-controller;
			#interrupt-cells = <2>;
		};
	};

	soc: soc@0 {
		compatible = "simple-bus";

		#address-cells = <2>;
		#size-cells = <2>;
		dma-ranges = <0x0 0x0 0x0 0x0 0x10 0x0>;
		ranges = <0x0 0x0 0x0 0x0 0x10 0x0>;

		tcsr_mutex: syscon@340000 {
			compatible = "qcom,tcsr-mutex";
			reg = <0x0 0x00340000 0x0 0x20000>;
			#hwlock-cells = <1>;
		};

		tcsr_regs: syscon@3c0000 {
			compatible = "qcom,shikra-tcsr", "syscon";
			reg = <0x0 0x003c0000 0x0 0x40000>;
		};

		tlmm: pinctrl@500000 {
			compatible = "qcom,shikra-tlmm";
			reg = <0x0 0x00500000 0x0 0x700000>;

			interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH 0>;

			gpio-controller;
			#gpio-cells = <2>;

			interrupt-controller;
			#interrupt-cells = <2>;

			gpio-ranges = <&tlmm 0 0 165>;
			wakeup-parent = <&mpm>;

			qup_i2c0_data_clk: qup-i2c0-data-clk-state {
				/* SDA, SCL */
				pins = "gpio2", "gpio3";
				function = "qup0_se0";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c1_data_clk: qup-i2c1-data-clk-state {
				/* SDA, SCL */
				pins = "gpio4", "gpio5";
				function = "qup0_se1_01";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c2_data_clk: qup-i2c2-data-clk-state {
				/* SDA, SCL */
				pins = "gpio6", "gpio7";
				function = "qup0_se2";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c3_data_clk: qup-i2c3-data-clk-state {
				/* SDA, SCL */
				pins = "gpio10", "gpio11";
				function = "qup0_se3_01";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c4_data_clk: qup-i2c4-data-clk-state {
				/* SDA, SCL */
				pins = "gpio12", "gpio13";
				function = "qup0_se4_01";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c5_data_clk: qup-i2c5-data-clk-state {
				/* SDA, SCL */
				pins = "gpio14", "gpio15";
				function = "qup0_se5";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c6_data_clk: qup-i2c6-data-clk-state {
				/* SDA, SCL */
				pins = "gpio18", "gpio19";
				function = "qup0_se6";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c7_data_clk: qup-i2c7-data-clk-state {
				/* SDA, SCL */
				pins = "gpio20", "gpio21";
				function = "qup0_se7_01";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c8_data_clk: qup-i2c8-data-clk-state {
				/* SDA, SCL */
				pins = "gpio22", "gpio23";
				function = "qup0_se8";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_i2c9_data_clk: qup-i2c9-data-clk-state {
				/* SDA, SCL */
				pins = "gpio27", "gpio26";
				function = "qup0_se9_01";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_spi0_cs: qup-spi0-cs-state {
				pins = "gpio1";
				function = "qup0_se0";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi0_data_clk: qup-spi0-data-clk-state {
				/* MISO, MOSI, CLK */
				pins = "gpio2", "gpio3", "gpio0";
				function = "qup0_se0";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi2_cs: qup-spi2-cs-state {
				pins = "gpio9";
				function = "qup0_se2";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi2_data_clk: qup-spi2-data-clk-state {
				/* MISO, MOSI, CLK */
				pins = "gpio6", "gpio7", "gpio8";
				function = "qup0_se2";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi5_cs: qup-spi5-cs-state {
				pins = "gpio17";
				function = "qup0_se5";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi5_data_clk: qup-spi5-data-clk-state {
				/* MISO, MOSI, CLK */
				pins = "gpio14", "gpio15", "gpio16";
				function = "qup0_se5";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi6_cs: qup-spi6-cs-state {
				pins = "gpio29";
				function = "qup0_se6";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi6_data_clk: qup-spi6-data-clk-state {
				/* MISO, MOSI, CLK */
				pins = "gpio18", "gpio19", "gpio28";
				function = "qup0_se6";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi8_cs: qup-spi8-cs-state {
				pins = "gpio25";
				function = "qup0_se8";
				drive-strength = <6>;
				bias-disable;
			};

			qup_spi8_data_clk: qup-spi8-data-clk-state {
				/* MISO, MOSI, CLK */
				pins = "gpio22", "gpio23", "gpio24";
				function = "qup0_se8";
				drive-strength = <6>;
				bias-disable;
			};

			qup_uart0_default: qup-uart0-default-state {
				pins = "gpio0", "gpio1";
				function = "qup0_se0";
				drive-strength = <2>;
				bias-disable;
			};

			qup_uart1_default: qup-uart1-default-state {
				pins = "gpio4", "gpio5";
				function = "qup0_se1_23";
				drive-strength = <2>;
				bias-disable;
			};

			qup_uart2_default: qup-uart2-default-state {
				/* TX, RX */
				pins = "gpio8", "gpio9";
				function = "qup0_se2";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_uart2_cts_rts: qup-uart2-cts-rts-state {
				/* CTS, RTS */
				pins = "gpio6", "gpio7";
				function = "qup0_se2";
				drive-strength = <2>;
				bias-pull-down;
			};

			qup_uart3_default: qup-uart3-default-state {
				pins = "gpio10", "gpio11";
				function = "qup0_se3_23";
				drive-strength = <2>;
				bias-disable;
			};

			qup_uart4_default: qup-uart4-default-state {
				pins = "gpio12", "gpio13";
				function = "qup0_se4_23";
				drive-strength = <2>;
				bias-disable;
			};

			qup_uart5_default: qup-uart5-default-state {
				/* TX, RX */
				pins = "gpio16", "gpio17";
				function = "qup0_se5";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_uart5_cts_rts: qup-uart5-cts-rts-state {
				/* CTS, RTS */
				pins = "gpio14", "gpio15";
				function = "qup0_se5";
				drive-strength = <2>;
				bias-pull-down;
			};

			qup_uart6_default: qup-uart6-default-state {
				/* TX, RX */
				pins = "gpio28", "gpio29";
				function = "qup0_se6";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_uart6_cts_rts: qup-uart6-cts-rts-state {
				/* CTS, RTS */
				pins = "gpio18", "gpio19";
				function = "qup0_se6";
				drive-strength = <2>;
				bias-pull-down;
			};

			qup_uart7_default: qup-uart7-default-state {
				pins = "gpio20", "gpio21";
				function = "qup0_se7_23";
				drive-strength = <2>;
				bias-disable;
			};

			qup_uart8_default: qup-uart8-default-state {
				/* TX, RX */
				pins = "gpio24", "gpio25";
				function = "qup0_se8";
				drive-strength = <2>;
				bias-pull-up;
			};

			qup_uart8_cts_rts: qup-uart8-cts-rts-state {
				/* CTS, RTS */
				pins = "gpio22", "gpio23";
				function = "qup0_se8";
				drive-strength = <2>;
				bias-pull-down;
			};

			qup_uart9_default: qup-uart9-default-state {
				pins = "gpio26", "gpio27";
				function = "qup0_se9_23";
				drive-strength = <2>;
				bias-disable;
			};

			cci_i2c0_default: cci-i2c0-default-state {
				/* SDA, SCL */
				pins = "gpio36", "gpio37";
				function = "cci_i2c0";
				drive-strength = <2>;
				bias-pull-up;
			};

			cci_i2c0_sleep: cci-i2c0-sleep-state {
				/* SDA, SCL */
				pins = "gpio36", "gpio37";
				function = "cci_i2c0";
				drive-strength = <2>;
				bias-pull-down;
			};

			cci_i2c1_default: cci-i2c1-default-state {
				/* SDA, SCL */
				pins = "gpio41", "gpio42";
				function = "cci_i2c1";
				drive-strength = <2>;
				bias-pull-up;
			};

			cci_i2c1_sleep: cci-i2c1-sleep-state {
				/* SDA, SCL */
				pins = "gpio41", "gpio42";
				function = "cci_i2c1";
				drive-strength = <2>;
				bias-pull-down;
			};

			cam_mclk0_default: cam-mclk0-default-state {
				pins = "gpio34";
				function = "cam_mclk";
				drive-strength = <2>;
				bias-disable;
			};

			cam_mclk1_default: cam-mclk1-default-state {
				pins = "gpio35";
				function = "cam_mclk";
				drive-strength = <2>;
				bias-disable;
			};

			cam_mclk2_default: cam-mclk2-default-state {
				pins = "gpio96";
				function = "cam_mclk";
				drive-strength = <2>;
				bias-disable;
			};

			cam_mclk3_default: cam-mclk3-default-state {
				pins = "gpio98";
				function = "cam_mclk";
				drive-strength = <2>;
				bias-disable;
			};

			sdc1_state_on: sdc1-on-state {
				clk-pins {
					pins = "sdc1_clk";
					drive-strength = <6>;
					bias-disable;
				};

				cmd-pins {
					pins = "sdc1_cmd";
					drive-strength = <6>;
					bias-pull-up;
				};

				data-pins {
					pins = "sdc1_data";
					drive-strength = <6>;
					bias-pull-up;
				};

				rclk-pins {
					pins = "sdc1_rclk";
					bias-pull-down;
				};
			};

			sdc1_state_off: sdc1-off-state {
				clk-pins {
					pins = "sdc1_clk";
					drive-strength = <2>;
					bias-bus-hold;
				};

				cmd-pins {
					pins = "sdc1_cmd";
					drive-strength = <2>;
					bias-bus-hold;
				};

				data-pins {
					pins = "sdc1_data";
					drive-strength = <2>;
					bias-bus-hold;
				};

				rclk-pins {
					pins = "sdc1_rclk";
					bias-bus-hold;
				};
			};

			sdc2_default: sdc2-default-state {
				clk-pins {
					pins = "sdc2_clk";
					drive-strength = <14>;
					bias-disable;
				};

				cmd-pins {
					pins = "sdc2_cmd";
					drive-strength = <14>;
					bias-pull-up;
				};

				data-pins {
					pins = "sdc2_data";
					drive-strength = <14>;
					bias-pull-up;
				};
			};

			sdc2_sleep: sdc2-sleep-state {
				clk-pins {
					pins = "sdc2_clk";
					drive-strength = <2>;
					bias-disable;
				};

				cmd-pins {
					pins = "sdc2_cmd";
					drive-strength = <2>;
					bias-pull-up;
				};

				data-pins {
					pins = "sdc2_data";
					drive-strength = <2>;
					bias-pull-up;
				};
			};

			sdc2_card_det_n: sd-card-det-n-state {
				pins = "gpio89";
				function = "gpio";
				drive-strength = <2>;
				bias-pull-up;
			};
		};

		pmu@c91000 {
			compatible = "qcom,shikra-cpu-bwmon", "qcom,sc7280-llcc-bwmon";
			reg = <0x0 0x00c91000 0x0 0x1000>;

			interrupts = <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH 0>;

			interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ACTIVE_TAG>;

			operating-points-v2 = <&cpu_bwmon_opp_table>;

			cpu_bwmon_opp_table: opp-table {
				compatible = "operating-points-v2";

				opp-0 {
					opp-peak-kBps = <1200000>;
				};

				opp-1 {
					opp-peak-kBps = <2188000>;
				};

				opp-2 {
					opp-peak-kBps = <3072000>;
				};

				opp-3 {
					opp-peak-kBps = <4068000>;
				};

				opp-4 {
					opp-peak-kBps = <6220000>;
				};

				opp-5 {
					opp-peak-kBps = <7216000>;
				};
			};
		};

		mem_noc: interconnect@d00000 {
			compatible = "qcom,shikra-mem-noc-core";
			reg = <0x0 0x00d00000 0x0 0x43080>;
			clocks = <&gcc GCC_DDRSS_GPU_AXI_CLK>;
			clock-names = "gpu_axi";
			#interconnect-cells = <2>;
		};

		llcc: system-cache-controller@e00000 {
			compatible = "qcom,shikra-llcc";
			reg = <0x0 0x00e00000 0x0 0x80000>,
			      <0x0 0x00f00000 0x0 0x80000>,
			      <0x0 0x01000000 0x0 0x80000>;
			reg-names = "llcc0_base",
				    "llcc1_base",
				    "llcc_broadcast_base";
			interrupts = <GIC_SPI 539 IRQ_TYPE_LEVEL_HIGH 0>;
		};

		gcc: clock-controller@1400000 {
			compatible = "qcom,shikra-gcc";
			reg = <0x0 0x01400000 0x0 0x1f0000>;
			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
				 <&sleep_clk>,
				 <0>,
				 <0>,
				 <0>,
				 <0>,
				 <0>,
				 <0>;
			power-domains = <&rpmpd RPMPD_VDDCX>;
			#clock-cells = <1>;
			#reset-cells = <1>;
			#power-domain-cells = <1>;
		};

		usb_1_hsphy: phy@1613000 {
			compatible = "qcom,shikra-qusb2-phy";
			reg = <0x0 0x01613000 0x0 0x180>;

			clocks = <&gcc GCC_AHB2PHY_USB_CLK>,
				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
			clock-names = "cfg_ahb", "ref";

			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
			nvmem-cells = <&qusb2_hstx_trim_1>;
			#phy-cells = <0>;

			status = "disabled";
		};

		usb_qmpphy: phy@1615000 {
			compatible = "qcom,shikra-qmp-usb3-dp-phy";
			reg = <0x0 0x01615000 0x0 0x2000>;

			clocks = <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>,
				 <&gcc GCC_USB3_PRIM_CLKREF_EN>,
				 <&gcc GCC_AHB2PHY_USB_CLK>,
				 <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>;
			clock-names = "aux",
				      "ref",
				      "cfg_ahb",
				      "pipe";

			resets = <&gcc GCC_USB3PHY_PHY_PRIM_SP0_BCR>,
				 <&gcc GCC_USB3_DP_PHY_PRIM_BCR>,
				 <&gcc GCC_USB3_PHY_PRIM_SP0_BCR>;
			reset-names = "phy_phy",
				      "dp_phy",
				      "phy";

			#clock-cells = <1>;
			#phy-cells = <1>;
			orientation-switch;

			qcom,tcsr-reg = <&tcsr_regs 0xb244 0xb248>;

			status = "disabled";

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					usb_qmpphy_out: endpoint {
					};
				};

				port@1 {
					reg = <1>;

					usb_qmpphy_usb_ss_in: endpoint {
						remote-endpoint = <&usb_1_dwc3_ss>;
					};
				};
			};
		};

		usb_2_hsphy: phy@1617000 {
			compatible = "qcom,shikra-qusb2-phy";
			reg = <0x0 0x01617000 0x0 0x180>;

			clocks = <&gcc GCC_AHB2PHY_USB_CLK>,
				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
			clock-names = "cfg_ahb", "ref";

			resets = <&gcc GCC_QUSB2PHY_SEC_BCR>;
			nvmem-cells = <&qusb2_hstx_trim_2>;
			#phy-cells = <0>;

			status = "disabled";
		};

		system_noc: interconnect@1880000 {
			compatible = "qcom,shikra-sys-noc";
			reg = <0x0 0x01880000 0x0 0x6a080>;
			clocks = <&gcc GCC_EMAC0_AXI_SYS_NOC_CLK>,
				 <&gcc GCC_EMAC1_AXI_SYS_NOC_CLK>,
				 <&gcc GCC_SYS_NOC_USB2_PRIM_AXI_CLK>,
				 <&gcc GCC_SYS_NOC_USB3_PRIM_AXI_CLK>;
			clock-names = "emac0_axi",
				      "emac1_axi",
				      "usb2_axi",
				      "usb3_axi";
			#interconnect-cells = <2>;

			clk_virt: interconnect-clk {
				compatible = "qcom,shikra-clk-virt";
				#interconnect-cells = <2>;
			};

			mc_virt: interconnect-mc {
				compatible = "qcom,shikra-mc-virt";
				#interconnect-cells = <2>;
			};

			mmrt_virt: interconnect-mmrt {
				compatible = "qcom,shikra-mmrt-virt";
				#interconnect-cells = <2>;
			};

			mmnrt_virt: interconnect-mmnrt {
				compatible = "qcom,shikra-mmnrt-virt";
				#interconnect-cells = <2>;
			};
		};

		config_noc: interconnect@1900000 {
			compatible = "qcom,shikra-config-noc";
			reg = <0x0 0x01900000 0x0 0x8080>;
			#interconnect-cells = <2>;
		};

		cryptobam: dma-controller@1b04000 {
			compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
			reg = <0x0 0x01b04000 0x0 0x24000>;
			interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH 0>;
			#dma-cells = <1>;
			iommus = <&apps_smmu 0x84 0x0011>,
				 <&apps_smmu 0x86 0x0011>,
				 <&apps_smmu 0x92 0x0>,
				 <&apps_smmu 0x94 0x0011>,
				 <&apps_smmu 0x96 0x0011>,
				 <&apps_smmu 0x98 0x0001>,
				 <&apps_smmu 0x9f 0x0>;
			qcom,ee = <0>;
			qcom,controlled-remotely;
			num-channels = <16>;
			qcom,num-ees = <4>;
		};

		crypto: crypto@1b3a000 {
			compatible = "qcom,shikra-qce", "qcom,sm8150-qce", "qcom,qce";
			reg = <0x0 0x01b3a000 0x0 0x6000>;
			dmas = <&cryptobam 4>, <&cryptobam 5>;
			dma-names = "rx", "tx";
			iommus = <&apps_smmu 0x84 0x0011>,
				 <&apps_smmu 0x86 0x0011>,
				 <&apps_smmu 0x92 0x0>,
				 <&apps_smmu 0x94 0x0011>,
				 <&apps_smmu 0x96 0x0011>,
				 <&apps_smmu 0x98 0x0001>,
				 <&apps_smmu 0x9f 0x0>;
			interconnects = <&system_noc MASTER_CRYPTO_CORE0 0
					 &mc_virt SLAVE_EBI_CH0 0>;
			interconnect-names = "memory";
		};

		qfprom: efuse@1b44000 {
			compatible = "qcom,shikra-qfprom", "qcom,qfprom";
			reg = <0x0 0x01b44000 0x0 0x3000>;
			#address-cells = <1>;
			#size-cells = <1>;

			qusb2_hstx_trim_2: hstx-trim@25a {
				reg = <0x25a 0x1>;
				bits = <4 4>;
			};

			qusb2_hstx_trim_1: hstx-trim@25b {
				reg = <0x25b 0x1>;
				bits = <1 4>;
			};

			gpu_speed_bin: gpu-speed-bin@2006 {
				reg = <0x2006 0x2>;
				bits = <5 8>;
			};
		};

		spmi_bus: spmi@1c40000 {
			compatible = "qcom,spmi-pmic-arb";
			reg = <0x0 0x01c40000 0x0 0x1100>,
			      <0x0 0x01e00000 0x0 0x2000000>,
			      <0x0 0x03e00000 0x0 0x100000>,
			      <0x0 0x03f00000 0x0 0xa0000>,
			      <0x0 0x01c0a000 0x0 0x26000>;
			reg-names = "core",
				    "chnls",
				    "obsrvr",
				    "intr",
				    "cnfg";
			interrupts-extended = <&mpm 86 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "periph_irq";
			interrupt-controller;
			#interrupt-cells = <4>;
			#address-cells = <2>;
			#size-cells = <0>;
			qcom,channel = <0>;
			qcom,ee = <0>;
		};

		tsens0: thermal-sensor@4411000 {
			compatible = "qcom,shikra-tsens", "qcom,tsens-v2";
			reg = <0x0 0x04411000 0x0 0x1000>,
			      <0x0 0x04410000 0x0 0x1000>;
			interrupts = <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH 0>;
			interrupt-names = "uplow",
					  "critical";
			#qcom,sensors = <14>;
			#thermal-sensor-cells = <1>;
		};

		rng: rng@4454000 {
			compatible = "qcom,shikra-trng", "qcom,trng";
			reg = <0x0 0x04454000 0x0 0x1000>;
		};

		rpm_msg_ram: sram@45f0000 {
			compatible = "qcom,rpm-msg-ram", "mmio-sram";
			reg = <0x0 0x045f0000 0x0 0x7000>;

			#address-cells = <1>;
			#size-cells = <1>;
			ranges = <0x0 0x0 0x045f0000 0x7000>;

			apss_mpm: sram@1b8 {
				reg = <0x1b8 0x48>;
			};
		};

		sram@4690000 {
			compatible = "qcom,shikra-rpm-stats", "qcom,rpm-stats";
			reg = <0x0 0x04690000 0x0 0x14000>;
		};

		sdhc_1: mmc@4744000 {
			compatible = "qcom,shikra-sdhci", "qcom,sdhci-msm-v5";

			reg = <0x0 0x04744000 0x0 0x1000>,
			      <0x0 0x04745000 0x0 0x1000>;
			reg-names = "hc",
				    "cqhci";

			iommus = <&apps_smmu 0xc0 0x0>;

			interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH 0>;
			interrupt-names = "hc_irq",
					  "pwr_irq";

			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
				 <&gcc GCC_SDCC1_APPS_CLK>,
				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
			clock-names = "iface",
				      "core",
				      "xo";

			interconnects = <&system_noc MASTER_SDCC_1 RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>,
					<&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &config_noc SLAVE_SDCC_1 RPM_ACTIVE_TAG>;
			interconnect-names = "sdhc-ddr",
					     "cpu-sdhc";

			power-domains = <&rpmpd RPMPD_VDDCX>;
			operating-points-v2 = <&sdhc1_opp_table>;

			qcom,dll-config = <0x000f642c>;
			qcom,ddr-config = <0x80040868>;

			bus-width = <8>;

			mmc-ddr-1_8v;
			mmc-hs200-1_8v;
			mmc-hs400-1_8v;
			mmc-hs400-enhanced-strobe;

			resets = <&gcc GCC_SDCC1_BCR>;
			qcom,ice = <&sdhc_ice>;

			status = "disabled";

			sdhc1_opp_table: opp-table {
				compatible = "operating-points-v2";

				opp-100000000 {
					opp-hz = /bits/ 64 <100000000>;
					required-opps = <&rpmpd_opp_low_svs>;
					opp-peak-kBps = <250000 133320>;
					opp-avg-kBps = <104000 0>;
				};

				opp-384000000 {
					opp-hz = /bits/ 64 <384000000>;
					required-opps = <&rpmpd_opp_nom>;
					opp-peak-kBps = <800000 300000>;
					opp-avg-kBps = <400000 0>;
				};
			};
		};

		gpi_dma0: dma-controller@4a00000 {
			compatible = "qcom,shikra-gpi-dma", "qcom,sm6350-gpi-dma";
			reg = <0x0 0x04a00000 0x0 0x60000>;

			interrupts = <GIC_SPI 511 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 512 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 513 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 514 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 515 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 516 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 517 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 518 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 519 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 521 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 522 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 523 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 524 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 525 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 526 IRQ_TYPE_LEVEL_HIGH 0>;

			dma-channels = <16>;
			dma-channel-mask = <0xff>;
			#dma-cells = <3>;

			iommus = <&apps_smmu 0xf6 0x0>;
		};

		sdhc_ice: crypto@4748000 {
			compatible = "qcom,shikra-inline-crypto-engine",
				     "qcom,inline-crypto-engine";
			reg = <0x0 0x04748000 0x0 0x18000>;
			clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>,
				 <&gcc GCC_SDCC1_AHB_CLK>;
			clock-names = "core",
				      "iface";
			power-domains = <&rpmpd RPMHPD_CX>;
		};

		sdhc_2: mmc@4784000 {
			compatible = "qcom,shikra-sdhci", "qcom,sdhci-msm-v5";
			reg = <0x0 0x04784000 0x0 0x1000>;

			interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH 0>;
			interrupt-names = "hc_irq",
					  "pwr_irq";

			bus-width = <4>;

			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
				 <&gcc GCC_SDCC2_APPS_CLK>,
				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
			clock-names = "iface",
				      "core",
				      "xo";

			qcom,dll-config = <0x0007442c>;
			qcom,ddr-config = <0x80040868>;

			iommus = <&apps_smmu 0x0a0 0x0>;

			interconnects = <&system_noc MASTER_SDCC_2 RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>,
					<&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &config_noc SLAVE_SDCC_2 RPM_ACTIVE_TAG>;
			interconnect-names = "sdhc-ddr",
					     "cpu-sdhc";

			power-domains = <&rpmpd RPMPD_VDDCX>;
			operating-points-v2 = <&sdhc2_opp_table>;

			status = "disabled";

			sdhc2_opp_table: opp-table-2 {
				compatible = "operating-points-v2";

				opp-100000000 {
					opp-hz = /bits/ 64 <100000000>;
					required-opps = <&rpmpd_opp_low_svs>;
				};

				opp-202000000 {
					opp-hz = /bits/ 64 <202000000>;
					required-opps = <&rpmpd_opp_svs_plus>;
				};
			};
		};

		qupv3_0: geniqup@4ac0000 {
			compatible = "qcom,geni-se-qup";
			reg = <0x0 0x04ac0000 0x0 0x2000>;

			clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>,
				 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>;
			clock-names = "m-ahb",
				      "s-ahb";

			iommus = <&apps_smmu 0xe3 0x0>;

			#address-cells = <2>;
			#size-cells = <2>;
			ranges;

			status = "disabled";

			i2c0: i2c@4a80000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4a80000 0x0 0x4000>;

				interrupts = <GIC_SPI 527 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 0 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c0_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			spi0: spi@4a80000 {
				compatible = "qcom,geni-spi";
				reg = <0x0 0x4a80000 0x0 0x4000>;

				interrupts = <GIC_SPI 527 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>,
				       <&gpi_dma0 1 0 QCOM_GPI_SPI>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_spi0_data_clk>, <&qup_spi0_cs>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart0: serial@4a80000 {
				compatible = "qcom,geni-debug-uart";
				reg = <0x0 0x04a80000 0x0 0x4000>;

				interrupts = <GIC_SPI 527 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart0_default>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c1: i2c@4a84000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4a84000 0x0 0x4000>;

				interrupts = <GIC_SPI 528 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 1 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c1_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart1: serial@4a84000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04a84000 0x0 0x4000>;

				interrupts = <GIC_SPI 528 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart1_default>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c2: i2c@4a88000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4a88000 0x0 0x4000>;

				interrupts = <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				pinctrl-0 = <&qup_i2c2_data_clk>;
				pinctrl-names = "default";

				dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 2 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			spi2: spi@4a88000 {
				compatible = "qcom,geni-spi";
				reg = <0x0 0x4a88000 0x0 0x4000>;

				interrupts = <GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>,
				       <&gpi_dma0 1 2 QCOM_GPI_SPI>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_spi2_data_clk>, <&qup_spi2_cs>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart2: serial@4a88000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04a88000 0x0 0x4000>;

				interrupts-extended = <&intc GIC_SPI 529 IRQ_TYPE_LEVEL_HIGH 0>,
						      <&tlmm 9 IRQ_TYPE_LEVEL_HIGH>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart2_default>, <&qup_uart2_cts_rts>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c3: i2c@4a8c000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4a8c000 0x0 0x4000>;

				interrupts = <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 3 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c3_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart3: serial@4a8c000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04a8c000 0x0 0x4000>;

				interrupts = <GIC_SPI 530 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart3_default>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c4: i2c@4a90000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4a90000 0x0 0x4000>;

				interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 4 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c4_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart4: serial@4a90000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04a90000 0x0 0x4000>;

				interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart4_default>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c5: i2c@4a94000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4a94000 0x0 0x4000>;

				interrupts = <GIC_SPI 532 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 5 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c5_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			spi5: spi@4a94000 {
				compatible = "qcom,geni-spi";
				reg = <0x0 0x4a94000 0x0 0x4000>;

				interrupts = <GIC_SPI 532 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>,
				       <&gpi_dma0 1 5 QCOM_GPI_SPI>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_spi5_data_clk>, <&qup_spi5_cs>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart5: serial@4a94000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04a94000 0x0 0x4000>;

				interrupts = <GIC_SPI 532 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart5_default>, <&qup_uart5_cts_rts>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c6: i2c@4a98000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4a98000 0x0 0x4000>;

				interrupts = <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 6 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 6 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c6_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			spi6: spi@4a98000 {
				compatible = "qcom,geni-spi";
				reg = <0x0 0x4a98000 0x0 0x4000>;

				interrupts = <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
				clock-names = "se";

				interconnects =	<&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				dmas = <&gpi_dma0 0 6 QCOM_GPI_SPI>,
				       <&gpi_dma0 1 6 QCOM_GPI_SPI>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_spi6_data_clk>, <&qup_spi6_cs>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart6: serial@4a98000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04a98000 0x0 0x4000>;

				interrupts = <GIC_SPI 533 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart6_default>, <&qup_uart6_cts_rts>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c7: i2c@4a9c000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4a9c000 0x0 0x4000>;

				interrupts = <GIC_SPI 534 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 7 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 7 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c7_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart7: serial@4a9c000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04a9c000 0x0 0x4000>;

				interrupts = <GIC_SPI 534 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart7_default>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c8: i2c@4aa0000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4aa0000 0x0 0x4000>;

				interrupts = <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S8_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 8 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 8 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c8_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			spi8: spi@4aa0000 {
				compatible = "qcom,geni-spi";
				reg = <0x0 0x4aa0000 0x0 0x4000>;

				interrupts = <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S8_CLK>;
				clock-names = "se";

				interconnects =	<&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				dmas = <&gpi_dma0 0 8 QCOM_GPI_SPI>,
				       <&gpi_dma0 1 8 QCOM_GPI_SPI>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_spi8_data_clk>, <&qup_spi8_cs>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart8: serial@4aa0000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04aa0000 0x0 0x4000>;

				interrupts = <GIC_SPI 535 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S8_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart8_default>, <&qup_uart8_cts_rts>;
				pinctrl-names = "default";

				status = "disabled";
			};

			i2c9: i2c@4aa4000 {
				compatible = "qcom,geni-i2c";
				reg = <0x0 0x4aa4000 0x0 0x4000>;

				interrupts = <GIC_SPI 536 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S9_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>,
						<&system_noc MASTER_QUP_0 RPM_ALWAYS_TAG
						 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config",
						     "qup-memory";

				dmas = <&gpi_dma0 0 9 QCOM_GPI_I2C>,
				       <&gpi_dma0 1 9 QCOM_GPI_I2C>;
				dma-names = "tx", "rx";

				pinctrl-0 = <&qup_i2c9_data_clk>;
				pinctrl-names = "default";

				#address-cells = <1>;
				#size-cells = <0>;

				status = "disabled";
			};

			uart9: serial@4aa4000 {
				compatible = "qcom,geni-uart";
				reg = <0x0 0x04aa4000 0x0 0x4000>;

				interrupts = <GIC_SPI 536 IRQ_TYPE_LEVEL_HIGH 0>;

				clocks = <&gcc GCC_QUPV3_WRAP0_S9_CLK>;
				clock-names = "se";

				interconnects = <&clk_virt MASTER_QUP_CORE_0 RPM_ALWAYS_TAG
						 &clk_virt SLAVE_QUP_CORE_0 RPM_ALWAYS_TAG>,
						<&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
						 &config_noc SLAVE_QUP_0 RPM_ALWAYS_TAG>;
				interconnect-names = "qup-core",
						     "qup-config";

				pinctrl-0 = <&qup_uart9_default>;
				pinctrl-names = "default";

				status = "disabled";
			};
		};

		camss: camss@5c11000 {
			compatible = "qcom,shikra-camss", "qcom,qcm2290-camss";

			reg = <0x0 0x05c11000 0x0 0x1000>,
			      <0x0 0x05c6e000 0x0 0x1000>,
			      <0x0 0x05c75000 0x0 0x1000>,
			      <0x0 0x05c52000 0x0 0x1000>,
			      <0x0 0x05c53000 0x0 0x1000>,
			      <0x0 0x05c66000 0x0 0x400>,
			      <0x0 0x05c68000 0x0 0x400>,
			      <0x0 0x05c6f000 0x0 0x4000>,
			      <0x0 0x05c76000 0x0 0x4000>;
			reg-names = "top",
				    "csid0",
				    "csid1",
				    "csiphy0",
				    "csiphy1",
				    "csitpg0",
				    "csitpg1",
				    "vfe0",
				    "vfe1";

			clocks = <&gcc GCC_CAMERA_AHB_CLK>,
				 <&gcc GCC_CAMSS_AXI_CLK>,
				 <&gcc GCC_CAMSS_NRT_AXI_CLK>,
				 <&gcc GCC_CAMSS_RT_AXI_CLK>,
				 <&gcc GCC_CAMSS_TFE_0_CSID_CLK>,
				 <&gcc GCC_CAMSS_TFE_1_CSID_CLK>,
				 <&gcc GCC_CAMSS_CPHY_0_CLK>,
				 <&gcc GCC_CAMSS_CSI0PHYTIMER_CLK>,
				 <&gcc GCC_CAMSS_CPHY_1_CLK>,
				 <&gcc GCC_CAMSS_CSI1PHYTIMER_CLK>,
				 <&gcc GCC_CAMSS_TOP_AHB_CLK>,
				 <&gcc GCC_CAMSS_TFE_0_CLK>,
				 <&gcc GCC_CAMSS_TFE_0_CPHY_RX_CLK>,
				 <&gcc GCC_CAMSS_TFE_1_CLK>,
				 <&gcc GCC_CAMSS_TFE_1_CPHY_RX_CLK>;
			clock-names = "ahb",
				      "axi",
				      "camnoc_nrt_axi",
				      "camnoc_rt_axi",
				      "csi0",
				      "csi1",
				      "csiphy0",
				      "csiphy0_timer",
				      "csiphy1",
				      "csiphy1_timer",
				      "top_ahb",
				      "vfe0",
				      "vfe0_cphy_rx",
				      "vfe1",
				      "vfe1_cphy_rx";

			interrupts = <GIC_SPI 210 IRQ_TYPE_EDGE_RISING 0>,
				     <GIC_SPI 212 IRQ_TYPE_EDGE_RISING 0>,
				     <GIC_SPI 72 IRQ_TYPE_EDGE_RISING 0>,
				     <GIC_SPI 73 IRQ_TYPE_EDGE_RISING 0>,
				     <GIC_SPI 309 IRQ_TYPE_EDGE_RISING 0>,
				     <GIC_SPI 310 IRQ_TYPE_EDGE_RISING 0>,
				     <GIC_SPI 211 IRQ_TYPE_EDGE_RISING 0>,
				     <GIC_SPI 213 IRQ_TYPE_EDGE_RISING 0>;
			interrupt-names = "csid0",
					  "csid1",
					  "csiphy0",
					  "csiphy1",
					  "csitpg0",
					  "csitpg1",
					  "vfe0",
					  "vfe1";

			interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &config_noc SLAVE_CAMERA_CFG RPM_ACTIVE_TAG>,
					<&mmrt_virt MASTER_CAMNOC_HF RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>,
					<&mmnrt_virt MASTER_CAMNOC_SF RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
			interconnect-names = "ahb",
					     "hf_mnoc",
					     "sf_mnoc";

			iommus = <&apps_smmu 0x400 0x0>;

			power-domains = <&gcc GCC_CAMSS_TOP_GDSC>;

			status = "disabled";

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				camss_csiphy0_port: port@0 {
					reg = <0>;
				};

				camss_csiphy1_port: port@1 {
					reg = <1>;
				};
			};
		};

		cci: cci@5c1b000 {
			compatible = "qcom,shikra-cci", "qcom,msm8996-cci";
			reg = <0x0 0x05c1b000 0x0 0x1000>;

			interrupts = <GIC_SPI 206 IRQ_TYPE_EDGE_RISING 0>;

			clocks = <&gcc GCC_CAMSS_TOP_AHB_CLK>,
				 <&gcc GCC_CAMSS_CCI_0_CLK>;
			clock-names = "ahb",
				      "cci";

			power-domains = <&gcc GCC_CAMSS_TOP_GDSC>;

			pinctrl-0 = <&cci_i2c0_default &cci_i2c1_default>;
			pinctrl-1 = <&cci_i2c0_sleep &cci_i2c1_sleep>;
			pinctrl-names = "default", "sleep";

			#address-cells = <1>;
			#size-cells = <0>;

			status = "disabled";

			cci_i2c0: i2c-bus@0 {
				reg = <0>;
				clock-frequency = <400000>;
				#address-cells = <1>;
				#size-cells = <0>;
			};

			cci_i2c1: i2c-bus@1 {
				reg = <1>;
				clock-frequency = <400000>;
				#address-cells = <1>;
				#size-cells = <0>;
			};
		};

		remoteproc_mpss: remoteproc@6080000 {
			compatible = "qcom,shikra-mpss-pas";
			reg = <0x0 0x06080000 0x0 0x100>;

			interrupts-extended = <&intc GIC_SPI 307 IRQ_TYPE_EDGE_RISING 0>,
					      <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
					      <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
					      <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
					      <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
					      <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
			interrupt-names = "wdog",
					  "fatal",
					  "ready",
					  "handover",
					  "stop-ack",
					  "shutdown-ack";

			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
			clock-names = "xo";

			interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;

			power-domains = <&rpmpd RPMHPD_CX>;

			memory-region = <&mpss_wlan_mem>;

			qcom,smem-states = <&modem_smp2p_out 0>;
			qcom,smem-state-names = "stop";

			status = "disabled";

			glink-edge {
				interrupts = <GIC_SPI 68 IRQ_TYPE_EDGE_RISING 0>;
				mboxes = <&apcs_glb 12>;
				qcom,remote-pid = <1>;
				label = "mpss";
			};
		};

		remoteproc_cdsp: remoteproc@b300000 {
			compatible = "qcom,shikra-cdsp-pas";
			reg = <0x0 0x0b300000 0x0 0x100000>;

			interrupts-extended = <&intc GIC_SPI 265 IRQ_TYPE_EDGE_RISING 0>,
					      <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
					      <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
					      <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
					      <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
					      <&cdsp_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
			interrupt-names = "wdog",
					  "fatal",
					  "ready",
					  "handover",
					  "stop-ack",
					  "shutdown-ack";

			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
			clock-names = "xo";

			interconnects = <&mem_noc MASTER_AMPSS_M0 RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;

			power-domains = <&rpmpd RPMHPD_CX>;

			memory-region = <&cdsp_mem>;

			qcom,smem-states = <&cdsp_smp2p_out 0>;
			qcom,smem-state-names = "stop";

			status = "disabled";

			glink-edge {
				interrupts = <GIC_SPI 261 IRQ_TYPE_EDGE_RISING 0>;
				mboxes = <&apcs_glb 4>;
				qcom,remote-pid = <5>;
				label = "cdsp";

				fastrpc {
					compatible = "qcom,fastrpc";
					#address-cells = <1>;
					#size-cells = <0>;
					label = "cdsp";
					qcom,glink-channels = "fastrpcglink-apps-dsp";

					compute-cb@1 {
						compatible = "qcom,fastrpc-compute-cb";
						reg = <1>;
						iommus = <&apps_smmu 0x0201 0x0000>;
					};

					compute-cb@2 {
						compatible = "qcom,fastrpc-compute-cb";
						reg = <2>;
						iommus = <&apps_smmu 0x0202 0x0000>;
					};

					compute-cb@3 {
						compatible = "qcom,fastrpc-compute-cb";
						reg = <3>;
						iommus = <&apps_smmu 0x0203 0x0000>;
					};

					compute-cb@4 {
						compatible = "qcom,fastrpc-compute-cb";
						reg = <4>;
						iommus = <&apps_smmu 0x0204 0x0000>;
					};

					compute-cb@5 {
						compatible = "qcom,fastrpc-compute-cb";
						reg = <5>;
						iommus = <&apps_smmu 0x0205 0x0000>;
					};

					compute-cb@6 {
						compatible = "qcom,fastrpc-compute-cb";
						reg = <6>;
						iommus = <&apps_smmu 0x0206 0x0000>;
					};
				};
			};
		};

		usb_2: usb@4c00000 {
			compatible = "qcom,shikra-dwc3", "qcom,snps-dwc3";
			reg = <0x0 0x04c00000 0x0 0xfc100>;

			clocks = <&gcc GCC_CFG_NOC_USB2_PRIM_AXI_CLK>,
				 <&gcc GCC_USB20_MASTER_CLK>,
				 <&gcc GCC_SYS_NOC_USB2_PRIM_AXI_CLK>,
				 <&gcc GCC_USB20_SLEEP_CLK>,
				 <&gcc GCC_USB20_MOCK_UTMI_CLK>;
			clock-names = "cfg_noc",
				      "core",
				      "iface",
				      "sleep",
				      "mock_utmi";

			assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>,
					  <&gcc GCC_USB20_MASTER_CLK>;
			assigned-clock-rates = <19200000>, <133333333>;

			interrupts-extended = <&intc GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH 0>,
					      <&intc GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH 0>,
					      <&intc GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH 0>,
					      <&mpm 59 IRQ_TYPE_LEVEL_HIGH>,
					      <&mpm 58 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "dwc_usb3",
					  "pwr_event",
					  "hs_phy_irq",
					  "dp_hs_phy_irq",
					  "dm_hs_phy_irq";

			iommus = <&apps_smmu 0x140 0x0>;

			maximum-speed = "high-speed";

			phys = <&usb_2_hsphy>;
			phy-names = "usb2-phy";

			power-domains = <&gcc GCC_USB20_GDSC>;

			qcom,select-utmi-as-pipe-clk;
			resets = <&gcc GCC_USB20_BCR>;

			interconnects = <&system_noc MASTER_USB2_0 RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>,
					<&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &config_noc SLAVE_USB2 RPM_ACTIVE_TAG>;
			interconnect-names = "usb-ddr", "apps-usb";

			snps,dis_u2_susphy_quirk;
			snps,dis_enblslpm_quirk;
			snps,has-lpm-erratum;
			snps,hird-threshold = /bits/ 8 <0x10>;

			usb-role-switch;
			wakeup-source;

			status = "disabled";

			port {
				usb_2_dwc3_hs: endpoint {
				};
			};
		};

		usb_1: usb@4e00000 {
			compatible = "qcom,shikra-dwc3", "qcom,snps-dwc3";
			reg = <0x0 0x04e00000 0x0 0xfc100>;

			clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>,
				 <&gcc GCC_USB30_PRIM_MASTER_CLK>,
				 <&gcc GCC_SYS_NOC_USB3_PRIM_AXI_CLK>,
				 <&gcc GCC_USB30_PRIM_SLEEP_CLK>,
				 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>;
			clock-names = "cfg_noc",
				      "core",
				      "iface",
				      "sleep",
				      "mock_utmi";

			assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>,
					  <&gcc GCC_USB30_PRIM_MASTER_CLK>;
			assigned-clock-rates = <19200000>, <133333333>;

			interrupts-extended = <&intc GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH 0>,
					      <&intc GIC_SPI 302 IRQ_TYPE_LEVEL_HIGH 0>,
					      <&intc GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH 0>,
					      <&mpm 91 IRQ_TYPE_LEVEL_HIGH>,
					      <&mpm 90 IRQ_TYPE_LEVEL_HIGH>,
					      <&mpm 12 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "dwc_usb3",
					  "pwr_event",
					  "hs_phy_irq",
					  "dp_hs_phy_irq",
					  "dm_hs_phy_irq",
					  "ss_phy_irq";

			iommus = <&apps_smmu 0x120 0x0>;

			phys = <&usb_1_hsphy>, <&usb_qmpphy QMP_USB43DP_USB3_PHY>;
			phy-names = "usb2-phy", "usb3-phy";

			power-domains = <&gcc GCC_USB30_PRIM_GDSC>;

			resets = <&gcc GCC_USB30_PRIM_BCR>;

			interconnects = <&system_noc MASTER_USB3 RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>,
					<&mem_noc MASTER_AMPSS_M0 RPM_ACTIVE_TAG
					 &config_noc SLAVE_USB3 RPM_ACTIVE_TAG>;
			interconnect-names = "usb-ddr", "apps-usb";

			snps,dis-u1-entry-quirk;
			snps,dis-u2-entry-quirk;
			snps,dis_u2_susphy_quirk;
			snps,dis_u3_susphy_quirk;
			snps,dis_enblslpm_quirk;
			snps,has-lpm-erratum;
			snps,hird-threshold = /bits/ 8 <0x10>;
			snps,usb3_lpm_capable;
			snps,parkmode-disable-ss-quirk;

			usb-role-switch;

			wakeup-source;

			status = "disabled";

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					usb_1_dwc3_hs: endpoint {
					};
				};

				port@1 {
					reg = <1>;

					usb_1_dwc3_ss: endpoint {
						remote-endpoint = <&usb_qmpphy_usb_ss_in>;
					};
				};
			};
		};

		remoteproc_lpaicp: remoteproc@b800000 {
			compatible = "qcom,shikra-lpaicp-pas";
			reg = <0x0 0x0b800000 0x0 0x200000>;

			interrupts-extended = <&intc GIC_SPI 257 IRQ_TYPE_EDGE_RISING 0>,
					      <&lmcu_smp2p_in 0 IRQ_TYPE_NONE>,
					      <&lmcu_smp2p_in 1 IRQ_TYPE_NONE>,
					      <&lmcu_smp2p_in 2 IRQ_TYPE_NONE>,
					      <&lmcu_smp2p_in 3 IRQ_TYPE_NONE>;

			interrupt-names = "wdog",
					  "fatal",
					  "ready",
					  "handover",
					  "stop-ack";

			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
			clock-names = "xo";

			memory-region = <&lmcu_mem &lmcu_dtb_mem>;

			qcom,smem-states = <&lmcu_smp2p_out 0>;
			qcom,smem-state-names = "stop";

			status = "disabled";

			glink-edge {
				interrupts = <GIC_SPI 286 IRQ_TYPE_EDGE_RISING 0>;
				mboxes = <&apcs_glb 9>;
				qcom,remote-pid = <26>;
				label = "lpaicp";
			};
		};

		gpu: gpu@5900000 {
			compatible = "qcom,adreno-07000400", "qcom,adreno";
			reg = <0x0 0x05900000 0x0 0x40000>,
			      <0x0 0x0599e000 0x0 0x1000>,
			      <0x0 0x05961000 0x0 0x800>;
			reg-names = "kgsl_3d0_reg_memory",
				    "cx_mem",
				    "cx_dbgc";

			interrupts = <GIC_SPI 177 IRQ_TYPE_LEVEL_HIGH 0>;

			clocks = <&gpucc GPU_CC_GX_GFX3D_CLK>,
				 <&gpucc GPU_CC_AHB_CLK>,
				 <&gcc GCC_DDRSS_GPU_AXI_CLK>,
				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
				 <&gpucc GPU_CC_CX_GMU_CLK>,
				 <&gpucc GPU_CC_CXO_CLK>;
			clock-names = "core",
				      "iface",
				      "mem_iface",
				      "alt_mem_iface",
				      "gmu",
				      "xo";

			interconnects = <&mem_noc MASTER_GRAPHICS_3D RPM_ALWAYS_TAG
					 &mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
			interconnect-names = "gfx-mem";

			iommus = <&adreno_smmu 0 1>;
			operating-points-v2 = <&gpu_opp_table>;
			power-domains = <&rpmpd RPMPD_VDDCX>;
			qcom,gmu = <&gmu_wrapper>;

			#cooling-cells = <2>;

			status = "disabled";

			gpu_zap_shader: zap-shader {
				memory-region = <&gpu_micro_code_mem>;
			};

			gpu_opp_table: opp-table {
				compatible = "operating-points-v2";

				opp-1142400000 {
					opp-hz = /bits/ 64 <1142400000>;
					required-opps = <&rpmpd_opp_turbo_plus>;
					opp-peak-kBps = <8171875>;
				};

				opp-1017600000 {
					opp-hz = /bits/ 64 <1017600000>;
					required-opps = <&rpmpd_opp_turbo>;
					opp-peak-kBps = <8171875>;
				};

				opp-921600000 {
					opp-hz = /bits/ 64 <921600000>;
					required-opps = <&rpmpd_opp_nom_plus>;
					opp-peak-kBps = <7046875>;
				};

				opp-844800000 {
					opp-hz = /bits/ 64 <844800000>;
					required-opps = <&rpmpd_opp_nom>;
					opp-peak-kBps = <6074218>;
				};

				opp-672000000 {
					opp-hz = /bits/ 64 <672000000>;
					required-opps = <&rpmpd_opp_svs_plus>;
					opp-peak-kBps = <5285156>;
				};

				opp-537600000 {
					opp-hz = /bits/ 64 <537600000>;
					required-opps = <&rpmpd_opp_svs>;
					opp-peak-kBps = <3972656>;
				};

				opp-355200000 {
					opp-hz = /bits/ 64 <355200000>;
					required-opps = <&rpmpd_opp_low_svs>;
					opp-peak-kBps = <2136718>;
				};
			};
		};

		gmu_wrapper: gmu@596a000 {
			compatible = "qcom,adreno-gmu-wrapper";
			reg = <0x0 0x0596a000 0x0 0x30000>;
			reg-names = "gmu";
			power-domains = <&gpucc GPU_CX_GDSC>,
					<&gpucc GPU_GX_GDSC>;
			power-domain-names = "cx",
					     "gx";
		};

		gpucc: clock-controller@5990000 {
			compatible = "qcom,shikra-gpucc";
			reg = <0x0 0x05990000 0x0 0x9000>;
			clocks = <&gcc GCC_GPU_CFG_AHB_CLK>,
				 <&rpmcc RPM_SMD_XO_CLK_SRC>,
				 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
				 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
			power-domains = <&rpmpd RPMPD_VDDCX>;
			#clock-cells = <1>;
			#reset-cells = <1>;
			#power-domain-cells = <1>;
		};

		adreno_smmu: iommu@59a0000 {
			compatible = "qcom,shikra-smmu-500", "qcom,adreno-smmu",
				     "qcom,smmu-500", "arm,mmu-500";
			reg = <0x0 0x059a0000 0x0 0x10000>;
			#iommu-cells = <2>;
			#global-interrupts = <1>;

			interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 171 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH 0>;

			clocks = <&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>,
				 <&gcc GCC_GPU_MEMNOC_GFX_CLK>,
				 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>,
				 <&gpucc GPU_CC_AHB_CLK>;
			clock-names = "hlos",
				      "bus",
				      "iface",
				      "ahb";

			power-domains = <&gpucc GPU_CX_GDSC>;
		};

		dispcc: clock-controller@5f00000 {
			compatible = "qcom,shikra-dispcc", "qcom,qcm2290-dispcc";
			reg = <0x0 0x05f00000 0x0 0x20000>;
			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
				 <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
				 <&gcc GCC_DISP_GPLL0_CLK_SRC>,
				 <&gcc GCC_DISP_GPLL0_DIV_CLK_SRC>,
				 <0>,
				 <0>;
			clock-names = "bi_tcxo",
				      "bi_tcxo_ao",
				      "gcc_disp_gpll0_clk_src",
				      "gcc_disp_gpll0_div_clk_src",
				      "dsi0_phy_pll_out_byteclk",
				      "dsi0_phy_pll_out_dsiclk";
			power-domains = <&rpmpd RPMPD_VDDCX>;
			#clock-cells = <1>;
			#reset-cells = <1>;
			#power-domain-cells = <1>;
		};

		ctcu@8001000 {
			compatible = "qcom,shikra-ctcu", "qcom,sa8775p-ctcu";
			reg = <0x0 0x08001000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb";

			in-ports {
				port {
					ctcu_in0: endpoint {
						remote-endpoint = <&etr0_out>;
					};
				};
			};
		};

		stm@8002000 {
			compatible = "arm,coresight-stm", "arm,primecell";
			reg = <0x0 0x08002000 0x0 0x1000>,
			      <0x0 0x0e280000 0x0 0x180000>;
			reg-names = "stm-base",
				    "stm-stimulus-base";

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			out-ports {
				port {
					stm_out: endpoint {
						remote-endpoint = <&funnel_in0_in7>;
					};
				};
			};
		};

		tpdm@8003000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08003000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_dcc";
			qcom,cmb-element-bits = <32>;

			out-ports {
				port {
					tpdm_dcc_out: endpoint {
						remote-endpoint = <&tpda_qdss_in0>;
					};
				};
			};
		};

		tpda@8004000 {
			compatible = "qcom,coresight-tpda", "arm,primecell";
			reg = <0x0 0x08004000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					tpda_qdss_in0: endpoint {
						remote-endpoint = <&tpdm_dcc_out>;
					};
				};

				port@1 {
					reg = <1>;

					tpda_qdss_in1: endpoint {
						remote-endpoint = <&tpdm_spdm_out>;
					};
				};
			};

			out-ports {
				port {
					tpda_qdss_out: endpoint {
						remote-endpoint = <&funnel_in0_in6>;
					};
				};
			};
		};

		tpdm@800f000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x0800f000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_spdm";
			qcom,cmb-element-bits = <32>;

			out-ports {
				port {
					tpdm_spdm_out: endpoint {
						remote-endpoint = <&tpda_qdss_in1>;
					};
				};
			};
		};

		funnel@8041000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x08041000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@5 {
					reg = <5>;

					funnel_in0_in5: endpoint {
						remote-endpoint = <&snoc_out>;
					};
				};

				port@6 {
					reg = <6>;

					funnel_in0_in6: endpoint {
						remote-endpoint = <&tpda_qdss_out>;
					};
				};

				port@7 {
					reg = <7>;

					funnel_in0_in7: endpoint {
						remote-endpoint = <&stm_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_in0_out: endpoint {
						remote-endpoint = <&funnel_merg_in0>;
					};
				};
			};
		};

		funnel@8042000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x08042000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@1 {
					reg = <1>;

					funnel_in1_in1: endpoint {
						remote-endpoint = <&tpda_aodbg_out>;
					};
				};

				port@4 {
					reg = <4>;

					funnel_in1_in4: endpoint {
						remote-endpoint = <&modem_etm0_out>;
					};
				};

				port@6 {
					reg = <6>;

					funnel_in1_in6: endpoint {
						remote-endpoint = <&funnel_cpuss1_out>;
					};
				};

				port@7 {
					reg = <7>;

					funnel_in1_in7: endpoint {
						remote-endpoint = <&funnel_center_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_in1_out: endpoint {
						remote-endpoint = <&funnel_merg_in1>;
					};
				};
			};
		};

		funnel@8045000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x08045000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					funnel_merg_in0: endpoint {
						remote-endpoint = <&funnel_in0_out>;
					};
				};

				port@1 {
					reg = <1>;

					funnel_merg_in1: endpoint {
						remote-endpoint = <&funnel_in1_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_merg_out: endpoint {
						remote-endpoint = <&tmc_etf_in>;
					};
				};
			};
		};

		replicator@8046000 {
			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
			reg = <0x0 0x08046000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				port {
					replicator_qdss_in: endpoint {
						remote-endpoint = <&tmc_etf_out>;
					};
				};
			};

			out-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					replicator_qdss_out0: endpoint {
						remote-endpoint = <&etr0_in>;
					};
				};

				port@1 {
					reg = <1>;

					replicator_qdss_out1: endpoint {
						remote-endpoint = <&replicator_eud_in>;
					};
				};
			};
		};

		tmc@8047000 {
			compatible = "arm,coresight-tmc", "arm,primecell";
			reg = <0x0 0x08047000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				port {
					tmc_etf_in: endpoint {
						remote-endpoint = <&funnel_merg_out>;
					};
				};
			};

			out-ports {
				port {
					tmc_etf_out: endpoint {
						remote-endpoint = <&replicator_qdss_in>;
					};
				};
			};
		};

		tmc@8048000 {
			compatible = "arm,coresight-tmc", "arm,primecell";
			reg = <0x0 0x08048000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			iommus = <&apps_smmu 0x0160 0x0>;
			arm,scatter-gather;

			in-ports {
				port {
					etr0_in: endpoint {
						remote-endpoint = <&replicator_qdss_out0>;
					};
				};
			};

			out-ports {
				port {
					etr0_out: endpoint {
						remote-endpoint = <&ctcu_in0>;
					};
				};
			};
		};

		replicator@804a000 {
			compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
			reg = <0x0 0x0804a000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				port {
					replicator_eud_in: endpoint {
						remote-endpoint = <&replicator_qdss_out1>;
					};
				};
			};

			out-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@1 {
					reg = <1>;

					replicator_eud_out1: endpoint {
						remote-endpoint = <&eud_in>;
					};
				};
			};
		};

		tpdm@8800000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08800000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_cdsp";
			qcom,dsb-element-bits = <32>;
			qcom,dsb-msrs-num = <4>;

			out-ports {
				port {
					tpdm_cdsp_out: endpoint {
						remote-endpoint = <&funnel_cdsp_in0>;
					};
				};
			};
		};

		funnel@8801000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x08801000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				port {
					funnel_cdsp_in0: endpoint {
						remote-endpoint = <&tpdm_cdsp_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_cdsp_out0: endpoint {
						remote-endpoint = <&tpda_center_in3>;
					};
				};
			};
		};

		cti@8807000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08807000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_turing_q6";
		};

		cti@8833000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08833000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_mss_q6";
		};

		tpdm@8840000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08840000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_vsense";
			qcom,cmb-element-bits = <32>;

			out-ports {
				port {
					tpdm_vsense_out: endpoint {
						remote-endpoint = <&tpda_center_in6>;
					};
				};
			};
		};

		tpdm@8844000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08844000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_dlct_1";
			qcom,dsb-element-bits = <32>;
			qcom,dsb-msrs-num = <32>;

			out-ports {
				port {
					tpdm_dlct_1_out: endpoint {
						remote-endpoint = <&tpda_center_in13>;
					};
				};
			};
		};

		tpda@8845000 {
			compatible = "qcom,coresight-tpda", "arm,primecell";
			reg = <0x0 0x08845000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					tpda_center_in0: endpoint {
						remote-endpoint = <&funnel_mcu_out>;
					};
				};

				port@2 {
					reg = <2>;

					tpda_center_in2: endpoint {
						remote-endpoint = <&tpdm_dlct_out>;
					};
				};

				port@3 {
					reg = <3>;

					tpda_center_in3: endpoint {
						remote-endpoint = <&funnel_cdsp_out0>;
					};
				};

				port@4 {
					reg = <4>;

					tpda_center_in4: endpoint {
						remote-endpoint = <&funnel_ddr_out0>;
					};
				};

				port@6 {
					reg = <6>;

					tpda_center_in6: endpoint {
						remote-endpoint = <&tpdm_vsense_out>;
					};
				};

				port@7 {
					reg = <7>;

					tpda_center_in7: endpoint {
						remote-endpoint = <&tpdm_prng_out>;
					};
				};

				port@8 {
					reg = <8>;

					tpda_center_in8: endpoint {
						remote-endpoint = <&tpdm_west_out>;
					};
				};

				port@9 {
					reg = <9>;

					tpda_center_in9: endpoint {
						remote-endpoint = <&tpdm_qm_out>;
					};
				};

				port@a {
					reg = <0xa>;

					tpda_center_in10: endpoint {
						remote-endpoint = <&tpdm_pimem_out>;
					};
				};

				port@d {
					reg = <0xd>;

					tpda_center_in13: endpoint {
						remote-endpoint = <&tpdm_dlct_1_out>;
					};
				};
			};

			out-ports {
				port {
					tpda_center_out: endpoint {
						remote-endpoint = <&funnel_center_in0>;
					};
				};
			};
		};

		funnel@8846000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x08846000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				port {
					funnel_center_in0: endpoint {
						remote-endpoint = <&tpda_center_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_center_out: endpoint {
						remote-endpoint = <&funnel_in1_in7>;
					};
				};
			};
		};

		tpdm@884c000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x0884c000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_prng";
			qcom,cmb-element-bits = <32>;

			out-ports {
				port {
					tpdm_prng_out: endpoint {
						remote-endpoint = <&tpda_center_in7>;
					};
				};
			};
		};

		tpdm@8850000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08850000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_pimem";
			qcom,cmb-element-bits = <64>;
			qcom,dsb-element-bits = <32>;

			out-ports {
				port {
					tpdm_pimem_out: endpoint {
						remote-endpoint = <&tpda_center_in10>;
					};
				};
			};
		};

		tpdm@8980000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08980000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_mcu";
			qcom,dsb-element-bits = <32>;
			qcom,dsb-msrs-num = <16>;

			out-ports {
				port {
					tpdm_mcu_out: endpoint {
						remote-endpoint = <&funnel_mcu_in0>;
					};
				};
			};
		};

		funnel@8982000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x08982000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				port {
					funnel_mcu_in0: endpoint {
						remote-endpoint = <&tpdm_mcu_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_mcu_out: endpoint {
						remote-endpoint = <&tpda_center_in0>;
					};
				};
			};
		};

		tpdm@89d0000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x089d0000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_qm";
			qcom,dsb-element-bits = <32>;

			out-ports {
				port {
					tpdm_qm_out: endpoint {
						remote-endpoint = <&tpda_center_in9>;
					};
				};
			};
		};

		tpdm@8a01000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08a01000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_mapss";
			qcom,cmb-element-bits = <32>;
			qcom,dsb-element-bits = <32>;
			qcom,dsb-msrs-num = <16>;

			out-ports {
				port {
					tpdm_mapss_out: endpoint {
						remote-endpoint = <&tpda_aodbg_in>;
					};
				};
			};
		};

		cti@8a02000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08a02000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_mapss";
		};

		tpda@8a04000 {
			compatible = "qcom,coresight-tpda", "arm,primecell";
			reg = <0x0 0x08a04000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				port {
					tpda_aodbg_in: endpoint {
						remote-endpoint = <&tpdm_mapss_out>;
					};
				};
			};

			out-ports {
				port {
					tpda_aodbg_out: endpoint {
						remote-endpoint = <&funnel_in1_in1>;
					};
				};
			};
		};

		tpdm@8a58000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08a58000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_west";
			qcom,dsb-element-bits = <32>;
			qcom,dsb-msrs-num = <16>;

			out-ports {
				port {
					tpdm_west_out: endpoint {
						remote-endpoint = <&tpda_center_in8>;
					};
				};
			};
		};

		cti@8b30000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08b30000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_cortex_m3";
		};

		tpdm@8b58000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08b58000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_dlct";
			qcom,dsb-element-bits = <32>;
			qcom,dsb-msrs-num = <16>;

			out-ports {
				port {
					tpdm_dlct_out: endpoint {
						remote-endpoint = <&tpda_center_in2>;
					};
				};
			};
		};

		cti@8b59000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08b59000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_dlct_0";
		};

		cti@8b5a000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08b5a000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_dlct_1";
		};

		cti@8b5b000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08b5b000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_dlct_2";
		};

		cti@8b5c000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08b5c000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_dlct_3";
		};

		tpdm@8b60000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x08b60000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_ddr";
			qcom,cmb-element-bits = <32>;
			qcom,cmb-msrs-num = <1>;
			qcom,dsb-element-bits = <32>;
			qcom,dsb-msrs-num = <32>;

			out-ports {
				port {
					tpdm_ddr_out: endpoint {
						remote-endpoint = <&funnel_ddr_in0>;
					};
				};
			};
		};

		cti@8b62000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08b62000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_ddr_dl_0";
		};

		funnel@8b65000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x08b65000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					funnel_ddr_in0: endpoint {
						remote-endpoint = <&tpdm_ddr_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_ddr_out0: endpoint {
						remote-endpoint = <&tpda_center_in4>;
					};
				};
			};
		};

		cti@8b70000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08b70000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_ddr_dl_0_1";
		};

		cti@8b71000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x08b71000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_ddr_dl_1_1";
		};

		cti@9020000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x09020000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_apss_pe0";
		};

		cti@90e0000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x090e0000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_apss_cluster";
		};

		cti@9120000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x09120000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_apss_pe1";
		};

		cti@9220000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x09220000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_apss_pe2";
		};

		cti@9320000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x09320000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_apss_pe3";
		};

		funnel@9800000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x09800000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					funnel_cpuss0_in0: endpoint {
						remote-endpoint = <&etm0_out>;
					};
				};

				port@1 {
					reg = <1>;

					funnel_cpuss0_in1: endpoint {
						remote-endpoint = <&etm1_out>;
					};
				};

				port@2 {
					reg = <2>;

					funnel_cpuss0_in2: endpoint {
						remote-endpoint = <&etm2_out>;
					};
				};

				port@3 {
					reg = <3>;

					funnel_cpuss0_in3: endpoint {
						remote-endpoint = <&etm3_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_cpuss0_out: endpoint {
						remote-endpoint = <&funnel_cpuss1_in0>;
					};
				};
			};
		};

		funnel@9810000 {
			compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
			reg = <0x0 0x09810000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					funnel_cpuss1_in0: endpoint {
						remote-endpoint = <&funnel_cpuss0_out>;
					};
				};

				port@3 {
					reg = <3>;

					funnel_cpuss1_in3: endpoint {
						remote-endpoint = <&tpda_apss_out>;
					};
				};
			};

			out-ports {
				port {
					funnel_cpuss1_out: endpoint {
						remote-endpoint = <&funnel_in1_in6>;
					};
				};
			};
		};

		cti@982b000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x0982b000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_riscv";
		};

		tpdm@9860000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x09860000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_actpm";
			qcom,cmb-element-bits = <64>;
			qcom,cmb-msrs-num = <1>;

			out-ports {
				port {
					tpdm_actpm_out: endpoint {
						remote-endpoint = <&tpda_apss_in2>;
					};
				};
			};
		};

		tpdm@9861000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x09861000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_hwe";
			qcom,dsb-element-bits = <32>;
			qcom,dsb-msrs-num = <32>;

			out-ports {
				port {
					tpdm_hwe_out: endpoint {
						remote-endpoint = <&tpda_apss_in3>;
					};
				};
			};
		};

		tpda@9863000 {
			compatible = "qcom,coresight-tpda", "arm,primecell";
			reg = <0x0 0x09863000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			in-ports {
				#address-cells = <1>;
				#size-cells = <0>;

				port@0 {
					reg = <0>;

					tpda_apss_in0: endpoint {
						remote-endpoint = <&tpdm_llm_silver_out>;
					};
				};

				port@2 {
					reg = <2>;

					tpda_apss_in2: endpoint {
						remote-endpoint = <&tpdm_actpm_out>;
					};
				};

				port@3 {
					reg = <3>;

					tpda_apss_in3: endpoint {
						remote-endpoint = <&tpdm_hwe_out>;
					};
				};
			};

			out-ports {
				port {
					tpda_apss_out: endpoint {
						remote-endpoint = <&funnel_cpuss1_in3>;
					};
				};
			};
		};

		tpdm@98a0000 {
			compatible = "qcom,coresight-tpdm", "arm,primecell";
			reg = <0x0 0x098a0000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";

			label = "tpdm_llm_silver";
			qcom,cmb-element-bits = <32>;
			qcom,cmb-msrs-num = <12>;

			out-ports {
				port {
					tpdm_llm_silver_out: endpoint {
						remote-endpoint = <&tpda_apss_in0>;
					};
				};
			};
		};

		cti@98e0000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x098e0000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_apss_0";
		};

		cti@98f0000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x098f0000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_apss_1";
		};

		cti@9900000 {
			compatible = "arm,coresight-cti", "arm,primecell";
			reg = <0x0 0x09900000 0x0 0x1000>;

			clocks = <&rpmcc RPM_SMD_QDSS_CLK>;
			clock-names = "apb_pclk";
			label = "cti_apss_2";
		};

		audiocorecc: clock-controller@a0a0000 {
			compatible = "qcom,shikra-audiocorecc";
			reg = <0x0 0x0a0a0000 0x0 0x10000>;
			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
				 <&sleep_clk>,
				 <0>;
			#clock-cells = <1>;
			status = "reserved"; /* Owned by Modem firmware */
		};

		audiocore_csr: reset-controller@a0b4000 {
			compatible = "qcom,shikra-audiocore-csr";
			reg = <0x0 0x0a0b4000 0x0 0x1000>;
			#reset-cells = <1>;
		};

		sram@c11e000 {
			compatible = "qcom,shikra-imem", "mmio-sram";
			reg = <0x0 0x0c11e000 0x0 0x1000>;
			ranges = <0x0 0x0 0x0c11e000 0x1000>;

			no-memory-wc;

			#address-cells = <1>;
			#size-cells = <1>;

			pil-sram@94c {
				compatible = "qcom,pil-reloc-info";
				reg = <0x94c 0xc8>;
			};
		};

		apps_smmu: iommu@c600000 {
			compatible = "qcom,shikra-smmu-500", "qcom,smmu-500", "arm,mmu-500";
			reg = <0x0 0x0c600000 0x0 0x80000>;
			#iommu-cells = <2>;
			#global-interrupts = <1>;

			interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH 0>;
		};

		wifi: wifi@c800000 {
			compatible = "qcom,wcn3990-wifi";
			reg = <0x0 0x0c800000 0x0 0x800000>;
			reg-names = "membase";
			memory-region = <&wlan_mem>;
			interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH 0>;
			iommus = <&apps_smmu 0x1a0 0x1>;
			qcom,msa-fixed-perm;

			status = "disabled";
		};

		intc: interrupt-controller@f200000 {
			compatible = "arm,gic-v3";
			reg = <0x0 0xf200000 0x0 0x10000>,
			      <0x0 0xf240000 0x0 0x80000>;

			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH 0>;

			#interrupt-cells = <4>;
			interrupt-controller;

			#redistributor-regions = <1>;
			redistributor-stride = <0x0 0x20000>;

			#address-cells = <2>;
			#size-cells = <2>;
			ranges;

			ppi-partitions {
				ppi_cluster0: interrupt-partition-0 {
					affinity = <&cpu0 &cpu1 &cpu2>;
				};

				ppi_cluster1: interrupt-partition-1 {
					affinity = <&cpu3>;
				};
			};
		};

		apcs_glb: mailbox@f400000 {
			compatible = "qcom,shikra-apss-shared", "qcom,sdm845-apss-shared";
			reg = <0x0 0x0f400000 0x0 0x1000>;
			#mbox-cells = <1>;
		};

		watchdog@f410000 {
			compatible = "qcom,apss-wdt-shikra", "qcom,kpss-wdt";
			reg = <0x0 0x0f410000 0x0 0x1000>;
			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 0>;
			clocks = <&sleep_clk>;
		};

		timer@f420000 {
			compatible = "arm,armv7-timer-mem";
			reg = <0x0 0x0f420000  0x0 0x1000>;

			#address-cells = <1>;
			#size-cells = <1>;
			ranges = <0x0 0x0 0x0 0x10000000>;

			frame@f421000 {
				reg = <0x0f421000 0x1000>,
				      <0x0f422000 0x1000>;
				frame-number = <0>;
				interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH 0>,
					     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH 0>;
			};

			frame@f423000 {
				reg = <0x0f423000 0x1000>;
				frame-number = <1>;
				interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH 0>;
				status = "disabled";
			};

			frame@f425000 {
				reg = <0x0f425000 0x1000>;
				frame-number = <2>;
				interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH 0>;
				status = "disabled";
			};

			frame@f427000 {
				reg = <0x0f427000 0x1000>;
				frame-number = <3>;
				interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH 0>;
				status = "disabled";
			};

			frame@f429000 {
				reg = <0x0f429000 0x1000>;
				frame-number = <4>;
				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH 0>;
				status = "disabled";
			};

			frame@f42b000 {
				reg = <0x0f42b000 0x1000>;
				frame-number = <5>;
				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH 0>;
				status = "disabled";
			};

			frame@f42d000 {
				reg = <0x0f42d000 0x1000>;
				frame-number = <6>;
				interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH 0>;
				status = "disabled";
			};
		};

		epss_l3: interconnect@fd90000 {
			compatible = "qcom,shikra-epss-l3";
			reg = <0x0 0x0fd90000 0x0 0x1000>;
			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0>;
			clock-names = "xo", "alternate";
			#interconnect-cells = <1>;
		};

		cpufreq_hw: cpufreq@fd91000 {
			compatible = "qcom,shikra-epss";
			reg = <0x0 0x0fd91000 0x0 0x1000>,
			      <0x0 0x0fd92000 0x0 0x1000>;
			reg-names = "freq-domain0",
				    "freq-domain1";

			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0>;
			clock-names = "xo", "alternate";

			interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH 0>,
				     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH 0>;
			interrupt-names = "dcvsh-irq-0",
					  "dcvsh-irq-1";

			#freq-domain-cells = <1>;
			#clock-cells = <1>;
		};
	};

	thermal_zones: thermal-zones {
		aoss0-thermal {
			thermal-sensors = <&tsens0 0>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				aoss0-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		cpu-0-0-thermal {
			thermal-sensors = <&tsens0 1>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				cpu00-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		cpu-0-1-thermal {
			thermal-sensors = <&tsens0 2>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				cpu01-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		cpu-1-0-thermal {
			thermal-sensors = <&tsens0 3>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				cpu10-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		cpu-1-1-thermal {
			thermal-sensors = <&tsens0 4>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				cpu11-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		cpuss0-thermal {
			thermal-sensors = <&tsens0 5>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				cpuss0-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		gpuss-thermal {
			polling-delay-passive = <10>;
			thermal-sensors = <&tsens0 6>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				gpuss_alert0: gpuss-alert0 {
					temperature = <115000>;
					hysteresis = <5000>;
					type = "passive";
				};

				gpuss-critical {
					temperature = <120000>;
					hysteresis = <0>;
					type = "critical";
				};
			};

			cooling-maps {
				map0 {
					trip = <&gpuss_alert0>;
					cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
				};
			};
		};

		nsp-thermal {
			thermal-sensors = <&tsens0 7>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				nsp-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		mdmss0-thermal {
			thermal-sensors = <&tsens0 8>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				mdmss0-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		mdmss1-thermal {
			thermal-sensors = <&tsens0 9>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				mdmss1-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		camera-thermal {
			thermal-sensors = <&tsens0 10>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				camera-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		video-thermal {
			thermal-sensors = <&tsens0 11>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				video-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		cpu-0-2-thermal {
			thermal-sensors = <&tsens0 12>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				cpu02-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};

		cpuss1-thermal {
			thermal-sensors = <&tsens0 13>;

			trips {
				trip-point0 {
					temperature = <110000>;
					hysteresis = <5000>;
					type = "hot";
				};

				cpuss1-critical {
					temperature = <115000>;
					hysteresis = <0>;
					type = "critical";
				};
			};
		};
	};

	snoc {
		compatible = "arm,coresight-dummy-source";

		label = "snoc";
		arm,static-trace-id = <18>;

		out-ports {
			port {
				snoc_out: endpoint {
					remote-endpoint = <&funnel_in0_in5>;
				};
			};
		};
	};

	timer {
		compatible = "arm,armv8-timer";

		interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW 0>,
			     <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW 0>,
			     <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW 0>,
			     <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW 0>;
	};
};