xref: /linux/Documentation/devicetree/bindings/rtc/alphascale,asm9260-rtc.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/alphascale,asm9260-rtc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Alphascale asm9260 SoC Real Time Clock
8
9maintainers:
10  - Javier Carrasco <javier.carrasco.cruz@gmail.com>
11
12allOf:
13  - $ref: rtc.yaml#
14
15properties:
16  compatible:
17    const: alphascale,asm9260-rtc
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  clock-names:
26    const: ahb
27
28  interrupts:
29    maxItems: 1
30
31required:
32  - compatible
33  - reg
34  - clocks
35  - clock-names
36  - interrupts
37
38unevaluatedProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/clock/alphascale,asm9260.h>
43
44    rtc@800a0000 {
45        compatible = "alphascale,asm9260-rtc";
46        reg = <0x800a0000 0x100>;
47        clocks = <&acc CLKID_AHB_RTC>;
48        clock-names = "ahb";
49        interrupts = <2>;
50    };
51