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