rtc-ds1307.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Dallas DS1307 and compatible RTC
  2. Required properties:
  3. - compatible: should be one of:
  4. "dallas,ds1307",
  5. "dallas,ds1308",
  6. "dallas,ds1337",
  7. "dallas,ds1338",
  8. "dallas,ds1339",
  9. "dallas,ds1388",
  10. "dallas,ds1340",
  11. "dallas,ds1341",
  12. "maxim,ds3231",
  13. "st,m41t0",
  14. "st,m41t00",
  15. "st,m41t11",
  16. "microchip,mcp7940x",
  17. "microchip,mcp7941x",
  18. "pericom,pt7c4338",
  19. "epson,rx8025",
  20. "isil,isl12057"
  21. - reg: I2C bus address of the device
  22. Optional properties:
  23. - interrupts: rtc alarm interrupt.
  24. - clock-output-names: From common clock binding to override the default output
  25. clock name
  26. - wakeup-source: Enables wake up of host system on alarm
  27. - trickle-resistor-ohms : ds1339, ds1340 and ds 1388 only
  28. Selected resistor for trickle charger
  29. Possible values are 250, 2000, 4000
  30. Should be given if trickle charger should be enabled
  31. - trickle-diode-disable : ds1339, ds1340 and ds 1388 only
  32. Do not use internal trickle charger diode
  33. Should be given if internal trickle charger diode should be disabled
  34. Example:
  35. rtc1: ds1339@68 {
  36. compatible = "dallas,ds1339";
  37. reg = <0x68>;
  38. interrupt-parent = <&gpio4>;
  39. interrupts = <20 0>;
  40. trickle-resistor-ohms = <250>;
  41. };