0001 # SPDX-License-Identifier: GPL-2.0-only
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/crypto/qcom,prng.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Qualcomm Pseudo Random Number Generator
0008
0009 maintainers:
0010 - Vinod Koul <vkoul@kernel.org>
0011
0012 properties:
0013 compatible:
0014 enum:
0015 - qcom,prng # 8916 etc.
0016 - qcom,prng-ee # 8996 and later using EE
0017
0018 reg:
0019 maxItems: 1
0020
0021 clocks:
0022 maxItems: 1
0023
0024 clock-names:
0025 items:
0026 - const: core
0027
0028 required:
0029 - compatible
0030 - reg
0031 - clocks
0032 - clock-names
0033
0034 additionalProperties: false
0035
0036 examples:
0037 - |
0038 rng@f9bff000 {
0039 compatible = "qcom,prng";
0040 reg = <0xf9bff000 0x200>;
0041 clocks = <&clk 125>;
0042 clock-names = "core";
0043 };