Heiko Stuebner | b7ed189 | 2014-01-23 15:55:08 -0800 | [diff] [blame] | 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 |
Heiko Stuebner | b7ed189 | 2014-01-23 15:55:08 -0800 | [diff] [blame] | 9 | - #clock-cells: the value should be 0 |
| 10 | |
Heiko Stuebner | 68164a7 | 2014-06-06 14:36:08 -0700 | [diff] [blame] | 11 | Optional properties: |
| 12 | - clock-output-names: From common clock binding |
Heiko Stübner | 4be1f6b | 2015-06-13 12:34:04 +0200 | [diff] [blame] | 13 | - interrupts: rtc alarm/event interrupt |
Heiko Stuebner | 68164a7 | 2014-06-06 14:36:08 -0700 | [diff] [blame] | 14 | |
Heiko Stuebner | b7ed189 | 2014-01-23 15:55:08 -0800 | [diff] [blame] | 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 | }; |