arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
Extension
.dts
Size
2168 bytes
Lines
119
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 OnePlus 6 (enchilada) device tree.
 *
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 */

#include <dt-bindings/leds/common.h>
#include "sdm845-oneplus-common.dtsi"

/ {
	model = "OnePlus 6";
	compatible = "oneplus,enchilada", "qcom,sdm845";
	qcom,board-id = <8 0 17819 22>;

	battery: battery {
		compatible = "simple-battery";

		charge-full-design-microamp-hours = <3300000>;
		voltage-min-design-microvolt = <3400000>;
		voltage-max-design-microvolt = <4400000>;

		/*
		 * Typical designs have multiple charger ICs which can handle more
		 * current but the OnePlus 6/T do not, hence the lower limit. This
		 * does not apply when using the Dash Charger, however this is not
		 * yet supported.
		 */
		constant-charge-current-max-microamp = <1800000>;
	};
};

&bq27441_fg {
	monitored-battery = <&battery>;
};

&display_panel {
	compatible = "samsung,sofef00-ams628nw01", "samsung,sofef00";

	status = "okay";
};

&framebuffer {
	height = <2280>;
};

&i2c4 {
	clock-frequency = <100000>;

	status = "okay";

	max98927_codec: max98927@3a {
		compatible = "maxim,max98927";
		reg = <0x3a>;
		#sound-dai-cells = <0>;

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

		reset-gpios = <&tlmm 69 GPIO_ACTIVE_LOW>;

		vmon-slot-no = <1>;
		imon-slot-no = <0>;
	};
};

&pmi8998_charger {
	monitored-battery = <&battery>;
};

Annotation

Implementation Notes