64 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only2%YAML 1.23---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 Generator8 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 EE18 - items:19 - enum:20 - qcom,sa8255p-trng21 - qcom,sa8775p-trng22 - qcom,sc7280-trng23 - qcom,sm8450-trng24 - qcom,sm8550-trng25 - qcom,sm8650-trng26 - const: qcom,trng27 28 reg:29 maxItems: 130 31 clocks:32 maxItems: 133 34 clock-names:35 items:36 - const: core37 38required:39 - compatible40 - reg41 42allOf:43 - if:44 not:45 properties:46 compatible:47 contains:48 const: qcom,trng49 then:50 required:51 - clocks52 - clock-names53 54additionalProperties: false55 56examples:57 - |58 rng@f9bff000 {59 compatible = "qcom,prng";60 reg = <0xf9bff000 0x200>;61 clocks = <&clk 125>;62 clock-names = "core";63 };64