summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt
blob: 5c199ee044cb70f554417610447b4c10e625944c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Haoyu Microelectronics HYM8563 Real Time Clock

The HYM8563 provides basic rtc and alarm functionality
as well as a clock output of up to 32kHz.

Required properties:
- compatible: should be: "haoyu,hym8563"
- reg: i2c address
- interrupts: rtc alarm/event interrupt
- #clock-cells: the value should be 0

Optional properties:
- clock-output-names: From common clock binding

Example:

hym8563: hym8563@51 {
	compatible = "haoyu,hym8563";
	reg = <0x51>;

	interrupts = <13 IRQ_TYPE_EDGE_FALLING>;

	#clock-cells = <0>;
};

device {
...
	clocks = <&hym8563>;
...
};