xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm6375-gcc.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
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
7*8bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM6375
87ef62cebSEmmanuel Vadot
97ef62cebSEmmanuel Vadotmaintainers:
107ef62cebSEmmanuel Vadot  - Konrad Dybcio <konrad.dybcio@somainline.org>
117ef62cebSEmmanuel Vadot
127ef62cebSEmmanuel Vadotdescription: |
13*8bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
14*8bab661aSEmmanuel Vadot  domains on SM6375
157ef62cebSEmmanuel Vadot
16*8bab661aSEmmanuel 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
347ef62cebSEmmanuel Vadot
357ef62cebSEmmanuel VadotunevaluatedProperties: false
367ef62cebSEmmanuel Vadot
377ef62cebSEmmanuel Vadotexamples:
387ef62cebSEmmanuel Vadot  - |
397ef62cebSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmcc.h>
407ef62cebSEmmanuel Vadot    clock-controller@1400000 {
417ef62cebSEmmanuel Vadot      compatible = "qcom,sm6375-gcc";
427ef62cebSEmmanuel Vadot      reg = <0x01400000 0x1f0000>;
437ef62cebSEmmanuel Vadot      clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
447ef62cebSEmmanuel Vadot               <&rpmcc RPM_SMD_XO_A_CLK_SRC>,
457ef62cebSEmmanuel Vadot               <&sleep_clk>;
467ef62cebSEmmanuel Vadot      #clock-cells = <1>;
477ef62cebSEmmanuel Vadot      #reset-cells = <1>;
487ef62cebSEmmanuel Vadot      #power-domain-cells = <1>;
497ef62cebSEmmanuel Vadot    };
507ef62cebSEmmanuel Vadot
517ef62cebSEmmanuel Vadot...
52