xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-qcm2290.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-qcm2290.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on QCM2290
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Shawn Guo <shawn.guo@linaro.org>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
148bab661aSEmmanuel Vadot  domains on QCM2290.
158cc087a1SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-qcm2290.h
178cc087a1SEmmanuel Vadot
188cc087a1SEmmanuel Vadotproperties:
198cc087a1SEmmanuel Vadot  compatible:
208cc087a1SEmmanuel Vadot    const: qcom,gcc-qcm2290
218cc087a1SEmmanuel Vadot
228cc087a1SEmmanuel Vadot  clocks:
238cc087a1SEmmanuel Vadot    items:
248cc087a1SEmmanuel Vadot      - description: Board XO source
258cc087a1SEmmanuel Vadot      - description: Sleep clock source
268cc087a1SEmmanuel Vadot
278cc087a1SEmmanuel Vadot  clock-names:
288cc087a1SEmmanuel Vadot    items:
298cc087a1SEmmanuel Vadot      - const: bi_tcxo
308cc087a1SEmmanuel Vadot      - const: sleep_clk
318cc087a1SEmmanuel Vadot
328cc087a1SEmmanuel Vadotrequired:
338cc087a1SEmmanuel Vadot  - compatible
348cc087a1SEmmanuel Vadot  - clocks
358cc087a1SEmmanuel Vadot  - clock-names
36*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
378cc087a1SEmmanuel Vadot
387ef62cebSEmmanuel VadotallOf:
397ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
407ef62cebSEmmanuel Vadot
417ef62cebSEmmanuel VadotunevaluatedProperties: false
428cc087a1SEmmanuel Vadot
438cc087a1SEmmanuel Vadotexamples:
448cc087a1SEmmanuel Vadot  - |
458cc087a1SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmcc.h>
468cc087a1SEmmanuel Vadot    clock-controller@1400000 {
478cc087a1SEmmanuel Vadot        compatible = "qcom,gcc-qcm2290";
488cc087a1SEmmanuel Vadot        reg = <0x01400000 0x1f0000>;
498cc087a1SEmmanuel Vadot        #clock-cells = <1>;
508cc087a1SEmmanuel Vadot        #reset-cells = <1>;
518cc087a1SEmmanuel Vadot        #power-domain-cells = <1>;
528cc087a1SEmmanuel Vadot        clock-names = "bi_tcxo", "sleep_clk";
538cc087a1SEmmanuel Vadot        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
548cc087a1SEmmanuel Vadot    };
558cc087a1SEmmanuel Vadot...
56