xref: /freebsd/sys/contrib/device-tree/Bindings/c6x/clocks.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotC6X PLL Clock Controllers
2*c66ec88fSEmmanuel Vadot-------------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThis is a first-cut support for the SoC clock controllers. This is still
5*c66ec88fSEmmanuel Vadotunder development and will probably change as the common device tree
6*c66ec88fSEmmanuel Vadotclock support is added to the kernel.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotRequired properties:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot- compatible: "ti,c64x+pll"
11*c66ec88fSEmmanuel Vadot    May also have SoC-specific value to support SoC-specific initialization
12*c66ec88fSEmmanuel Vadot    in the driver. One of:
13*c66ec88fSEmmanuel Vadot        "ti,c6455-pll"
14*c66ec88fSEmmanuel Vadot        "ti,c6457-pll"
15*c66ec88fSEmmanuel Vadot        "ti,c6472-pll"
16*c66ec88fSEmmanuel Vadot        "ti,c6474-pll"
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot- reg: base address and size of register area
19*c66ec88fSEmmanuel Vadot- clock-frequency: input clock frequency in hz
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotOptional properties:
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot- ti,c64x+pll-bypass-delay: CPU cycles to delay when entering bypass mode
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel Vadot- ti,c64x+pll-reset-delay:  CPU cycles to delay after PLL reset
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot- ti,c64x+pll-lock-delay:   CPU cycles to delay after PLL frequency change
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel VadotExample:
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel Vadot	clock-controller@29a0000 {
33*c66ec88fSEmmanuel Vadot		compatible = "ti,c6472-pll", "ti,c64x+pll";
34*c66ec88fSEmmanuel Vadot		reg = <0x029a0000 0x200>;
35*c66ec88fSEmmanuel Vadot		clock-frequency = <25000000>;
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot		ti,c64x+pll-bypass-delay = <200>;
38*c66ec88fSEmmanuel Vadot		ti,c64x+pll-reset-delay = <12000>;
39*c66ec88fSEmmanuel Vadot		ti,c64x+pll-lock-delay = <80000>;
40*c66ec88fSEmmanuel Vadot	};
41