xref: /linux/Documentation/devicetree/bindings/clock/qcom,gcc-sc7280.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
187a3d523STaniya Das# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
287a3d523STaniya Das%YAML 1.2
387a3d523STaniya Das---
487a3d523STaniya Das$id: http://devicetree.org/schemas/clock/qcom,gcc-sc7280.yaml#
587a3d523STaniya Das$schema: http://devicetree.org/meta-schemas/core.yaml#
687a3d523STaniya Das
7ece3c319SKrzysztof Kozlowskititle: Qualcomm Global Clock & Reset Controller on SC7280
887a3d523STaniya Das
987a3d523STaniya Dasmaintainers:
1060838878STaniya Das  - Taniya Das <quic_tdas@quicinc.com>
1187a3d523STaniya Das
1287a3d523STaniya Dasdescription: |
13ece3c319SKrzysztof Kozlowski  Qualcomm global clock control module provides the clocks, resets and power
14ece3c319SKrzysztof Kozlowski  domains on SC7280.
1587a3d523STaniya Das
16ece3c319SKrzysztof Kozlowski  See also:: include/dt-bindings/clock/qcom,gcc-sc7280.h
1787a3d523STaniya Das
1887a3d523STaniya Dasproperties:
1987a3d523STaniya Das  compatible:
2087a3d523STaniya Das    const: qcom,gcc-sc7280
2187a3d523STaniya Das
2287a3d523STaniya Das  clocks:
2387a3d523STaniya Das    items:
2487a3d523STaniya Das      - description: Board XO source
2587a3d523STaniya Das      - description: Board active XO source
2687a3d523STaniya Das      - description: Sleep clock source
2787a3d523STaniya Das      - description: PCIE-0 pipe clock source
2887a3d523STaniya Das      - description: PCIE-1 pipe clock source
2987a3d523STaniya Das      - description: USF phy rx symbol 0 clock source
3087a3d523STaniya Das      - description: USF phy rx symbol 1 clock source
3187a3d523STaniya Das      - description: USF phy tx symbol 0 clock source
3287a3d523STaniya Das      - description: USB30 phy wrapper pipe clock source
3387a3d523STaniya Das
3487a3d523STaniya Das  clock-names:
3587a3d523STaniya Das    items:
3687a3d523STaniya Das      - const: bi_tcxo
3787a3d523STaniya Das      - const: bi_tcxo_ao
3887a3d523STaniya Das      - const: sleep_clk
3987a3d523STaniya Das      - const: pcie_0_pipe_clk
4087a3d523STaniya Das      - const: pcie_1_pipe_clk
4187a3d523STaniya Das      - const: ufs_phy_rx_symbol_0_clk
4287a3d523STaniya Das      - const: ufs_phy_rx_symbol_1_clk
4387a3d523STaniya Das      - const: ufs_phy_tx_symbol_0_clk
4487a3d523STaniya Das      - const: usb3_phy_wrapper_gcc_usb30_pipe_clk
4587a3d523STaniya Das
467a52084aSKrzysztof Kozlowski  power-domains:
477a52084aSKrzysztof Kozlowski    items:
487a52084aSKrzysztof Kozlowski      - description: CX domain
497a52084aSKrzysztof Kozlowski
5087a3d523STaniya Dasrequired:
5187a3d523STaniya Das  - compatible
5287a3d523STaniya Das  - clocks
5387a3d523STaniya Das  - clock-names
54*b0ef3434SDmitry Baryshkov  - '#power-domain-cells'
5587a3d523STaniya Das
560f71ae94SDmitry BaryshkovallOf:
570f71ae94SDmitry Baryshkov  - $ref: qcom,gcc.yaml#
580f71ae94SDmitry Baryshkov
590f71ae94SDmitry BaryshkovunevaluatedProperties: false
6087a3d523STaniya Das
6187a3d523STaniya Dasexamples:
6287a3d523STaniya Das  - |
6387a3d523STaniya Das    #include <dt-bindings/clock/qcom,rpmh.h>
647a52084aSKrzysztof Kozlowski    #include <dt-bindings/power/qcom-rpmpd.h>
657a52084aSKrzysztof Kozlowski
6687a3d523STaniya Das    clock-controller@100000 {
6787a3d523STaniya Das      compatible = "qcom,gcc-sc7280";
6887a3d523STaniya Das      reg = <0x00100000 0x1f0000>;
6987a3d523STaniya Das      clocks = <&rpmhcc RPMH_CXO_CLK>,
7087a3d523STaniya Das               <&rpmhcc RPMH_CXO_CLK_A>,
7187a3d523STaniya Das               <&sleep_clk>,
7287a3d523STaniya Das               <&pcie_0_pipe_clk>, <&pcie_1_pipe_clk>,
7387a3d523STaniya Das               <&ufs_phy_rx_symbol_0_clk>, <&ufs_phy_rx_symbol_1_clk>,
7487a3d523STaniya Das               <&ufs_phy_tx_symbol_0_clk>,
7587a3d523STaniya Das               <&usb3_phy_wrapper_gcc_usb30_pipe_clk>;
7687a3d523STaniya Das
7787a3d523STaniya Das      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "pcie_0_pipe_clk",
7887a3d523STaniya Das                     "pcie_1_pipe_clk", "ufs_phy_rx_symbol_0_clk",
7987a3d523STaniya Das                     "ufs_phy_rx_symbol_1_clk", "ufs_phy_tx_symbol_0_clk",
8087a3d523STaniya Das                     "usb3_phy_wrapper_gcc_usb30_pipe_clk";
817a52084aSKrzysztof Kozlowski      power-domains = <&rpmhpd SC7280_CX>;
8287a3d523STaniya Das      #clock-cells = <1>;
8387a3d523STaniya Das      #reset-cells = <1>;
8487a3d523STaniya Das      #power-domain-cells = <1>;
8587a3d523STaniya Das    };
8687a3d523STaniya Das...
87