xref: /freebsd/sys/contrib/device-tree/Bindings/clock/ti,cdce706.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBindings for Texas Instruments CDCE706 programmable 3-PLL clock
2*c66ec88fSEmmanuel Vadotsynthesizer/multiplier/divider.
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotReference: https://www.ti.com/lit/ds/symlink/cdce706.pdf
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotI2C device node required properties:
7*c66ec88fSEmmanuel Vadot- compatible: shall be "ti,cdce706".
8*c66ec88fSEmmanuel Vadot- reg: i2c device address, shall be in range [0x68...0x6b].
9*c66ec88fSEmmanuel Vadot- #clock-cells: from common clock binding; shall be set to 1.
10*c66ec88fSEmmanuel Vadot- clocks: from common clock binding; list of parent clock
11*c66ec88fSEmmanuel Vadot  handles, shall be reference clock(s) connected to CLK_IN0
12*c66ec88fSEmmanuel Vadot  and CLK_IN1 pins.
13*c66ec88fSEmmanuel Vadot- clock-names: shall be clk_in0 and/or clk_in1. Use clk_in0
14*c66ec88fSEmmanuel Vadot  in case of crystal oscillator or differential signal input
15*c66ec88fSEmmanuel Vadot  configuration. Use clk_in0 and clk_in1 in case of independent
16*c66ec88fSEmmanuel Vadot  single-ended LVCMOS inputs configuration.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExample:
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadot	clocks {
21*c66ec88fSEmmanuel Vadot		clk54: clk54 {
22*c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
23*c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
24*c66ec88fSEmmanuel Vadot			clock-frequency = <54000000>;
25*c66ec88fSEmmanuel Vadot		};
26*c66ec88fSEmmanuel Vadot	};
27*c66ec88fSEmmanuel Vadot	...
28*c66ec88fSEmmanuel Vadot	i2c0: i2c-master@d090000 {
29*c66ec88fSEmmanuel Vadot		...
30*c66ec88fSEmmanuel Vadot		cdce706: clock-synth@69 {
31*c66ec88fSEmmanuel Vadot			compatible = "ti,cdce706";
32*c66ec88fSEmmanuel Vadot			#clock-cells = <1>;
33*c66ec88fSEmmanuel Vadot			reg = <0x69>;
34*c66ec88fSEmmanuel Vadot			clocks = <&clk54>;
35*c66ec88fSEmmanuel Vadot			clock-names = "clk_in0";
36*c66ec88fSEmmanuel Vadot		};
37*c66ec88fSEmmanuel Vadot	};
38*c66ec88fSEmmanuel Vadot	...
39*c66ec88fSEmmanuel Vadot	simple-audio-card,codec {
40*c66ec88fSEmmanuel Vadot		...
41*c66ec88fSEmmanuel Vadot		clocks = <&cdce706 4>;
42*c66ec88fSEmmanuel Vadot	};
43