xref: /openbmc/linux/Documentation/devicetree/bindings/clock/st/st,clkgen-pll.txt (revision 762f99f4f3cb41a775b5157dd761217beba65873)
18b221488SGabriel FERNANDEZBinding for a ST pll clock driver.
28b221488SGabriel FERNANDEZ
38b221488SGabriel FERNANDEZThis binding uses the common clock binding[1].
48b221488SGabriel FERNANDEZBase address is located to the parent node. See clock binding[2]
58b221488SGabriel FERNANDEZ
68b221488SGabriel FERNANDEZ[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
78b221488SGabriel FERNANDEZ[2] Documentation/devicetree/bindings/clock/st/st,clkgen.txt
88b221488SGabriel FERNANDEZ
98b221488SGabriel FERNANDEZRequired properties:
108b221488SGabriel FERNANDEZ
118b221488SGabriel FERNANDEZ- compatible : shall be:
12880d54ffSGabriel Fernandez	"st,clkgen-pll0"
13*8df309e9SAlain Volmat	"st,clkgen-pll0-a0"
14*8df309e9SAlain Volmat	"st,clkgen-pll0-c0"
15880d54ffSGabriel Fernandez	"st,clkgen-pll1"
16*8df309e9SAlain Volmat	"st,clkgen-pll1-c0"
17880d54ffSGabriel Fernandez	"st,stih407-clkgen-plla9"
18880d54ffSGabriel Fernandez	"st,stih418-clkgen-plla9"
198b221488SGabriel FERNANDEZ
208b221488SGabriel FERNANDEZ- #clock-cells : From common clock binding; shall be set to 1.
218b221488SGabriel FERNANDEZ
228b221488SGabriel FERNANDEZ- clocks : From common clock binding
238b221488SGabriel FERNANDEZ
248b221488SGabriel FERNANDEZ- clock-output-names : From common clock binding.
258b221488SGabriel FERNANDEZ
268b221488SGabriel FERNANDEZExample:
278b221488SGabriel FERNANDEZ
287df404c9SGabriel Fernandez	clockgen-a9@92b0000 {
297df404c9SGabriel Fernandez		compatible = "st,clkgen-c32";
307df404c9SGabriel Fernandez		reg = <0x92b0000 0xffff>;
318b221488SGabriel FERNANDEZ
327df404c9SGabriel Fernandez		clockgen_a9_pll: clockgen-a9-pll {
338b221488SGabriel FERNANDEZ			#clock-cells = <1>;
34880d54ffSGabriel Fernandez			compatible = "st,stih407-clkgen-plla9";
358b221488SGabriel FERNANDEZ
360268099cSGabriel FERNANDEZ			clocks = <&clk_sysin>;
378b221488SGabriel FERNANDEZ
387df404c9SGabriel Fernandez			clock-output-names = "clockgen-a9-pll-odf";
398b221488SGabriel FERNANDEZ		};
408b221488SGabriel FERNANDEZ	};
41