xref: /freebsd/sys/contrib/device-tree/Bindings/clock/ti/fapll.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBinding for Texas Instruments FAPLL clock.
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotBinding status: Unstable - ABI compatibility may be broken in the future
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotThis binding uses the common clock binding[1]. It assumes a
6*c66ec88fSEmmanuel Vadotregister-mapped FAPLL with usually two selectable input clocks
7*c66ec88fSEmmanuel Vadot(reference clock and bypass clock), and one or more child
8*c66ec88fSEmmanuel Vadotsyntesizers.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotRequired properties:
13*c66ec88fSEmmanuel Vadot- compatible : shall be "ti,dm816-fapll-clock"
14*c66ec88fSEmmanuel Vadot- #clock-cells : from common clock binding; shall be set to 0.
15*c66ec88fSEmmanuel Vadot- clocks : link phandles of parent clocks (clk-ref and clk-bypass)
16*c66ec88fSEmmanuel Vadot- reg : address and length of the register set for controlling the FAPLL.
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotExamples:
19*c66ec88fSEmmanuel Vadot	main_fapll: main_fapll {
20*c66ec88fSEmmanuel Vadot		#clock-cells = <1>;
21*c66ec88fSEmmanuel Vadot		compatible = "ti,dm816-fapll-clock";
22*c66ec88fSEmmanuel Vadot		reg = <0x400 0x40>;
23*c66ec88fSEmmanuel Vadot		clocks = <&sys_clkin_ck &sys_clkin_ck>;
24*c66ec88fSEmmanuel Vadot		clock-indices = <1>, <2>, <3>, <4>, <5>,
25*c66ec88fSEmmanuel Vadot				<6>, <7>;
26*c66ec88fSEmmanuel Vadot		clock-output-names = "main_pll_clk1",
27*c66ec88fSEmmanuel Vadot				     "main_pll_clk2",
28*c66ec88fSEmmanuel Vadot				     "main_pll_clk3",
29*c66ec88fSEmmanuel Vadot				     "main_pll_clk4",
30*c66ec88fSEmmanuel Vadot				     "main_pll_clk5",
31*c66ec88fSEmmanuel Vadot				     "main_pll_clk6",
32*c66ec88fSEmmanuel Vadot				     "main_pll_clk7";
33*c66ec88fSEmmanuel Vadot	};
34