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