xref: /linux/Documentation/devicetree/bindings/rng/samsung,exynos4-rng.yaml (revision b19efcabb587e5470a423ef778905f47e5a47f1a)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rng/samsung,exynos4-rng.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung Exynos SoC Pseudo Random Number Generator
8
9maintainers:
10  - Krzysztof Kozlowski <krzk@kernel.org>
11
12properties:
13  compatible:
14    enum:
15      - samsung,exynos4-rng                   # for Exynos4210 and Exynos4412
16      - samsung,exynos5250-prng               # for Exynos5250+
17
18  reg:
19    maxItems: 1
20
21  clocks:
22    maxItems: 1
23
24  clock-names:
25    items:
26      - const: secss
27
28required:
29  - compatible
30  - reg
31  - clock-names
32  - clocks
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/clock/exynos4.h>
39
40    rng@10830400 {
41        compatible = "samsung,exynos4-rng";
42        reg = <0x10830400 0x200>;
43        clocks = <&clock CLK_SSS>;
44        clock-names = "secss";
45    };
46