Commit | Line | Data |
---|---|---|
b7ed189d HS |
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 | - interrupts: rtc alarm/event interrupt | |
10 | - #clock-cells: the value should be 0 | |
11 | ||
68164a73 HS |
12 | Optional properties: |
13 | - clock-output-names: From common clock binding | |
14 | ||
b7ed189d HS |
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 | }; |