summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHan Nandor <nandor.han@vaisala.com>2019-11-12 11:39:38 +0300
committerTom Rini <trini@konsulko.com>2020-01-10 18:25:13 +0300
commit0b326fc296435ce27aa41320b6f7eb9266da39ef (patch)
tree7125947dd7a3b9d2a192cc44134cd36c3677c4c4 /doc
parentc82abaa5d63f5259fd64c59bd70010310b4c4e4b (diff)
downloadu-boot-0b326fc296435ce27aa41320b6f7eb9266da39ef.tar.xz
rtc: add support for DS3232 device
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/rtc/ds3232.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/rtc/ds3232.txt b/doc/device-tree-bindings/rtc/ds3232.txt
new file mode 100644
index 0000000000..254b7bc3c3
--- /dev/null
+++ b/doc/device-tree-bindings/rtc/ds3232.txt
@@ -0,0 +1,15 @@
+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>;
+};