49 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only2%YAML 1.23---4$id: http://devicetree.org/schemas/rng/timeriomem_rng.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: TimerIO Random Number Generator8 9maintainers:10 - Krzysztof Kozlowski <krzk@kernel.org>11 12properties:13 compatible:14 const: timeriomem_rng15 16 period:17 $ref: /schemas/types.yaml#/definitions/uint3218 description: wait time in microseconds to use between samples19 20 quality:21 $ref: /schemas/types.yaml#/definitions/uint3222 default: 023 description:24 Estimated number of bits of true entropy per 1024 bits read from the rng.25 Defaults to zero which causes the kernel's default quality to be used26 instead. Note that the default quality is usually zero which disables27 using this rng to automatically fill the kernel's entropy pool.28 29 reg:30 maxItems: 131 description:32 Base address to sample from. Currently 'reg' must be at least four bytes33 wide and 32-bit aligned.34 35required:36 - compatible37 - period38 - reg39 40additionalProperties: false41 42examples:43 - |44 rng@44 {45 compatible = "timeriomem_rng";46 reg = <0x44 0x04>;47 period = <1000000>;48 };49