]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - Documentation/devicetree/bindings/rtc/rtc-ds1307.txt
Merge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.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 - interrupt-parent: phandle for the interrupt controller.
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
37 Example:
38 rtc1: ds1339@68 {
39 compatible = "dallas,ds1339";
40 reg = <0x68>;
41 interrupt-parent = <&gpio4>;
42 interrupts = <20 0>;
43 trickle-resistor-ohms = <250>;
44 };