blob: 604766c2619ed19be9440304fa18ea8533228a21 [file] [log] [blame]
Gabriel FERNANDEZbe10afc2014-02-27 16:24:20 +01001Binding for a ST pre-divider clock driver.
2
3This binding uses the common clock binding[1].
4Base address is located to the parent node. See clock binding[2]
5
6[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
7[2] Documentation/devicetree/bindings/clock/st/st,clkgen.txt
8
9Required properties:
10
11- compatible : shall be:
12 "st,clkgena-prediv-c65", "st,clkgena-prediv"
13 "st,clkgena-prediv-c32", "st,clkgena-prediv"
14
15- #clock-cells : From common clock binding; shall be set to 0.
16
17- clocks : From common clock binding
18
19- clock-output-names : From common clock binding.
20
21Example:
22
Gabriel FERNANDEZ02680992014-07-15 17:20:17 +020023 clockgen-a@fd345000 {
Gabriel FERNANDEZbe10afc2014-02-27 16:24:20 +010024 reg = <0xfd345000 0xb50>;
25
Gabriel FERNANDEZ02680992014-07-15 17:20:17 +020026 clk_m_a2_osc_prediv: clk-m-a2-osc-prediv {
Gabriel FERNANDEZbe10afc2014-02-27 16:24:20 +010027 #clock-cells = <0>;
28 compatible = "st,clkgena-prediv-c32",
29 "st,clkgena-prediv";
30
Gabriel FERNANDEZ02680992014-07-15 17:20:17 +020031 clocks = <&clk_sysin>;
Gabriel FERNANDEZbe10afc2014-02-27 16:24:20 +010032
Gabriel FERNANDEZ02680992014-07-15 17:20:17 +020033 clock-output-names = "clk-m-a2-osc-prediv";
Gabriel FERNANDEZbe10afc2014-02-27 16:24:20 +010034 };
35 };
36