Rockchip RK3568 TRNG

Schema identifier ($id): "http://devicetree.org/schemas/rng/rockchip,rk3568-rng.yaml#"

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

True Random Number Generator on Rockchip RK3568 SoC

Maintainers (maintainers): "Aurelien Jarno <aurelien@aurel32.net>", "Daniel Golle <daniel@makrotopia.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "rockchip,rk3568-rng"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

TRNG clock

Item 2

TRNG AHB clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "ahb"

resets — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3568-cru.h>
bus {
  #address-cells = <2>;
  #size-cells = <2>;

  rng@fe388000 {
    compatible = "rockchip,rk3568-rng";
    reg = <0x0 0xfe388000 0x0 0x4000>;
    clocks = <&cru CLK_TRNG_NS>, <&cru HCLK_TRNG_NS>;
    clock-names = "core", "ahb";
    resets = <&cru SRST_TRNG_NS>;
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page