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