xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm6375-gcc.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sm6375-gcc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Global Clock & Reset Controller Binding for SM6375
8
9maintainers:
10  - Konrad Dybcio <konrad.dybcio@somainline.org>
11
12description: |
13  Qualcomm global clock control module which supports the clocks, resets and
14  power domains on SM6375
15
16  See also:
17  - dt-bindings/clock/qcom,sm6375-gcc.h
18
19allOf:
20  - $ref: qcom,gcc.yaml#
21
22properties:
23  compatible:
24    const: qcom,sm6375-gcc
25
26  clocks:
27    items:
28      - description: Board XO source
29      - description: Board XO Active-Only source
30      - description: Sleep clock source
31
32required:
33  - compatible
34  - clocks
35
36unevaluatedProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/clock/qcom,rpmcc.h>
41    clock-controller@1400000 {
42      compatible = "qcom,sm6375-gcc";
43      reg = <0x01400000 0x1f0000>;
44      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
45               <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
46               <&sleep_clk>;
47      #clock-cells = <1>;
48      #reset-cells = <1>;
49      #power-domain-cells = <1>;
50    };
51
52...
53