xref: /freebsd/sys/contrib/device-tree/Bindings/rng/omap_rng.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1OMAP SoC and Inside-Secure 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  - "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, the second clock is
17  needed for the Armada 7K/8K SoCs
18- clock-names: mandatory if there is a second clock, in this case the
19  name must be "core" for the first clock and "reg" for the second
20  one
21
22
23Example:
24/* AM335x */
25rng: rng@48310000 {
26	compatible = "ti,omap4-rng";
27	ti,hwmods = "rng";
28	reg = <0x48310000 0x2000>;
29	interrupts = <111>;
30};
31
32/* SafeXcel IP-76 */
33trng: rng@f2760000 {
34	compatible = "inside-secure,safexcel-eip76";
35	reg = <0xf2760000 0x7d>;
36	interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
37	clocks = <&cpm_syscon0 1 25>;
38};
39