File Index
Files and directories
Sign in
FILE

andestech,atcrtc100.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/rtc/andestech,atcrtc100.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/rtc/andestech,atcrtc100.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Andes ATCRTC100 Real-Time Clock
 8
 9maintainers:
10  - CL Wang <cl634@andestech.com>
11
12allOf:
13  - $ref: rtc.yaml#
14
15properties:
16  compatible:
17    enum:
18      - andestech,atcrtc100
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    items:
25      - description: Periodic timekeeping interrupt
26      - description: RTC alarm interrupt
27
28required:
29  - compatible
30  - reg
31  - interrupts
32
33unevaluatedProperties: false
34
35examples:
36  - |
37    #include <dt-bindings/interrupt-controller/irq.h>
38
39    rtc@f0300000 {
40        compatible = "andestech,atcrtc100";
41        reg = <0xf0300000 0x100>;
42        interrupts = <1 IRQ_TYPE_LEVEL_HIGH>, <2 IRQ_TYPE_LEVEL_HIGH>;
43    };
~/ Read-only file preview.