1*0fadcdfdSBjorn Andersson# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0fadcdfdSBjorn Andersson%YAML 1.2
3*0fadcdfdSBjorn Andersson---
4*0fadcdfdSBjorn Andersson$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8180x.yaml#
5*0fadcdfdSBjorn Andersson$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0fadcdfdSBjorn Andersson
7*0fadcdfdSBjorn Anderssontitle: Qualcomm Global Clock & Reset Controller Binding for SC8180x
8*0fadcdfdSBjorn Andersson
9*0fadcdfdSBjorn Anderssonmaintainers:
10*0fadcdfdSBjorn Andersson  - Bjorn Andersson <bjorn.andersson@linaro.org>
11*0fadcdfdSBjorn Andersson
12*0fadcdfdSBjorn Anderssondescription: |
13*0fadcdfdSBjorn Andersson  Qualcomm global clock control module which supports the clocks, resets and
14*0fadcdfdSBjorn Andersson  power domains on SC8180x.
15*0fadcdfdSBjorn Andersson
16*0fadcdfdSBjorn Andersson  See also:
17*0fadcdfdSBjorn Andersson  - dt-bindings/clock/qcom,gcc-sc8180x.h
18*0fadcdfdSBjorn Andersson
19*0fadcdfdSBjorn Anderssonproperties:
20*0fadcdfdSBjorn Andersson  compatible:
21*0fadcdfdSBjorn Andersson    const: qcom,gcc-sc8180x
22*0fadcdfdSBjorn Andersson
23*0fadcdfdSBjorn Andersson  clocks:
24*0fadcdfdSBjorn Andersson    items:
25*0fadcdfdSBjorn Andersson      - description: Board XO source
26*0fadcdfdSBjorn Andersson      - description: Board active XO source
27*0fadcdfdSBjorn Andersson      - description: Sleep clock source
28*0fadcdfdSBjorn Andersson
29*0fadcdfdSBjorn Andersson  clock-names:
30*0fadcdfdSBjorn Andersson    items:
31*0fadcdfdSBjorn Andersson      - const: bi_tcxo
32*0fadcdfdSBjorn Andersson      - const: bi_tcxo_ao
33*0fadcdfdSBjorn Andersson      - const: sleep_clk
34*0fadcdfdSBjorn Andersson
35*0fadcdfdSBjorn Andersson  '#clock-cells':
36*0fadcdfdSBjorn Andersson    const: 1
37*0fadcdfdSBjorn Andersson
38*0fadcdfdSBjorn Andersson  '#reset-cells':
39*0fadcdfdSBjorn Andersson    const: 1
40*0fadcdfdSBjorn Andersson
41*0fadcdfdSBjorn Andersson  '#power-domain-cells':
42*0fadcdfdSBjorn Andersson    const: 1
43*0fadcdfdSBjorn Andersson
44*0fadcdfdSBjorn Andersson  reg:
45*0fadcdfdSBjorn Andersson    maxItems: 1
46*0fadcdfdSBjorn Andersson
47*0fadcdfdSBjorn Andersson  protected-clocks:
48*0fadcdfdSBjorn Andersson    description:
49*0fadcdfdSBjorn Andersson      Protected clock specifier list as per common clock binding.
50*0fadcdfdSBjorn Andersson
51*0fadcdfdSBjorn Anderssonrequired:
52*0fadcdfdSBjorn Andersson  - compatible
53*0fadcdfdSBjorn Andersson  - clocks
54*0fadcdfdSBjorn Andersson  - clock-names
55*0fadcdfdSBjorn Andersson  - reg
56*0fadcdfdSBjorn Andersson  - '#clock-cells'
57*0fadcdfdSBjorn Andersson  - '#reset-cells'
58*0fadcdfdSBjorn Andersson  - '#power-domain-cells'
59*0fadcdfdSBjorn Andersson
60*0fadcdfdSBjorn AnderssonadditionalProperties: false
61*0fadcdfdSBjorn Andersson
62*0fadcdfdSBjorn Anderssonexamples:
63*0fadcdfdSBjorn Andersson  - |
64*0fadcdfdSBjorn Andersson    #include <dt-bindings/clock/qcom,rpmh.h>
65*0fadcdfdSBjorn Andersson    clock-controller@100000 {
66*0fadcdfdSBjorn Andersson      compatible = "qcom,gcc-sc8180x";
67*0fadcdfdSBjorn Andersson      reg = <0x00100000 0x1f0000>;
68*0fadcdfdSBjorn Andersson      clocks = <&rpmhcc RPMH_CXO_CLK>,
69*0fadcdfdSBjorn Andersson               <&rpmhcc RPMH_CXO_CLK_A>,
70*0fadcdfdSBjorn Andersson               <&sleep_clk>;
71*0fadcdfdSBjorn Andersson      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
72*0fadcdfdSBjorn Andersson      #clock-cells = <1>;
73*0fadcdfdSBjorn Andersson      #reset-cells = <1>;
74*0fadcdfdSBjorn Andersson      #power-domain-cells = <1>;
75*0fadcdfdSBjorn Andersson    };
76*0fadcdfdSBjorn Andersson...
77