Skip to contentSkip to conversation

rtc: ds1511: add device-tree bindings

PATCH Superseded [email protected] 1 participant 1 message Oct 23, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: ds1511: add device-tree bindings

From: Marcus Folkesson <[email protected]>

Compatible with ds1500, ds1501 and ds1511

---
 .../devicetree/bindings/rtc/maxim-ds1511.txt       |   18 +++++
 drivers/rtc/rtc-ds1511.c                           |   84 +++++++++++++++++---
 2 files changed, 89 insertions(+), 13 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/rtc/maxim-ds1511.txt
Documentation/devicetree/bindings/rtc/maxim-ds1511.txt new file +18 -0
new file mode 100644
index 0000000..77ac5c0
@@ -0,0 +1,18 @@
+* Maxim Real Time Clock
+
+
+Support for Maxim DS1500, DS1501 and DS1511 RTC.
+
+Required properties:
+- compatible : Should be "maxim,ds1500-rtc", "maxim,ds1501-rtc" or "maxim,ds1511-rtc".
+- reg: physical base address of the controller and length of memory mapped
+  region.
+- interrupts: IRQ line for the RTC.
+
+Example:
+
+rtc@10300 {
+        compatible = "maxim,ds1511-rtc";
+        reg = <0xd0010300 0x14>;
+        interrupts = <50>;
+};
drivers/rtc/rtc-ds1511.c +71 -13

111 lines not on this page · raw message

Signature · 1 line
1.7.10.4