xref: /linux/Documentation/devicetree/bindings/mailbox/microchip,mpfs-mailbox.yaml (revision 6e2bdf7dc3c817dd91d84adb306a5dfab999c309)
121355623SConor Dooley# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
221355623SConor Dooley%YAML 1.2
321355623SConor Dooley---
421355623SConor Dooley$id: "http://devicetree.org/schemas/mailbox/microchip,mpfs-mailbox.yaml#"
521355623SConor Dooley$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:
17*6e2bdf7dSConor Dooley    oneOf:
18*6e2bdf7dSConor Dooley      - items:
19*6e2bdf7dSConor Dooley          - description: mailbox control & data registers
2021355623SConor Dooley          - description: mailbox interrupt registers
21*6e2bdf7dSConor Dooley        deprecated: true
22*6e2bdf7dSConor Dooley      - items:
23*6e2bdf7dSConor Dooley          - description: mailbox control registers
24*6e2bdf7dSConor Dooley          - description: mailbox interrupt registers
25*6e2bdf7dSConor 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";
48*6e2bdf7dSConor Dooley        reg = <0x0 0x37020000 0x0 0x58>, <0x0 0x2000318C 0x0 0x40>,
49*6e2bdf7dSConor Dooley              <0x0 0x37020800 0x0 0x100>;
5021355623SConor Dooley        interrupt-parent = <&L1>;
5121355623SConor Dooley        interrupts = <96>;
5221355623SConor Dooley        #mbox-cells = <1>;
5321355623SConor Dooley      };
5421355623SConor Dooley    };
55