brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 8a1369d Raw
58 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/mailbox/mtk,adsp-mbox.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Mediatek ADSP mailbox8 9maintainers:10  - Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>11 12description: |13  The MTK ADSP mailbox Inter-Processor Communication (IPC) enables the SoC14  to communicate with ADSP by passing messages through two mailbox channels.15  The MTK ADSP mailbox IPC also provides the ability for one processor to16  signal the other processor using interrupts.17 18properties:19  compatible:20    oneOf:21      - enum:22          - mediatek,mt8186-adsp-mbox23          - mediatek,mt8195-adsp-mbox24      - items:25          - enum:26              - mediatek,mt8188-adsp-mbox27          - const: mediatek,mt8186-adsp-mbox28 29 30  "#mbox-cells":31    const: 032 33  reg:34    maxItems: 135 36  interrupts:37    maxItems: 138 39required:40  - compatible41  - "#mbox-cells"42  - reg43  - interrupts44 45additionalProperties: false46 47examples:48  - |49    #include <dt-bindings/interrupt-controller/arm-gic.h>50    #include <dt-bindings/interrupt-controller/irq.h>51 52    adsp_mailbox0:mailbox@10816000 {53        compatible = "mediatek,mt8195-adsp-mbox";54        #mbox-cells = <0>;55        reg = <0x10816000 0x1000>;56        interrupts = <GIC_SPI 702 IRQ_TYPE_LEVEL_HIGH 0>;57    };58