arch/arm64/boot/dts/qcom/sdm845-mtp.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/sdm845-mtp.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/qcom/sdm845-mtp.dts
Extension
.dts
Size
16835 bytes
Lines
832
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
/*
 * SDM845 MTP board device tree source
 *
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 */

/dts-v1/;

#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sdm845.dtsi"
#include "pm8998.dtsi"
#include "pmi8998.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDM845 MTP";
	compatible = "qcom,sdm845-mtp", "qcom,sdm845";
	chassis-type = "handset";

	aliases {
		serial0 = &uart9;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	vph_pwr: vph-pwr-regulator {
		compatible = "regulator-fixed";
		regulator-name = "vph_pwr";
		regulator-min-microvolt = <3700000>;
		regulator-max-microvolt = <3700000>;
	};

	/*
	 * Apparently RPMh does not provide support for PM8998 S4 because it
	 * is always-on; model it as a fixed regulator.
	 */
	vreg_s4a_1p8: pm8998-smps4 {
		compatible = "regulator-fixed";
		regulator-name = "vreg_s4a_1p8";

		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;

		regulator-always-on;
		regulator-boot-on;

		vin-supply = <&vph_pwr>;
	};

	thermal-zones {
		xo_thermal: xo-thermal {
			thermal-sensors = <&pm8998_adc_tm 1>;

			trips {
				trip-point {
					temperature = <125000>;
					hysteresis = <10000>;
					type = "passive";
				};
			};
		};

		msm_thermal: msm-thermal {
			thermal-sensors = <&pm8998_adc_tm 2>;

			trips {
				trip-point {
					temperature = <125000>;

Annotation

Implementation Notes