dt-bindings: crypto: Add node for True Random Number Generator

Add TRNG node compatible string and reg properities.

Signed-off-by: Mounika Botcha <mounika.botcha@amd.com>
Signed-off-by: Harsh Jain <h.jain@amd.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Mounika Botcha
2025-08-25 12:46:58 +05:30
committed by Herbert Xu
parent 41eab2a959
commit 9de9040ffc

View File

@@ -0,0 +1,35 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/crypto/xlnx,versal-trng.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Xilinx Versal True Random Number Generator Hardware Accelerator
maintainers:
- Harsh Jain <h.jain@amd.com>
- Mounika Botcha <mounika.botcha@amd.com>
description:
The Versal True Random Number Generator consists of Ring Oscillators as
entropy source and a deterministic CTR_DRBG random bit generator (DRBG).
properties:
compatible:
const: xlnx,versal-trng
reg:
maxItems: 1
required:
- reg
additionalProperties: false
examples:
- |
rng@f1230000 {
compatible = "xlnx,versal-trng";
reg = <0xf1230000 0x1000>;
};
...