arch/arm64/boot/dts/qcom/msm8916-lg-m216.dts

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/msm8916-lg-m216.dts

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/qcom/msm8916-lg-m216.dts
Extension
.dts
Size
4793 bytes
Lines
255
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-only

/dts-v1/;

#include "msm8916-pm8916.dtsi"
#include "msm8916-modem-qdsp6.dtsi"

#include <dt-bindings/gpio/gpio.h>

/ {
	model = "LG K10 (K420n)";
	compatible = "lg,m216", "qcom,msm8916";
	chassis-type = "handset";

	aliases {
		mmc0 = &sdhc_1; /* eMMC */
		mmc1 = &sdhc_2; /* SD card */
		serial0 = &blsp_uart2;
	};

	chosen {
		stdout-path = "serial0";
	};

	battery: battery {
		compatible = "simple-battery";
		voltage-min-design-microvolt = <3300000>;
		voltage-max-design-microvolt = <4350000>;
		energy-full-design-microwatt-hours = <8800000>;
		charge-full-design-microamp-hours = <2300000>;

		ocv-capacity-celsius = <25>;
		ocv-capacity-table-0 = <4342000 100>, <4266000 95>, <4206000 90>,
			<4148000 85>, <4094000 80>, <4046000 75>, <3994000 70>,
			<3956000 65>, <3916000 60>, <3866000 55>, <3831000 50>,
			<3808000 45>, <3789000 40>, <3776000 35>, <3769000 30>,
			<3760000 25>, <3740000 20>, <3712000 16>, <3684000 13>,
			<3676000 11>, <3674000 10>, <3672000 9>, <3669000 8>,
			<3665000 7>, <3660000 6>, <3643000 5>, <3602000 4>,
			<3542000 3>, <3458000 2>, <3326000 1>, <3000000 0>;
	};

	gpio-keys {
		compatible = "gpio-keys";

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

		label = "GPIO Buttons";

		volume-up-button {
			label = "Volume Up";
			gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_VOLUMEUP>;
		};

		volume-down-button {
			label = "Volume Down";
			gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
			linux,code = <KEY_VOLUMEDOWN>;
		};
	};
};

&blsp_i2c2 {
	status = "okay";

	accelerometer@11 {
		compatible = "bosch,bmc150_accel";
		reg = <0x11>;

Annotation

Implementation Notes