hwrng: brcm63xx - document device tree bindings
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 17 Jan 2016 09:03:57 +0000 (10:03 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 25 Jan 2016 14:42:09 +0000 (22:42 +0800)
Documents device tree bindings for random number generator present on Broadcom
BCM6368 SoC.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/rng/brcm,bcm6368.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm6368.txt b/Documentation/devicetree/bindings/rng/brcm,bcm6368.txt
new file mode 100644 (file)
index 0000000..4b5ac60
--- /dev/null
@@ -0,0 +1,17 @@
+BCM6368 Random number generator
+
+Required properties:
+
+- compatible : should be "brcm,bcm6368-rng"
+- reg : Specifies base physical address and size of the registers
+- clocks : phandle to clock-controller plus clock-specifier pair
+- clock-names : "ipsec" as a clock name
+
+Example:
+       random: rng@10004180 {
+               compatible = "brcm,bcm6368-rng";
+               reg = <0x10004180 0x14>;
+
+               clocks = <&periph_clk 18>;
+               clock-names = "ipsec";
+       };