Broadcom BCM74110 Mailbox

Schema identifier ($id): "http://devicetree.org/schemas/mailbox/brcm,bcm74110-mbox.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Justin Chen <justin.chen@broadcom.com>", "Florian Fainelli <florian.fainelli@broadcom.com>"

Broadcom mailbox hardware first introduced with 74110

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "brcm,bcm74110-mbox"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

RX doorbell and watermark interrupts

Item 2

TX doorbell and watermark interrupts

#mbox-cells — required here #

Exact value (const): 2

The first cell is channel type and second cell is shared memory slot

brcm,rx — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

RX Mailbox number

brcm,tx — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

TX Mailbox number

Required in this object (required): "compatible", "reg", "interrupts", "#mbox-cells", "brcm,rx", "brcm,tx"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (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>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page