Samsung Exynos Mailbox Controller

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

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

Maintainers (maintainers): "Tudor Ambarus <tudor.ambarus@linaro.org>"

The Samsung Exynos mailbox controller, used on Google GS101 SoC, has 16 flag bits for hardware interrupt generation and a shared register for passing mailbox messages. When the controller is used by the ACPM interface the shared register is ignored and the mailbox controller acts as a doorbell. The controller just raises the interrupt to the firmware after the ACPM interface has written the message to SRAM.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "google,gs101-mbox"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "pclk"

interrupts — required here #

IRQ line for the RX mailbox.

Maximum number of items (maxItems): 1

#mbox-cells — required here #

Exact value (const): 0

Required in this object (required): "compatible", "reg", "clocks", "clock-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>
#include <dt-bindings/clock/google,gs101.h>

soc {
    #address-cells = <1>;
    #size-cells = <1>;

    ap2apm_mailbox: mailbox@17610000 {
        compatible = "google,gs101-mbox";
        reg = <0x17610000 0x1000>;
        clocks = <&cmu_apm CLK_GOUT_APM_MAILBOX_APM_AP_PCLK>;
        clock-names = "pclk";
        interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH 0>;
        #mbox-cells = <0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2024 Linaro Ltd.

Edit this page