xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qca,ath79-pll.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBinding for Qualcomm Atheros AR7xxx/AR9XXX PLL controller
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe PPL controller provides the 3 main clocks of the SoC: CPU, DDR and AHB.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired Properties:
6*c66ec88fSEmmanuel Vadot- compatible: has to be "qca,<soctype>-pll" and one of the following
7*c66ec88fSEmmanuel Vadot  fallbacks:
8*c66ec88fSEmmanuel Vadot  - "qca,ar7100-pll"
9*c66ec88fSEmmanuel Vadot  - "qca,ar7240-pll"
10*c66ec88fSEmmanuel Vadot  - "qca,ar9130-pll"
11*c66ec88fSEmmanuel Vadot  - "qca,ar9330-pll"
12*c66ec88fSEmmanuel Vadot  - "qca,ar9340-pll"
13*c66ec88fSEmmanuel Vadot  - "qca,qca9550-pll"
14*c66ec88fSEmmanuel Vadot- reg: Base address and size of the controllers memory area
15*c66ec88fSEmmanuel Vadot- clock-names: Name of the input clock, has to be "ref"
16*c66ec88fSEmmanuel Vadot- clocks: phandle of the external reference clock
17*c66ec88fSEmmanuel Vadot- #clock-cells: has to be one
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotOptional properties:
20*c66ec88fSEmmanuel Vadot- clock-output-names: should be "cpu", "ddr", "ahb"
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotExample:
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot	pll-controller@18050000 {
25*c66ec88fSEmmanuel Vadot		compatible = "qca,ar9132-pll", "qca,ar9130-pll";
26*c66ec88fSEmmanuel Vadot		reg = <0x18050000 0x20>;
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot		clock-names = "ref";
29*c66ec88fSEmmanuel Vadot		clocks = <&extosc>;
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot		#clock-cells = <1>;
32*c66ec88fSEmmanuel Vadot		clock-output-names = "cpu", "ddr", "ahb";
33*c66ec88fSEmmanuel Vadot	};
34