]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: AM33xx: Add RNG node
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 29 Aug 2013 12:52:09 +0000 (18:22 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 29 Oct 2013 20:58:51 +0000 (13:58 -0700)
Add the AM33xx RNG module's device tree data.
Also add Documentation file describing the data
for the RNG module.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Documentation/devicetree/bindings/hwrng/omap_rng.txt [new file with mode: 0644]
arch/arm/boot/dts/am33xx.dtsi

diff --git a/Documentation/devicetree/bindings/hwrng/omap_rng.txt b/Documentation/devicetree/bindings/hwrng/omap_rng.txt
new file mode 100644 (file)
index 0000000..6a62acd
--- /dev/null
@@ -0,0 +1,22 @@
+OMAP SoC HWRNG Module
+
+Required properties:
+
+- compatible : Should contain entries for this and backward compatible
+  RNG versions:
+  - "ti,omap2-rng" for OMAP2.
+  - "ti,omap4-rng" for OMAP4, OMAP5 and AM33XX.
+  Note that these two versions are incompatible.
+- ti,hwmods: Name of the hwmod associated with the RNG module
+- reg : Offset and length of the register set for the module
+- interrupts : the interrupt number for the RNG module.
+               Only used for "ti,omap4-rng".
+
+Example:
+/* AM335x */
+rng: rng@48310000 {
+       compatible = "ti,omap4-rng";
+       ti,hwmods = "rng";
+       reg = <0x48310000 0x2000>;
+       interrupts = <111>;
+};
index 9ae258ebe1eb3ff10fb7c314054fb9bd6bcbc7b3..fcb9c8e42ab79b053f14639886c2d75bd58f2161 100644 (file)
                                <&edma 11>;
                        dma-names = "tx", "rx";
                };
+
+               rng: rng@48310000 {
+                       compatible = "ti,omap4-rng";
+                       ti,hwmods = "rng";
+                       reg = <0x48310000 0x2000>;
+                       interrupts = <111>;
+               };
        };
 };