rtc: stm32: fix misspelling and misalignment issues
[linux/fpc-iii.git] / Documentation / devicetree / bindings / clock / st / st,clkgen.txt
blob7364953d0d0bd8c22699366a50981bef3adb5386
1 Binding for a Clockgen hardware block found on
2 certain STMicroelectronics consumer electronics SoC devices.
4 A Clockgen node can contain pll, diviser or multiplexer nodes.
6 We will find only the base address of the Clockgen, this base
7 address is common of all subnode.
9         clockgen_node {
10                 reg = <>;
12                 pll_node {
13                         ...
14                 };
16                 quadfs_node {
17                         ...
18                 };
20                 mux_node {
21                         ...
22                 };
24                 flexgen_node {
25                         ...
26                 };
27                 ...
28         };
30 This binding uses the common clock binding[1].
31 Each subnode should use the binding described in [2]..[7]
33 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
34 [3] Documentation/devicetree/bindings/clock/st,clkgen-mux.txt
35 [4] Documentation/devicetree/bindings/clock/st,clkgen-pll.txt
36 [7] Documentation/devicetree/bindings/clock/st,quadfs.txt
37 [8] Documentation/devicetree/bindings/clock/st,flexgen.txt
40 Required properties:
41 - reg : A Base address and length of the register set.
43 Example:
45         clockgen-a@90ff000 {
46                 compatible = "st,clkgen-c32";
47                 reg = <0x90ff000 0x1000>;
49                 clk_s_a0_pll: clk-s-a0-pll {
50                         #clock-cells = <1>;
51                         compatible = "st,clkgen-pll0";
53                         clocks = <&clk_sysin>;
55                         clock-output-names = "clk-s-a0-pll-ofd-0";
56                 };
58                 clk_s_a0_flexgen: clk-s-a0-flexgen {
59                         compatible = "st,flexgen";
61                         #clock-cells = <1>;
63                         clocks = <&clk_s_a0_pll 0>,
64                                  <&clk_sysin>;
66                         clock-output-names = "clk-ic-lmi0";
67                 };
68         };