MediaTek MFlexGraphics GPUEB Mailbox Controller

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

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

Maintainers (maintainers): "Nicolas Frattaroli <nicolas.frattaroli@collabora.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "mediatek,mt8196-gpueb-mbox"

reg — required here #

Array item rules (items) #

Item 1

mailbox data registers

Item 2

mailbox control registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "data"

Item 2

Exact value (const): "ctl"

clocks — required here #

Array item rules (items) #

Item 1

main clock of the GPUEB MCU

interrupts — required here #

Array item rules (items) #

Item 1

fires when a new message is received

#mbox-cells — required here #

Exact value (const): 1

The number of the mailbox channel.

Required in this object (required): "compatible", "reg", "reg-names", "clocks", "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/clock/mediatek,mt8196-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

mailbox@4b09fd80 {
    compatible = "mediatek,mt8196-gpueb-mbox";
    reg = <0x4b09fd80 0x280>,
          <0x4b170000 0x7c>;
    reg-names = "data", "ctl";
    clocks = <&topckgen CLK_TOP_MFG_EB>;
    interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH 0>;
    #mbox-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page