Freescale/NXP i.MX Messaging Unit (MU) work as msi controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/fsl,mu-msi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
The Messaging Unit module enables two processors within the SoC to communicate and coordinate by passing messages (e.g. data, status and control) through the MU interface. The MU also provides the ability for one processor (A side) to signal the other processor (B side) using interrupts.
Because the MU manages the messaging between processors, the MU uses different clocks (from each side of the different peripheral buses). Therefore, the MU must synchronize the accesses from one side to the other. The MU accomplishes synchronization using two sets of matching registers (Processor A-side, Processor B-side).
MU can work as msi interrupt controller to do doorbell
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/interrupt-controller/msi-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx6sx-mu-msi", "fsl,imx7ulp-mu-msi", "fsl,imx8ulp-mu-msi", "fsl,imx8ulp-mu-msi-s4"
reg — required here #
Array item rules (items) #
Item 1
a side register base address
Item 2
b side register base address
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"processor-a-side"
Item 2
Exact value (
const):"processor-b-side"
interrupts — required here #
a side interrupt number.
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Array item rules (items) #
Item 1
a side power domain
Item 2
b side power domain
power-domain-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"processor-a-side"
Item 2
Exact value (
const):"processor-b-side"
msi-controller — required here #
true — No constraints added by this property rule.
#msi-cells — required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "interrupts", "msi-controller", "#msi-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/firmware/imx/rsrc.h>
msi-controller@5d270000 {
compatible = "fsl,imx6sx-mu-msi";
msi-controller;
#msi-cells = <0>;
reg = <0x5d270000 0x10000>, /* A side */
<0x5d300000 0x10000>; /* B side */
reg-names = "processor-a-side", "processor-b-side";
interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd IMX_SC_R_MU_12A>,
<&pd IMX_SC_R_MU_12B>;
power-domain-names = "processor-a-side", "processor-b-side";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)