xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,ipq5332-gcc.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1*fac71e4eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*fac71e4eSEmmanuel Vadot%YAML 1.2
3*fac71e4eSEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,ipq5332-gcc.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*fac71e4eSEmmanuel Vadot
7*fac71e4eSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on IPQ5332
8*fac71e4eSEmmanuel Vadot
9*fac71e4eSEmmanuel Vadotmaintainers:
10*fac71e4eSEmmanuel Vadot  - Bjorn Andersson <andersson@kernel.org>
11*fac71e4eSEmmanuel Vadot
12*fac71e4eSEmmanuel Vadotdescription: |
13*fac71e4eSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
14*fac71e4eSEmmanuel Vadot  domains on IPQ5332.
15*fac71e4eSEmmanuel Vadot
16*fac71e4eSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-ipq5332.h
17*fac71e4eSEmmanuel Vadot
18*fac71e4eSEmmanuel VadotallOf:
19*fac71e4eSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
20*fac71e4eSEmmanuel Vadot
21*fac71e4eSEmmanuel Vadotproperties:
22*fac71e4eSEmmanuel Vadot  compatible:
23*fac71e4eSEmmanuel Vadot    const: qcom,ipq5332-gcc
24*fac71e4eSEmmanuel Vadot
25*fac71e4eSEmmanuel Vadot  clocks:
26*fac71e4eSEmmanuel Vadot    items:
27*fac71e4eSEmmanuel Vadot      - description: Board XO clock source
28*fac71e4eSEmmanuel Vadot      - description: Sleep clock source
29*fac71e4eSEmmanuel Vadot      - description: PCIE 2lane PHY pipe clock source
30*fac71e4eSEmmanuel Vadot      - description: PCIE 2lane x1 PHY pipe clock source (For second lane)
31*fac71e4eSEmmanuel Vadot      - description: USB PCIE wrapper pipe clock source
32*fac71e4eSEmmanuel Vadot
33*fac71e4eSEmmanuel Vadotrequired:
34*fac71e4eSEmmanuel Vadot  - compatible
35*fac71e4eSEmmanuel Vadot  - clocks
36*fac71e4eSEmmanuel Vadot
37*fac71e4eSEmmanuel VadotunevaluatedProperties: false
38*fac71e4eSEmmanuel Vadot
39*fac71e4eSEmmanuel Vadotexamples:
40*fac71e4eSEmmanuel Vadot  - |
41*fac71e4eSEmmanuel Vadot    clock-controller@1800000 {
42*fac71e4eSEmmanuel Vadot      compatible = "qcom,ipq5332-gcc";
43*fac71e4eSEmmanuel Vadot      reg = <0x01800000 0x80000>;
44*fac71e4eSEmmanuel Vadot      clocks = <&xo_board>,
45*fac71e4eSEmmanuel Vadot               <&sleep_clk>,
46*fac71e4eSEmmanuel Vadot               <&pcie_2lane_phy_pipe_clk>,
47*fac71e4eSEmmanuel Vadot               <&pcie_2lane_phy_pipe_clk_x1>,
48*fac71e4eSEmmanuel Vadot               <&usb_pcie_wrapper_pipe_clk>;
49*fac71e4eSEmmanuel Vadot      #clock-cells = <1>;
50*fac71e4eSEmmanuel Vadot      #power-domain-cells = <1>;
51*fac71e4eSEmmanuel Vadot      #reset-cells = <1>;
52*fac71e4eSEmmanuel Vadot    };
53*fac71e4eSEmmanuel Vadot...
54