xref: /linux/Documentation/devicetree/bindings/mailbox/microchip,mpfs-mailbox.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
121355623SConor Dooley# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
221355623SConor Dooley%YAML 1.2
321355623SConor Dooley---
4*68b8960aSRob Herring$id: http://devicetree.org/schemas/mailbox/microchip,mpfs-mailbox.yaml#
5*68b8960aSRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
621355623SConor Dooley
721355623SConor Dooleytitle: Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) mailbox controller
821355623SConor Dooley
921355623SConor Dooleymaintainers:
1021355623SConor Dooley  - Conor Dooley <conor.dooley@microchip.com>
1121355623SConor Dooley
1221355623SConor Dooleyproperties:
1321355623SConor Dooley  compatible:
1421355623SConor Dooley    const: microchip,mpfs-mailbox
1521355623SConor Dooley
1621355623SConor Dooley  reg:
176e2bdf7dSConor Dooley    oneOf:
186e2bdf7dSConor Dooley      - items:
196e2bdf7dSConor Dooley          - description: mailbox control & data registers
2021355623SConor Dooley          - description: mailbox interrupt registers
216e2bdf7dSConor Dooley        deprecated: true
226e2bdf7dSConor Dooley      - items:
236e2bdf7dSConor Dooley          - description: mailbox control registers
246e2bdf7dSConor Dooley          - description: mailbox interrupt registers
256e2bdf7dSConor Dooley          - description: mailbox data registers
2621355623SConor Dooley
2721355623SConor Dooley  interrupts:
2821355623SConor Dooley    maxItems: 1
2921355623SConor Dooley
3021355623SConor Dooley  "#mbox-cells":
3121355623SConor Dooley    const: 1
3221355623SConor Dooley
3321355623SConor Dooleyrequired:
3421355623SConor Dooley  - compatible
3521355623SConor Dooley  - reg
3621355623SConor Dooley  - interrupts
3721355623SConor Dooley  - "#mbox-cells"
3821355623SConor Dooley
3921355623SConor DooleyadditionalProperties: false
4021355623SConor Dooley
4121355623SConor Dooleyexamples:
4221355623SConor Dooley  - |
4321355623SConor Dooley    soc {
4421355623SConor Dooley      #address-cells = <2>;
4521355623SConor Dooley      #size-cells = <2>;
4621355623SConor Dooley      mbox: mailbox@37020000 {
4721355623SConor Dooley        compatible = "microchip,mpfs-mailbox";
486e2bdf7dSConor Dooley        reg = <0x0 0x37020000 0x0 0x58>, <0x0 0x2000318C 0x0 0x40>,
496e2bdf7dSConor Dooley              <0x0 0x37020800 0x0 0x100>;
5021355623SConor Dooley        interrupt-parent = <&L1>;
5121355623SConor Dooley        interrupts = <96>;
5221355623SConor Dooley        #mbox-cells = <1>;
5321355623SConor Dooley      };
5421355623SConor Dooley    };
55