mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 12:04:46 +08:00
59e5e70c95
The number after the '@' symbol should be the SPI chip select number associated with the ds1390 and it should match the 'reg' field. So change it the address to zero, to make it consistent. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
19 lines
572 B
Plaintext
19 lines
572 B
Plaintext
* Dallas DS1390 SPI Serial Real-Time Clock
|
|
|
|
Required properties:
|
|
- compatible: Should contain "dallas,ds1390".
|
|
- reg: SPI address for chip
|
|
|
|
Optional properties:
|
|
- trickle-resistor-ohms : Selected resistor for trickle charger
|
|
Values usable for ds1390 are 250, 2000, 4000
|
|
Should be given if trickle charger should be enabled
|
|
- trickle-diode-disable : Do not use internal trickle charger diode
|
|
Should be given if internal trickle charger diode should be disabled
|
|
Example:
|
|
ds1390: rtc@0 {
|
|
compatible = "dallas,ds1390";
|
|
trickle-resistor-ohms = <250>;
|
|
reg = <0>;
|
|
};
|