arch/arm64/boot/dts/qcom/msm8916-wingtech-wt865x8.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/qcom/msm8916-wingtech-wt865x8.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/qcom/msm8916-wingtech-wt865x8.dtsi
Extension
.dtsi
Size
4094 bytes
Lines
219
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

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

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/qcom,pmic-mpp.h>

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

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

	headphones_switch: audio-switch {
		compatible = "simple-audio-amplifier";

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

		enable-gpios = <&tlmm 120 GPIO_ACTIVE_HIGH>;
		sound-name-prefix = "Headphones Switch";
	};

	backlight: backlight {
		compatible = "pwm-backlight";
		pwms = <&pm8916_pwm 0 100000>;

		brightness-levels = <0 255>;
		num-interpolated-steps = <255>;
		default-brightness-level = <255>;
	};

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

		ocv-capacity-celsius = <25>;
		ocv-capacity-table-0 = <4328000 100>, <4266000 95>, <4208000 90>,
			<4154000 85>, <4102000 80>, <4062000 75>, <3992000 70>,
			<3960000 65>, <3914000 60>, <3870000 55>, <3840000 50>,
			<3818000 45>, <3800000 40>, <3784000 35>, <3770000 30>,
			<3756000 25>, <3736000 20>, <3714000 16>, <3696000 13>,
			<3690000 11>, <3689000 10>, <3688000 9>, <3686000 8>,
			<3682000 7>, <3670000 6>, <3639000 5>, <3592000 4>,
			<3530000 3>, <3448000 2>, <3320000 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>;
		};
	};

Annotation

Implementation Notes