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