xref: /openbmc/linux/Documentation/devicetree/bindings/clock/ti/adpll.txt (revision 8c57a5e7b2820f349c95b8c8393fec1e0f4070d2)
1*21330497STony LindgrenBinding for Texas Instruments ADPLL clock.
2*21330497STony Lindgren
3*21330497STony LindgrenBinding status: Unstable - ABI compatibility may be broken in the future
4*21330497STony Lindgren
5*21330497STony LindgrenThis binding uses the common clock binding[1]. It assumes a
6*21330497STony Lindgrenregister-mapped ADPLL with two to three selectable input clocks
7*21330497STony Lindgrenand three to four children.
8*21330497STony Lindgren
9*21330497STony Lindgren[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
10*21330497STony Lindgren
11*21330497STony LindgrenRequired properties:
12*21330497STony Lindgren- compatible : shall be one of "ti,dm814-adpll-s-clock" or
13*21330497STony Lindgren  "ti,dm814-adpll-lj-clock" depending on the type of the ADPLL
14*21330497STony Lindgren- #clock-cells : from common clock binding; shall be set to 1.
15*21330497STony Lindgren- clocks : link phandles of parent clocks clkinp and clkinpulow, note
16*21330497STony Lindgren  that the adpll-s-clock also has an optional clkinphif
17*21330497STony Lindgren- reg : address and length of the register set for controlling the ADPLL.
18*21330497STony Lindgren
19*21330497STony LindgrenExamples:
20*21330497STony Lindgren	adpll_mpu_ck: adpll@40 {
21*21330497STony Lindgren		#clock-cells = <1>;
22*21330497STony Lindgren		compatible = "ti,dm814-adpll-s-clock";
23*21330497STony Lindgren		reg = <0x40 0x40>;
24*21330497STony Lindgren		clocks = <&devosc_ck &devosc_ck &devosc_ck>;
25*21330497STony Lindgren		clock-names = "clkinp", "clkinpulow", "clkinphif";
26*21330497STony Lindgren		clock-output-names = "481c5040.adpll.dcoclkldo",
27*21330497STony Lindgren				     "481c5040.adpll.clkout",
28*21330497STony Lindgren				     "481c5040.adpll.clkoutx2",
29*21330497STony Lindgren				     "481c5040.adpll.clkouthif";
30*21330497STony Lindgren	};
31*21330497STony Lindgren
32*21330497STony Lindgren	adpll_dsp_ck: adpll@80 {
33*21330497STony Lindgren		#clock-cells = <1>;
34*21330497STony Lindgren		compatible = "ti,dm814-adpll-lj-clock";
35*21330497STony Lindgren		reg = <0x80 0x30>;
36*21330497STony Lindgren		clocks = <&devosc_ck &devosc_ck>;
37*21330497STony Lindgren		clock-names = "clkinp", "clkinpulow";
38*21330497STony Lindgren		clock-output-names = "481c5080.adpll.dcoclkldo",
39*21330497STony Lindgren				     "481c5080.adpll.clkout",
40*21330497STony Lindgren				     "481c5080.adpll.clkoutldo";
41*21330497STony Lindgren	};
42