blob: f207053e0550668e027161784735d8063316d8ab [file] [log] [blame]
Gabriel FERNANDEZ8b221482014-02-27 16:24:21 +01001Binding for a ST pll 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:
Gabriel Fernandez880d54f2016-08-29 14:26:54 +020012 "st,clkgen-pll0"
13 "st,clkgen-pll1"
14 "st,stih407-clkgen-plla9"
15 "st,stih418-clkgen-plla9"
Gabriel FERNANDEZ8b221482014-02-27 16:24:21 +010016
Gabriel FERNANDEZ8b221482014-02-27 16:24:21 +010017- #clock-cells : From common clock binding; shall be set to 1.
18
19- clocks : From common clock binding
20
21- clock-output-names : From common clock binding.
22
23Example:
24
Gabriel Fernandez7df404c2016-08-29 14:26:53 +020025 clockgen-a9@92b0000 {
26 compatible = "st,clkgen-c32";
27 reg = <0x92b0000 0xffff>;
Gabriel FERNANDEZ8b221482014-02-27 16:24:21 +010028
Gabriel Fernandez7df404c2016-08-29 14:26:53 +020029 clockgen_a9_pll: clockgen-a9-pll {
Gabriel FERNANDEZ8b221482014-02-27 16:24:21 +010030 #clock-cells = <1>;
Gabriel Fernandez880d54f2016-08-29 14:26:54 +020031 compatible = "st,stih407-clkgen-plla9";
Gabriel FERNANDEZ8b221482014-02-27 16:24:21 +010032
Gabriel FERNANDEZ02680992014-07-15 17:20:17 +020033 clocks = <&clk_sysin>;
Gabriel FERNANDEZ8b221482014-02-27 16:24:21 +010034
Gabriel Fernandez7df404c2016-08-29 14:26:53 +020035 clock-output-names = "clockgen-a9-pll-odf";
Gabriel FERNANDEZ8b221482014-02-27 16:24:21 +010036 };
37 };