xref: /freebsd/sys/contrib/device-tree/Bindings/clock/ti,cdce925.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBinding for TI CDCE913/925/937/949 programmable I2C clock synthesizers.
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotReference
4*c66ec88fSEmmanuel VadotThis binding uses the common clock binding[1].
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel Vadot[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
7*c66ec88fSEmmanuel Vadot[2] https://www.ti.com/product/cdce913
8*c66ec88fSEmmanuel Vadot[3] https://www.ti.com/product/cdce925
9*c66ec88fSEmmanuel Vadot[4] https://www.ti.com/product/cdce937
10*c66ec88fSEmmanuel Vadot[5] https://www.ti.com/product/cdce949
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotThe driver provides clock sources for each output Y1 through Y5.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotRequired properties:
15*c66ec88fSEmmanuel Vadot - compatible: Shall be one of the following:
16*c66ec88fSEmmanuel Vadot	- "ti,cdce913": 1-PLL, 3 Outputs
17*c66ec88fSEmmanuel Vadot	- "ti,cdce925": 2-PLL, 5 Outputs
18*c66ec88fSEmmanuel Vadot	- "ti,cdce937": 3-PLL, 7 Outputs
19*c66ec88fSEmmanuel Vadot	- "ti,cdce949": 4-PLL, 9 Outputs
20*c66ec88fSEmmanuel Vadot - reg: I2C device address.
21*c66ec88fSEmmanuel Vadot - clocks: Points to a fixed parent clock that provides the input frequency.
22*c66ec88fSEmmanuel Vadot - #clock-cells: From common clock bindings: Shall be 1.
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotOptional properties:
25*c66ec88fSEmmanuel Vadot - xtal-load-pf: Crystal load-capacitor value to fine-tune performance on a
26*c66ec88fSEmmanuel Vadot                 board, or to compensate for external influences.
27*c66ec88fSEmmanuel Vadot- vdd-supply: A regulator node for Vdd
28*c66ec88fSEmmanuel Vadot- vddout-supply: A regulator node for Vddout
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel VadotFor all PLL1, PLL2, ... an optional child node can be used to specify spread
31*c66ec88fSEmmanuel Vadotspectrum clocking parameters for a board.
32*c66ec88fSEmmanuel Vadot  - spread-spectrum: SSC mode as defined in the data sheet.
33*c66ec88fSEmmanuel Vadot  - spread-spectrum-center: Use "centered" mode instead of "max" mode. When
34*c66ec88fSEmmanuel Vadot    present, the clock runs at the requested frequency on average. Otherwise
35*c66ec88fSEmmanuel Vadot    the requested frequency is the maximum value of the SCC range.
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot
38*c66ec88fSEmmanuel VadotExample:
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadot	clockgen: cdce925pw@64 {
41*c66ec88fSEmmanuel Vadot		compatible = "cdce925";
42*c66ec88fSEmmanuel Vadot		reg = <0x64>;
43*c66ec88fSEmmanuel Vadot		clocks = <&xtal_27Mhz>;
44*c66ec88fSEmmanuel Vadot		#clock-cells = <1>;
45*c66ec88fSEmmanuel Vadot		xtal-load-pf = <5>;
46*c66ec88fSEmmanuel Vadot		vdd-supply = <&1v8-reg>;
47*c66ec88fSEmmanuel Vadot		vddout-supply = <&3v3-reg>;
48*c66ec88fSEmmanuel Vadot		/* PLL options to get SSC 1% centered */
49*c66ec88fSEmmanuel Vadot		PLL2 {
50*c66ec88fSEmmanuel Vadot			spread-spectrum = <4>;
51*c66ec88fSEmmanuel Vadot			spread-spectrum-center;
52*c66ec88fSEmmanuel Vadot		};
53*c66ec88fSEmmanuel Vadot	};
54