aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2015-10-27 03:31:44 -0400
committerJassi Brar <jaswinder.singh@linaro.org>2016-03-10 22:37:17 -0500
commita7065bc37b6764df681d12b1059415a0a262c4e0 (patch)
tree1694a4caff63eb39faaa6e6cc989b949392f5d61
parent14d653af4e32b1ae2964e5b2847ef6be191fee64 (diff)
dt-bindings: rockchip-mailbox: Add mailbox controller document on Rockchip SoCs
This add the necessary binding documentation for mailbox found on RK3368 SoC. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt b/Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt
new file mode 100644
index 000000000000..b6bb84acf5be
--- /dev/null
+++ b/Documentation/devicetree/bindings/mailbox/rockchip-mailbox.txt
@@ -0,0 +1,32 @@
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
20Example:
21--------
22
23/* RK3368 */
24mbox: mbox@ff6b0000 {
25 compatible = "rockchip,rk3368-mailbox";
26 reg = <0x0 0xff6b0000 0x0 0x1000>,
27 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
28 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
29 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
30 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
31 #mbox-cells = <1>;
32};