1 * ICP DAS LP-8841 SPI Controller for RTC
3 ICP DAS LP-8841 contains a DS-1302 RTC. RTC is connected to an IO
4 memory register, which acts as an SPI master device.
6 The device uses the standard MicroWire half-duplex transfer timing.
7 Master output is set on low clock and sensed by the RTC on the rising
8 edge. Master input is set by the RTC on the trailing edge and is sensed
9 by the master on low clock.
13 - #address-cells: should be 1
15 - #size-cells: should be 0
17 - compatible: should be "icpdas,lp8841-spi-rtc"
19 - reg: should provide IO memory address
21 Requirements to SPI slave nodes:
23 - There can be only one slave device.
25 - The spi slave node should claim the following flags which are
26 required by the spi controller.
28 - spi-3wire: The master itself has only 3 wire. It cannor work in
31 - spi-cs-high: DS-1302 has active high chip select line. The master
32 doesn't support active low.
34 - spi-lsb-first: DS-1302 requires least significant bit first
35 transfers. The master only support this type of bit ordering.
43 compatible = "icpdas,lp8841-spi-rtc";
47 compatible = "maxim,ds1302";
49 spi-max-frequency = <500000>;