xref: /linux/Documentation/devicetree/bindings/mailbox/rockchip,rk3368-mailbox.yaml (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mailbox/rockchip,rk3368-mailbox.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Rockchip RK3368 Mailbox Controller
8
9maintainers:
10  - Heiko Stuebner <heiko@sntech.de>
11
12description:
13  The Rockchip mailbox is used by the Rockchip CPU cores to communicate
14  requests to MCU processor.
15
16properties:
17  compatible:
18    const: rockchip,rk3368-mailbox
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    maxItems: 1
25
26  clock-names:
27    const: pclk_mailbox
28
29  interrupts:
30    description: One interrupt for each channel
31    maxItems: 4
32
33  '#mbox-cells':
34    const: 1
35
36required:
37  - compatible
38  - reg
39  - interrupts
40  - '#mbox-cells'
41
42additionalProperties: false
43
44examples:
45  - |
46    #include <dt-bindings/interrupt-controller/arm-gic.h>
47
48    mailbox@ff6b0000 {
49        compatible = "rockchip,rk3368-mailbox";
50        reg = <0xff6b0000 0x1000>;
51        interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
52                     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
53                     <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
54                     <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
55        #mbox-cells = <1>;
56    };
57