Debian Codegraph @

Documentation/devicetree/bindings/mailbox/rockchip,rk3368-mailbox.yaml

raw
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
7 title: Rockchip RK3368 Mailbox Controller
8
9 maintainers:
10 - Heiko Stuebner <[email protected]>
11
12 description:
13 The Rockchip mailbox is used by the Rockchip CPU cores to communicate
14 requests to MCU processor.
15
16 properties:
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
36 required:
37 - compatible
38 - reg
39 - interrupts
40 - '#mbox-cells'
41
42 additionalProperties: false
43
44 examples:
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 };