xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-sdx65.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot%YAML 1.2
3e67e8565SEmmanuel Vadot---
4e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-sdx65.yaml#
5e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6e67e8565SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SDX65
8e67e8565SEmmanuel Vadot
9e67e8565SEmmanuel Vadotmaintainers:
10e67e8565SEmmanuel Vadot  - Vamsi krishna Lanka <quic_vamslank@quicinc.com>
11e67e8565SEmmanuel Vadot
12e67e8565SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
148bab661aSEmmanuel Vadot  domains on SDX65
15e67e8565SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-sdx65.h
17e67e8565SEmmanuel Vadot
18e67e8565SEmmanuel Vadotproperties:
19e67e8565SEmmanuel Vadot  compatible:
20e67e8565SEmmanuel Vadot    const: qcom,gcc-sdx65
21e67e8565SEmmanuel Vadot
22e67e8565SEmmanuel Vadot  clocks:
23e67e8565SEmmanuel Vadot    items:
24e67e8565SEmmanuel Vadot      - description: Board XO source
25e67e8565SEmmanuel Vadot      - description: Board active XO source
26e67e8565SEmmanuel Vadot      - description: Sleep clock source
27e67e8565SEmmanuel Vadot      - description: PCIE Pipe clock source
28e67e8565SEmmanuel Vadot      - description: USB3 phy wrapper pipe clock source
29e67e8565SEmmanuel Vadot
30e67e8565SEmmanuel Vadot  clock-names:
31e67e8565SEmmanuel Vadot    items:
32e67e8565SEmmanuel Vadot      - const: bi_tcxo
33e67e8565SEmmanuel Vadot      - const: bi_tcxo_ao
34e67e8565SEmmanuel Vadot      - const: sleep_clk
35e67e8565SEmmanuel Vadot      - const: pcie_pipe_clk
36e67e8565SEmmanuel Vadot      - const: usb3_phy_wrapper_gcc_usb30_pipe_clk
37e67e8565SEmmanuel Vadot
38e67e8565SEmmanuel Vadotrequired:
39e67e8565SEmmanuel Vadot  - compatible
40e67e8565SEmmanuel Vadot  - clocks
41e67e8565SEmmanuel Vadot  - clock-names
42*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
43e67e8565SEmmanuel Vadot
447ef62cebSEmmanuel VadotallOf:
457ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
467ef62cebSEmmanuel Vadot
477ef62cebSEmmanuel VadotunevaluatedProperties: false
48e67e8565SEmmanuel Vadot
49e67e8565SEmmanuel Vadotexamples:
50e67e8565SEmmanuel Vadot  - |
51e67e8565SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
52e67e8565SEmmanuel Vadot    clock-controller@100000 {
53e67e8565SEmmanuel Vadot      compatible = "qcom,gcc-sdx65";
54e67e8565SEmmanuel Vadot      reg = <0x100000 0x1f7400>;
55e67e8565SEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>,
56cb7aa33aSEmmanuel Vadot               <&pcie_pipe_clk>, <&usb3_phy_wrapper_gcc_usb30_pipe_clk>;
57e67e8565SEmmanuel Vadot      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk",
58cb7aa33aSEmmanuel Vadot                    "pcie_pipe_clk", "usb3_phy_wrapper_gcc_usb30_pipe_clk";
59e67e8565SEmmanuel Vadot      #clock-cells = <1>;
60e67e8565SEmmanuel Vadot      #reset-cells = <1>;
61e67e8565SEmmanuel Vadot      #power-domain-cells = <1>;
62e67e8565SEmmanuel Vadot    };
63e67e8565SEmmanuel Vadot...
64