summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rng
diff options
context:
space:
mode:
authorFeng Kan <fkan@apm.com>2014-08-22 16:26:39 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2014-08-29 21:46:40 +0800
commit1b8815a980d17e387708eae5cf61c6283f354f7f (patch)
tree292a502bfbdca29807b2af23aa0f43dce62ee2dd /Documentation/devicetree/bindings/rng
parenta91ae4eba9f9977863b57f2ac61e2e8e780375a8 (diff)
Documentation: rng: Add X-Gene SoC RNG driver documentation
Add X-Gene SoC RNG driver documentation. Signed-off-by: Feng Kan <fkan@apm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree/bindings/rng')
-rw-r--r--Documentation/devicetree/bindings/rng/apm,rng.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/apm,rng.txt b/Documentation/devicetree/bindings/rng/apm,rng.txt
new file mode 100644
index 000000000000..4dde4b06cdd9
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/apm,rng.txt
@@ -0,0 +1,17 @@
+APM X-Gene SoC random number generator.
+
+Required properties:
+
+- compatible : should be "apm,xgene-rng"
+- reg : specifies base physical address and size of the registers map
+- clocks : phandle to clock-controller plus clock-specifier pair
+- interrupts : specify the fault interrupt for the RNG device
+
+Example:
+
+ rng: rng@10520000 {
+ compatible = "apm,xgene-rng";
+ reg = <0x0 0x10520000 0x0 0x100>;
+ interrupts = <0x0 0x41 0x4>;
+ clocks = <&rngpkaclk 0>;
+ };