GNU Linux-libre 4.19.286-gnu1
[releases.git] / Documentation / devicetree / bindings / arm / mediatek / mediatek,ethsys.txt
1 Mediatek ethsys controller
2 ============================
3
4 The Mediatek ethsys controller provides various clocks to the system.
5
6 Required Properties:
7
8 - compatible: Should be:
9         - "mediatek,mt2701-ethsys", "syscon"
10         - "mediatek,mt7622-ethsys", "syscon"
11 - #clock-cells: Must be 1
12 - #reset-cells: Must be 1
13
14 The ethsys controller uses the common clk binding from
15 Documentation/devicetree/bindings/clock/clock-bindings.txt
16 The available clocks are defined in dt-bindings/clock/mt*-clk.h.
17
18 Example:
19
20 ethsys: clock-controller@1b000000 {
21         compatible = "mediatek,mt2701-ethsys", "syscon";
22         reg = <0 0x1b000000 0 0x1000>;
23         #clock-cells = <1>;
24         #reset-cells = <1>;
25 };