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