xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8660.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1# SPDX-License-Identifier: GPL-2.0-only
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8660.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller on MSM8660
8
9maintainers:
10  - Stephen Boyd <sboyd@kernel.org>
11  - Taniya Das <quic_tdas@quicinc.com>
12
13description: |
14  Qualcomm global clock control module provides the clocks and resets on
15  MSM8660
16
17  See also::
18    include/dt-bindings/clock/qcom,gcc-msm8660.h
19    include/dt-bindings/reset/qcom,gcc-msm8660.h
20
21allOf:
22  - $ref: qcom,gcc.yaml#
23
24properties:
25  compatible:
26    enum:
27      - qcom,gcc-msm8660
28
29  clocks:
30    maxItems: 2
31
32  clock-names:
33    items:
34      - const: pxo
35      - const: cxo
36
37required:
38  - compatible
39
40unevaluatedProperties: false
41
42examples:
43  # Example for GCC for MSM8974:
44  - |
45    clock-controller@900000 {
46      compatible = "qcom,gcc-msm8660";
47      reg = <0x900000 0x4000>;
48      #clock-cells = <1>;
49      #reset-cells = <1>;
50      #power-domain-cells = <1>;
51      clocks = <&pxo_board>, <&cxo_board>;
52      clock-names = "pxo", "cxo";
53    };
54...
55