Merge branch 'stable/for-linus-4.7' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / memory-controllers / mediatek,smi-common.txt
1 SMI (Smart Multimedia Interface) Common
2
3 The hardware block diagram please check bindings/iommu/mediatek,iommu.txt
4
5 Required properties:
6 - compatible : must be "mediatek,mt8173-smi-common"
7 - reg : the register and size of the SMI block.
8 - power-domains : a phandle to the power domain of this local arbiter.
9 - clocks : Must contain an entry for each entry in clock-names.
10 - clock-names : must contain 2 entries, as follows:
11   - "apb" : Advanced Peripheral Bus clock, It's the clock for setting
12             the register.
13   - "smi" : It's the clock for transfer data and command.
14   They may be the same if both source clocks are the same.
15
16 Example:
17         smi_common: smi@14022000 {
18                 compatible = "mediatek,mt8173-smi-common";
19                 reg = <0 0x14022000 0 0x1000>;
20                 power-domains = <&scpsys MT8173_POWER_DOMAIN_MM>;
21                 clocks = <&mmsys CLK_MM_SMI_COMMON>,
22                          <&mmsys CLK_MM_SMI_COMMON>;
23                 clock-names = "apb", "smi";
24         };