xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8996.yaml (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only
2*c66ec88fSEmmanuel Vadot%YAML 1.2
3*c66ec88fSEmmanuel Vadot---
4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8996.yaml#
5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller Binding for MSM8996
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadotmaintainers:
10*c66ec88fSEmmanuel Vadot  - Stephen Boyd <sboyd@kernel.org>
11*c66ec88fSEmmanuel Vadot  - Taniya Das <tdas@codeaurora.org>
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadotdescription: |
14*c66ec88fSEmmanuel Vadot  Qualcomm global clock control module which supports the clocks, resets and
15*c66ec88fSEmmanuel Vadot  power domains on MSM8996.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot  See also:
18*c66ec88fSEmmanuel Vadot  - dt-bindings/clock/qcom,gcc-msm8996.h
19*c66ec88fSEmmanuel Vadot
20*c66ec88fSEmmanuel Vadotproperties:
21*c66ec88fSEmmanuel Vadot  compatible:
22*c66ec88fSEmmanuel Vadot    const: qcom,gcc-msm8996
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot  clocks:
25*c66ec88fSEmmanuel Vadot    items:
26*c66ec88fSEmmanuel Vadot      - description: XO source
27*c66ec88fSEmmanuel Vadot      - description: Second XO source
28*c66ec88fSEmmanuel Vadot      - description: Sleep clock source
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot  clock-names:
31*c66ec88fSEmmanuel Vadot    items:
32*c66ec88fSEmmanuel Vadot      - const: cxo
33*c66ec88fSEmmanuel Vadot      - const: cxo2
34*c66ec88fSEmmanuel Vadot      - const: sleep_clk
35*c66ec88fSEmmanuel Vadot
36*c66ec88fSEmmanuel Vadot  '#clock-cells':
37*c66ec88fSEmmanuel Vadot    const: 1
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot  '#reset-cells':
40*c66ec88fSEmmanuel Vadot    const: 1
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot  '#power-domain-cells':
43*c66ec88fSEmmanuel Vadot    const: 1
44*c66ec88fSEmmanuel Vadot
45*c66ec88fSEmmanuel Vadot  reg:
46*c66ec88fSEmmanuel Vadot    maxItems: 1
47*c66ec88fSEmmanuel Vadot
48*c66ec88fSEmmanuel Vadot  protected-clocks:
49*c66ec88fSEmmanuel Vadot    description:
50*c66ec88fSEmmanuel Vadot      Protected clock specifier list as per common clock binding.
51*c66ec88fSEmmanuel Vadot
52*c66ec88fSEmmanuel Vadotrequired:
53*c66ec88fSEmmanuel Vadot  - compatible
54*c66ec88fSEmmanuel Vadot  - reg
55*c66ec88fSEmmanuel Vadot  - '#clock-cells'
56*c66ec88fSEmmanuel Vadot  - '#reset-cells'
57*c66ec88fSEmmanuel Vadot  - '#power-domain-cells'
58*c66ec88fSEmmanuel Vadot
59*c66ec88fSEmmanuel VadotadditionalProperties: false
60*c66ec88fSEmmanuel Vadot
61*c66ec88fSEmmanuel Vadotexamples:
62*c66ec88fSEmmanuel Vadot  - |
63*c66ec88fSEmmanuel Vadot    clock-controller@300000 {
64*c66ec88fSEmmanuel Vadot      compatible = "qcom,gcc-msm8996";
65*c66ec88fSEmmanuel Vadot      #clock-cells = <1>;
66*c66ec88fSEmmanuel Vadot      #reset-cells = <1>;
67*c66ec88fSEmmanuel Vadot      #power-domain-cells = <1>;
68*c66ec88fSEmmanuel Vadot      reg = <0x300000 0x90000>;
69*c66ec88fSEmmanuel Vadot    };
70*c66ec88fSEmmanuel Vadot...
71