1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rng/imx-rng.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale RNGA/RNGB/RNGC (Random Number Generator Versions A, B and C)
8
9maintainers:
10  - Vladimir Zapolskiy <vz@mleia.com>
11
12properties:
13  compatible:
14    oneOf:
15      - const: fsl,imx21-rnga
16      - const: fsl,imx25-rngb
17      - items:
18          - const: fsl,imx31-rnga
19          - const: fsl,imx21-rnga
20      - items:
21          - enum:
22              - fsl,imx6sl-rngb
23              - fsl,imx6sll-rngb
24              - fsl,imx6ull-rngb
25          - const: fsl,imx25-rngb
26      - const: fsl,imx35-rngc
27
28  reg:
29    maxItems: 1
30
31  interrupts:
32    maxItems: 1
33
34  clocks:
35    maxItems: 1
36
37required:
38  - compatible
39  - reg
40  - interrupts
41  - clocks
42
43additionalProperties: false
44
45examples:
46  - |
47    rngb@53fb0000 {
48        compatible = "fsl,imx25-rngb";
49        reg = <0x53fb0000 0x4000>;
50        clocks = <&clks 109>;
51        interrupts = <22>;
52    };
53