StarFive SoC TRNG Module

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

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

Maintainers (maintainers): "Jia Jie Ho <jiajie.ho@starfivetech.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "starfive,jh8100-trng"

Item 2

Exact value (const): "starfive,jh7110-trng"

Rule 2

Exact value (const): "starfive,jh7110-trng"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Hardware reference clock

Item 2

AHB reference clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "hclk"

Item 2

Exact value (const): "ahb"

resets — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

rng: rng@1600C000 {
    compatible = "starfive,jh7110-trng";
    reg = <0x1600C000 0x4000>;
    clocks = <&clk 15>, <&clk 16>;
    clock-names = "hclk", "ahb";
    resets = <&reset 3>;
    interrupts = <30>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page