xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,gcc-sm6115.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-sm6115.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM6115 and SM4250
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Iskren Chernev <iskren.chernev@gmail.com>
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
148bab661aSEmmanuel Vadot  domains on SM4250/6115.
15354d7675SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-sm6115.h
17354d7675SEmmanuel Vadot
18354d7675SEmmanuel Vadotproperties:
19354d7675SEmmanuel Vadot  compatible:
20354d7675SEmmanuel Vadot    const: qcom,gcc-sm6115
21354d7675SEmmanuel Vadot
22354d7675SEmmanuel Vadot  clocks:
23354d7675SEmmanuel Vadot    items:
24354d7675SEmmanuel Vadot      - description: Board XO source
25354d7675SEmmanuel Vadot      - description: Sleep clock source
26354d7675SEmmanuel Vadot
27354d7675SEmmanuel Vadot  clock-names:
28354d7675SEmmanuel Vadot    items:
29354d7675SEmmanuel Vadot      - const: bi_tcxo
30354d7675SEmmanuel Vadot      - const: sleep_clk
31354d7675SEmmanuel Vadot
32354d7675SEmmanuel Vadotrequired:
33354d7675SEmmanuel Vadot  - compatible
34354d7675SEmmanuel Vadot  - clocks
35354d7675SEmmanuel Vadot  - clock-names
36*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
37354d7675SEmmanuel Vadot
387ef62cebSEmmanuel VadotallOf:
397ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
407ef62cebSEmmanuel Vadot
417ef62cebSEmmanuel VadotunevaluatedProperties: false
42354d7675SEmmanuel Vadot
43354d7675SEmmanuel Vadotexamples:
44354d7675SEmmanuel Vadot  - |
45354d7675SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmcc.h>
46354d7675SEmmanuel Vadot    clock-controller@1400000 {
47354d7675SEmmanuel Vadot        compatible = "qcom,gcc-sm6115";
48354d7675SEmmanuel Vadot        reg = <0x01400000 0x1f0000>;
49354d7675SEmmanuel Vadot        #clock-cells = <1>;
50354d7675SEmmanuel Vadot        #reset-cells = <1>;
51354d7675SEmmanuel Vadot        #power-domain-cells = <1>;
52354d7675SEmmanuel Vadot        clock-names = "bi_tcxo", "sleep_clk";
53354d7675SEmmanuel Vadot        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
54354d7675SEmmanuel Vadot    };
55354d7675SEmmanuel Vadot...
56