xref: /linux/Documentation/devicetree/bindings/clock/qcom,ipq5332-gcc.yaml (revision 8290b567621ba4e3ccf45ec9d67e0507196c5ddc)
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
33  '#power-domain-cells': false
34
35required:
36  - compatible
37  - clocks
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    clock-controller@1800000 {
44      compatible = "qcom,ipq5332-gcc";
45      reg = <0x01800000 0x80000>;
46      clocks = <&xo_board>,
47               <&sleep_clk>,
48               <&pcie_2lane_phy_pipe_clk>,
49               <&pcie_2lane_phy_pipe_clk_x1>,
50               <&usb_pcie_wrapper_pipe_clk>;
51      #clock-cells = <1>;
52      #reset-cells = <1>;
53    };
54...
55