xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Rockchip mailbox
2
3The Rockchip mailbox is used by the Rockchip CPU cores to communicate
4requests to MCU processor.
5
6Refer to ./mailbox.txt for generic information about mailbox device-tree
7bindings.
8
9Required properties:
10
11 - compatible: should be one of the following.
12   - "rockchip,rk3368-mbox" for rk3368
13 - reg: physical base address of the controller and length of memory mapped
14	region.
15 - interrupts: The interrupt number to the cpu. The interrupt specifier format
16	depends on the interrupt controller.
17 - #mbox-cells: Common mailbox binding property to identify the number
18	of cells required for the mailbox specifier. Should be 1
19
20Optional properties :
21
22 - wakeup-source: Mailbox irq can be used as a wakeup source.
23 - rockchip,txpoll-period-ms: TX Done polling interval in milliseconds.
24
25Example:
26--------
27
28/* RK3368 */
29mbox: mbox@ff6b0000 {
30	compatible = "rockchip,rk3368-mailbox";
31	reg = <0x0 0xff6b0000 0x0 0x1000>,
32	interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
33		     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
34		     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
35		     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
36	#mbox-cells = <1>;
37};
38