Skip to content

Commit

Permalink
ARM: dts: AM33xx: Add RNG node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lokesh Vutla authored and Tony Lindgren committed Oct 29, 2013
1 parent d4cbe80 commit ed845d6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/hwrng/omap_rng.txt
Original file line number Diff line number Diff line change
@@ -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>;
};
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/am33xx.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -779,5 +779,12 @@
<&edma 11>;
dma-names = "tx", "rx";
};

rng: rng@48310000 {
compatible = "ti,omap4-rng";
ti,hwmods = "rng";
reg = <0x48310000 0x2000>;
interrupts = <111>;
};
};
};

0 comments on commit ed845d6

Please sign in to comment.