18c2ecf20Sopenharmony_ciEpson RX6110 Real Time Clock
28c2ecf20Sopenharmony_ci============================
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciThe Epson RX6110 can be used with SPI or I2C busses. The kind of
58c2ecf20Sopenharmony_cibus depends on the SPISEL pin and can not be configured via software.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciI2C mode
88c2ecf20Sopenharmony_ci--------
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciRequired properties:
118c2ecf20Sopenharmony_ci  - compatible: should be: "epson,rx6110"
128c2ecf20Sopenharmony_ci  - reg : the I2C address of the device for I2C
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciExample:
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	rtc: rtc@32 {
178c2ecf20Sopenharmony_ci		compatible = "epson,rx6110"
188c2ecf20Sopenharmony_ci		reg = <0x32>;
198c2ecf20Sopenharmony_ci	};
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciSPI mode
228c2ecf20Sopenharmony_ci--------
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciRequired properties:
258c2ecf20Sopenharmony_ci  - compatible: should be: "epson,rx6110"
268c2ecf20Sopenharmony_ci  - reg: chip select number
278c2ecf20Sopenharmony_ci  - spi-cs-high: RX6110 needs chipselect high
288c2ecf20Sopenharmony_ci  - spi-cpha: RX6110 works with SPI shifted clock phase
298c2ecf20Sopenharmony_ci  - spi-cpol: RX6110 works with SPI inverse clock polarity
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciExample:
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	rtc: rtc@3 {
348c2ecf20Sopenharmony_ci		compatible = "epson,rx6110"
358c2ecf20Sopenharmony_ci		reg = <3>
368c2ecf20Sopenharmony_ci		spi-cs-high;
378c2ecf20Sopenharmony_ci		spi-cpha;
388c2ecf20Sopenharmony_ci		spi-cpol;
398c2ecf20Sopenharmony_ci	};
40