blob: 66f0a31ae9ce68b947a501f63fda5f1f69194753 [file] [log] [blame]
Alexandre Belloni13a55952017-09-27 16:03:43 +02001Dallas DS1307 and compatible RTC
2
3Required 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",
Giulio Benetti7e580762018-05-16 23:08:40 +020016 "st,m41t11",
Alexandre Belloni13a55952017-09-27 16:03:43 +020017 "microchip,mcp7940x",
18 "microchip,mcp7941x",
19 "pericom,pt7c4338",
20 "epson,rx8025",
21 "isil,isl12057"
Bastian Krause4a9eb812019-08-30 15:47:55 +020022 "epson,rx8130"
Alexandre Belloni13a55952017-09-27 16:03:43 +020023- reg: I2C bus address of the device
24
25Optional properties:
Alexandre Belloni13a55952017-09-27 16:03:43 +020026- interrupts: rtc alarm interrupt.
27- clock-output-names: From common clock binding to override the default output
28 clock name
29- wakeup-source: Enables wake up of host system on alarm
Alexandre Belloni1620c622017-09-27 16:03:45 +020030- trickle-resistor-ohms : ds1339, ds1340 and ds 1388 only
31 Selected resistor for trickle charger
32 Possible values are 250, 2000, 4000
33 Should be given if trickle charger should be enabled
34- trickle-diode-disable : ds1339, ds1340 and ds 1388 only
35 Do not use internal trickle charger diode
36 Should be given if internal trickle charger diode should be disabled
Alexandre Belloni13a55952017-09-27 16:03:43 +020037
38Example:
Lubomir Rintel2cb5e472018-12-03 12:47:36 +010039 ds1339: rtc@68 {
Alexandre Belloni13a55952017-09-27 16:03:43 +020040 compatible = "dallas,ds1339";
41 reg = <0x68>;
42 interrupt-parent = <&gpio4>;
43 interrupts = <20 0>;
Alexandre Belloni1620c622017-09-27 16:03:45 +020044 trickle-resistor-ohms = <250>;
Alexandre Belloni13a55952017-09-27 16:03:43 +020045 };