aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoc Ho <[email protected]>2014-06-06 14:35:40 -0700
committerLinus Torvalds <[email protected]>2014-06-06 16:08:06 -0700
commitc3811711a6fd3965bfd8c782fa5c014aecaeeffc (patch)
tree5ec30a9c93cebc505db7fd122e7c5bf6bdd3c051
parentee1d90146815fdc8d653c558b327fff2acba041d (diff)
Documentation/devicetree/bindings: add documentation for the APM X-Gene SoC RTC DTS binding
Signed-off-by: Rameshwar Prasad Sahu <[email protected]> Signed-off-by: Loc Ho <[email protected]> Cc: Jon Masters <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/rtc/xgene-rtc.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/xgene-rtc.txt b/Documentation/devicetree/bindings/rtc/xgene-rtc.txt
new file mode 100644
index 000000000000..fd195c358446
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/xgene-rtc.txt
@@ -0,0 +1,28 @@
+* APM X-Gene Real Time Clock
+
+RTC controller for the APM X-Gene Real Time Clock
+
+Required properties:
+- compatible : Should be "apm,xgene-rtc"
+- reg: physical base address of the controller and length of memory mapped
+ region.
+- interrupts: IRQ line for the RTC.
+- #clock-cells: Should be 1.
+- clocks: Reference to the clock entry.
+
+Example:
+
+rtcclk: rtcclk {
+ compatible = "fixed-clock";
+ #clock-cells = <1>;
+ clock-frequency = <100000000>;
+ clock-output-names = "rtcclk";
+};
+
+rtc: rtc@10510000 {
+ compatible = "apm,xgene-rtc";
+ reg = <0x0 0x10510000 0x0 0x400>;
+ interrupts = <0x0 0x46 0x4>;
+ #clock-cells = <1>;
+ clocks = <&rtcclk 0>;
+};