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