rtc: ds1511: add device-tree bindings
Subsystems (2)
PATCH 1/1 rtc: ds1511: add device-tree bindings
From: Marcus Folkesson <[email protected]>
Compatible with ds1500, ds1501 and ds1511
Signed-off-by Marcus Folkesson <[email protected]>
--- .../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
@@ -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