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