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 <[email protected]> 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,ipq5332-trng 21 - qcom,ipq5424-trng 22 - qcom,ipq9574-trng 23 - qcom,qcs8300-trng 24 - qcom,sa8255p-trng 25 - qcom,sa8775p-trng 26 - qcom,sc7280-trng 27 - qcom,sm8450-trng 28 - qcom,sm8550-trng 29 - qcom,sm8650-trng 30 - qcom,sm8750-trng 31 - const: qcom,trng 32 33 reg: 34 maxItems: 1 35 36 clocks: 37 maxItems: 1 38 39 clock-names: 40 items: 41 - const: core 42 43required: 44 - compatible 45 - reg 46 47allOf: 48 - if: 49 not: 50 properties: 51 compatible: 52 contains: 53 const: qcom,trng 54 then: 55 required: 56 - clocks 57 - clock-names 58 59additionalProperties: false 60 61examples: 62 - | 63 rng@f9bff000 { 64 compatible = "qcom,prng"; 65 reg = <0xf9bff000 0x200>; 66 clocks = <&clk 125>; 67 clock-names = "core"; 68 }; 69