summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rng
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2017-07-23 19:49:04 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-03 14:00:20 +0800
commit15d05fd4ed06a2f34edd3cf69ab27c2a47e3b52e (patch)
tree9151ff764e771bad5fc8480548a587aba39c5a6e /Documentation/devicetree/bindings/rng
parent60f3aaee7343b15f86bcfbb02384206d8a1900cd (diff)
downloadlinux-15d05fd4ed06a2f34edd3cf69ab27c2a47e3b52e.tar.gz
linux-15d05fd4ed06a2f34edd3cf69ab27c2a47e3b52e.tar.bz2
linux-15d05fd4ed06a2f34edd3cf69ab27c2a47e3b52e.zip
Documentation: devicetree: add Freescale RNGC binding
Add binding documentation for the Freescale RNGC found on some i.MX2/3 SoCs. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Martin Kaiser <martin@kaiser.cx> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree/bindings/rng')
-rw-r--r--Documentation/devicetree/bindings/rng/imx-rngc.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/imx-rngc.txt b/Documentation/devicetree/bindings/rng/imx-rngc.txt
new file mode 100644
index 000000000000..93c7174a7bed
--- /dev/null
+++ b/Documentation/devicetree/bindings/rng/imx-rngc.txt
@@ -0,0 +1,21 @@
+Freescale RNGC (Random Number Generator Version C)
+
+The driver also supports version B, which is mostly compatible
+to version C.
+
+Required properties:
+- compatible : should be one of
+ "fsl,imx25-rngb"
+ "fsl,imx35-rngc"
+- reg : offset and length of the register set of this block
+- interrupts : the interrupt number for the RNGC block
+- clocks : the RNGC clk source
+
+Example:
+
+rng@53fb0000 {
+ compatible = "fsl,imx25-rngb";
+ reg = <0x53fb0000 0x4000>;
+ interrupts = <22>;
+ clocks = <&trng_clk>;
+};