Skip to content

Commit

Permalink
dt/bindings: Add bindings for hisilicon random number generator
Browse files Browse the repository at this point in the history
Document the devicetree bindings for the random number generator found
on Hisilicon Hip04 and Hip05 soc.

Signed-off-by: Kefeng Wang <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Kefeng Wang authored and herbertx committed Apr 15, 2016
1 parent d293b64 commit c7995ee
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Documentation/devicetree/bindings/rng/hisi-rng.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit c7995ee

Please sign in to comment.