Documentation / devicetree / bindings / mailbox / brcm,bcm74110-mbox.yaml


Based on kernel version 6.17. Page generated on 2025-10-03 10:04 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mailbox/brcm,bcm74110-mbox.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom BCM74110 Mailbox

maintainers:
  - Justin Chen <justin.chen@broadcom.com>
  - Florian Fainelli <florian.fainelli@broadcom.com>

description: Broadcom mailbox hardware first introduced with 74110

properties:
  compatible:
    enum:
      - brcm,bcm74110-mbox

  reg:
    maxItems: 1

  interrupts:
    items:
      - description: RX doorbell and watermark interrupts
      - description: TX doorbell and watermark interrupts
 
  "#mbox-cells":
    const: 2
    description:
      The first cell is channel type and second cell is shared memory slot

  brcm,rx:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: RX Mailbox number

  brcm,tx:
    $ref: /schemas/types.yaml#/definitions/uint32
    description: TX Mailbox number

required:
  - compatible
  - reg
  - interrupts
  - "#mbox-cells"
  - brcm,rx
  - brcm,tx

additionalProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/irq.h>
    #include <dt-bindings/interrupt-controller/arm-gic.h>
 
    mailbox@a552000 {
        compatible = "brcm,bcm74110-mbox";
        reg = <0xa552000 0x1104>;
        interrupts = <GIC_SPI 0x67 IRQ_TYPE_LEVEL_HIGH>,
                     <GIC_SPI 0x66 IRQ_TYPE_LEVEL_HIGH>;
        #mbox-cells = <0x2>;
        brcm,rx = <0x7>;
        brcm,tx = <0x6>;
    };