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