1*ffb57daaSHadar Gat# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*ffb57daaSHadar Gat%YAML 1.2 3*ffb57daaSHadar Gat--- 4*ffb57daaSHadar Gat$id: http://devicetree.org/schemas/rng/arm-cctrng.yaml# 5*ffb57daaSHadar Gat$schema: http://devicetree.org/meta-schemas/core.yaml# 6*ffb57daaSHadar Gat 7*ffb57daaSHadar Gattitle: Arm TrustZone CryptoCell TRNG engine 8*ffb57daaSHadar Gat 9*ffb57daaSHadar Gatmaintainers: 10*ffb57daaSHadar Gat - Hadar Gat <hadar.gat@arm.com> 11*ffb57daaSHadar Gat 12*ffb57daaSHadar Gatdescription: |+ 13*ffb57daaSHadar Gat Arm TrustZone CryptoCell TRNG (True Random Number Generator) engine. 14*ffb57daaSHadar Gat 15*ffb57daaSHadar Gatproperties: 16*ffb57daaSHadar Gat compatible: 17*ffb57daaSHadar Gat enum: 18*ffb57daaSHadar Gat - arm,cryptocell-713-trng 19*ffb57daaSHadar Gat - arm,cryptocell-703-trng 20*ffb57daaSHadar Gat 21*ffb57daaSHadar Gat interrupts: 22*ffb57daaSHadar Gat maxItems: 1 23*ffb57daaSHadar Gat 24*ffb57daaSHadar Gat reg: 25*ffb57daaSHadar Gat maxItems: 1 26*ffb57daaSHadar Gat 27*ffb57daaSHadar Gat arm,rosc-ratio: 28*ffb57daaSHadar Gat description: 29*ffb57daaSHadar Gat Arm TrustZone CryptoCell TRNG engine has 4 ring oscillators. 30*ffb57daaSHadar Gat Sampling ratio values for these 4 ring oscillators. (from calibration) 31*ffb57daaSHadar Gat allOf: 32*ffb57daaSHadar Gat - $ref: /schemas/types.yaml#/definitions/uint32-array 33*ffb57daaSHadar Gat - items: 34*ffb57daaSHadar Gat maxItems: 4 35*ffb57daaSHadar Gat 36*ffb57daaSHadar Gat clocks: 37*ffb57daaSHadar Gat maxItems: 1 38*ffb57daaSHadar Gat 39*ffb57daaSHadar Gatrequired: 40*ffb57daaSHadar Gat - compatible 41*ffb57daaSHadar Gat - interrupts 42*ffb57daaSHadar Gat - reg 43*ffb57daaSHadar Gat - arm,rosc-ratio 44*ffb57daaSHadar Gat 45*ffb57daaSHadar GatadditionalProperties: false 46*ffb57daaSHadar Gat 47*ffb57daaSHadar Gatexamples: 48*ffb57daaSHadar Gat - | 49*ffb57daaSHadar Gat arm_cctrng: rng@60000000 { 50*ffb57daaSHadar Gat compatible = "arm,cryptocell-713-trng"; 51*ffb57daaSHadar Gat interrupts = <0 29 4>; 52*ffb57daaSHadar Gat reg = <0x60000000 0x10000>; 53*ffb57daaSHadar Gat arm,rosc-ratio = <5000 1000 500 0>; 54*ffb57daaSHadar Gat }; 55