Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide
[sfrench/cifs-2.6.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,mt8173-smi-larb"
8                 "mediatek,mt2701-smi-larb"
9 - reg : the register and size of this local arbiter.
10 - mediatek,smi : a phandle to the smi_common node.
11 - power-domains : a phandle to the power domain of this local arbiter.
12 - clocks : Must contain an entry for each entry in clock-names.
13 - clock-names: must contain 2 entries, as follows:
14   - "apb" : Advanced Peripheral Bus clock, It's the clock for setting
15             the register.
16   - "smi" : It's the clock for transfer data and command.
17
18 Required property for mt2701:
19 - mediatek,larb-id :the hardware id of this larb.
20
21 Example:
22         larb1: larb@16010000 {
23                 compatible = "mediatek,mt8173-smi-larb";
24                 reg = <0 0x16010000 0 0x1000>;
25                 mediatek,smi = <&smi_common>;
26                 power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>;
27                 clocks = <&vdecsys CLK_VDEC_CKEN>,
28                          <&vdecsys CLK_VDEC_LARB_CKEN>;
29                 clock-names = "apb", "smi";
30         };
31
32 Example for mt2701:
33         larb0: larb@14010000 {
34                 compatible = "mediatek,mt2701-smi-larb";
35                 reg = <0 0x14010000 0 0x1000>;
36                 mediatek,smi = <&smi_common>;
37                 mediatek,larb-id = <0>;
38                 clocks = <&mmsys CLK_MM_SMI_LARB0>,
39                          <&mmsys CLK_MM_SMI_LARB0>;
40                 clock-names = "apb", "smi";
41                 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>;
42         };