xref: /freebsd/sys/contrib/device-tree/Bindings/mailbox/microchip,mpfs-mailbox.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c9ccf3a3SEmmanuel Vadot%YAML 1.2
3c9ccf3a3SEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/mailbox/microchip,mpfs-mailbox.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c9ccf3a3SEmmanuel Vadot
7c9ccf3a3SEmmanuel Vadottitle: Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) mailbox controller
8c9ccf3a3SEmmanuel Vadot
9c9ccf3a3SEmmanuel Vadotmaintainers:
10c9ccf3a3SEmmanuel Vadot  - Conor Dooley <conor.dooley@microchip.com>
11c9ccf3a3SEmmanuel Vadot
12c9ccf3a3SEmmanuel Vadotproperties:
13c9ccf3a3SEmmanuel Vadot  compatible:
14c9ccf3a3SEmmanuel Vadot    const: microchip,mpfs-mailbox
15c9ccf3a3SEmmanuel Vadot
16c9ccf3a3SEmmanuel Vadot  reg:
177ef62cebSEmmanuel Vadot    oneOf:
187ef62cebSEmmanuel Vadot      - items:
197ef62cebSEmmanuel Vadot          - description: mailbox control & data registers
20c9ccf3a3SEmmanuel Vadot          - description: mailbox interrupt registers
217ef62cebSEmmanuel Vadot        deprecated: true
227ef62cebSEmmanuel Vadot      - items:
237ef62cebSEmmanuel Vadot          - description: mailbox control registers
247ef62cebSEmmanuel Vadot          - description: mailbox interrupt registers
257ef62cebSEmmanuel Vadot          - description: mailbox data registers
26c9ccf3a3SEmmanuel Vadot
27c9ccf3a3SEmmanuel Vadot  interrupts:
28c9ccf3a3SEmmanuel Vadot    maxItems: 1
29c9ccf3a3SEmmanuel Vadot
30c9ccf3a3SEmmanuel Vadot  "#mbox-cells":
31c9ccf3a3SEmmanuel Vadot    const: 1
32c9ccf3a3SEmmanuel Vadot
33c9ccf3a3SEmmanuel Vadotrequired:
34c9ccf3a3SEmmanuel Vadot  - compatible
35c9ccf3a3SEmmanuel Vadot  - reg
36c9ccf3a3SEmmanuel Vadot  - interrupts
37c9ccf3a3SEmmanuel Vadot  - "#mbox-cells"
38c9ccf3a3SEmmanuel Vadot
39c9ccf3a3SEmmanuel VadotadditionalProperties: false
40c9ccf3a3SEmmanuel Vadot
41c9ccf3a3SEmmanuel Vadotexamples:
42c9ccf3a3SEmmanuel Vadot  - |
43c9ccf3a3SEmmanuel Vadot    soc {
44c9ccf3a3SEmmanuel Vadot      #address-cells = <2>;
45c9ccf3a3SEmmanuel Vadot      #size-cells = <2>;
46c9ccf3a3SEmmanuel Vadot      mbox: mailbox@37020000 {
47c9ccf3a3SEmmanuel Vadot        compatible = "microchip,mpfs-mailbox";
487ef62cebSEmmanuel Vadot        reg = <0x0 0x37020000 0x0 0x58>, <0x0 0x2000318C 0x0 0x40>,
497ef62cebSEmmanuel Vadot              <0x0 0x37020800 0x0 0x100>;
50c9ccf3a3SEmmanuel Vadot        interrupt-parent = <&L1>;
51c9ccf3a3SEmmanuel Vadot        interrupts = <96>;
52c9ccf3a3SEmmanuel Vadot        #mbox-cells = <1>;
53c9ccf3a3SEmmanuel Vadot      };
54c9ccf3a3SEmmanuel Vadot    };
55