Documentation/devicetree/bindings/timer/fsl,gtm.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/timer/fsl,gtm.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/timer/fsl,gtm.yaml- Extension
.yaml- Size
- 1967 bytes
- Lines
- 84
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: configuration, schema, or hardware description
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
dt-bindings/interrupt-controller/irq.h
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 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/fsl,gtm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Freescale General-purpose Timers Module
maintainers:
- J. Neuschäfer <j.ne@posteo.net>
properties:
compatible:
oneOf:
# for SoC GTMs
- items:
- enum:
- fsl,mpc8308-gtm
- fsl,mpc8313-gtm
- fsl,mpc8315-gtm
- fsl,mpc8360-gtm
- const: fsl,gtm
# for QE GTMs
- items:
- enum:
- fsl,mpc8360-qe-gtm
- fsl,mpc8569-qe-gtm
- const: fsl,qe-gtm
- const: fsl,gtm
# for CPM2 GTMs (no known examples)
- items:
# - enum:
# - fsl,<chip>-cpm2-gtm
- const: fsl,cpm2-gtm
- const: fsl,gtm
reg:
maxItems: 1
interrupts:
items:
- description: Interrupt for timer 1 (e.g. GTM1 or GTM5)
- description: Interrupt for timer 2 (e.g. GTM2 or GTM6)
- description: Interrupt for timer 3 (e.g. GTM3 or GTM7)
- description: Interrupt for timer 4 (e.g. GTM4 or GTM8)
clock-frequency: true
required:
- compatible
- reg
- interrupts
- clock-frequency
additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
timer@500 {
compatible = "fsl,mpc8360-gtm", "fsl,gtm";
reg = <0x500 0x40>;
interrupts = <90 IRQ_TYPE_LEVEL_LOW>,
<78 IRQ_TYPE_LEVEL_LOW>,
<84 IRQ_TYPE_LEVEL_LOW>,
<72 IRQ_TYPE_LEVEL_LOW>;
/* filled by u-boot */
Annotation
- Immediate include surface: `dt-bindings/interrupt-controller/irq.h`.
- Atlas domain: Support Tooling And Documentation / Documentation.
- 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.