blob: a8934fe2ab4c19c8186e0bad5dbca2a1b29f1579 [file] [log] [blame]
Heiko Stuebnerb7ed1892014-01-23 15:55:08 -08001Haoyu 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
Heiko Stuebnerb7ed1892014-01-23 15:55:08 -08009- #clock-cells: the value should be 0
10
Heiko Stuebner68164a72014-06-06 14:36:08 -070011Optional properties:
12- clock-output-names: From common clock binding
Heiko Stübner4be1f6b2015-06-13 12:34:04 +020013- interrupts: rtc alarm/event interrupt
Heiko Stuebner68164a72014-06-06 14:36:08 -070014
Heiko Stuebnerb7ed1892014-01-23 15:55:08 -080015Example:
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};