Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / rng / imx-rng.yaml
blob07f6ff89bcc15eff5b6c2ef904f5207a0bacc4f7
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#
7 title: Freescale RNGA/RNGB/RNGC (Random Number Generator Versions A, B and C)
9 maintainers:
10   - Vladimir Zapolskiy <vz@mleia.com>
12 properties:
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
28   reg:
29     maxItems: 1
31   interrupts:
32     maxItems: 1
34   clocks:
35     maxItems: 1
37 required:
38   - compatible
39   - reg
40   - interrupts
41   - clocks
43 additionalProperties: false
45 examples:
46   - |
47     rngb@53fb0000 {
48         compatible = "fsl,imx25-rngb";
49         reg = <0x53fb0000 0x4000>;
50         clocks = <&clks 109>;
51         interrupts = <22>;
52     };