Merge tag 'for-5.9-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / memory-controllers / mediatek,smi-larb.txt
1 SMI (Smart Multimedia Interface) Local Arbiter
2
3 The hardware block diagram please check bindings/iommu/mediatek,iommu.txt
4
5 Required properties:
6 - compatible : must be one of :
7                 "mediatek,mt2701-smi-larb"
8                 "mediatek,mt2712-smi-larb"
9                 "mediatek,mt6779-smi-larb"
10                 "mediatek,mt7623-smi-larb", "mediatek,mt2701-smi-larb"
11                 "mediatek,mt8173-smi-larb"
12                 "mediatek,mt8183-smi-larb"
13 - reg : the register and size of this local arbiter.
14 - mediatek,smi : a phandle to the smi_common node.
15 - power-domains : a phandle to the power domain of this local arbiter.
16 - clocks : Must contain an entry for each entry in clock-names.
17 - clock-names: must contain 2 entries, as follows:
18   - "apb" : Advanced Peripheral Bus clock, It's the clock for setting
19             the register.
20   - "smi" : It's the clock for transfer data and command.
21   and this optional clock name:
22   - "gals": the clock for GALS(Global Async Local Sync).
23   Here is the list which has this GALS: mt8183.
24
25 Required property for mt2701, mt2712, mt6779 and mt7623:
26 - mediatek,larb-id :the hardware id of this larb.
27
28 Example:
29         larb1: larb@16010000 {
30                 compatible = "mediatek,mt8173-smi-larb";
31                 reg = <0 0x16010000 0 0x1000>;
32                 mediatek,smi = <&smi_common>;
33                 power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>;
34                 clocks = <&vdecsys CLK_VDEC_CKEN>,
35                          <&vdecsys CLK_VDEC_LARB_CKEN>;
36                 clock-names = "apb", "smi";
37         };
38
39 Example for mt2701:
40         larb0: larb@14010000 {
41                 compatible = "mediatek,mt2701-smi-larb";
42                 reg = <0 0x14010000 0 0x1000>;
43                 mediatek,smi = <&smi_common>;
44                 mediatek,larb-id = <0>;
45                 clocks = <&mmsys CLK_MM_SMI_LARB0>,
46                          <&mmsys CLK_MM_SMI_LARB0>;
47                 clock-names = "apb", "smi";
48                 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>;
49         };