summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Henderson <joshua.henderson@microchip.com>2016-02-08 22:17:52 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-02-16 21:07:47 +0100
commitd489d170eaf6ebd8562ba77d113304c8640113b7 (patch)
treeae259b0ffec49026029f3468865de6d790ca2ed6
parentcrypto: atmel-sha - fix race in atmel_sha_final() (diff)
downloadlinux-d489d170eaf6ebd8562ba77d113304c8640113b7.tar.xz
linux-d489d170eaf6ebd8562ba77d113304c8640113b7.zip
dt/bindings: Add bindings for the PIC32 random number generator
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>
-rw-r--r--Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt b/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt
new file mode 100644
index 000000000000..c6d1003befb7
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt
@@ -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>;
+ };