xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/rtc/rtc-ds1307.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDallas DS1307 and compatible RTC
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: should be one of:
5*4882a593Smuzhiyun	"dallas,ds1307",
6*4882a593Smuzhiyun	"dallas,ds1308",
7*4882a593Smuzhiyun	"dallas,ds1337",
8*4882a593Smuzhiyun	"dallas,ds1338",
9*4882a593Smuzhiyun	"dallas,ds1339",
10*4882a593Smuzhiyun	"dallas,ds1388",
11*4882a593Smuzhiyun	"dallas,ds1340",
12*4882a593Smuzhiyun	"dallas,ds1341",
13*4882a593Smuzhiyun	"maxim,ds3231",
14*4882a593Smuzhiyun	"st,m41t0",
15*4882a593Smuzhiyun	"st,m41t00",
16*4882a593Smuzhiyun	"st,m41t11",
17*4882a593Smuzhiyun	"microchip,mcp7940x",
18*4882a593Smuzhiyun	"microchip,mcp7941x",
19*4882a593Smuzhiyun	"pericom,pt7c4338",
20*4882a593Smuzhiyun	"epson,rx8025",
21*4882a593Smuzhiyun	"isil,isl12057"
22*4882a593Smuzhiyun	"epson,rx8130"
23*4882a593Smuzhiyun- reg: I2C bus address of the device
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunOptional properties:
26*4882a593Smuzhiyun- interrupts: rtc alarm interrupt.
27*4882a593Smuzhiyun- clock-output-names: From common clock binding to override the default output
28*4882a593Smuzhiyun                      clock name
29*4882a593Smuzhiyun- wakeup-source: Enables wake up of host system on alarm
30*4882a593Smuzhiyun- trickle-resistor-ohms : ds1339, ds1340 and ds 1388 only
31*4882a593Smuzhiyun	Selected resistor for trickle charger
32*4882a593Smuzhiyun	Possible values are 250, 2000, 4000
33*4882a593Smuzhiyun	Should be given if trickle charger should be enabled
34*4882a593Smuzhiyun- aux-voltage-chargeable: ds1339, ds1340, ds1388 and rx8130 only
35*4882a593Smuzhiyun	Tells whether the battery/supercap of the RTC (if any) is
36*4882a593Smuzhiyun	chargeable or not.
37*4882a593Smuzhiyun	Possible values are 0 (not chargeable), 1 (chargeable)
38*4882a593Smuzhiyun
39*4882a593SmuzhiyunDeprecated properties:
40*4882a593Smuzhiyun- trickle-diode-disable : ds1339, ds1340 and ds1388 only
41*4882a593Smuzhiyun	Do not use internal trickle charger diode
42*4882a593Smuzhiyun	Should be given if internal trickle charger diode should be disabled
43*4882a593Smuzhiyun	(superseded by aux-voltage-chargeable)
44*4882a593Smuzhiyun
45*4882a593SmuzhiyunExample:
46*4882a593Smuzhiyun	ds1339: rtc@68 {
47*4882a593Smuzhiyun		compatible = "dallas,ds1339";
48*4882a593Smuzhiyun		reg = <0x68>;
49*4882a593Smuzhiyun		interrupt-parent = <&gpio4>;
50*4882a593Smuzhiyun		interrupts = <20 0>;
51*4882a593Smuzhiyun		trickle-resistor-ohms = <250>;
52*4882a593Smuzhiyun	};
53