DTRNG in Ingenic SoCs

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

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

Maintainers (maintainers): "周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>"

The True Random Number Generator in Ingenic SoCs.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ingenic,x1830-dtrng"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ingenic,x1830-cgu.h>

dtrng: trng@10072000 {
    compatible = "ingenic,x1830-dtrng";
    reg = <0x10072000 0xc>;

    clocks = <&cgu X1830_CLK_DTRNG>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page