arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/qcom/qcom-msm8974-lge-nexus5-hammerhead.dts
Extension
.dts
Size
12995 bytes
Lines
717
Domain
Architecture Layer
Bucket
arch/arm
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
#include "qcom-msm8974.dtsi"
#include "pm8841.dtsi"
#include "pm8941.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>

/ {
	model = "LG Nexus 5";
	compatible = "lge,hammerhead", "qcom,msm8974";
	chassis-type = "handset";

	aliases {
		mmc0 = &sdhc_1;
		serial0 = &blsp1_uart1;
		serial1 = &blsp2_uart4;
	};

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

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

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

		key-volume-up {
			label = "volume_up";
			gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
			linux,input-type = <1>;
			linux,code = <KEY_VOLUMEUP>;
		};

		key-volume-down {
			label = "volume_down";
			gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
			linux,input-type = <1>;
			linux,code = <KEY_VOLUMEDOWN>;
		};
	};

	clk_pwm: pwm {
		compatible = "clk-pwm";
		clocks = <&mmcc CAMSS_GP1_CLK>;

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

		#pwm-cells = <2>;
	};

	vibrator {
		compatible = "pwm-vibrator";
		pwms = <&clk_pwm 0 100000>;
		pwm-names = "enable";

		vcc-supply = <&pm8941_l19>;
		enable-gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
	};

	vreg_boost: vreg-boost {
		compatible = "regulator-fixed";

		regulator-name = "vreg-boost";
		regulator-min-microvolt = <3150000>;
		regulator-max-microvolt = <3150000>;

Annotation

Implementation Notes