arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi
Extension
.dtsi
Size
19324 bytes
Lines
872
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) 2022-2024 Jianhua Lu <lujianhua000@gmail.com>
 */

#include <dt-bindings/arm/qcom,ids.h>
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include <dt-bindings/usb/pd.h>
#include "sm8250.dtsi"
#include "pm8150.dtsi"
#include "pm8150b.dtsi"
#include "pm8150l.dtsi"
#include "pm8009.dtsi"

/*
 * Delete following upstream (sm8250.dtsi) reserved
 * memory mappings which are different on this device.
 */
/delete-node/ &adsp_mem;
/delete-node/ &cdsp_secure_heap;
/delete-node/ &slpi_mem;
/delete-node/ &spss_mem;
/delete-node/ &xbl_aop_mem;

/ {
	chassis-type = "tablet";

	/* required for bootloader to select correct board */
	qcom,msm-id = <QCOM_ID_SM8250 0x20001>; /* SM8250 v2.1 */
	qcom,board-id = <0x10008 0>;

	aliases {
		serial0 = &uart6;
	};

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

		framebuffer: framebuffer@9c000000 {
			compatible = "simple-framebuffer";
			reg = <0x0 0x9c000000 0x0 0x2300000>;
			width = <1600>;
			height = <2560>;
			stride = <(1600 * 4)>;
			format = "a8r8g8b8";
		};
	};

	battery_l: battery-l {
		compatible = "simple-battery";
		voltage-min-design-microvolt = <3870000>;
		energy-full-design-microwatt-hours = <16600000>;
		charge-full-design-microamp-hours = <4300000>;
	};

	battery_r: battery-r {
		compatible = "simple-battery";
		voltage-min-design-microvolt = <3870000>;
		energy-full-design-microwatt-hours = <16600000>;
		charge-full-design-microamp-hours = <4300000>;
	};

	bl_vddpos_5p5: bl-vddpos-regulator {
		compatible = "regulator-fixed";
		regulator-name = "bl_vddpos_5p5";
		regulator-min-microvolt = <5500000>;
		regulator-max-microvolt = <5500000>;

Annotation

Implementation Notes