Browse Source

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>
Kefeng Wang 9 years ago
parent
commit
c7995ee7ff
1 changed files with 12 additions and 0 deletions
  1. 12 0
      Documentation/devicetree/bindings/rng/hisi-rng.txt

+ 12 - 0
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>;
+};