xref: /linux/Documentation/devicetree/bindings/crypto/nvidia,tegra234-se-hash.yaml (revision 84c7d76b5ab6a52e1b3d8101b9f910c128dca396)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/crypto/nvidia,tegra234-se-hash.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NVIDIA Tegra Security Engine for HASH algorithms
8
9description:
10  The Tegra Security HASH Engine accelerates the following HASH functions -
11  SHA1, SHA224, SHA256, SHA384, SHA512, SHA3-224, SHA3-256, SHA3-384, SHA3-512
12  HMAC(SHA224), HMAC(SHA256), HMAC(SHA384), HMAC(SHA512)
13
14maintainers:
15  - Akhil R <akhilrajeev@nvidia.com>
16
17properties:
18  compatible:
19    const: nvidia,tegra234-se-hash
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    maxItems: 1
26
27  iommus:
28    maxItems: 1
29
30  dma-coherent: true
31
32required:
33  - compatible
34  - reg
35  - clocks
36  - iommus
37
38additionalProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/memory/tegra234-mc.h>
43    #include <dt-bindings/clock/tegra234-clock.h>
44
45    crypto@15840000 {
46        compatible = "nvidia,tegra234-se-hash";
47        reg = <0x15840000 0x10000>;
48        clocks = <&bpmp TEGRA234_CLK_SE>;
49        iommus = <&smmu TEGRA234_SID_SES_SE2>;
50        dma-coherent;
51    };
52...
53