Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / clock / st / st,clkgen-prediv.txt
blob604766c2619ed19be9440304fa18ea8533228a21
1 Binding for a ST pre-divider clock driver.
3 This binding uses the common clock binding[1].
4 Base address is located to the parent node. See clock binding[2]
6 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
7 [2] Documentation/devicetree/bindings/clock/st/st,clkgen.txt
9 Required properties:
11 - compatible : shall be:
12         "st,clkgena-prediv-c65",        "st,clkgena-prediv"
13         "st,clkgena-prediv-c32",        "st,clkgena-prediv"
15 - #clock-cells : From common clock binding; shall be set to 0.
17 - clocks : From common clock binding
19 - clock-output-names : From common clock binding.
21 Example:
23         clockgen-a@fd345000 {
24                 reg = <0xfd345000 0xb50>;
26                 clk_m_a2_osc_prediv: clk-m-a2-osc-prediv {
27                         #clock-cells = <0>;
28                         compatible = "st,clkgena-prediv-c32",
29                                      "st,clkgena-prediv";
31                         clocks = <&clk_sysin>;
33                         clock-output-names = "clk-m-a2-osc-prediv";
34                 };
35         };