]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/clock/qcom,gcc-sm6125.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / clock / qcom,gcc-sm6125.yaml
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,gcc-sm6125.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Qualcomm Global Clock & Reset Controller on SM6125
8
9 maintainers:
10 - Konrad Dybcio <konrad.dybcio@somainline.org>
11
12 description: |
13 Qualcomm global clock control module provides the clocks, resets and power
14 domains on SM6125.
15
16 See also:: include/dt-bindings/clock/qcom,gcc-sm6125.h
17
18 properties:
19 compatible:
20 const: qcom,gcc-sm6125
21
22 clocks:
23 items:
24 - description: Board XO source
25 - description: Sleep clock source
26
27 clock-names:
28 items:
29 - const: bi_tcxo
30 - const: sleep_clk
31
32 required:
33 - compatible
34 - clocks
35 - clock-names
36
37 allOf:
38 - $ref: qcom,gcc.yaml#
39
40 unevaluatedProperties: false
41
42 examples:
43 - |
44 #include <dt-bindings/clock/qcom,rpmcc.h>
45 clock-controller@1400000 {
46 compatible = "qcom,gcc-sm6125";
47 reg = <0x01400000 0x1f0000>;
48 #clock-cells = <1>;
49 #reset-cells = <1>;
50 #power-domain-cells = <1>;
51 clock-names = "bi_tcxo", "sleep_clk";
52 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
53 };
54 ...