0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/rng/arm-cctrng.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Arm TrustZone CryptoCell TRNG engine
0008
0009 maintainers:
0010 - Hadar Gat <hadar.gat@arm.com>
0011
0012 description: |+
0013 Arm TrustZone CryptoCell TRNG (True Random Number Generator) engine.
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - arm,cryptocell-713-trng
0019 - arm,cryptocell-703-trng
0020
0021 interrupts:
0022 maxItems: 1
0023
0024 reg:
0025 maxItems: 1
0026
0027 arm,rosc-ratio:
0028 description:
0029 Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators.
0030 Sampling ratio values for these 4 ring oscillators. (from calibration)
0031 $ref: /schemas/types.yaml#/definitions/uint32-array
0032 maxItems: 4
0033
0034 clocks:
0035 maxItems: 1
0036
0037 required:
0038 - compatible
0039 - interrupts
0040 - reg
0041 - arm,rosc-ratio
0042
0043 additionalProperties: false
0044
0045 examples:
0046 - |
0047 arm_cctrng: rng@60000000 {
0048 compatible = "arm,cryptocell-713-trng";
0049 interrupts = <0 29 4>;
0050 reg = <0x60000000 0x10000>;
0051 arm,rosc-ratio = <5000 1000 500 0>;
0052 };