Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / Documentation / devicetree / bindings / clock / st / st,clkgen-divmux.txt
1 Binding for a ST divider and multiplexer clock driver.
2
3 This binding uses the common clock binding[1].
4 Base 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
9 Required properties:
10
11 - compatible : shall be:
12         "st,clkgena-divmux-c65-hs",     "st,clkgena-divmux"
13         "st,clkgena-divmux-c65-ls",     "st,clkgena-divmux"
14         "st,clkgena-divmux-c32-odf0",   "st,clkgena-divmux"
15         "st,clkgena-divmux-c32-odf1",   "st,clkgena-divmux"
16         "st,clkgena-divmux-c32-odf2",   "st,clkgena-divmux"
17         "st,clkgena-divmux-c32-odf3",   "st,clkgena-divmux"
18
19 - #clock-cells : From common clock binding; shall be set to 1.
20
21 - clocks : From common clock binding
22
23 - clock-output-names : From common clock binding.
24
25 Example:
26
27         clockgenA@fd345000 {
28                 reg = <0xfd345000 0xb50>;
29
30                 CLK_M_A1_DIV1: CLK_M_A1_DIV1 {
31                         #clock-cells = <1>;
32                         compatible = "st,clkgena-divmux-c32-odf1",
33                                      "st,clkgena-divmux";
34
35                         clocks = <&CLK_M_A1_OSC_PREDIV>,
36                                  <&CLK_M_A1_PLL0 1>, /* PLL0 PHI1 */
37                                  <&CLK_M_A1_PLL1 1>; /* PLL1 PHI1 */
38
39                         clock-output-names = "CLK_M_RX_ICN_TS",
40                                              "CLK_M_RX_ICN_VDP_0",
41                                              "", /* Unused */
42                                              "CLK_M_PRV_T1_BUS",
43                                              "CLK_M_ICN_REG_12",
44                                              "CLK_M_ICN_REG_10",
45                                              "", /* Unused */
46                                              "CLK_M_ICN_ST231";
47                 };
48         };
49