Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Dallas 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",
16 "st,m41t11",
17 "microchip,mcp7940x",
18 "microchip,mcp7941x",
19 "pericom,pt7c4338",
20 "epson,rx8025",
21 "isil,isl12057"
22- reg: I2C bus address of the device
23
24Optional properties:
25- interrupts: rtc alarm interrupt.
26- clock-output-names: From common clock binding to override the default output
27 clock name
28- wakeup-source: Enables wake up of host system on alarm
29- trickle-resistor-ohms : ds1339, ds1340 and ds 1388 only
30 Selected resistor for trickle charger
31 Possible values are 250, 2000, 4000
32 Should be given if trickle charger should be enabled
33- trickle-diode-disable : ds1339, ds1340 and ds 1388 only
34 Do not use internal trickle charger diode
35 Should be given if internal trickle charger diode should be disabled
36
37Example:
38 ds1339: rtc@68 {
39 compatible = "dallas,ds1339";
40 reg = <0x68>;
41 interrupt-parent = <&gpio4>;
42 interrupts = <20 0>;
43 trickle-resistor-ohms = <250>;
44 };