blob: c471e4c10558c605e911c8fb168c2cba1f6ba977 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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#
6
7title: Arm TrustZone CryptoCell TRNG engine
8
9maintainers:
10 - Hadar Gat <hadar.gat@arm.com>
11
12description: |+
13 Arm TrustZone CryptoCell TRNG (True Random Number Generator) engine.
14
15properties:
16 compatible:
17 enum:
18 - arm,cryptocell-713-trng
19 - arm,cryptocell-703-trng
20
21 interrupts:
22 maxItems: 1
23
24 reg:
25 maxItems: 1
26
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
33
34 clocks:
35 maxItems: 1
36
37required:
38 - compatible
39 - interrupts
40 - reg
41 - arm,rosc-ratio
42
43additionalProperties: false
44
45examples:
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 };