1*8bab661aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*8bab661aSEmmanuel Vadot%YAML 1.2
3*8bab661aSEmmanuel Vadot---
4*8bab661aSEmmanuel Vadot$id: http://devicetree.org/schemas/rtc/haoyu,hym8563.yaml#
5*8bab661aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8bab661aSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Haoyu Microelectronics HYM8563 RTC
8*8bab661aSEmmanuel Vadot
9*8bab661aSEmmanuel Vadotmaintainers:
10*8bab661aSEmmanuel Vadot  - Alexandre Belloni <alexandre.belloni@bootlin.com>
11*8bab661aSEmmanuel Vadot
12*8bab661aSEmmanuel Vadotproperties:
13*8bab661aSEmmanuel Vadot  compatible:
14*8bab661aSEmmanuel Vadot    const: haoyu,hym8563
15*8bab661aSEmmanuel Vadot
16*8bab661aSEmmanuel Vadot  reg:
17*8bab661aSEmmanuel Vadot    maxItems: 1
18*8bab661aSEmmanuel Vadot
19*8bab661aSEmmanuel Vadot  interrupts:
20*8bab661aSEmmanuel Vadot    maxItems: 1
21*8bab661aSEmmanuel Vadot
22*8bab661aSEmmanuel Vadot  "#clock-cells":
23*8bab661aSEmmanuel Vadot    const: 0
24*8bab661aSEmmanuel Vadot
25*8bab661aSEmmanuel Vadot  clock-output-names:
26*8bab661aSEmmanuel Vadot    description: From common clock binding to override the default output clock name.
27*8bab661aSEmmanuel Vadot    maxItems: 1
28*8bab661aSEmmanuel Vadot
29*8bab661aSEmmanuel Vadot  wakeup-source:
30*8bab661aSEmmanuel Vadot    description: Enables wake up of host system on alarm.
31*8bab661aSEmmanuel Vadot
32*8bab661aSEmmanuel VadotallOf:
33*8bab661aSEmmanuel Vadot  - $ref: rtc.yaml
34*8bab661aSEmmanuel Vadot
35*8bab661aSEmmanuel VadotunevaluatedProperties: false
36*8bab661aSEmmanuel Vadot
37*8bab661aSEmmanuel Vadotrequired:
38*8bab661aSEmmanuel Vadot  - compatible
39*8bab661aSEmmanuel Vadot  - reg
40*8bab661aSEmmanuel Vadot  - "#clock-cells"
41*8bab661aSEmmanuel Vadot
42*8bab661aSEmmanuel Vadotexamples:
43*8bab661aSEmmanuel Vadot  - |
44*8bab661aSEmmanuel Vadot    #include <dt-bindings/interrupt-controller/irq.h>
45*8bab661aSEmmanuel Vadot
46*8bab661aSEmmanuel Vadot    i2c {
47*8bab661aSEmmanuel Vadot        #address-cells = <1>;
48*8bab661aSEmmanuel Vadot        #size-cells = <0>;
49*8bab661aSEmmanuel Vadot
50*8bab661aSEmmanuel Vadot        rtc@51 {
51*8bab661aSEmmanuel Vadot            compatible = "haoyu,hym8563";
52*8bab661aSEmmanuel Vadot            reg = <0x51>;
53*8bab661aSEmmanuel Vadot            interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
54*8bab661aSEmmanuel Vadot            #clock-cells = <0>;
55*8bab661aSEmmanuel Vadot        };
56*8bab661aSEmmanuel Vadot    };
57