xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,hfpll.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*7d0873ebSEmmanuel Vadot%YAML 1.2
3*7d0873ebSEmmanuel Vadot---
4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,hfpll.yaml#
5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7d0873ebSEmmanuel Vadot
7*7d0873ebSEmmanuel Vadottitle: Qualcomm High-Frequency PLL
8*7d0873ebSEmmanuel Vadot
9*7d0873ebSEmmanuel Vadotmaintainers:
10*7d0873ebSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11*7d0873ebSEmmanuel Vadot
12*7d0873ebSEmmanuel Vadotdescription:
13*7d0873ebSEmmanuel Vadot  The HFPLL is used as CPU PLL on various Qualcomm SoCs.
14*7d0873ebSEmmanuel Vadot
15*7d0873ebSEmmanuel Vadotproperties:
16*7d0873ebSEmmanuel Vadot  compatible:
17*7d0873ebSEmmanuel Vadot    oneOf:
18*7d0873ebSEmmanuel Vadot      - enum:
19*7d0873ebSEmmanuel Vadot          - qcom,msm8974-hfpll
20*7d0873ebSEmmanuel Vadot          - qcom,msm8976-hfpll-a53
21*7d0873ebSEmmanuel Vadot          - qcom,msm8976-hfpll-a72
22*7d0873ebSEmmanuel Vadot          - qcom,msm8976-hfpll-cci
23*7d0873ebSEmmanuel Vadot          - qcom,qcs404-hfpll
24*7d0873ebSEmmanuel Vadot      - const: qcom,hfpll
25*7d0873ebSEmmanuel Vadot        deprecated: true
26*7d0873ebSEmmanuel Vadot
27*7d0873ebSEmmanuel Vadot  reg:
28*7d0873ebSEmmanuel Vadot    items:
29*7d0873ebSEmmanuel Vadot      - description: HFPLL registers
30*7d0873ebSEmmanuel Vadot      - description: Alias register region
31*7d0873ebSEmmanuel Vadot    minItems: 1
32*7d0873ebSEmmanuel Vadot
33*7d0873ebSEmmanuel Vadot  '#clock-cells':
34*7d0873ebSEmmanuel Vadot    const: 0
35*7d0873ebSEmmanuel Vadot
36*7d0873ebSEmmanuel Vadot  clocks:
37*7d0873ebSEmmanuel Vadot    items:
38*7d0873ebSEmmanuel Vadot      - description: board XO clock
39*7d0873ebSEmmanuel Vadot
40*7d0873ebSEmmanuel Vadot  clock-names:
41*7d0873ebSEmmanuel Vadot    items:
42*7d0873ebSEmmanuel Vadot      - const: xo
43*7d0873ebSEmmanuel Vadot
44*7d0873ebSEmmanuel Vadot  clock-output-names:
45*7d0873ebSEmmanuel Vadot    description:
46*7d0873ebSEmmanuel Vadot      Name of the PLL. Typically hfpllX where X is a CPU number starting at 0.
47*7d0873ebSEmmanuel Vadot      Otherwise hfpll_Y where Y is more specific such as "l2".
48*7d0873ebSEmmanuel Vadot    maxItems: 1
49*7d0873ebSEmmanuel Vadot
50*7d0873ebSEmmanuel Vadotrequired:
51*7d0873ebSEmmanuel Vadot  - compatible
52*7d0873ebSEmmanuel Vadot  - reg
53*7d0873ebSEmmanuel Vadot  - '#clock-cells'
54*7d0873ebSEmmanuel Vadot  - clocks
55*7d0873ebSEmmanuel Vadot  - clock-names
56*7d0873ebSEmmanuel Vadot  - clock-output-names
57*7d0873ebSEmmanuel Vadot
58*7d0873ebSEmmanuel VadotadditionalProperties: false
59*7d0873ebSEmmanuel Vadot
60*7d0873ebSEmmanuel Vadotexamples:
61*7d0873ebSEmmanuel Vadot  - |
62*7d0873ebSEmmanuel Vadot    clock-controller@f908a000 {
63*7d0873ebSEmmanuel Vadot        compatible = "qcom,msm8974-hfpll";
64*7d0873ebSEmmanuel Vadot        reg = <0xf908a000 0x30>, <0xf900a000 0x30>;
65*7d0873ebSEmmanuel Vadot        #clock-cells = <0>;
66*7d0873ebSEmmanuel Vadot        clock-output-names = "hfpll0";
67*7d0873ebSEmmanuel Vadot        clocks = <&xo_board>;
68*7d0873ebSEmmanuel Vadot        clock-names = "xo";
69*7d0873ebSEmmanuel Vadot    };
70