xref: /linux/Documentation/devicetree/bindings/clock/qcom,sm8550-gcc.yaml (revision b0ef3434da07e7516a89a80206af53ea81954a80)
147ba9c50SAbel Vesa# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
247ba9c50SAbel Vesa%YAML 1.2
347ba9c50SAbel Vesa---
447ba9c50SAbel Vesa$id: http://devicetree.org/schemas/clock/qcom,sm8550-gcc.yaml#
547ba9c50SAbel Vesa$schema: http://devicetree.org/meta-schemas/core.yaml#
647ba9c50SAbel Vesa
747ba9c50SAbel Vesatitle: Qualcomm Global Clock & Reset Controller on SM8550
847ba9c50SAbel Vesa
947ba9c50SAbel Vesamaintainers:
1047ba9c50SAbel Vesa  - Bjorn Andersson <andersson@kernel.org>
1147ba9c50SAbel Vesa
1247ba9c50SAbel Vesadescription: |
1347ba9c50SAbel Vesa  Qualcomm global clock control module provides the clocks, resets and power
1447ba9c50SAbel Vesa  domains on SM8550
1547ba9c50SAbel Vesa
1647ba9c50SAbel Vesa  See also:: include/dt-bindings/clock/qcom,sm8550-gcc.h
1747ba9c50SAbel Vesa
1847ba9c50SAbel Vesaproperties:
1947ba9c50SAbel Vesa  compatible:
2047ba9c50SAbel Vesa    const: qcom,sm8550-gcc
2147ba9c50SAbel Vesa
2247ba9c50SAbel Vesa  clocks:
2347ba9c50SAbel Vesa    items:
2447ba9c50SAbel Vesa      - description: Board XO source
2547ba9c50SAbel Vesa      - description: Sleep clock source
2647ba9c50SAbel Vesa      - description: PCIE 0 Pipe clock source
2747ba9c50SAbel Vesa      - description: PCIE 1 Pipe clock source
2847ba9c50SAbel Vesa      - description: PCIE 1 Phy Auxiliary clock source
2947ba9c50SAbel Vesa      - description: UFS Phy Rx symbol 0 clock source
3047ba9c50SAbel Vesa      - description: UFS Phy Rx symbol 1 clock source
3147ba9c50SAbel Vesa      - description: UFS Phy Tx symbol 0 clock source
3247ba9c50SAbel Vesa      - description: USB3 Phy wrapper pipe clock source
3347ba9c50SAbel Vesa
3447ba9c50SAbel Vesarequired:
3547ba9c50SAbel Vesa  - compatible
3647ba9c50SAbel Vesa  - clocks
37*b0ef3434SDmitry Baryshkov  - '#power-domain-cells'
3847ba9c50SAbel Vesa
3947ba9c50SAbel VesaallOf:
4047ba9c50SAbel Vesa  - $ref: qcom,gcc.yaml#
4147ba9c50SAbel Vesa
4247ba9c50SAbel VesaunevaluatedProperties: false
4347ba9c50SAbel Vesa
4447ba9c50SAbel Vesaexamples:
4547ba9c50SAbel Vesa  - |
4647ba9c50SAbel Vesa    #include <dt-bindings/clock/qcom,rpmh.h>
4747ba9c50SAbel Vesa    clock-controller@100000 {
4847ba9c50SAbel Vesa      compatible = "qcom,sm8550-gcc";
4947ba9c50SAbel Vesa      reg = <0x00100000 0x001f4200>;
5047ba9c50SAbel Vesa      clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>,
5147ba9c50SAbel Vesa               <&pcie0_phy>,
5247ba9c50SAbel Vesa               <&pcie1_phy>,
5347ba9c50SAbel Vesa               <&pcie_1_phy_aux_clk>,
5447ba9c50SAbel Vesa               <&ufs_mem_phy 0>,
5547ba9c50SAbel Vesa               <&ufs_mem_phy 1>,
5647ba9c50SAbel Vesa               <&ufs_mem_phy 2>,
5747ba9c50SAbel Vesa               <&usb_1_qmpphy>;
5847ba9c50SAbel Vesa      #clock-cells = <1>;
5947ba9c50SAbel Vesa      #reset-cells = <1>;
6047ba9c50SAbel Vesa      #power-domain-cells = <1>;
6147ba9c50SAbel Vesa    };
6247ba9c50SAbel Vesa
6347ba9c50SAbel Vesa...
64