xref: /freebsd/sys/contrib/device-tree/Bindings/arm/msm/qcom,kpss-acc.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotKrait Processor Sub-system (KPSS) Application Clock Controller (ACC)
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe KPSS ACC provides clock, power domain, and reset control to a Krait CPU.
4*c66ec88fSEmmanuel VadotThere is one ACC register region per CPU within the KPSS remapped region as
5*c66ec88fSEmmanuel Vadotwell as an alias register region that remaps accesses to the ACC associated
6*c66ec88fSEmmanuel Vadotwith the CPU accessing the region.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotPROPERTIES
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot- compatible:
11*c66ec88fSEmmanuel Vadot	Usage: required
12*c66ec88fSEmmanuel Vadot	Value type: <string>
13*c66ec88fSEmmanuel Vadot	Definition: should be one of:
14*c66ec88fSEmmanuel Vadot			"qcom,kpss-acc-v1"
15*c66ec88fSEmmanuel Vadot			"qcom,kpss-acc-v2"
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot- reg:
18*c66ec88fSEmmanuel Vadot	Usage: required
19*c66ec88fSEmmanuel Vadot	Value type: <prop-encoded-array>
20*c66ec88fSEmmanuel Vadot	Definition: the first element specifies the base address and size of
21*c66ec88fSEmmanuel Vadot		    the register region. An optional second element specifies
22*c66ec88fSEmmanuel Vadot		    the base address and size of the alias register region.
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot- clocks:
25*c66ec88fSEmmanuel Vadot        Usage: required
26*c66ec88fSEmmanuel Vadot        Value type: <prop-encoded-array>
27*c66ec88fSEmmanuel Vadot        Definition: reference to the pll parents.
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot- clock-names:
30*c66ec88fSEmmanuel Vadot        Usage: required
31*c66ec88fSEmmanuel Vadot        Value type: <stringlist>
32*c66ec88fSEmmanuel Vadot        Definition: must be "pll8_vote", "pxo".
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot- clock-output-names:
35*c66ec88fSEmmanuel Vadot	Usage: optional
36*c66ec88fSEmmanuel Vadot	Value type: <string>
37*c66ec88fSEmmanuel Vadot	Definition: Name of the output clock. Typically acpuX_aux where X is a
38*c66ec88fSEmmanuel Vadot		    CPU number starting at 0.
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel VadotExample:
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot	clock-controller@2088000 {
43*c66ec88fSEmmanuel Vadot		compatible = "qcom,kpss-acc-v2";
44*c66ec88fSEmmanuel Vadot		reg = <0x02088000 0x1000>,
45*c66ec88fSEmmanuel Vadot		      <0x02008000 0x1000>;
46*c66ec88fSEmmanuel Vadot		clocks = <&gcc PLL8_VOTE>, <&gcc PXO_SRC>;
47*c66ec88fSEmmanuel Vadot		clock-names = "pll8_vote", "pxo";
48*c66ec88fSEmmanuel Vadot		clock-output-names = "acpu0_aux";
49*c66ec88fSEmmanuel Vadot	};
50