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