Skip to content

Commit

Permalink
ARM: sun4i/sun7i: DT documentation for RTC driver
Browse files Browse the repository at this point in the history
Add DT documentation for SUNXI RTC driver

Signed-off-by: Carlo Caione <carlo.caione@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Carlo Caione authored and Maxime Ripard committed Dec 20, 2013
1 parent 8f1ae77 commit 182f14d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/rtc/sunxi-rtc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
* sun4i/sun7i Real Time Clock

RTC controller for the Allwinner A10/A20

Required properties:
- compatible : Should be "allwinner,sun4i-rtc" or "allwinner,sun7i-a20-rtc"
- reg: physical base address of the controller and length of memory mapped
region.
- interrupts: IRQ line for the RTC.

Example:

rtc: rtc@01c20d00 {
compatible = "allwinner,sun4i-rtc";
reg = <0x01c20d00 0x20>;
interrupts = <24>;
};

0 comments on commit 182f14d

Please sign in to comment.