timeriomem_rng.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/rng/timeriomem_rng.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TimerIO Random Number Generator
  7. maintainers:
  8. - Krzysztof Kozlowski <krzk@kernel.org>
  9. properties:
  10. compatible:
  11. const: timeriomem_rng
  12. period:
  13. $ref: /schemas/types.yaml#/definitions/uint32
  14. description: wait time in microseconds to use between samples
  15. quality:
  16. $ref: /schemas/types.yaml#/definitions/uint32
  17. default: 0
  18. description:
  19. Estimated number of bits of true entropy per 1024 bits read from the rng.
  20. Defaults to zero which causes the kernel's default quality to be used
  21. instead. Note that the default quality is usually zero which disables
  22. using this rng to automatically fill the kernel's entropy pool.
  23. reg:
  24. maxItems: 1
  25. description:
  26. Base address to sample from. Currently 'reg' must be at least four bytes
  27. wide and 32-bit aligned.
  28. required:
  29. - compatible
  30. - period
  31. - reg
  32. additionalProperties: false
  33. examples:
  34. - |
  35. rng@44 {
  36. compatible = "timeriomem_rng";
  37. reg = <0x44 0x04>;
  38. period = <1000000>;
  39. };