summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
blob: 8dd36c2f76fd270cc86cb105a591f9a5ee552c84 (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
54
55
56
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/crypto/fsl-dcp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale DCP (Data Co-Processor) found on i.MX23/i.MX28

maintainers:
  - Marek Vasut <marex@denx.de>

properties:
  compatible:
    oneOf:
      - enum:
          - fsl,imx23-dcp
          - fsl,imx28-dcp
      - items:
          - enum:
              - fsl,imx6sl-dcp
              - fsl,imx6ull-dcp
          - const: fsl,imx28-dcp

  reg:
    maxItems: 1

  interrupts:
    description: Should contain MXS DCP interrupt numbers, VMI IRQ and DCP IRQ
      must be supplied, optionally Secure IRQ can be present, but is currently
      not implemented and not used.
    items:
      - description: MXS DCP VMI interrupt
      - description: MXS DCP DCP interrupt
      - description: MXS DCP secure interrupt
    minItems: 2

  clocks:
    maxItems: 1

  clock-names:
    const: dcp

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    crypto@80028000 {
        compatible = "fsl,imx23-dcp";
        reg = <0x80028000 0x2000>;
        interrupts = <53>, <54>;
    };