GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / rtc / haoyu,hym8563.txt
1 Haoyu Microelectronics HYM8563 Real Time Clock
2
3 The HYM8563 provides basic rtc and alarm functionality
4 as well as a clock output of up to 32kHz.
5
6 Required properties:
7 - compatible: should be: "haoyu,hym8563"
8 - reg: i2c address
9 - #clock-cells: the value should be 0
10
11 Optional properties:
12 - clock-output-names: From common clock binding
13 - interrupts: rtc alarm/event interrupt
14
15 Example:
16
17 hym8563: hym8563@51 {
18         compatible = "haoyu,hym8563";
19         reg = <0x51>;
20
21         interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
22
23         #clock-cells = <0>;
24 };
25
26 device {
27 ...
28         clocks = <&hym8563>;
29 ...
30 };