Merge tag 'rtc-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / rng / samsung,exynos4-rng.yaml
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
7 title: Samsung Exynos SoC Pseudo Random Number Generator
8
9 maintainers:
10   - Krzysztof Kozlowski <krzk@kernel.org>
11
12 properties:
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
28 required:
29   - compatible
30   - reg
31   - clock-names
32   - clocks
33
34 additionalProperties: false
35
36 examples:
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     };