xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,gcc-sm6350.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-sm6350.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM6350
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Konrad Dybcio <konradybcio@kernel.org>
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
148bab661aSEmmanuel Vadot  domains on SM6350.
15354d7675SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-sm6350.h
17354d7675SEmmanuel Vadot
18354d7675SEmmanuel Vadotproperties:
19354d7675SEmmanuel Vadot  compatible:
20354d7675SEmmanuel Vadot    const: qcom,gcc-sm6350
21354d7675SEmmanuel Vadot
22354d7675SEmmanuel Vadot  clocks:
23354d7675SEmmanuel Vadot    items:
24354d7675SEmmanuel Vadot      - description: Board XO source
25354d7675SEmmanuel Vadot      - description: Board active XO source
26354d7675SEmmanuel Vadot      - description: Sleep clock source
27354d7675SEmmanuel Vadot
28354d7675SEmmanuel Vadot  clock-names:
29354d7675SEmmanuel Vadot    items:
30354d7675SEmmanuel Vadot      - const: bi_tcxo
31354d7675SEmmanuel Vadot      - const: bi_tcxo_ao
32354d7675SEmmanuel Vadot      - const: sleep_clk
33354d7675SEmmanuel Vadot
34354d7675SEmmanuel Vadotrequired:
35354d7675SEmmanuel Vadot  - compatible
36354d7675SEmmanuel Vadot  - clocks
37354d7675SEmmanuel Vadot  - clock-names
38*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
39354d7675SEmmanuel Vadot
407ef62cebSEmmanuel VadotallOf:
417ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
427ef62cebSEmmanuel Vadot
437ef62cebSEmmanuel VadotunevaluatedProperties: false
44354d7675SEmmanuel Vadot
45354d7675SEmmanuel Vadotexamples:
46354d7675SEmmanuel Vadot  - |
47354d7675SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
48354d7675SEmmanuel Vadot    clock-controller@100000 {
49354d7675SEmmanuel Vadot      compatible = "qcom,gcc-sm6350";
50354d7675SEmmanuel Vadot      reg = <0x00100000 0x1f0000>;
51354d7675SEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
52354d7675SEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
53354d7675SEmmanuel Vadot               <&sleep_clk>;
54354d7675SEmmanuel Vadot      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
55354d7675SEmmanuel Vadot      #clock-cells = <1>;
56354d7675SEmmanuel Vadot      #reset-cells = <1>;
57354d7675SEmmanuel Vadot      #power-domain-cells = <1>;
58354d7675SEmmanuel Vadot    };
59354d7675SEmmanuel Vadot...
60