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