xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/crypto/fsl-dcp.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Freescale DCP (Data Co-Processor) found on i.MX23/i.MX28
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Marek Vasut <marex@denx.de>
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunproperties:
13*4882a593Smuzhiyun  compatible:
14*4882a593Smuzhiyun    enum:
15*4882a593Smuzhiyun      - fsl,imx23-dcp
16*4882a593Smuzhiyun      - fsl,imx28-dcp
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun  reg:
19*4882a593Smuzhiyun    maxItems: 1
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun  interrupts:
22*4882a593Smuzhiyun    description: Should contain MXS DCP interrupt numbers, VMI IRQ and DCP IRQ
23*4882a593Smuzhiyun      must be supplied, optionally Secure IRQ can be present, but is currently
24*4882a593Smuzhiyun      not implemented and not used.
25*4882a593Smuzhiyun    items:
26*4882a593Smuzhiyun      - description: MXS DCP VMI interrupt
27*4882a593Smuzhiyun      - description: MXS DCP DCP interrupt
28*4882a593Smuzhiyun      - description: MXS DCP secure interrupt
29*4882a593Smuzhiyun    minItems: 2
30*4882a593Smuzhiyun    maxItems: 3
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun  clocks:
33*4882a593Smuzhiyun    maxItems: 1
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun  clock-names:
36*4882a593Smuzhiyun    const: dcp
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunrequired:
39*4882a593Smuzhiyun  - compatible
40*4882a593Smuzhiyun  - reg
41*4882a593Smuzhiyun  - interrupts
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunadditionalProperties: false
44*4882a593Smuzhiyun
45*4882a593Smuzhiyunexamples:
46*4882a593Smuzhiyun  - |
47*4882a593Smuzhiyun    crypto@80028000 {
48*4882a593Smuzhiyun        compatible = "fsl,imx23-dcp";
49*4882a593Smuzhiyun        reg = <0x80028000 0x2000>;
50*4882a593Smuzhiyun        interrupts = <53>, <54>;
51*4882a593Smuzhiyun    };
52