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