Documentation/devicetree/bindings/rtc/andestech,atcrtc100.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/rtc/andestech,atcrtc100.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/rtc/andestech,atcrtc100.yaml
Extension
.yaml
Size
842 bytes
Lines
44
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/rtc/andestech,atcrtc100.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Andes ATCRTC100 Real-Time Clock

maintainers:
  - CL Wang <cl634@andestech.com>

allOf:
  - $ref: rtc.yaml#

properties:
  compatible:
    enum:
      - andestech,atcrtc100

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: Periodic timekeeping interrupt
      - description: RTC alarm interrupt

required:
  - compatible
  - reg
  - interrupts

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>

    rtc@f0300000 {
        compatible = "andestech,atcrtc100";
        reg = <0xf0300000 0x100>;
        interrupts = <1 IRQ_TYPE_LEVEL_HIGH>, <2 IRQ_TYPE_LEVEL_HIGH>;
    };

Annotation

Implementation Notes