1*47ba9c50SAbel Vesa# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*47ba9c50SAbel Vesa%YAML 1.2
3*47ba9c50SAbel Vesa---
4*47ba9c50SAbel Vesa$id: http://devicetree.org/schemas/clock/qcom,sm8550-gcc.yaml#
5*47ba9c50SAbel Vesa$schema: http://devicetree.org/meta-schemas/core.yaml#
6*47ba9c50SAbel Vesa
7*47ba9c50SAbel Vesatitle: Qualcomm Global Clock & Reset Controller on SM8550
8*47ba9c50SAbel Vesa
9*47ba9c50SAbel Vesamaintainers:
10*47ba9c50SAbel Vesa  - Bjorn Andersson <andersson@kernel.org>
11*47ba9c50SAbel Vesa
12*47ba9c50SAbel Vesadescription: |
13*47ba9c50SAbel Vesa  Qualcomm global clock control module provides the clocks, resets and power
14*47ba9c50SAbel Vesa  domains on SM8550
15*47ba9c50SAbel Vesa
16*47ba9c50SAbel Vesa  See also:: include/dt-bindings/clock/qcom,sm8550-gcc.h
17*47ba9c50SAbel Vesa
18*47ba9c50SAbel Vesaproperties:
19*47ba9c50SAbel Vesa  compatible:
20*47ba9c50SAbel Vesa    const: qcom,sm8550-gcc
21*47ba9c50SAbel Vesa
22*47ba9c50SAbel Vesa  clocks:
23*47ba9c50SAbel Vesa    items:
24*47ba9c50SAbel Vesa      - description: Board XO source
25*47ba9c50SAbel Vesa      - description: Sleep clock source
26*47ba9c50SAbel Vesa      - description: PCIE 0 Pipe clock source
27*47ba9c50SAbel Vesa      - description: PCIE 1 Pipe clock source
28*47ba9c50SAbel Vesa      - description: PCIE 1 Phy Auxiliary clock source
29*47ba9c50SAbel Vesa      - description: UFS Phy Rx symbol 0 clock source
30*47ba9c50SAbel Vesa      - description: UFS Phy Rx symbol 1 clock source
31*47ba9c50SAbel Vesa      - description: UFS Phy Tx symbol 0 clock source
32*47ba9c50SAbel Vesa      - description: USB3 Phy wrapper pipe clock source
33*47ba9c50SAbel Vesa
34*47ba9c50SAbel Vesarequired:
35*47ba9c50SAbel Vesa  - compatible
36*47ba9c50SAbel Vesa  - clocks
37*47ba9c50SAbel Vesa
38*47ba9c50SAbel VesaallOf:
39*47ba9c50SAbel Vesa  - $ref: qcom,gcc.yaml#
40*47ba9c50SAbel Vesa
41*47ba9c50SAbel VesaunevaluatedProperties: false
42*47ba9c50SAbel Vesa
43*47ba9c50SAbel Vesaexamples:
44*47ba9c50SAbel Vesa  - |
45*47ba9c50SAbel Vesa    #include <dt-bindings/clock/qcom,rpmh.h>
46*47ba9c50SAbel Vesa    clock-controller@100000 {
47*47ba9c50SAbel Vesa      compatible = "qcom,sm8550-gcc";
48*47ba9c50SAbel Vesa      reg = <0x00100000 0x001f4200>;
49*47ba9c50SAbel Vesa      clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>,
50*47ba9c50SAbel Vesa               <&pcie0_phy>,
51*47ba9c50SAbel Vesa               <&pcie1_phy>,
52*47ba9c50SAbel Vesa               <&pcie_1_phy_aux_clk>,
53*47ba9c50SAbel Vesa               <&ufs_mem_phy 0>,
54*47ba9c50SAbel Vesa               <&ufs_mem_phy 1>,
55*47ba9c50SAbel Vesa               <&ufs_mem_phy 2>,
56*47ba9c50SAbel Vesa               <&usb_1_qmpphy>;
57*47ba9c50SAbel Vesa      #clock-cells = <1>;
58*47ba9c50SAbel Vesa      #reset-cells = <1>;
59*47ba9c50SAbel Vesa      #power-domain-cells = <1>;
60*47ba9c50SAbel Vesa    };
61*47ba9c50SAbel Vesa
62*47ba9c50SAbel Vesa...
63