1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/remoteproc/fsl,imx-rproc.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: NXP iMX6SX/iMX7D Co-Processor Bindings
8
9description:
10  This binding provides support for ARM Cortex M4 Co-processor found on some NXP iMX SoCs.
11
12maintainers:
13  - Peng Fan <peng.fan@nxp.com>
14
15properties:
16  compatible:
17    enum:
18      - fsl,imx7d-cm4
19      - fsl,imx6sx-cm4
20
21  clocks:
22    maxItems: 1
23
24  syscon:
25    $ref: /schemas/types.yaml#/definitions/phandle
26    description:
27      Phandle to syscon block which provide access to System Reset Controller
28
29  memory-region:
30    description:
31      If present, a phandle for a reserved memory area that used for vdev buffer,
32      resource table, vring region and others used by remote processor.
33    minItems: 1
34    maxItems: 32
35
36required:
37  - compatible
38  - clocks
39  - syscon
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/imx7d-clock.h>
46    m4_reserved_sysmem1: cm4@80000000 {
47      reg = <0x80000000 0x80000>;
48    };
49
50    m4_reserved_sysmem2: cm4@81000000 {
51      reg = <0x81000000 0x80000>;
52    };
53
54    imx7d-cm4 {
55      compatible	= "fsl,imx7d-cm4";
56      memory-region	= <&m4_reserved_sysmem1>, <&m4_reserved_sysmem2>;
57      syscon		= <&src>;
58      clocks		= <&clks IMX7D_ARM_M4_ROOT_CLK>;
59    };
60
61...
62