xref: /linux/Documentation/devicetree/bindings/mailbox/xgene-slimpro-mailbox.txt (revision 8c57a5e7b2820f349c95b8c8393fec1e0f4070d2)
1*9b2396ddSDuc DangThe APM X-Gene SLIMpro mailbox is used to communicate messages between
2*9b2396ddSDuc Dangthe ARM64 processors and the Cortex M3 (dubbed SLIMpro). It uses a simple
3*9b2396ddSDuc Danginterrupt based door bell mechanism and can exchange simple messages using the
4*9b2396ddSDuc Danginternal registers.
5*9b2396ddSDuc Dang
6*9b2396ddSDuc DangThere are total of 8 interrupts in this mailbox. Each used for an individual
7*9b2396ddSDuc Dangdoor bell (or mailbox channel).
8*9b2396ddSDuc Dang
9*9b2396ddSDuc DangRequired properties:
10*9b2396ddSDuc Dang- compatible:	Should be as "apm,xgene-slimpro-mbox".
11*9b2396ddSDuc Dang
12*9b2396ddSDuc Dang- reg:		Contains the mailbox register address range.
13*9b2396ddSDuc Dang
14*9b2396ddSDuc Dang- interrupts:	8 interrupts must be from 0 to 7, interrupt 0 define the
15*9b2396ddSDuc Dang		the interrupt for mailbox channel 0 and interrupt 1 for
16*9b2396ddSDuc Dang		mailbox channel 1 and so likewise for the reminder.
17*9b2396ddSDuc Dang
18*9b2396ddSDuc Dang- #mbox-cells:	only one to specify the mailbox channel number.
19*9b2396ddSDuc Dang
20*9b2396ddSDuc DangExample:
21*9b2396ddSDuc Dang
22*9b2396ddSDuc DangMailbox Node:
23*9b2396ddSDuc Dang		mailbox: mailbox@10540000 {
24*9b2396ddSDuc Dang			compatible = "apm,xgene-slimpro-mbox";
25*9b2396ddSDuc Dang			reg = <0x0 0x10540000 0x0 0xa000>;
26*9b2396ddSDuc Dang			#mbox-cells = <1>;
27*9b2396ddSDuc Dang			interrupts =  	<0x0 0x0 0x4>,
28*9b2396ddSDuc Dang					<0x0 0x1 0x4>,
29*9b2396ddSDuc Dang					<0x0 0x2 0x4>,
30*9b2396ddSDuc Dang					<0x0 0x3 0x4>,
31*9b2396ddSDuc Dang					<0x0 0x4 0x4>,
32*9b2396ddSDuc Dang					<0x0 0x5 0x4>,
33*9b2396ddSDuc Dang					<0x0 0x6 0x4>,
34*9b2396ddSDuc Dang					<0x0 0x7 0x4>,
35*9b2396ddSDuc Dang		};
36