TI K3 M4F processor subsystems

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

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

Maintainers (maintainers): "Hari Nagalla <hnagalla@ti.com>", "Mathieu Poirier <mathieu.poirier@linaro.org>"

Some K3 family SoCs have Arm Cortex M4F cores. AM64x is a SoC in K3 family with a M4F core. Typically safety oriented applications may use the M4F core in isolation without an IPC. Where as some industrial and home automation applications, may use the M4F core as a remote processor with IPC communications.

Shared schema rule ($ref): /schemas/arm/keystone/ti,k3-sci-common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ti,am64-m4fss"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 2

#size-cells — not listed as required here #

Exact value (const): 2

reg — required here #

Array item rules (items) #

Item 1

IRAM internal memory region

Item 2

DRAM internal memory region

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "iram"

Item 2

Exact value (const): "dram"

resets — required here #

Maximum number of items (maxItems): 1

firmware-name — required here #

Maximum number of items (maxItems): 1

Name of firmware to load for the M4F core

mboxes — not listed as required here #

OMAP Mailbox specifier denoting the sub-mailbox, to be used for communication with the remote processor. This property should match with the sub-mailbox node used in the firmware image.

Maximum number of items (maxItems): 1

memory-region — not listed as required here #

phandle to the reserved memory nodes to be associated with the remoteproc device. Optional memory regions available for firmware specific purposes. (see reserved-memory/reserved-memory.yaml in dtschema project)

Maximum number of items (maxItems): 8

Array item rules (items) #

Item 1

regions used for DMA allocations like vrings, vring buffers and memory dedicated to firmware's specific purposes.

Array items beyond the listed positions (additionalItems) #

true

Allowed by this rule.

Required in this object (required): "compatible", "reg", "reg-names", "ti,sci", "ti,sci-dev-id", "ti,sci-proc-ids", "resets", "firmware-name"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

reserved-memory {
    #address-cells = <2>;
    #size-cells = <2>;

    mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
        compatible = "shared-dma-pool";
        reg = <0x00 0x9cb00000 0x00 0x100000>;
        no-map;
    };

    mcu_m4fss_memory_region: m4f-memory@9cc00000 {
        compatible = "shared-dma-pool";
        reg = <0x00 0x9cc00000 0x00 0xe00000>;
        no-map;
    };
};

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    mailbox0_cluster0: mailbox-0 {
        #mbox-cells = <1>;
    };

    remoteproc@5000000 {
        compatible = "ti,am64-m4fss";
        reg = <0x00 0x5000000 0x00 0x30000>,
              <0x00 0x5040000 0x00 0x10000>;
        reg-names = "iram", "dram";
        resets = <&k3_reset 9 1>;
        firmware-name = "am62-mcu-m4f0_0-fw";
        mboxes = <&mailbox0_cluster0>, <&mbox_m4_0>;
        memory-region = <&mcu_m4fss_dma_memory_region>,
                        <&mcu_m4fss_memory_region>;
        ti,sci = <&dmsc>;
        ti,sci-dev-id = <9>;
        ti,sci-proc-ids = <0x18 0xff>;
     };
};

Source notes #

Annotations retained from the schema source

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

Edit this page