0001 ST Microelectronics Mailbox Driver
0002
0003 Each ST Mailbox IP currently consists of 4 instances of 32 channels. Messages
0004 are passed between Application and Remote processors using shared memory.
0005
0006 Controller
0007 ----------
0008
0009 Required properties:
0010 - compatible : Should be "st,stih407-mailbox"
0011 - reg : Offset and length of the device's register set
0012 - mbox-name : Name of the mailbox
0013 - #mbox-cells: : Must be 2
0014 <&phandle instance channel direction>
0015 phandle : Label name of controller
0016 instance : Instance number
0017 channel : Channel number
0018
0019 Optional properties
0020 - interrupts : Contains the IRQ line for a Rx mailbox
0021
0022 Example:
0023
0024 mailbox0: mailbox@0 {
0025 compatible = "st,stih407-mailbox";
0026 reg = <0x08f00000 0x1000>;
0027 interrupts = <GIC_SPI 1 IRQ_TYPE_NONE>;
0028 #mbox-cells = <2>;
0029 mbox-name = "a9";
0030 };
0031
0032 Client
0033 ------
0034
0035 Required properties:
0036 - compatible : Many (See the client docs)
0037 - reg : Shared (between Application and Remote) memory address
0038 - mboxes : Standard property to specify a Mailbox (See ./mailbox.txt)
0039 Cells must match 'mbox-cells' (See Controller docs above)
0040
0041 Optional properties
0042 - mbox-names : Name given to channels seen in the 'mboxes' property.
0043
0044 Example:
0045
0046 mailbox_test {
0047 compatible = "mailbox-test";
0048 reg = <0x[shared_memory_address], [shared_memory_size]>;
0049 mboxes = <&mailbox2 0 1>, <&mailbox0 2 1>;
0050 mbox-names = "tx", "rx";
0051 };