xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,msm8996-apcc.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,msm8996-apcc.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Qualcomm clock controller for MSM8996 CPUs
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Loic Poulain <loic.poulain@linaro.org>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  Qualcomm CPU clock controller for MSM8996 CPUs, clock 0 is for Power cluster
14c66ec88fSEmmanuel Vadot  and clock 1 is for Perf cluster.
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadotproperties:
17c66ec88fSEmmanuel Vadot  compatible:
18c66ec88fSEmmanuel Vadot    enum:
19c66ec88fSEmmanuel Vadot      - qcom,msm8996-apcc
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot  reg:
22c66ec88fSEmmanuel Vadot    maxItems: 1
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  '#clock-cells':
25c66ec88fSEmmanuel Vadot    const: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clocks:
28c66ec88fSEmmanuel Vadot    items:
297ef62cebSEmmanuel Vadot      - description: XO source
30*cb7aa33aSEmmanuel Vadot      - description: SYS APCS AUX clock
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadot  clock-names:
33c66ec88fSEmmanuel Vadot    items:
347ef62cebSEmmanuel Vadot      - const: xo
35*cb7aa33aSEmmanuel Vadot      - const: sys_apcs_aux
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadotrequired:
38c66ec88fSEmmanuel Vadot  - compatible
39c66ec88fSEmmanuel Vadot  - reg
40c66ec88fSEmmanuel Vadot  - '#clock-cells'
417ef62cebSEmmanuel Vadot  - clocks
427ef62cebSEmmanuel Vadot  - clock-names
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel VadotadditionalProperties: false
45c66ec88fSEmmanuel Vadot
46c66ec88fSEmmanuel Vadotexamples:
47c66ec88fSEmmanuel Vadot  - |
48c66ec88fSEmmanuel Vadot    kryocc: clock-controller@6400000 {
49c66ec88fSEmmanuel Vadot        compatible = "qcom,msm8996-apcc";
50c66ec88fSEmmanuel Vadot        reg = <0x6400000 0x90000>;
51c66ec88fSEmmanuel Vadot        #clock-cells = <1>;
527ef62cebSEmmanuel Vadot
53*cb7aa33aSEmmanuel Vadot        clocks = <&xo_board>, <&apcs_glb>;
54*cb7aa33aSEmmanuel Vadot        clock-names = "xo", "sys_apcs_aux";
55c66ec88fSEmmanuel Vadot    };
56