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