summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/crypto/ti,am62l-dthev2.yaml
blob: 5486bfeb2fe865703a804c81bba5b35544117419 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/crypto/ti,am62l-dthev2.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: K3 SoC DTHE V2 crypto module

maintainers:
  - T Pratham <t-pratham@ti.com>

properties:
  compatible:
    enum:
      - ti,am62l-dthev2

  reg:
    maxItems: 1

  dmas:
    items:
      - description: AES Engine RX DMA Channel
      - description: AES Engine TX DMA Channel
      - description: SHA Engine TX DMA Channel

  dma-names:
    items:
      - const: rx
      - const: tx1
      - const: tx2

required:
  - compatible
  - reg
  - dmas
  - dma-names

additionalProperties: false

examples:
  - |
    crypto@40800000 {
        compatible = "ti,am62l-dthev2";
        reg = <0x40800000 0x10000>;

        dmas = <&main_bcdma 0 0 0x4700 0>,
               <&main_bcdma 0 0 0xc701 0>,
               <&main_bcdma 0 0 0xc700 0>;
        dma-names = "rx", "tx1", "tx2";
    };