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