From patchwork Wed Dec 12 09:06:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [V2,3/4] rtc: rtc-mv: Add the device tree binding documentation Date: Tue, 11 Dec 2012 23:06:25 -0000 From: Gregory CLEMENT X-Patchwork-Id: 205459 Message-Id: <1355303186-9267-4-git-send-email-gregory.clement@free-electrons.com> To: Jason Cooper , Andrew Lunn , Gregory Clement , Alessandro Zummo Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Olof Johansson , Grant Likely , Rob Herring , Nicolas Pitre , Lior Amsalem , Maen Suleiman , Tawfik Bayouk , Shadi Ammouri , Eran Ben-Avi , Yehuda Yitschak , Nadav Haklai , Ike Pan , Jani Monoses , Chris Van Hoof , Dan Frazier , Thomas Petazzoni , Leif Lindholm , Jon Masters , David Marlin , Sebastian Hesselbarth , devicetree-discuss@lists.ozlabs.org, rtc-linux@googlegroups.com The support was already written, but the binding documentation was lacking. Signed-off-by: Gregory CLEMENT --- .../devicetree/bindings/rtc/orion-rtc.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/orion-rtc.txt diff --git a/Documentation/devicetree/bindings/rtc/orion-rtc.txt b/Documentation/devicetree/bindings/rtc/orion-rtc.txt new file mode 100644 index 0000000..3bf63ff --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/orion-rtc.txt @@ -0,0 +1,18 @@ +* Mvebu Real Time Clock + +RTC controller for the Kirkwood, the Dove, the Armada 370 and the +Armada XP SoCs + +Required properties: +- compatible : Should be "marvell,orion-rtc" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: IRQ line for the RTC. + +Example: + +rtc@10300 { + compatible = "marvell,orion-rtc"; + reg = <0xd0010300 0x20>; + interrupts = <50>; +};