xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,qcs615-gcc.yaml (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*2846c905SEmmanuel Vadot%YAML 1.2
3*2846c905SEmmanuel Vadot---
4*2846c905SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,qcs615-gcc.yaml#
5*2846c905SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*2846c905SEmmanuel Vadot
7*2846c905SEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on QCS615
8*2846c905SEmmanuel Vadot
9*2846c905SEmmanuel Vadotmaintainers:
10*2846c905SEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
11*2846c905SEmmanuel Vadot
12*2846c905SEmmanuel Vadotdescription: |
13*2846c905SEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
14*2846c905SEmmanuel Vadot  domains on QCS615.
15*2846c905SEmmanuel Vadot
16*2846c905SEmmanuel Vadot  See also: include/dt-bindings/clock/qcom,qcs615-gcc.h
17*2846c905SEmmanuel Vadot
18*2846c905SEmmanuel Vadotproperties:
19*2846c905SEmmanuel Vadot  compatible:
20*2846c905SEmmanuel Vadot    const: qcom,qcs615-gcc
21*2846c905SEmmanuel Vadot
22*2846c905SEmmanuel Vadot  clocks:
23*2846c905SEmmanuel Vadot    items:
24*2846c905SEmmanuel Vadot      - description: Board XO source
25*2846c905SEmmanuel Vadot      - description: Board active XO source
26*2846c905SEmmanuel Vadot      - description: Sleep clock source
27*2846c905SEmmanuel Vadot
28*2846c905SEmmanuel Vadot  clock-names:
29*2846c905SEmmanuel Vadot    items:
30*2846c905SEmmanuel Vadot      - const: bi_tcxo
31*2846c905SEmmanuel Vadot      - const: bi_tcxo_ao
32*2846c905SEmmanuel Vadot      - const: sleep_clk
33*2846c905SEmmanuel Vadot
34*2846c905SEmmanuel Vadotrequired:
35*2846c905SEmmanuel Vadot  - compatible
36*2846c905SEmmanuel Vadot  - clocks
37*2846c905SEmmanuel Vadot  - clock-names
38*2846c905SEmmanuel Vadot  - '#power-domain-cells'
39*2846c905SEmmanuel Vadot
40*2846c905SEmmanuel VadotallOf:
41*2846c905SEmmanuel Vadot  - $ref: qcom,gcc.yaml#
42*2846c905SEmmanuel Vadot
43*2846c905SEmmanuel VadotunevaluatedProperties: false
44*2846c905SEmmanuel Vadot
45*2846c905SEmmanuel Vadotexamples:
46*2846c905SEmmanuel Vadot  - |
47*2846c905SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
48*2846c905SEmmanuel Vadot    clock-controller@100000 {
49*2846c905SEmmanuel Vadot      compatible = "qcom,qcs615-gcc";
50*2846c905SEmmanuel Vadot      reg = <0x00100000 0x1f0000>;
51*2846c905SEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
52*2846c905SEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
53*2846c905SEmmanuel Vadot               <&sleep_clk>;
54*2846c905SEmmanuel Vadot      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
55*2846c905SEmmanuel Vadot      #clock-cells = <1>;
56*2846c905SEmmanuel Vadot      #reset-cells = <1>;
57*2846c905SEmmanuel Vadot      #power-domain-cells = <1>;
58*2846c905SEmmanuel Vadot    };
59*2846c905SEmmanuel Vadot...
60