Samsung Exynos SoC True Random Number Generator

Schema identifier ($id): "http://devicetree.org/schemas/rng/samsung,exynos5250-trng.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Łukasz Stelmach <l.stelmach@samsung.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "samsung,exynos5250-trng", "samsung,exynos850-trng"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "google,gs101-trng"

Item 2

Exact value (const): "samsung,exynos850-trng"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "samsung,exynos850-trng"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

SSS (Security Sub System) operating clock

Item 2

SSS (Security Sub System) bus clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "secss"

Item 2

Exact value (const): "pclk"

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Array item rules (items)

Item 1

SSS (Security Sub System) operating clock

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "secss"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos5250.h>

rng@10830600 {
    compatible = "samsung,exynos5250-trng";
    reg = <0x10830600 0x100>;
    clocks = <&clock CLK_SSS>;
    clock-names = "secss";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page