arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi
File Facts
- System
- Linux kernel
- Corpus path
arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi- Extension
.dtsi- Size
- 25079 bytes
- Lines
- 1162
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
dt-bindings/input/input.hdt-bindings/input/linux-event-codes.hdt-bindings/regulator/dlg,da9211-regulator.hdt-bindings/gpio/gpio.hmt8173.dtsiarm/cros-ec-keyboard.dtsi
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2016 MediaTek Inc.
*/
#include <dt-bindings/input/input.h>
#include <dt-bindings/input/linux-event-codes.h>
#include <dt-bindings/regulator/dlg,da9211-regulator.h>
#include <dt-bindings/gpio/gpio.h>
#include "mt8173.dtsi"
/ {
aliases {
mmc0 = &mmc0;
mmc1 = &mmc1;
mmc2 = &mmc3;
};
memory@40000000 {
device_type = "memory";
reg = <0 0x40000000 0 0x80000000>;
};
backlight: backlight {
compatible = "pwm-backlight";
pwms = <&pwm0 0 1000000>;
power-supply = <&bl_fixed_reg>;
enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&panel_backlight_en_pins>;
status = "okay";
};
bl_fixed_reg: fixedregulator2 {
compatible = "regulator-fixed";
regulator-name = "bl_fixed";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <1000>;
enable-active-high;
gpio = <&pio 32 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&bl_fixed_pins>;
};
chosen {
stdout-path = "serial0:115200n8";
};
gpio_keys: gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&gpio_keys_pins>;
switch-lid {
label = "Lid";
gpios = <&pio 69 GPIO_ACTIVE_LOW>;
linux,code = <SW_LID>;
linux,input-type = <EV_SW>;
wakeup-source;
};
switch-power {
label = "Power";
gpios = <&pio 14 GPIO_ACTIVE_HIGH>;
linux,code = <KEY_POWER>;
debounce-interval = <30>;
wakeup-source;
};
Annotation
- Immediate include surface: `dt-bindings/input/input.h`, `dt-bindings/input/linux-event-codes.h`, `dt-bindings/regulator/dlg,da9211-regulator.h`, `dt-bindings/gpio/gpio.h`, `mt8173.dtsi`, `arm/cros-ec-keyboard.dtsi`.
- Atlas domain: Architecture Layer / arch/arm64.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.