xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/st/st,quadfs.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBinding for a type of quad channel digital frequency synthesizer found on
2*4882a593Smuzhiyuncertain STMicroelectronics consumer electronics SoC devices.
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis version contains a programmable PLL which can generate up to 216, 432
5*4882a593Smuzhiyunor 660MHz (from a 30MHz oscillator input) as the input to the digital
6*4882a593Smuzhiyunsynthesizers.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunThis binding uses the common clock binding[1].
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunRequired properties:
13*4882a593Smuzhiyun- compatible : shall be:
14*4882a593Smuzhiyun  "st,quadfs"
15*4882a593Smuzhiyun  "st,quadfs-pll"
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun- #clock-cells : from common clock binding; shall be set to 1.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun- reg : A Base address and length of the register set.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun- clocks : from common clock binding
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun- clock-output-names : From common clock binding. The block has 4
25*4882a593Smuzhiyun                       clock outputs but not all of them in a specific instance
26*4882a593Smuzhiyun                       have to be used in the SoC. If a clock name is left as
27*4882a593Smuzhiyun                       an empty string then no clock will be created for the
28*4882a593Smuzhiyun                       output associated with that string index. If fewer than
29*4882a593Smuzhiyun                       4 strings are provided then no clocks will be created
30*4882a593Smuzhiyun                       for the remaining outputs.
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunExample:
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun	clk_s_c0_quadfs: clk-s-c0-quadfs@9103000 {
35*4882a593Smuzhiyun		#clock-cells = <1>;
36*4882a593Smuzhiyun		compatible = "st,quadfs-pll";
37*4882a593Smuzhiyun		reg = <0x9103000 0x1000>;
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun		clocks = <&clk_sysin>;
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun		clock-output-names = "clk-s-c0-fs0-ch0",
42*4882a593Smuzhiyun				     "clk-s-c0-fs0-ch1",
43*4882a593Smuzhiyun				     "clk-s-c0-fs0-ch2",
44*4882a593Smuzhiyun				     "clk-s-c0-fs0-ch3";
45*4882a593Smuzhiyun	};
46