aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2013-08-29 08:52:09 -0400
committerTony Lindgren <tony@atomide.com>2013-10-29 16:58:51 -0400
commited845d6b78bf32b396f7f1278eed0b87446934b1 (patch)
treeb5b20bba4439124681835bcf2872778a2fb9931c
parentd4cbe80db468dcfaa058f9f00a332784e5dff316 (diff)
ARM: dts: AM33xx: Add RNG node
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>
-rw-r--r--Documentation/devicetree/bindings/hwrng/omap_rng.txt22
-rw-r--r--arch/arm/boot/dts/am33xx.dtsi7
2 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwrng/omap_rng.txt b/Documentation/devicetree/bindings/hwrng/omap_rng.txt
new file mode 100644
index 000000000000..6a62acd86953
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwrng/omap_rng.txt
@@ -0,0 +1,22 @@
1OMAP SoC HWRNG Module
2
3Required properties:
4
5- compatible : Should contain entries for this and backward compatible
6 RNG versions:
7 - "ti,omap2-rng" for OMAP2.
8 - "ti,omap4-rng" for OMAP4, OMAP5 and AM33XX.
9 Note that these two versions are incompatible.
10- ti,hwmods: Name of the hwmod associated with the RNG module
11- reg : Offset and length of the register set for the module
12- interrupts : the interrupt number for the RNG module.
13 Only used for "ti,omap4-rng".
14
15Example:
16/* AM335x */
17rng: rng@48310000 {
18 compatible = "ti,omap4-rng";
19 ti,hwmods = "rng";
20 reg = <0x48310000 0x2000>;
21 interrupts = <111>;
22};
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 9ae258ebe1eb..fcb9c8e42ab7 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -779,5 +779,12 @@
779 <&edma 11>; 779 <&edma 11>;
780 dma-names = "tx", "rx"; 780 dma-names = "tx", "rx";
781 }; 781 };
782
783 rng: rng@48310000 {
784 compatible = "ti,omap4-rng";
785 ti,hwmods = "rng";
786 reg = <0x48310000 0x2000>;
787 interrupts = <111>;
788 };
782 }; 789 };
783}; 790};