xref: /openbmc/linux/Documentation/devicetree/bindings/clock/qcom,msm8996-apcc.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
12283f9e0SIlia Lin# SPDX-License-Identifier: GPL-2.0-only
22283f9e0SIlia Lin%YAML 1.2
32283f9e0SIlia Lin---
4ba937f51SLoic Poulain$id: http://devicetree.org/schemas/clock/qcom,msm8996-apcc.yaml#
52283f9e0SIlia Lin$schema: http://devicetree.org/meta-schemas/core.yaml#
62283f9e0SIlia Lin
72283f9e0SIlia Lintitle: Qualcomm clock controller for MSM8996 CPUs
82283f9e0SIlia Lin
92283f9e0SIlia Linmaintainers:
102283f9e0SIlia Lin  - Loic Poulain <loic.poulain@linaro.org>
112283f9e0SIlia Lin
122283f9e0SIlia Lindescription: |
132283f9e0SIlia Lin  Qualcomm CPU clock controller for MSM8996 CPUs, clock 0 is for Power cluster
142283f9e0SIlia Lin  and clock 1 is for Perf cluster.
152283f9e0SIlia Lin
162283f9e0SIlia Linproperties:
172283f9e0SIlia Lin  compatible:
182283f9e0SIlia Lin    enum:
192283f9e0SIlia Lin      - qcom,msm8996-apcc
202283f9e0SIlia Lin
212283f9e0SIlia Lin  reg:
222283f9e0SIlia Lin    maxItems: 1
232283f9e0SIlia Lin
242283f9e0SIlia Lin  '#clock-cells':
252283f9e0SIlia Lin    const: 1
262283f9e0SIlia Lin
272283f9e0SIlia Lin  clocks:
282283f9e0SIlia Lin    items:
29b4feed4aSYassine Oudjana      - description: XO source
30*33d0f394SDmitry Baryshkov      - description: SYS APCS AUX clock
312283f9e0SIlia Lin
322283f9e0SIlia Lin  clock-names:
332283f9e0SIlia Lin    items:
34b4feed4aSYassine Oudjana      - const: xo
35*33d0f394SDmitry Baryshkov      - const: sys_apcs_aux
362283f9e0SIlia Lin
372283f9e0SIlia Linrequired:
382283f9e0SIlia Lin  - compatible
392283f9e0SIlia Lin  - reg
402283f9e0SIlia Lin  - '#clock-cells'
41b4feed4aSYassine Oudjana  - clocks
42b4feed4aSYassine Oudjana  - clock-names
432283f9e0SIlia Lin
442283f9e0SIlia LinadditionalProperties: false
452283f9e0SIlia Lin
462283f9e0SIlia Linexamples:
472283f9e0SIlia Lin  - |
482283f9e0SIlia Lin    kryocc: clock-controller@6400000 {
492283f9e0SIlia Lin        compatible = "qcom,msm8996-apcc";
502283f9e0SIlia Lin        reg = <0x6400000 0x90000>;
512283f9e0SIlia Lin        #clock-cells = <1>;
52b4feed4aSYassine Oudjana
53*33d0f394SDmitry Baryshkov        clocks = <&xo_board>, <&apcs_glb>;
54*33d0f394SDmitry Baryshkov        clock-names = "xo", "sys_apcs_aux";
552283f9e0SIlia Lin    };
56