Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml
Extension
.yaml
Size
1523 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.

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/arm/atmel,at91rm9200-st.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Atmel System Timer

maintainers:
  - Nicolas Ferre <nicolas.ferre@microchip.com>
  - Claudiu Beznea <claudiu.beznea@tuxon.dev>

description:
  The System Timer (ST) module in AT91RM9200 provides periodic tick and
  alarm capabilities. It is exposed as a simple multi-function device
  (simple-mfd + syscon) because it shares its register space and interrupt
  with other System Controller blocks.

properties:
  compatible:
    items:
      - const: atmel,at91rm9200-st
      - const: syscon
      - const: simple-mfd

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  "#address-cells":
    const: 1

  "#size-cells":
    const: 1

patternProperties:
  "^watchdog@[0-9a-f]+$":
    $ref: /schemas/watchdog/atmel,at91rm9200-wdt.yaml#

required:
  - compatible
  - reg
  - interrupts
  - clocks

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    timer@fffffd00 {
        compatible = "atmel,at91rm9200-st", "syscon", "simple-mfd";
        reg = <0xfffffd00 0x100>;
        interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
        clocks = <&slow_xtal>;
        #address-cells = <1>;
        #size-cells = <1>;

        watchdog@fffffd40 {
            compatible = "atmel,at91rm9200-wdt";
            reg = <0xfffffd40 0x40>;
        };
    };
...

Annotation

Implementation Notes