1*4882a593SmuzhiyunOMAP SoC and Inside-Secure HWRNG Module 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun- compatible : Should contain entries for this and backward compatible 6*4882a593Smuzhiyun RNG versions: 7*4882a593Smuzhiyun - "ti,omap2-rng" for OMAP2. 8*4882a593Smuzhiyun - "ti,omap4-rng" for OMAP4, OMAP5 and AM33XX. 9*4882a593Smuzhiyun - "inside-secure,safexcel-eip76" for SoCs with EIP76 IP block 10*4882a593Smuzhiyun Note that these two versions are incompatible. 11*4882a593Smuzhiyun- ti,hwmods: Name of the hwmod associated with the RNG module 12*4882a593Smuzhiyun- reg : Offset and length of the register set for the module 13*4882a593Smuzhiyun- interrupts : the interrupt number for the RNG module. 14*4882a593Smuzhiyun Used for "ti,omap4-rng" and "inside-secure,safexcel-eip76" 15*4882a593Smuzhiyun- clocks: the trng clock source. Only mandatory for the 16*4882a593Smuzhiyun "inside-secure,safexcel-eip76" compatible, the second clock is 17*4882a593Smuzhiyun needed for the Armada 7K/8K SoCs 18*4882a593Smuzhiyun- clock-names: mandatory if there is a second clock, in this case the 19*4882a593Smuzhiyun name must be "core" for the first clock and "reg" for the second 20*4882a593Smuzhiyun one 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunExample: 24*4882a593Smuzhiyun/* AM335x */ 25*4882a593Smuzhiyunrng: rng@48310000 { 26*4882a593Smuzhiyun compatible = "ti,omap4-rng"; 27*4882a593Smuzhiyun ti,hwmods = "rng"; 28*4882a593Smuzhiyun reg = <0x48310000 0x2000>; 29*4882a593Smuzhiyun interrupts = <111>; 30*4882a593Smuzhiyun}; 31*4882a593Smuzhiyun 32*4882a593Smuzhiyun/* SafeXcel IP-76 */ 33*4882a593Smuzhiyuntrng: rng@f2760000 { 34*4882a593Smuzhiyun compatible = "inside-secure,safexcel-eip76"; 35*4882a593Smuzhiyun reg = <0xf2760000 0x7d>; 36*4882a593Smuzhiyun interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>; 37*4882a593Smuzhiyun clocks = <&cpm_syscon0 1 25>; 38*4882a593Smuzhiyun}; 39