Commit | Line | Data |
---|---|---|
fb6e2cee YW |
1 | SMI (Smart Multimedia Interface) Local Arbiter |
2 | ||
3 | The hardware block diagram please check bindings/iommu/mediatek,iommu.txt | |
4 | ||
5 | Required 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 | 20 | Required property for mt2701, mt2712 and mt7623: |
611de8fc HZ |
21 | - mediatek,larb-id :the hardware id of this larb. |
22 | ||
fb6e2cee YW |
23 | Example: |
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 | |
34 | Example 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 | }; |