Skip to content

Commit

Permalink
dt/bindings: Add bindings for the PIC32 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 Microchip PIC32 class devices.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Joshua Henderson authored and Herbert Xu committed Feb 16, 2016
1 parent ad84112 commit d489d17
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
* Microchip PIC32 Random Number Generator

The PIC32 RNG provides a pseudo random number generator which can be seeded by
another true random number generator.

Required properties:
- compatible : should be "microchip,pic32mzda-rng"
- reg : Specifies base physical address and size of the registers.
- clocks: clock phandle.

Example:

rng: rng@1f8e6000 {
compatible = "microchip,pic32mzda-rng";
reg = <0x1f8e6000 0x1000>;
clocks = <&PBCLK5>;
};

0 comments on commit d489d17

Please sign in to comment.