arch/arm/boot/dts/marvell/mvebu-linkstation-gpio-simple.dtsi
Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/marvell/mvebu-linkstation-gpio-simple.dtsi
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/boot/dts/marvell/mvebu-linkstation-gpio-simple.dtsi- Extension
.dtsi- Size
- 3079 bytes
- Lines
- 104
- 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.
- 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.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#include <dt-bindings/input/input.h>
/ {
gpio_keys {
compatible = "gpio-keys";
pinctrl-0 = <&pmx_power_switch>;
pinctrl-names = "default";
power-on-switch {
label = "Power-on Switch";
linux,code = <KEY_RESERVED>;
linux,input-type = <5>;
};
power-auto-switch {
label = "Power-auto Switch";
linux,code = <KEY_ESC>;
linux,input-type = <5>;
};
};
gpio_leds {
compatible = "gpio-leds";
pinctrl-0 = <&pmx_led_power &pmx_led_alarm &pmx_led_info>;
pinctrl-names = "default";
blue-power-led {
label = "linkstation:blue:power";
default-state = "keep";
};
red-alarm-led {
label = "linkstation:red:alarm";
};
amber-info-led {
label = "linkstation:amber:info";
};
};
};
&pinctrl {
pmx_power_switch: pmx-power-switch {
marvell,function = "gpio";
};
pmx_led_power: pmx-leds {
marvell,function = "gpio";
};
pmx_led_alarm: pmx-leds {
marvell,function = "gpio";
};
pmx_led_info: pmx-leds {
marvell,function = "gpio";
};
};
Annotation
- Immediate include surface: `dt-bindings/input/input.h`.
- Atlas domain: Architecture Layer / arch/arm.
- 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.