summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt')
-rw-r--r--kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt b/kernel/Documentation/devicetree/bindings/hwrng/atmel-trng.txt
new file mode 100644
index 000000000..4ac5aaa2d
--- /dev/null
+++ b/kernel/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>;
+};