0b326fc296
DS3232 is an i2c RTC with 236 bytes of battery-backed SRAM. Add an RTC driver for DS3232 device, which provides time and date support. Also read and write functions are provided, which can be used to access the SRAM memory. Signed-off-by: Nandor Han <nandor.han@vaisala.com>
16 lines
354 B
Plaintext
16 lines
354 B
Plaintext
DS3232 Real-Time Clock with SRAM
|
|
|
|
The RTC driver provides time and date functionality. Also read and write
|
|
functions are provided that can be used to access the SRAM memory.
|
|
|
|
Required properties:
|
|
- compatible : should contain "dallas,ds3232"
|
|
- reg : the I2C RTC address
|
|
|
|
Example:
|
|
|
|
rtc@68 {
|
|
compatible = "dallas,ds3232";
|
|
reg = <0x68>;
|
|
};
|