40 lines · plain
1Epson RX6110 Real Time Clock2============================3 4The Epson RX6110 can be used with SPI or I2C busses. The kind of5bus depends on the SPISEL pin and can not be configured via software.6 7I2C mode8--------9 10Required properties:11 - compatible: should be: "epson,rx6110"12 - reg : the I2C address of the device for I2C13 14Example:15 16 rtc: rtc@32 {17 compatible = "epson,rx6110"18 reg = <0x32>;19 };20 21SPI mode22--------23 24Required properties:25 - compatible: should be: "epson,rx6110"26 - reg: chip select number27 - spi-cs-high: RX6110 needs chipselect high28 - spi-cpha: RX6110 works with SPI shifted clock phase29 - spi-cpol: RX6110 works with SPI inverse clock polarity30 31Example:32 33 rtc: rtc@3 {34 compatible = "epson,rx6110"35 reg = <3>36 spi-cs-high;37 spi-cpha;38 spi-cpol;39 };40