Merge tag 'dax-misc-for-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm...
[deliverable/linux.git] / Documentation / devicetree / bindings / rtc / maxim,ds3231.txt
CommitLineData
6c6ff145
AM
1* Maxim DS3231 Real Time Clock
2
3Required properties:
4see: Documentation/devicetree/bindings/i2c/trivial-devices.txt
5
6Optional property:
7- #clock-cells: Should be 1.
8- clock-output-names:
9 overwrite the default clock names "ds3231_clk_sqw" and "ds3231_clk_32khz".
10
11Each clock is assigned an identifier and client nodes can use this identifier
12to specify the clock which they consume. Following indices are allowed:
13 - 0: square-wave output on the SQW pin
14 - 1: square-wave output on the 32kHz pin
15
16- interrupts: rtc alarm/event interrupt. When this property is selected,
17 clock on the SQW pin cannot be used.
18
19Example:
20
21ds3231: ds3231@51 {
22 compatible = "maxim,ds3231";
23 reg = <0x68>;
24 #clock-cells = <1>;
25};
26
27device1 {
28...
29 clocks = <&ds3231 0>;
30...
31};
32
33device2 {
34...
35 clocks = <&ds3231 1>;
36...
37};
This page took 0.042773 seconds and 5 git commands to generate.