[PATCH 1/7] docs/DS1307: fix layout
Juergen Borleis
jbe at pengutronix.de
Tue Aug 15 06:46:30 PDT 2017
Signed-off-by: Juergen Borleis <jbe at pengutronix.de>
---
Documentation/devicetree/bindings/rtc/dallas,ds1307.rst | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/rtc/dallas,ds1307.rst b/Documentation/devicetree/bindings/rtc/dallas,ds1307.rst
index 602f74b4d..5a75be40e 100644
--- a/Documentation/devicetree/bindings/rtc/dallas,ds1307.rst
+++ b/Documentation/devicetree/bindings/rtc/dallas,ds1307.rst
@@ -2,12 +2,14 @@ Dallas DS1307 I2C Serial Real-Time Clock
========================================
Required properties:
+
* ``compatible``: ``dallas,ds1307``, ``dallas,ds1308``, ``dallas,ds1338``
"maxim" can be used in place of "dallas"
* ``reg``: I2C address for chip
Optional properties:
+
* ``ext-clock-input``: Enable external clock input pin
* ``ext-clock-output``: Enable square wave output. The above two
properties are mutually exclusive
@@ -19,7 +21,10 @@ Optional properties:
The default is ext-clock-input, ext-clock-output, and ext-clock-bb
disabled and ext-clock-rate of 1 Hz.
-Example::
+Example
+
+.. code-block:: text
+
ds1307: rtc at 68 {
compatible = "dallas,ds1307";
reg = <0x68>;
--
2.11.0
More information about the barebox
mailing list