Atmel AT91 True Random Number Generator

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

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

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@microchip.com>", "Alexandre Belloni <alexandre.belloni@bootlin.com>", "Claudiu Beznea <claudiu.beznea@microchip.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "atmel,at91sam9g45-trng", "microchip,sam9x60-trng"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sama7g5-trng"

Item 2

Exact value (const): "atmel,at91sam9g45-trng"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sam9x7-trng", "microchip,sama7d65-trng"

Item 2

Exact value (const): "microchip,sam9x60-trng"

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>

rng@fffcc000 {
    compatible = "atmel,at91sam9g45-trng";
    reg = <0xfffcc000 0x4000>;
    interrupts = <6 IRQ_TYPE_LEVEL_HIGH 0>;
    clocks = <&trng_clk>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page