GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / crypto / qcom,prng.yaml
1 # SPDX-License-Identifier: GPL-2.0-only
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/crypto/qcom,prng.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Pseudo Random Number Generator
8
9 maintainers:
10   - Vinod Koul <vkoul@kernel.org>
11
12 properties:
13   compatible:
14     enum:
15       - qcom,prng  # 8916 etc.
16       - qcom,prng-ee  # 8996 and later using EE
17
18   reg:
19     maxItems: 1
20
21   clocks:
22     maxItems: 1
23
24   clock-names:
25     items:
26       - const: core
27
28 required:
29   - compatible
30   - reg
31   - clocks
32   - clock-names
33
34 additionalProperties: false
35
36 examples:
37   - |
38     rng@f9bff000 {
39         compatible = "qcom,prng";
40         reg = <0xf9bff000 0x200>;
41         clocks = <&clk 125>;
42         clock-names = "core";
43     };