dt/bindings: Add bindings for the PIC32 random number generator
authorJoshua Henderson <joshua.henderson@microchip.com>
Mon, 8 Feb 2016 21:17:52 +0000 (14:17 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 16 Feb 2016 20:07:47 +0000 (04:07 +0800)
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>
Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt b/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt
new file mode 100644 (file)
index 0000000..c6d1003
--- /dev/null
@@ -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>;
+       };