arch/arm64/boot/dts/qcom/sar2130p-qar2130p.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/sar2130p-qar2130p.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/qcom/sar2130p-qar2130p.dts
Extension
.dts
Size
11325 bytes
Lines
559
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: BSD-3-Clause
/*
 * Copyright (c) 2024, Linaro Limited
 */

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sar2130p.dtsi"
#include "pm8150.dtsi"

/ {
	model = "Qualcomm Snapdragon AR2 Gen1 Smart Viewer Development Kit";
	compatible = "qcom,qar2130p", "qcom,sar2130p";
	chassis-type = "embedded";

	aliases {
		serial0 = &uart11;
		serial1 = &uart7;
		i2c0 = &i2c8;
		i2c1 = &i2c10;
		mmc1 = &sdhc_1;
		spi0 = &spi0;
	};

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

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

	/* pm3003a on I2C0, should not be controlled */
	vreg_ext_1p3: regulator-ext-1p3 {
		compatible = "regulator-fixed";
		regulator-name = "vph_ext_1p3";
		regulator-min-microvolt = <1300000>;
		regulator-max-microvolt = <1300000>;
		regulator-always-on;
		vin-supply = <&vph_pwr>;
	};

	/* EBI rail, used as LDO input, can not be part of PMIC config */
	vreg_s10a_0p89: regulator-s10a-0p89 {
		compatible = "regulator-fixed";
		regulator-name = "vph_s10a_0p89";
		regulator-min-microvolt = <890000>;
		regulator-max-microvolt = <890000>;
		regulator-always-on;
		vin-supply = <&vph_pwr>;
	};

	thermal-zones {
		sar2130p-thermal {
			thermal-sensors = <&pm8150_adc_tm 1>;

			trips {
				active-config0 {
					temperature = <100000>;
					hysteresis = <1000>;
					type = "critical";
				};
			};
		};

Annotation

Implementation Notes