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