1# SPDX-License-Identifier: GPL-2.0-only 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/crypto/qcom,prng.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm Pseudo Random Number Generator 8 9maintainers: 10 - Vinod Koul <vkoul@kernel.org> 11 12properties: 13 compatible: 14 oneOf: 15 - enum: 16 - qcom,prng # 8916 etc. 17 - qcom,prng-ee # 8996 and later using EE 18 - items: 19 - enum: 20 - qcom,sa8775p-trng 21 - qcom,sc7280-trng 22 - qcom,sm8450-trng 23 - qcom,sm8550-trng 24 - const: qcom,trng 25 26 reg: 27 maxItems: 1 28 29 clocks: 30 maxItems: 1 31 32 clock-names: 33 items: 34 - const: core 35 36required: 37 - compatible 38 - reg 39 40allOf: 41 - if: 42 not: 43 properties: 44 compatible: 45 contains: 46 const: qcom,trng 47 then: 48 required: 49 - clocks 50 - clock-names 51 52additionalProperties: false 53 54examples: 55 - | 56 rng@f9bff000 { 57 compatible = "qcom,prng"; 58 reg = <0xf9bff000 0x200>; 59 clocks = <&clk 125>; 60 clock-names = "core"; 61 }; 62