summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rtc/rtc.txt
blob: 7c8da6926095b81b3d65f620c80de4319353eba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Generic device tree bindings for Real Time Clock devices
========================================================

This document describes generic bindings which can be used to describe Real Time
Clock devices in a device tree.

Required properties
-------------------

- compatible : name of RTC device following generic names recommended practice.

For other required properties e.g. to describe register sets,
clocks, etc. check the binding documentation of the specific driver.

Optional properties
-------------------

- start-year : if provided, the default hardware range supported by the RTC is
               shifted so the first usable year is the specified one.

The following properties may not be supported by all drivers. However, if a
driver wants to support one of the below features, it should adapt the bindings
below.
- trickle-resistor-ohms : Selected resistor for trickle charger. Should be given
                          if trickle charger should be enabled
- trickle-diode-disable : Do not use internal trickle charger diode Should be
                          given if internal trickle charger diode should be
                          disabled
- wakeup-source :         Enables wake up of host system on alarm

Trivial RTCs
------------

This is a list of trivial RTC devices that have simple device tree
bindings, consisting only of a compatible field, an address and
possibly an interrupt line.


Compatible		Vendor / Chip
==========		=============
abracon,abb5zes3	AB-RTCMC-32.768kHz-B5ZE-S3: Real Time Clock/Calendar Module with I2C Interface
dallas,ds1374		I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output
dallas,ds1672		Dallas DS1672 Real-time Clock
dallas,ds3232		Extremely Accurate I²C RTC with Integrated Crystal and SRAM
epson,rx8010		I2C-BUS INTERFACE REAL TIME CLOCK MODULE
epson,rx8581		I2C-BUS INTERFACE REAL TIME CLOCK MODULE
emmicro,em3027		EM Microelectronic EM3027 Real-time Clock
isil,isl1208		Intersil ISL1208 Low Power RTC with Battery Backed SRAM
isil,isl1218		Intersil ISL1218 Low Power RTC with Battery Backed SRAM
isil,isl12022		Intersil ISL12022 Real-time Clock
microcrystal,rv3029	Real Time Clock Module with I2C-Bus
nxp,pcf2127		Real-time clock
nxp,pcf2129		Real-time clock
nxp,pcf8523		Real-time Clock
nxp,pcf8563		Real-time clock/calendar
nxp,pcf85063		Tiny Real-Time Clock
pericom,pt7c4338	Real-time Clock Module
ricoh,r2025sd		I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
ricoh,r2221tl		I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
ricoh,rs5c372a		I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
ricoh,rs5c372b		I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
ricoh,rv5c386		I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
ricoh,rv5c387a		I2C bus SERIAL INTERFACE REAL-TIME CLOCK IC
sii,s35390a		2-wire CMOS real-time clock