xref: /linux/Documentation/devicetree/bindings/rng/ti,omap-rom-rng.yaml (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1*8000f55aSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*8000f55aSKrzysztof Kozlowski%YAML 1.2
3*8000f55aSKrzysztof Kozlowski---
4*8000f55aSKrzysztof Kozlowski$id: http://devicetree.org/schemas/rng/ti,omap-rom-rng.yaml#
5*8000f55aSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8000f55aSKrzysztof Kozlowski
7*8000f55aSKrzysztof Kozlowskititle: OMAP ROM Random Number Generator
8*8000f55aSKrzysztof Kozlowski
9*8000f55aSKrzysztof Kozlowskimaintainers:
10*8000f55aSKrzysztof Kozlowski  - Pali Rohár <pali@kernel.org>
11*8000f55aSKrzysztof Kozlowski  - Tony Lindgren <tony@atomide.com>
12*8000f55aSKrzysztof Kozlowski
13*8000f55aSKrzysztof Kozlowskidescription:
14*8000f55aSKrzysztof Kozlowski  Secure SoCs may provide RNG via secure ROM calls like Nokia N900 does.
15*8000f55aSKrzysztof Kozlowski  The implementation can depend on the SoC secure ROM used.
16*8000f55aSKrzysztof Kozlowski
17*8000f55aSKrzysztof Kozlowskiproperties:
18*8000f55aSKrzysztof Kozlowski  compatible:
19*8000f55aSKrzysztof Kozlowski    const: nokia,n900-rom-rng
20*8000f55aSKrzysztof Kozlowski
21*8000f55aSKrzysztof Kozlowski  clocks:
22*8000f55aSKrzysztof Kozlowski    maxItems: 1
23*8000f55aSKrzysztof Kozlowski
24*8000f55aSKrzysztof Kozlowski  clock-names:
25*8000f55aSKrzysztof Kozlowski    items:
26*8000f55aSKrzysztof Kozlowski      - const: ick
27*8000f55aSKrzysztof Kozlowski
28*8000f55aSKrzysztof Kozlowskirequired:
29*8000f55aSKrzysztof Kozlowski  - compatible
30*8000f55aSKrzysztof Kozlowski  - clocks
31*8000f55aSKrzysztof Kozlowski  - clock-names
32*8000f55aSKrzysztof Kozlowski
33*8000f55aSKrzysztof KozlowskiadditionalProperties: false
34*8000f55aSKrzysztof Kozlowski
35*8000f55aSKrzysztof Kozlowskiexamples:
36*8000f55aSKrzysztof Kozlowski  - |
37*8000f55aSKrzysztof Kozlowski    rng {
38*8000f55aSKrzysztof Kozlowski        compatible = "nokia,n900-rom-rng";
39*8000f55aSKrzysztof Kozlowski        clocks = <&rng_ick>;
40*8000f55aSKrzysztof Kozlowski        clock-names = "ick";
41*8000f55aSKrzysztof Kozlowski    };
42