Merge remote-tracking branches 'asoc/topic/rockchip', 'asoc/topic/rt5514', 'asoc...
[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. Only mandatory for the
16   "inside-secure,safexcel-eip76" compatible.
17
18 Example:
19 /* AM335x */
20 rng: rng@48310000 {
21         compatible = "ti,omap4-rng";
22         ti,hwmods = "rng";
23         reg = <0x48310000 0x2000>;
24         interrupts = <111>;
25 };
26
27 /* SafeXcel IP-76 */
28 trng: rng@f2760000 {
29         compatible = "inside-secure,safexcel-eip76";
30         reg = <0xf2760000 0x7d>;
31         interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
32         clocks = <&cpm_syscon0 1 25>;
33 };