dt/bindings: Add bindings for hisilicon random number generator
authorKefeng Wang <wangkefeng.wang@huawei.com>
Wed, 13 Apr 2016 10:11:27 +0000 (18:11 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Apr 2016 14:36:36 +0000 (22:36 +0800)
Document the devicetree bindings for the random number generator found
on Hisilicon Hip04 and Hip05 soc.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Acked-by: Rob Herring <rob@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/rng/hisi-rng.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rng/hisi-rng.txt b/Documentation/devicetree/bindings/rng/hisi-rng.txt
new file mode 100644 (file)
index 0000000..d04d55a
--- /dev/null
@@ -0,0 +1,12 @@
+Hisilicon Random Number Generator
+
+Required properties:
+- compatible : Should be "hisilicon,hip04-rng" or "hisilicon,hip05-rng"
+- reg : Offset and length of the register set of this block
+
+Example:
+
+rng@d1010000 {
+       compatible = "hisilicon,hip05-rng";
+       reg = <0xd1010000 0x100>;
+};