111fa5f83SMartin Botka# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
211fa5f83SMartin Botka%YAML 1.2
311fa5f83SMartin Botka---
411fa5f83SMartin Botka$id: http://devicetree.org/schemas/clock/qcom,gcc-sm6125.yaml#
511fa5f83SMartin Botka$schema: http://devicetree.org/meta-schemas/core.yaml#
611fa5f83SMartin Botka
7*ece3c319SKrzysztof Kozlowskititle: Qualcomm Global Clock & Reset Controller on SM6125
811fa5f83SMartin Botka
911fa5f83SMartin Botkamaintainers:
1011fa5f83SMartin Botka  - Konrad Dybcio <konrad.dybcio@somainline.org>
1111fa5f83SMartin Botka
1211fa5f83SMartin Botkadescription: |
13*ece3c319SKrzysztof Kozlowski  Qualcomm global clock control module provides the clocks, resets and power
14*ece3c319SKrzysztof Kozlowski  domains on SM6125.
1511fa5f83SMartin Botka
16*ece3c319SKrzysztof Kozlowski  See also:: include/dt-bindings/clock/qcom,gcc-sm6125.h
1711fa5f83SMartin Botka
1811fa5f83SMartin Botkaproperties:
1911fa5f83SMartin Botka  compatible:
2011fa5f83SMartin Botka    const: qcom,gcc-sm6125
2111fa5f83SMartin Botka
2211fa5f83SMartin Botka  clocks:
2311fa5f83SMartin Botka    items:
2411fa5f83SMartin Botka      - description: Board XO source
2511fa5f83SMartin Botka      - description: Sleep clock source
2611fa5f83SMartin Botka
2711fa5f83SMartin Botka  clock-names:
2811fa5f83SMartin Botka    items:
2911fa5f83SMartin Botka      - const: bi_tcxo
3011fa5f83SMartin Botka      - const: sleep_clk
3111fa5f83SMartin Botka
3211fa5f83SMartin Botkarequired:
3311fa5f83SMartin Botka  - compatible
3411fa5f83SMartin Botka  - clocks
3511fa5f83SMartin Botka  - clock-names
3611fa5f83SMartin Botka
370f71ae94SDmitry BaryshkovallOf:
380f71ae94SDmitry Baryshkov  - $ref: qcom,gcc.yaml#
390f71ae94SDmitry Baryshkov
400f71ae94SDmitry BaryshkovunevaluatedProperties: false
4111fa5f83SMartin Botka
4211fa5f83SMartin Botkaexamples:
4311fa5f83SMartin Botka  - |
4411fa5f83SMartin Botka    #include <dt-bindings/clock/qcom,rpmcc.h>
4511fa5f83SMartin Botka    clock-controller@1400000 {
4611fa5f83SMartin Botka        compatible = "qcom,gcc-sm6125";
4711fa5f83SMartin Botka        reg = <0x01400000 0x1f0000>;
4811fa5f83SMartin Botka        #clock-cells = <1>;
4911fa5f83SMartin Botka        #reset-cells = <1>;
5011fa5f83SMartin Botka        #power-domain-cells = <1>;
5111fa5f83SMartin Botka        clock-names = "bi_tcxo", "sleep_clk";
5211fa5f83SMartin Botka        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
5311fa5f83SMartin Botka    };
5411fa5f83SMartin Botka...
55