Alexandre Belloni | 13a5595 | 2017-09-27 16:03:43 +0200 | [diff] [blame] | 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", |
Giulio Benetti | 7e58076 | 2018-05-16 23:08:40 +0200 | [diff] [blame] | 16 | "st,m41t11", |
Alexandre Belloni | 13a5595 | 2017-09-27 16:03:43 +0200 | [diff] [blame] | 17 | "microchip,mcp7940x", |
| 18 | "microchip,mcp7941x", |
| 19 | "pericom,pt7c4338", |
| 20 | "epson,rx8025", |
| 21 | "isil,isl12057" |
Bastian Krause | 4a9eb81 | 2019-08-30 15:47:55 +0200 | [diff] [blame] | 22 | "epson,rx8130" |
Alexandre Belloni | 13a5595 | 2017-09-27 16:03:43 +0200 | [diff] [blame] | 23 | - reg: I2C bus address of the device |
| 24 | |
| 25 | Optional properties: |
Alexandre Belloni | 13a5595 | 2017-09-27 16:03:43 +0200 | [diff] [blame] | 26 | - 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 Belloni | 1620c62 | 2017-09-27 16:03:45 +0200 | [diff] [blame] | 30 | - 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 Belloni | 13a5595 | 2017-09-27 16:03:43 +0200 | [diff] [blame] | 37 | |
| 38 | Example: |
Lubomir Rintel | 2cb5e47 | 2018-12-03 12:47:36 +0100 | [diff] [blame] | 39 | ds1339: rtc@68 { |
Alexandre Belloni | 13a5595 | 2017-09-27 16:03:43 +0200 | [diff] [blame] | 40 | compatible = "dallas,ds1339"; |
| 41 | reg = <0x68>; |
| 42 | interrupt-parent = <&gpio4>; |
| 43 | interrupts = <20 0>; |
Alexandre Belloni | 1620c62 | 2017-09-27 16:03:45 +0200 | [diff] [blame] | 44 | trickle-resistor-ohms = <250>; |
Alexandre Belloni | 13a5595 | 2017-09-27 16:03:43 +0200 | [diff] [blame] | 45 | }; |