epson,rx6110.txt 783 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Epson RX6110 Real Time Clock
  2. ============================
  3. The Epson RX6110 can be used with SPI or I2C busses. The kind of
  4. bus depends on the SPISEL pin and can not be configured via software.
  5. I2C mode
  6. --------
  7. Required properties:
  8. - compatible: should be: "epson,rx6110"
  9. - reg : the I2C address of the device for I2C
  10. Example:
  11. rtc: rtc@32 {
  12. compatible = "epson,rx6110"
  13. reg = <0x32>;
  14. };
  15. SPI mode
  16. --------
  17. Required properties:
  18. - compatible: should be: "epson,rx6110"
  19. - reg: chip select number
  20. - spi-cs-high: RX6110 needs chipselect high
  21. - spi-cpha: RX6110 works with SPI shifted clock phase
  22. - spi-cpol: RX6110 works with SPI inverse clock polarity
  23. Example:
  24. rtc: rtc@3 {
  25. compatible = "epson,rx6110"
  26. reg = <3>
  27. spi-cs-high;
  28. spi-cpha;
  29. spi-cpol;
  30. };