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