1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rng/samsung,exynos5250-trng.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung Exynos SoC True Random Number Generator
8
9maintainers:
10  - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
11  - Łukasz Stelmach <l.stelmach@samsung.com>
12
13properties:
14  compatible:
15    const: samsung,exynos5250-trng
16
17  clocks:
18    maxItems: 1
19
20  clock-names:
21    items:
22      - const: secss
23
24  reg:
25    maxItems: 1
26
27required:
28  - compatible
29  - clocks
30  - clock-names
31  - reg
32
33additionalProperties: false
34
35examples:
36  - |
37    #include <dt-bindings/clock/exynos5250.h>
38
39    rng@10830600 {
40        compatible = "samsung,exynos5250-trng";
41        reg = <0x10830600 0x100>;
42        clocks = <&clock CLK_SSS>;
43        clock-names = "secss";
44    };
45