Documentation/devicetree/bindings/timer/arm,armv7m-systick.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/timer/arm,armv7m-systick.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/timer/arm,armv7m-systick.yaml
Extension
.yaml
Size
981 bytes
Lines
55
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.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/arm,armv7m-systick.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ARMv7M System Timer

maintainers:
  - Alexandre Torgue <alexandre.torgue@foss.st.com>
  - Fabrice Gasnier <fabrice.gasnier@foss.st.com>

description: ARMv7-M includes a system timer, known as SysTick.

properties:
  compatible:
    const: arm,armv7m-systick

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-frequency: true

oneOf:
  - required:
      - clocks
  - required:
      - clock-frequency

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    timer@e000e010 {
        compatible = "arm,armv7m-systick";
        reg = <0xe000e010 0x10>;
        clocks = <&clk_systick>;
    };

  - |
    timer@e000e010 {
        compatible = "arm,armv7m-systick";
        reg = <0xe000e010 0x10>;
        clock-frequency = <90000000>;
    };

...

Annotation

Implementation Notes