ASPEED AST2700 mailbox controller

Schema identifier ($id): "http://devicetree.org/schemas/mailbox/aspeed,ast2700-mailbox.yaml#"

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

Maintainers (maintainers): "Jammy Huang <jammy_huang@aspeedtech.com>"

ASPEED AST2700 has multiple processors that need to communicate with each other. The mailbox controller provides a way for these processors to send messages to each other. It is a hardware-based inter-processor communication mechanism that allows processors to send and receive messages through dedicated channels. The mailbox's tx/rx are independent, meaning that one processor can send a message while another processor is receiving a message simultaneously. There are 4 channels available for both tx and rx operations. Each channel has a FIFO buffer that can hold messages of a fixed size (32 bytes in this case). The mailbox controller also supports interrupt generation, allowing processors to notify each other when a message is available or when an event occurs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "aspeed,ast2700-mailbox"

reg — required here #

Array item rules (items) #

Item 1

TX control register

Item 2

RX control register

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "tx"

Item 2

Exact value (const): "rx"

interrupts — required here #

Maximum number of items (maxItems): 1

#mbox-cells — required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

mailbox@12c1c200 {
    compatible = "aspeed,ast2700-mailbox";
    reg = <0x12c1c200 0x100>, <0x12c1c300 0x100>;
    reg-names = "tx", "rx";
    interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
    #mbox-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page