Merge tag 'csky-for-linus-4.20-fixup-dtb' of https://github.com/c-sky/csky-linux
[linux-block.git] / Documentation / devicetree / bindings / memory-controllers / mediatek,smi-larb.txt
CommitLineData
fb6e2cee
YW
1SMI (Smart Multimedia Interface) Local Arbiter
2
3The hardware block diagram please check bindings/iommu/mediatek,iommu.txt
4
5Required properties:
7e42626a 6- compatible : must be one of :
7e42626a 7 "mediatek,mt2701-smi-larb"
50fa3cd3 8 "mediatek,mt2712-smi-larb"
f5e489e6 9 "mediatek,mt7623-smi-larb", "mediatek,mt2701-smi-larb"
50fa3cd3 10 "mediatek,mt8173-smi-larb"
fb6e2cee
YW
11- reg : the register and size of this local arbiter.
12- mediatek,smi : a phandle to the smi_common node.
13- power-domains : a phandle to the power domain of this local arbiter.
14- clocks : Must contain an entry for each entry in clock-names.
15- clock-names: must contain 2 entries, as follows:
16 - "apb" : Advanced Peripheral Bus clock, It's the clock for setting
17 the register.
18 - "smi" : It's the clock for transfer data and command.
19
f5e489e6 20Required property for mt2701, mt2712 and mt7623:
611de8fc
HZ
21- mediatek,larb-id :the hardware id of this larb.
22
fb6e2cee
YW
23Example:
24 larb1: larb@16010000 {
25 compatible = "mediatek,mt8173-smi-larb";
26 reg = <0 0x16010000 0 0x1000>;
27 mediatek,smi = <&smi_common>;
28 power-domains = <&scpsys MT8173_POWER_DOMAIN_VDEC>;
29 clocks = <&vdecsys CLK_VDEC_CKEN>,
30 <&vdecsys CLK_VDEC_LARB_CKEN>;
31 clock-names = "apb", "smi";
32 };
611de8fc
HZ
33
34Example for mt2701:
35 larb0: larb@14010000 {
36 compatible = "mediatek,mt2701-smi-larb";
37 reg = <0 0x14010000 0 0x1000>;
38 mediatek,smi = <&smi_common>;
39 mediatek,larb-id = <0>;
40 clocks = <&mmsys CLK_MM_SMI_LARB0>,
41 <&mmsys CLK_MM_SMI_LARB0>;
42 clock-names = "apb", "smi";
43 power-domains = <&scpsys MT2701_POWER_DOMAIN_DISP>;
44 };