summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/crypto/nvidia,tegra234-se-hash.yaml
blob: f57ef10645e299cfad823df7312e2bbfdca2e0b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/crypto/nvidia,tegra234-se-hash.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NVIDIA Tegra Security Engine for HASH algorithms

description:
  The Tegra Security HASH Engine accelerates the following HASH functions -
  SHA1, SHA224, SHA256, SHA384, SHA512, SHA3-224, SHA3-256, SHA3-384, SHA3-512
  HMAC(SHA224), HMAC(SHA256), HMAC(SHA384), HMAC(SHA512)

maintainers:
  - Akhil R <akhilrajeev@nvidia.com>

properties:
  compatible:
    const: nvidia,tegra234-se-hash

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  iommus:
    maxItems: 1

  dma-coherent: true

required:
  - compatible
  - reg
  - clocks
  - iommus

additionalProperties: false

examples:
  - |
    #include <dt-bindings/memory/tegra234-mc.h>
    #include <dt-bindings/clock/tegra234-clock.h>

    crypto@15840000 {
        compatible = "nvidia,tegra234-se-hash";
        reg = <0x15840000 0x10000>;
        clocks = <&bpmp TEGRA234_CLK_SE>;
        iommus = <&smmu TEGRA234_SID_SES_SE2>;
        dma-coherent;
    };
...