NXP i.MX Co-Processor

Schema identifier ($id): "http://devicetree.org/schemas/remoteproc/fsl,imx-rproc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

This binding provides support for ARM Cortex M4 Co-processor found on some NXP iMX SoCs.

Maintainers (maintainers): "Peng Fan <peng.fan@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx6sx-cm4", "fsl,imx7d-cm4", "fsl,imx7ulp-cm4", "fsl,imx8mm-cm4", "fsl,imx8mn-cm7", "fsl,imx8mn-cm7-mmio", "fsl,imx8mp-cm7", "fsl,imx8mp-cm7-mmio", "fsl,imx8mq-cm4", "fsl,imx8qm-cm4", "fsl,imx8qxp-cm4", "fsl,imx8ulp-cm33", "fsl,imx93-cm33", "fsl,imx95-cm7"

clocks — not listed as required here #

Maximum number of items (maxItems): 1

syscon — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to syscon block which provide access to System Reset Controller

mbox-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "tx"

Item 2

Exact value (const): "rx"

Item 3

Exact value (const): "rxdb"

mboxes — not listed as required here #

This property is required only if the rpmsg/virtio functionality is used. List of <&phandle type channel> - 1 channel for TX, 1 channel for RX, 1 channel for RXDB. (see mailbox/fsl,mu.yaml)

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 3

memory-region — not listed as required here #

If present, a phandle for a reserved memory area that used for vdev buffer, resource table, vring region and others used by remote processor.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

power-domains — not listed as required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 8

fsl,auto-boot — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicate whether need to load the default firmware and start the remote processor automatically.

fsl,entry-address — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Specify CPU entry address for SCU enabled processor.

fsl,iomuxc-gpr — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

Phandle to IOMUXC GPR block which provide access to CM7 CPUWAIT bit.

fsl,resource-id — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

This property is to specify the resource id of the remote processor in SoC which supports SCFW

Required in this object (required): "compatible"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

This rule must not match (not)

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8mn-cm7-mmio", "fsl,imx8mp-cm7-mmio"

When the condition matches (then) #

Properties and child nodes (properties)

fsl,iomuxc-gpr — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8qxp-cm4", "fsl,imx8qm-cm4"

When the condition matches (then) #

Required in this object (required): "power-domains"

When the condition does not match (else) #

Properties and child nodes (properties)

power-domains — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx7d-clock.h>
m4_reserved_sysmem1: cm4@80000000 {
  reg = <0x80000000 0x80000>;
};

m4_reserved_sysmem2: cm4@81000000 {
  reg = <0x81000000 0x80000>;
};

imx7d-cm4 {
  compatible = "fsl,imx7d-cm4";
  memory-region = <&m4_reserved_sysmem1>, <&m4_reserved_sysmem2>;
  syscon = <&src>;
  clocks = <&clks IMX7D_ARM_M4_ROOT_CLK>;
};
#include <dt-bindings/clock/imx8mm-clock.h>

imx8mm-cm4 {
  compatible = "fsl,imx8mm-cm4";
  clocks = <&clk IMX8MM_CLK_M4_DIV>;
  mbox-names = "tx", "rx", "rxdb";
  mboxes = <&mu 0 1
            &mu 1 1
            &mu 3 1>;
  memory-region = <&vdev0buffer>, <&vdev0vring0>, <&vdev0vring1>, <&rsc_table>;
  syscon = <&src>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page