Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / rng / arm-cctrng.yaml
blobc471e4c10558c605e911c8fb168c2cba1f6ba977
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/rng/arm-cctrng.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Arm TrustZone CryptoCell TRNG engine
9 maintainers:
10   - Hadar Gat <hadar.gat@arm.com>
12 description: |+
13   Arm TrustZone CryptoCell TRNG (True Random Number Generator) engine.
15 properties:
16   compatible:
17     enum:
18       - arm,cryptocell-713-trng
19       - arm,cryptocell-703-trng
21   interrupts:
22     maxItems: 1
24   reg:
25     maxItems: 1
27   arm,rosc-ratio:
28     description:
29       Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators.
30       Sampling ratio values for these 4 ring oscillators. (from calibration)
31     $ref: /schemas/types.yaml#/definitions/uint32-array
32     maxItems: 4
34   clocks:
35     maxItems: 1
37 required:
38   - compatible
39   - interrupts
40   - reg
41   - arm,rosc-ratio
43 additionalProperties: false
45 examples:
46   - |
47     arm_cctrng: rng@60000000 {
48         compatible = "arm,cryptocell-713-trng";
49         interrupts = <0 29 4>;
50         reg = <0x60000000 0x10000>;
51         arm,rosc-ratio = <5000 1000 500 0>;
52     };