xref: /freebsd/sys/contrib/device-tree/Bindings/crypto/fsl-dcp.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/crypto/fsl-dcp.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Freescale DCP (Data Co-Processor) found on i.MX23/i.MX28
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Marek Vasut <marex@denx.de>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotproperties:
136be33864SEmmanuel Vadot  compatible:
14*f126890aSEmmanuel Vadot    oneOf:
15*f126890aSEmmanuel Vadot      - enum:
166be33864SEmmanuel Vadot          - fsl,imx23-dcp
176be33864SEmmanuel Vadot          - fsl,imx28-dcp
18*f126890aSEmmanuel Vadot      - items:
19*f126890aSEmmanuel Vadot          - enum:
20*f126890aSEmmanuel Vadot              - fsl,imx6sl-dcp
21*f126890aSEmmanuel Vadot              - fsl,imx6ull-dcp
22*f126890aSEmmanuel Vadot          - const: fsl,imx28-dcp
236be33864SEmmanuel Vadot
246be33864SEmmanuel Vadot  reg:
256be33864SEmmanuel Vadot    maxItems: 1
266be33864SEmmanuel Vadot
276be33864SEmmanuel Vadot  interrupts:
286be33864SEmmanuel Vadot    description: Should contain MXS DCP interrupt numbers, VMI IRQ and DCP IRQ
296be33864SEmmanuel Vadot      must be supplied, optionally Secure IRQ can be present, but is currently
306be33864SEmmanuel Vadot      not implemented and not used.
316be33864SEmmanuel Vadot    items:
326be33864SEmmanuel Vadot      - description: MXS DCP VMI interrupt
336be33864SEmmanuel Vadot      - description: MXS DCP DCP interrupt
346be33864SEmmanuel Vadot      - description: MXS DCP secure interrupt
356be33864SEmmanuel Vadot    minItems: 2
366be33864SEmmanuel Vadot
376be33864SEmmanuel Vadot  clocks:
386be33864SEmmanuel Vadot    maxItems: 1
396be33864SEmmanuel Vadot
406be33864SEmmanuel Vadot  clock-names:
416be33864SEmmanuel Vadot    const: dcp
426be33864SEmmanuel Vadot
436be33864SEmmanuel Vadotrequired:
446be33864SEmmanuel Vadot  - compatible
456be33864SEmmanuel Vadot  - reg
466be33864SEmmanuel Vadot  - interrupts
476be33864SEmmanuel Vadot
486be33864SEmmanuel VadotadditionalProperties: false
496be33864SEmmanuel Vadot
506be33864SEmmanuel Vadotexamples:
516be33864SEmmanuel Vadot  - |
526be33864SEmmanuel Vadot    crypto@80028000 {
536be33864SEmmanuel Vadot        compatible = "fsl,imx23-dcp";
546be33864SEmmanuel Vadot        reg = <0x80028000 0x2000>;
556be33864SEmmanuel Vadot        interrupts = <53>, <54>;
566be33864SEmmanuel Vadot    };
57