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