1fa753865SBaolin Wang# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2fa753865SBaolin Wang%YAML 1.2 3fa753865SBaolin Wang--- 4fa753865SBaolin Wang$id: "http://devicetree.org/schemas/mailbox/sprd-mailbox.yaml#" 5fa753865SBaolin Wang$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6fa753865SBaolin Wang 7fa753865SBaolin Wangtitle: Spreadtrum mailbox controller bindings 8fa753865SBaolin Wang 9fa753865SBaolin Wangmaintainers: 10fa753865SBaolin Wang - Orson Zhai <orsonzhai@gmail.com> 11fa753865SBaolin Wang - Baolin Wang <baolin.wang7@gmail.com> 12fa753865SBaolin Wang - Chunyan Zhang <zhang.lyra@gmail.com> 13fa753865SBaolin Wang 14fa753865SBaolin Wangproperties: 15fa753865SBaolin Wang compatible: 16fa753865SBaolin Wang enum: 17fa753865SBaolin Wang - sprd,sc9860-mailbox 18fa753865SBaolin Wang 19fa753865SBaolin Wang reg: 20fa753865SBaolin Wang items: 21fa753865SBaolin Wang - description: inbox registers' base address 22fa753865SBaolin Wang - description: outbox registers' base address 23fa753865SBaolin Wang 24fa753865SBaolin Wang interrupts: 25fa753865SBaolin Wang items: 26fa753865SBaolin Wang - description: inbox interrupt 27fa753865SBaolin Wang - description: outbox interrupt 28fa753865SBaolin Wang 29fa753865SBaolin Wang clocks: 30fa753865SBaolin Wang maxItems: 1 31fa753865SBaolin Wang 32fa753865SBaolin Wang clock-names: 33fa753865SBaolin Wang items: 34fa753865SBaolin Wang - const: enable 35fa753865SBaolin Wang 36fa753865SBaolin Wang "#mbox-cells": 37fa753865SBaolin Wang const: 1 38fa753865SBaolin Wang 39fa753865SBaolin Wangrequired: 40fa753865SBaolin Wang - compatible 41fa753865SBaolin Wang - reg 42fa753865SBaolin Wang - interrupts 43fa753865SBaolin Wang - "#mbox-cells" 44fa753865SBaolin Wang - clocks 45fa753865SBaolin Wang - clock-names 46fa753865SBaolin Wang 47fa753865SBaolin WangadditionalProperties: false 48fa753865SBaolin Wang 49fa753865SBaolin Wangexamples: 50fa753865SBaolin Wang - | 51fa753865SBaolin Wang #include <dt-bindings/interrupt-controller/arm-gic.h> 52fa753865SBaolin Wang mailbox: mailbox@400a0000 { 53fa753865SBaolin Wang compatible = "sprd,sc9860-mailbox"; 54*0db958b6SRob Herring reg = <0x400a0000 0x8000>, <0x400a8000 0x8000>; 55fa753865SBaolin Wang #mbox-cells = <1>; 56fa753865SBaolin Wang clock-names = "enable"; 57fa753865SBaolin Wang clocks = <&aon_gate 53>; 58fa753865SBaolin Wang interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 59fa753865SBaolin Wang }; 60fa753865SBaolin Wang... 61