Debian Codegraph @

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

raw
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
7 title: Andes ATCRTC100 Real-Time Clock
8
9 maintainers:
10 - CL Wang <[email protected]>
11
12 allOf:
13 - $ref: rtc.yaml#
14
15 properties:
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
28 required:
29 - compatible
30 - reg
31 - interrupts
32
33 unevaluatedProperties: false
34
35 examples:
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 };