Skip to content

Commit

Permalink
hwrng: atmel - Add TRNG DT binding doc
Browse files Browse the repository at this point in the history
Document DT bindings of Atmel's TRNG (True Random Number Generator) IP.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Boris Brezillon authored and Herbert Xu committed Nov 20, 2014
1 parent 4951db7 commit 1281c87
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Documentation/devicetree/bindings/hwrng/atmel-trng.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Atmel TRNG (True Random Number Generator) block

Required properties:
- compatible : Should be "atmel,at91sam9g45-trng"
- reg : Offset and length of the register set of this block
- interrupts : the interrupt number for the TRNG block
- clocks: should contain the TRNG clk source

Example:

trng@fffcc000 {
compatible = "atmel,at91sam9g45-trng";
reg = <0xfffcc000 0x4000>;
interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&trng_clk>;
};

0 comments on commit 1281c87

Please sign in to comment.