omap_rng.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. OMAP SoC and Inside-Secure HWRNG Module
  2. Required properties:
  3. - compatible : Should contain entries for this and backward compatible
  4. RNG versions:
  5. - "ti,omap2-rng" for OMAP2.
  6. - "ti,omap4-rng" for OMAP4, OMAP5 and AM33XX.
  7. - "inside-secure,safexcel-eip76" for SoCs with EIP76 IP block
  8. Note that these two versions are incompatible.
  9. - ti,hwmods: Name of the hwmod associated with the RNG module
  10. - reg : Offset and length of the register set for the module
  11. - interrupts : the interrupt number for the RNG module.
  12. Used for "ti,omap4-rng" and "inside-secure,safexcel-eip76"
  13. - clocks: the trng clock source. Only mandatory for the
  14. "inside-secure,safexcel-eip76" compatible, the second clock is
  15. needed for the Armada 7K/8K SoCs
  16. - clock-names: mandatory if there is a second clock, in this case the
  17. name must be "core" for the first clock and "reg" for the second
  18. one
  19. Example:
  20. /* AM335x */
  21. rng: rng@48310000 {
  22. compatible = "ti,omap4-rng";
  23. ti,hwmods = "rng";
  24. reg = <0x48310000 0x2000>;
  25. interrupts = <111>;
  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. };