Documentation/devicetree/bindings/timer/img,pistachio-gptimer.yaml
Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/timer/img,pistachio-gptimer.yaml
File Facts
- System
- Linux kernel
- Corpus path
Documentation/devicetree/bindings/timer/img,pistachio-gptimer.yaml- Extension
.yaml- Size
- 1729 bytes
- Lines
- 70
- 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/mips-gic.hdt-bindings/clock/pistachio-clk.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/img,pistachio-gptimer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Pistachio general-purpose timer
maintainers:
- Ezequiel Garcia <ezequiel.garcia@imgtec.com>
properties:
compatible:
const: img,pistachio-gptimer
reg:
maxItems: 1
interrupts:
items:
- description: Timer0 interrupt
- description: Timer1 interrupt
- description: Timer2 interrupt
- description: Timer3 interrupt
clocks:
items:
- description: Fast counter clock
- description: Slow counter clock
- description: Interface clock
clock-names:
items:
- const: fast
- const: slow
- const: sys
img,cr-periph:
description: Peripheral control syscon phandle
$ref: /schemas/types.yaml#/definitions/phandle
required:
- compatible
- reg
- interrupts
- clocks
- clock-names
- img,cr-periph
additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/mips-gic.h>
#include <dt-bindings/clock/pistachio-clk.h>
timer@18102000 {
compatible = "img,pistachio-gptimer";
reg = <0x18102000 0x100>;
interrupts = <GIC_SHARED 60 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 61 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 62 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 63 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_periph PERIPH_CLK_COUNTER_FAST>,
<&clk_periph PERIPH_CLK_COUNTER_SLOW>,
<&cr_periph SYS_CLK_TIMER>;
clock-names = "fast", "slow", "sys";
img,cr-periph = <&cr_periph>;
};
Annotation
- Immediate include surface: `dt-bindings/interrupt-controller/mips-gic.h`, `dt-bindings/clock/pistachio-clk.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.