summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/rtc/dallas,ds1339.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/rtc/dallas,ds1339.txt')
-rw-r--r--dts/Bindings/rtc/dallas,ds1339.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/dts/Bindings/rtc/dallas,ds1339.txt b/dts/Bindings/rtc/dallas,ds1339.txt
new file mode 100644
index 0000000000..916f57601a
--- /dev/null
+++ b/dts/Bindings/rtc/dallas,ds1339.txt
@@ -0,0 +1,18 @@
+* Dallas DS1339 I2C Serial Real-Time Clock
+
+Required properties:
+- compatible: Should contain "dallas,ds1339".
+- reg: I2C address for chip
+
+Optional properties:
+- trickle-resistor-ohms : Selected resistor for trickle charger
+ Values usable for ds1339 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:
+ ds1339: rtc@68 {
+ compatible = "dallas,ds1339";
+ trickle-resistor-ohms = <250>;
+ reg = <0x68>;
+ };