1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/mailbox/fsl,mu.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: NXP i.MX Messaging Unit (MU) 8 9maintainers: 10 - Dong Aisheng <aisheng.dong@nxp.com> 11 12description: | 13 The Messaging Unit module enables two processors within the SoC to 14 communicate and coordinate by passing messages (e.g. data, status 15 and control) through the MU interface. The MU also provides the ability 16 for one processor to signal the other processor using interrupts. 17 18 Because the MU manages the messaging between processors, the MU uses 19 different clocks (from each side of the different peripheral buses). 20 Therefore, the MU must synchronize the accesses from one side to the 21 other. The MU accomplishes synchronization using two sets of matching 22 registers (Processor A-facing, Processor B-facing). 23 24properties: 25 compatible: 26 oneOf: 27 - const: fsl,imx6sx-mu 28 - const: fsl,imx7ulp-mu 29 - const: fsl,imx8ulp-mu 30 - const: fsl,imx8-mu-scu 31 - const: fsl,imx8ulp-mu-s4 32 - items: 33 - enum: 34 - fsl,imx7s-mu 35 - fsl,imx8mq-mu 36 - fsl,imx8mm-mu 37 - fsl,imx8mn-mu 38 - fsl,imx8mp-mu 39 - fsl,imx8qm-mu 40 - fsl,imx8qxp-mu 41 - const: fsl,imx6sx-mu 42 - description: To communicate with i.MX8 SCU with fast IPC 43 items: 44 - const: fsl,imx8-mu-scu 45 - enum: 46 - fsl,imx8qm-mu 47 - fsl,imx8qxp-mu 48 - const: fsl,imx6sx-mu 49 50 reg: 51 maxItems: 1 52 53 interrupts: 54 maxItems: 1 55 56 "#mbox-cells": 57 description: | 58 <&phandle type channel> 59 phandle : Label name of controller 60 type : Channel type 61 channel : Channel number 62 63 This MU support 4 type of unidirectional channels, each type 64 has 4 channels. A total of 16 channels. Following types are 65 supported: 66 0 - TX channel with 32bit transmit register and IRQ transmit 67 acknowledgment support. 68 1 - RX channel with 32bit receive register and IRQ support 69 2 - TX doorbell channel. Without own register and no ACK support. 70 3 - RX doorbell channel. 71 const: 2 72 73 clocks: 74 maxItems: 1 75 76 fsl,mu-side-b: 77 description: boolean, if present, means it is for side B MU. 78 type: boolean 79 80 power-domains: 81 maxItems: 1 82 83required: 84 - compatible 85 - reg 86 - interrupts 87 - "#mbox-cells" 88 89additionalProperties: false 90 91examples: 92 - | 93 #include <dt-bindings/interrupt-controller/arm-gic.h> 94 95 mailbox@5d1b0000 { 96 compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; 97 reg = <0x5d1b0000 0x10000>; 98 interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>; 99 #mbox-cells = <2>; 100 }; 101