aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/hwrng
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2014-11-20 10:43:24 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-11-20 22:39:41 +0800
commit1281c87ff067933cdeed79c4bda18ef3052b1165 (patch)
tree55c290c862ec1196267219cc318262506dd57478 /Documentation/devicetree/bindings/hwrng
parenthwrng: atmel - add DT support (diff)
downloadlinux-dev-1281c87ff067933cdeed79c4bda18ef3052b1165.tar.xz
linux-dev-1281c87ff067933cdeed79c4bda18ef3052b1165.zip
hwrng: atmel - Add TRNG DT binding doc
Document DT bindings of Atmel's TRNG (True Random Number Generator) IP. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree/bindings/hwrng')
-rw-r--r--Documentation/devicetree/bindings/hwrng/atmel-trng.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwrng/atmel-trng.txt b/Documentation/devicetree/bindings/hwrng/atmel-trng.txt
new file mode 100644
index 000000000000..4ac5aaa2d024
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwrng/atmel-trng.txt
@@ -0,0 +1,16 @@
+Atmel TRNG (True Random Number Generator) block
+
+Required properties:
+- compatible : Should be "atmel,at91sam9g45-trng"
+- reg : Offset and length of the register set of this block
+- interrupts : the interrupt number for the TRNG block
+- clocks: should contain the TRNG clk source
+
+Example:
+
+trng@fffcc000 {
+ compatible = "atmel,at91sam9g45-trng";
+ reg = <0xfffcc000 0x4000>;
+ interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&trng_clk>;
+};