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