1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2020 MediaTek Inc.
5 $id: http://devicetree.org/schemas/memory-controllers/mediatek,smi-larb.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: SMI (Smart Multimedia Interface) Local Arbiter
11 - Yong Wu <yong.wu@mediatek.com>
14 The hardware block diagram please check bindings/iommu/mediatek,iommu.yaml
20 - mediatek,mt2701-smi-larb
21 - mediatek,mt2712-smi-larb
22 - mediatek,mt6779-smi-larb
23 - mediatek,mt8167-smi-larb
24 - mediatek,mt8173-smi-larb
25 - mediatek,mt8183-smi-larb
26 - mediatek,mt8192-smi-larb
28 - description: for mt7623
30 - const: mediatek,mt7623-smi-larb
31 - const: mediatek,mt2701-smi-larb
38 apb and smi are mandatory. gals(global async local sync) is optional.
42 - description: apb is Advanced Peripheral Bus clock, It's the clock for
44 - description: smi is the clock for transfer data and command.
45 - description: the clock for gals.
55 $ref: /schemas/types.yaml#/definitions/phandle-array
56 description: a phandle to the smi_common node.
59 $ref: /schemas/types.yaml#/definitions/uint32
62 description: the hardware id of this larb. It's only required when this
63 hardward id is not consecutive from its M4U point of view.
77 - mediatek,mt8183-smi-larb
107 - mediatek,mt2701-smi-larb
108 - mediatek,mt2712-smi-larb
109 - mediatek,mt6779-smi-larb
110 - mediatek,mt8167-smi-larb
111 - mediatek,mt8192-smi-larb
117 additionalProperties: false
121 #include <dt-bindings/clock/mt8173-clk.h>
122 #include <dt-bindings/power/mt8173-power.h>
124 larb1: larb@16010000 {
125 compatible = "mediatek,mt8173-smi-larb";
126 reg = <0x16010000 0x1000>;
127 mediatek,smi = <&smi_common>;
128 power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>;
129 clocks = <&vdecsys CLK_VDEC_CKEN>,
130 <&vdecsys CLK_VDEC_LARB_CKEN>;
131 clock-names = "apb", "smi";