0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # Copyright 2019 BayLibre, SAS
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/mailbox/amlogic,meson-gxbb-mhu.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007
0008 title: Amlogic Meson Message-Handling-Unit Controller
0009
0010 maintainers:
0011 - Neil Armstrong <neil.armstrong@linaro.org>
0012
0013 description: |
0014 The Amlogic's Meson SoCs Message-Handling-Unit (MHU) is a mailbox controller
0015 that has 3 independent channels/links to communicate with remote processor(s).
0016 MHU links are hardwired on a platform. A link raises interrupt for any
0017 received data. However, there is no specified way of knowing if the sent
0018 data has been read by the remote. This driver assumes the sender polls
0019 STAT register and the remote clears it after having read the data.
0020
0021 properties:
0022 compatible:
0023 enum:
0024 - amlogic,meson-gxbb-mhu
0025
0026 reg:
0027 maxItems: 1
0028
0029 interrupts:
0030 minItems: 3
0031 description:
0032 Contains the interrupt information corresponding to each of the 3 links
0033 of MHU.
0034
0035 "#mbox-cells":
0036 const: 1
0037
0038 required:
0039 - compatible
0040 - reg
0041 - interrupts
0042 - "#mbox-cells"
0043
0044 additionalProperties: false
0045
0046 examples:
0047 - |
0048 mailbox@c883c404 {
0049 compatible = "amlogic,meson-gxbb-mhu";
0050 reg = <0xc883c404 0x4c>;
0051 interrupts = <208>, <209>, <210>;
0052 #mbox-cells = <1>;
0053 };