BCM2835/6368 Random number generator

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

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

Maintainers (maintainers): "Stefan Wahren <stefan.wahren@i2se.com>", "Florian Fainelli <f.fainelli@gmail.com>", "Herbert Xu <herbert@gondor.apana.org.au>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm2835-rng", "brcm,bcm-nsp-rng", "brcm,bcm5301x-rng", "brcm,bcm6368-rng"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "ipsec"

resets — not listed as required here #

Maximum number of items (maxItems): 1

reset-names — not listed as required here #

Exact value (const): "ipsec"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

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

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "brcm,bcm6368-rng"

When the condition matches (then) #

Required in this object (required): "clocks", "clock-names", "resets", "reset-names"

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

false

Not allowed by this rule.

Examples (examples) #

rng@7e104000 {
    compatible = "brcm,bcm2835-rng";
    reg = <0x7e104000 0x10>;
    interrupts = <2 29>;
};
rng@18033000 {
    compatible = "brcm,bcm-nsp-rng";
    reg = <0x18033000 0x14>;
};
rng@10004180 {
    compatible = "brcm,bcm6368-rng";
    reg = <0x10004180 0x14>;

    clocks = <&periph_clk 18>;
    clock-names = "ipsec";

    resets = <&periph_rst 4>;
    reset-names = "ipsec";
};

Source notes #

Annotations retained from the schema source

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

Edit this page