Back to home page

OSCL-LXR

 
 

    


0001 Epson RX6110 Real Time Clock
0002 ============================
0003 
0004 The Epson RX6110 can be used with SPI or I2C busses. The kind of
0005 bus depends on the SPISEL pin and can not be configured via software.
0006 
0007 I2C mode
0008 --------
0009 
0010 Required properties:
0011   - compatible: should be: "epson,rx6110"
0012   - reg : the I2C address of the device for I2C
0013 
0014 Example:
0015 
0016         rtc: rtc@32 {
0017                 compatible = "epson,rx6110"
0018                 reg = <0x32>;
0019         };
0020 
0021 SPI mode
0022 --------
0023 
0024 Required properties:
0025   - compatible: should be: "epson,rx6110"
0026   - reg: chip select number
0027   - spi-cs-high: RX6110 needs chipselect high
0028   - spi-cpha: RX6110 works with SPI shifted clock phase
0029   - spi-cpol: RX6110 works with SPI inverse clock polarity
0030 
0031 Example:
0032 
0033         rtc: rtc@3 {
0034                 compatible = "epson,rx6110"
0035                 reg = <3>
0036                 spi-cs-high;
0037                 spi-cpha;
0038                 spi-cpol;
0039         };