Merge tag 'for_v4.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / rtc / rtc-ds1307.txt
1 Dallas DS1307 and compatible RTC
2
3 Required properties:
4 - compatible: should be one of:
5         "dallas,ds1307",
6         "dallas,ds1308",
7         "dallas,ds1337",
8         "dallas,ds1338",
9         "dallas,ds1339",
10         "dallas,ds1388",
11         "dallas,ds1340",
12         "dallas,ds1341",
13         "maxim,ds3231",
14         "st,m41t0",
15         "st,m41t00",
16         "microchip,mcp7940x",
17         "microchip,mcp7941x",
18         "pericom,pt7c4338",
19         "epson,rx8025",
20         "isil,isl12057"
21 - reg: I2C bus address of the device
22
23 Optional properties:
24 - interrupts: rtc alarm interrupt.
25 - clock-output-names: From common clock binding to override the default output
26                       clock name
27 - wakeup-source: Enables wake up of host system on alarm
28 - trickle-resistor-ohms : ds1339, ds1340 and ds 1388 only
29         Selected resistor for trickle charger
30         Possible values are 250, 2000, 4000
31         Should be given if trickle charger should be enabled
32 - trickle-diode-disable : ds1339, ds1340 and ds 1388 only
33         Do not use internal trickle charger diode
34         Should be given if internal trickle charger diode should be disabled
35
36 Example:
37         rtc1: ds1339@68 {
38                 compatible = "dallas,ds1339";
39                 reg = <0x68>;
40                 interrupt-parent = <&gpio4>;
41                 interrupts = <20 0>;
42                 trickle-resistor-ohms = <250>;
43         };