Merge tag 'for-linus' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / arm / mediatek / mediatek,pericfg.txt
1 Mediatek pericfg controller
2 ===========================
3
4 The Mediatek pericfg controller provides various clocks and reset
5 outputs to the system.
6
7 Required Properties:
8
9 - compatible: Should be one of:
10         - "mediatek,mt2701-pericfg", "syscon"
11         - "mediatek,mt2712-pericfg", "syscon"
12         - "mediatek,mt7622-pericfg", "syscon"
13         - "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon"
14         - "mediatek,mt8135-pericfg", "syscon"
15         - "mediatek,mt8173-pericfg", "syscon"
16 - #clock-cells: Must be 1
17 - #reset-cells: Must be 1
18
19 The pericfg controller uses the common clk binding from
20 Documentation/devicetree/bindings/clock/clock-bindings.txt
21 The available clocks are defined in dt-bindings/clock/mt*-clk.h.
22 Also it uses the common reset controller binding from
23 Documentation/devicetree/bindings/reset/reset.txt.
24 The available reset outputs are defined in
25 dt-bindings/reset/mt*-resets.h
26
27 Example:
28
29 pericfg: power-controller@10003000 {
30         compatible = "mediatek,mt8173-pericfg", "syscon";
31         reg = <0 0x10003000 0 0x1000>;
32         #clock-cells = <1>;
33         #reset-cells = <1>;
34 };