xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-sc8180x.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8180x.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SC8180x
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Bjorn Andersson <bjorn.andersson@linaro.org>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
148bab661aSEmmanuel Vadot  domains on SC8180x.
155def4c47SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-sc8180x.h
175def4c47SEmmanuel Vadot
185def4c47SEmmanuel Vadotproperties:
195def4c47SEmmanuel Vadot  compatible:
205def4c47SEmmanuel Vadot    const: qcom,gcc-sc8180x
215def4c47SEmmanuel Vadot
225def4c47SEmmanuel Vadot  clocks:
235def4c47SEmmanuel Vadot    items:
245def4c47SEmmanuel Vadot      - description: Board XO source
255def4c47SEmmanuel Vadot      - description: Board active XO source
265def4c47SEmmanuel Vadot      - description: Sleep clock source
275def4c47SEmmanuel Vadot
285def4c47SEmmanuel Vadot  clock-names:
295def4c47SEmmanuel Vadot    items:
305def4c47SEmmanuel Vadot      - const: bi_tcxo
315def4c47SEmmanuel Vadot      - const: bi_tcxo_ao
325def4c47SEmmanuel Vadot      - const: sleep_clk
335def4c47SEmmanuel Vadot
3401950c46SEmmanuel Vadot  power-domains:
3501950c46SEmmanuel Vadot    items:
3601950c46SEmmanuel Vadot      - description: CX domain
3701950c46SEmmanuel Vadot
385def4c47SEmmanuel Vadotrequired:
395def4c47SEmmanuel Vadot  - compatible
405def4c47SEmmanuel Vadot  - clocks
415def4c47SEmmanuel Vadot  - clock-names
4201950c46SEmmanuel Vadot  - power-domains
43*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
445def4c47SEmmanuel Vadot
457ef62cebSEmmanuel VadotallOf:
467ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
477ef62cebSEmmanuel Vadot
487ef62cebSEmmanuel VadotunevaluatedProperties: false
495def4c47SEmmanuel Vadot
505def4c47SEmmanuel Vadotexamples:
515def4c47SEmmanuel Vadot  - |
525def4c47SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
5301950c46SEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
545def4c47SEmmanuel Vadot    clock-controller@100000 {
555def4c47SEmmanuel Vadot      compatible = "qcom,gcc-sc8180x";
565def4c47SEmmanuel Vadot      reg = <0x00100000 0x1f0000>;
575def4c47SEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
585def4c47SEmmanuel Vadot               <&rpmhcc RPMH_CXO_CLK_A>,
595def4c47SEmmanuel Vadot               <&sleep_clk>;
605def4c47SEmmanuel Vadot      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";
6101950c46SEmmanuel Vadot      power-domains = <&rpmhpd SC8180X_CX>;
625def4c47SEmmanuel Vadot      #clock-cells = <1>;
635def4c47SEmmanuel Vadot      #reset-cells = <1>;
645def4c47SEmmanuel Vadot      #power-domain-cells = <1>;
655def4c47SEmmanuel Vadot    };
665def4c47SEmmanuel Vadot...
67