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
7title: Qualcomm Pseudo Random Number Generator
8
9maintainers:
10  - Vinod Koul <vkoul@kernel.org>
11
12properties:
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
28required:
29  - compatible
30  - reg
31  - clocks
32  - clock-names
33
34additionalProperties: false
35
36examples:
37  - |
38    rng@f9bff000 {
39        compatible = "qcom,prng";
40        reg = <0xf9bff000 0x200>;
41        clocks = <&clk 125>;
42        clock-names = "core";
43    };
44