1648d1382SLeo YanHisilicon Hi3660 Mailbox Controller
2648d1382SLeo Yan
3648d1382SLeo YanHisilicon Hi3660 mailbox controller supports up to 32 channels.  Messages
4648d1382SLeo Yanare passed between processors, including application & communication
5648d1382SLeo Yanprocessors, MCU, HIFI, etc.  Each channel is unidirectional and accessed
6648d1382SLeo Yanby using MMIO registers; it supports maximum to 8 words message.
7648d1382SLeo Yan
8648d1382SLeo YanController
9648d1382SLeo Yan----------
10648d1382SLeo Yan
11648d1382SLeo YanRequired properties:
12648d1382SLeo Yan- compatible:		: Shall be "hisilicon,hi3660-mbox"
13648d1382SLeo Yan- reg:			: Offset and length of the device's register set
14648d1382SLeo Yan- #mbox-cells:		: Must be 3
15648d1382SLeo Yan			  <&phandle channel dst_irq ack_irq>
16648d1382SLeo Yan			    phandle	: Label name of controller
17648d1382SLeo Yan			    channel	: Channel number
18648d1382SLeo Yan			    dst_irq	: Remote interrupt vector
19648d1382SLeo Yan			    ack_irq	: Local interrupt vector
20648d1382SLeo Yan
21648d1382SLeo Yan- interrupts:		: Contains the two IRQ lines for mailbox.
22648d1382SLeo Yan
23648d1382SLeo YanExample:
24648d1382SLeo Yan
25648d1382SLeo Yanmailbox: mailbox@e896b000 {
26648d1382SLeo Yan	compatible = "hisilicon,hi3660-mbox";
27648d1382SLeo Yan	reg = <0x0 0xe896b000 0x0 0x1000>;
28648d1382SLeo Yan	interrupts = <0x0 0xc0 0x4>,
29648d1382SLeo Yan		     <0x0 0xc1 0x4>;
30648d1382SLeo Yan	#mbox-cells = <3>;
31648d1382SLeo Yan};
32648d1382SLeo Yan
33648d1382SLeo YanClient
34648d1382SLeo Yan------
35648d1382SLeo Yan
36648d1382SLeo YanRequired properties:
37648d1382SLeo Yan- compatible		: See the client docs
38648d1382SLeo Yan- mboxes		: Standard property to specify a Mailbox (See ./mailbox.txt)
39648d1382SLeo Yan			  Cells must match 'mbox-cells' (See Controller docs above)
40648d1382SLeo Yan
41648d1382SLeo YanOptional properties
42648d1382SLeo Yan- mbox-names		: Name given to channels seen in the 'mboxes' property.
43648d1382SLeo Yan
44648d1382SLeo YanExample:
45648d1382SLeo Yan
46648d1382SLeo Yanstub_clock: stub_clock@e896b500 {
47648d1382SLeo Yan	compatible = "hisilicon,hi3660-stub-clk";
48648d1382SLeo Yan	reg = <0x0 0xe896b500 0x0 0x0100>;
49648d1382SLeo Yan	#clock-cells = <1>;
50648d1382SLeo Yan	mboxes = <&mailbox 13 3 0>;
51648d1382SLeo Yan};
52