Merge branch 'stable-4.11' of git://git.infradead.org/users/pcmoore/audit
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / rng / omap_rng.txt
1 OMAP SoC and Inside-Secure HWRNG Module
2
3 Required 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   - "inside-secure,safexcel-eip76" for SoCs with EIP76 IP block
10   Note that these two versions are incompatible.
11 - ti,hwmods: Name of the hwmod associated with the RNG module
12 - reg : Offset and length of the register set for the module
13 - interrupts : the interrupt number for the RNG module.
14                 Used for "ti,omap4-rng" and "inside-secure,safexcel-eip76"
15 - clocks: the trng clock source
16
17 Example:
18 /* AM335x */
19 rng: rng@48310000 {
20         compatible = "ti,omap4-rng";
21         ti,hwmods = "rng";
22         reg = <0x48310000 0x2000>;
23         interrupts = <111>;
24 };
25
26 /* SafeXcel IP-76 */
27 trng: rng@f2760000 {
28         compatible = "inside-secure,safexcel-eip76";
29         reg = <0xf2760000 0x7d>;
30         interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
31         clocks = <&cpm_syscon0 1 25>;
32 };