1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/rng/arm-cct 4 $id: http://devicetree.org/schemas/rng/arm-cctrng.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Arm TrustZone CryptoCell TRNG engine 7 title: Arm TrustZone CryptoCell TRNG engine 8 8 9 maintainers: 9 maintainers: 10 - Hadar Gat <hadar.gat@arm.com> 10 - Hadar Gat <hadar.gat@arm.com> 11 11 12 description: |+ 12 description: |+ 13 Arm TrustZone CryptoCell TRNG (True Random N 13 Arm TrustZone CryptoCell TRNG (True Random Number Generator) engine. 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - arm,cryptocell-713-trng 18 - arm,cryptocell-713-trng 19 - arm,cryptocell-703-trng 19 - arm,cryptocell-703-trng 20 20 21 interrupts: 21 interrupts: 22 maxItems: 1 22 maxItems: 1 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 arm,rosc-ratio: 27 arm,rosc-ratio: 28 description: 28 description: 29 Arm TrustZone CryptoCell TRNG engine has 29 Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators. 30 Sampling ratio values for these 4 ring o 30 Sampling ratio values for these 4 ring oscillators. (from calibration) 31 $ref: /schemas/types.yaml#/definitions/uin 31 $ref: /schemas/types.yaml#/definitions/uint32-array 32 maxItems: 4 32 maxItems: 4 33 33 34 clocks: 34 clocks: 35 maxItems: 1 35 maxItems: 1 36 36 37 required: 37 required: 38 - compatible 38 - compatible 39 - interrupts 39 - interrupts 40 - reg 40 - reg 41 - arm,rosc-ratio 41 - arm,rosc-ratio 42 42 43 additionalProperties: false 43 additionalProperties: false 44 44 45 examples: 45 examples: 46 - | 46 - | 47 arm_cctrng: rng@60000000 { 47 arm_cctrng: rng@60000000 { 48 compatible = "arm,cryptocell-713-trng" 48 compatible = "arm,cryptocell-713-trng"; 49 interrupts = <0 29 4>; 49 interrupts = <0 29 4>; 50 reg = <0x60000000 0x10000>; 50 reg = <0x60000000 0x10000>; 51 arm,rosc-ratio = <5000 1000 500 0>; 51 arm,rosc-ratio = <5000 1000 500 0>; 52 }; 52 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.