TimerIO Random Number Generator

Schema identifier ($id): "http://devicetree.org/schemas/rng/timeriomem_rng.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "timeriomem_rng"

period — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

wait time in microseconds to use between samples

quality — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Default value (default): 0

Estimated number of bits of true entropy per 1024 bits read from the rng. Defaults to zero which causes the kernel's default quality to be used instead. Note that the default quality is usually zero which disables using this rng to automatically fill the kernel's entropy pool.

reg — required here #

Maximum number of items (maxItems): 1

Base address to sample from. Currently 'reg' must be at least four bytes wide and 32-bit aligned.

Required in this object (required): "compatible", "period", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

rng@44 {
    compatible = "timeriomem_rng";
    reg = <0x44 0x04>;
    period = <1000000>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Edit this page