xref: /freebsd/sys/contrib/device-tree/Bindings/clock/st/st,clkgen-pll.txt (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1c66ec88fSEmmanuel VadotBinding for a ST pll clock driver.
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotThis binding uses the common clock binding[1].
4c66ec88fSEmmanuel VadotBase address is located to the parent node. See clock binding[2]
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
7c66ec88fSEmmanuel Vadot[2] Documentation/devicetree/bindings/clock/st/st,clkgen.txt
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel VadotRequired properties:
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel Vadot- compatible : shall be:
12c66ec88fSEmmanuel Vadot	"st,clkgen-pll0"
13*5956d97fSEmmanuel Vadot	"st,clkgen-pll0-a0"
14*5956d97fSEmmanuel Vadot	"st,clkgen-pll0-c0"
15c66ec88fSEmmanuel Vadot	"st,clkgen-pll1"
16*5956d97fSEmmanuel Vadot	"st,clkgen-pll1-c0"
17c66ec88fSEmmanuel Vadot	"st,stih407-clkgen-plla9"
18c66ec88fSEmmanuel Vadot	"st,stih418-clkgen-plla9"
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot- #clock-cells : From common clock binding; shall be set to 1.
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot- clocks : From common clock binding
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot- clock-output-names : From common clock binding.
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel VadotExample:
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadot	clockgen-a9@92b0000 {
29c66ec88fSEmmanuel Vadot		compatible = "st,clkgen-c32";
30c66ec88fSEmmanuel Vadot		reg = <0x92b0000 0xffff>;
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadot		clockgen_a9_pll: clockgen-a9-pll {
33c66ec88fSEmmanuel Vadot			#clock-cells = <1>;
34c66ec88fSEmmanuel Vadot			compatible = "st,stih407-clkgen-plla9";
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadot			clocks = <&clk_sysin>;
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot			clock-output-names = "clockgen-a9-pll-odf";
39c66ec88fSEmmanuel Vadot		};
40c66ec88fSEmmanuel Vadot	};
41