xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,sm6375-gcc.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
27ef62cebSEmmanuel Vadot%YAML 1.2
37ef62cebSEmmanuel Vadot---
47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm6375-gcc.yaml#
57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
67ef62cebSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM6375
87ef62cebSEmmanuel Vadot
97ef62cebSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Konrad Dybcio <konradybcio@kernel.org>
117ef62cebSEmmanuel Vadot
127ef62cebSEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
148bab661aSEmmanuel Vadot  domains on SM6375
157ef62cebSEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,sm6375-gcc.h
177ef62cebSEmmanuel Vadot
187ef62cebSEmmanuel VadotallOf:
197ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
207ef62cebSEmmanuel Vadot
217ef62cebSEmmanuel Vadotproperties:
227ef62cebSEmmanuel Vadot  compatible:
237ef62cebSEmmanuel Vadot    const: qcom,sm6375-gcc
247ef62cebSEmmanuel Vadot
257ef62cebSEmmanuel Vadot  clocks:
267ef62cebSEmmanuel Vadot    items:
277ef62cebSEmmanuel Vadot      - description: Board XO source
287ef62cebSEmmanuel Vadot      - description: Board XO Active-Only source
297ef62cebSEmmanuel Vadot      - description: Sleep clock source
307ef62cebSEmmanuel Vadot
317ef62cebSEmmanuel Vadotrequired:
327ef62cebSEmmanuel Vadot  - compatible
337ef62cebSEmmanuel Vadot  - clocks
34*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
357ef62cebSEmmanuel Vadot
367ef62cebSEmmanuel VadotunevaluatedProperties: false
377ef62cebSEmmanuel Vadot
387ef62cebSEmmanuel Vadotexamples:
397ef62cebSEmmanuel Vadot  - |
407ef62cebSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmcc.h>
417ef62cebSEmmanuel Vadot    clock-controller@1400000 {
427ef62cebSEmmanuel Vadot      compatible = "qcom,sm6375-gcc";
437ef62cebSEmmanuel Vadot      reg = <0x01400000 0x1f0000>;
447ef62cebSEmmanuel Vadot      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
457ef62cebSEmmanuel Vadot               <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
467ef62cebSEmmanuel Vadot               <&sleep_clk>;
477ef62cebSEmmanuel Vadot      #clock-cells = <1>;
487ef62cebSEmmanuel Vadot      #reset-cells = <1>;
497ef62cebSEmmanuel Vadot      #power-domain-cells = <1>;
507ef62cebSEmmanuel Vadot    };
517ef62cebSEmmanuel Vadot
527ef62cebSEmmanuel Vadot...
53