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

title: Arm TrustZone CryptoCell cryptographic engine

maintainers:
  - Gilad Ben-Yossef <gilad@benyossef.com>

properties:
  compatible:
    enum:
      - arm,cryptocell-713-ree
      - arm,cryptocell-703-ree
      - arm,cryptocell-712-ree
      - arm,cryptocell-710-ree
      - arm,cryptocell-630p-ree

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  power-domains:
    maxItems: 1

  resets:
    maxItems: 1

  dma-coherent: true

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    arm_cc712: crypto@80000000 {
            compatible = "arm,cryptocell-712-ree";
            reg = <0x80000000 0x10000>;
            interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
    };