summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rng
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2016-04-13 13:11:27 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-04-15 17:36:36 +0300
commitc7995ee7ff60c1973a3a63e35b41c2393f47f760 (patch)
tree5e896d634b87315183f3ec5ae9d5a268a221673e /Documentation/devicetree/bindings/rng
parentd293b640ebd532eb9d65bc42d48fb9d2c06e71c9 (diff)
downloadlinux-c7995ee7ff60c1973a3a63e35b41c2393f47f760.tar.xz
dt/bindings: Add bindings for hisilicon random number generator
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>
Diffstat (limited to 'Documentation/devicetree/bindings/rng')
-rw-r--r--Documentation/devicetree/bindings/rng/hisi-rng.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/hisi-rng.txt b/Documentation/devicetree/bindings/rng/hisi-rng.txt
new file mode 100644
index 000000000000..d04d55a6c2f5
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/hisi-rng.txt
@@ -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>;
+};