1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mailbox/mediatek,gce-mailbox.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek Global Command Engine Mailbox
10 - Houlong Wei <houlong.wei@mediatek.com>
13 The Global Command Engine (GCE) is used to help read/write registers with
14 critical time limitation, such as updating display configuration during the
15 vblank. The GCE can be used to implement the Command Queue (CMDQ) driver.
29 - const: mediatek,mt6795-gce
30 - const: mediatek,mt8173-gce
35 The first cell describes the Thread ID of the GCE,
36 the second cell describes the priority of the GCE thread
46 - description: Global Command Engine clock
65 const: mediatek,mt8195-gce
70 additionalProperties: false
74 #include <dt-bindings/clock/mt8173-clk.h>
75 #include <dt-bindings/interrupt-controller/arm-gic.h>
76 #include <dt-bindings/interrupt-controller/irq.h>
82 gce: mailbox@10212000 {
83 compatible = "mediatek,mt8173-gce";
84 reg = <0 0x10212000 0 0x1000>;
85 interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_LOW>;
87 clocks = <&infracfg CLK_INFRA_GCE>;