xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8996.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-msm8996.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on MSM8996
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Stephen Boyd <sboyd@kernel.org>
11*aa1a8ff2SEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotdescription: |
148bab661aSEmmanuel Vadot  Qualcomm global clock control module which provides the clocks, resets and
15c66ec88fSEmmanuel Vadot  power domains on MSM8996.
16c66ec88fSEmmanuel Vadot
178bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-msm8996.h
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadotproperties:
20c66ec88fSEmmanuel Vadot  compatible:
21c66ec88fSEmmanuel Vadot    const: qcom,gcc-msm8996
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot  clocks:
24b97ee269SEmmanuel Vadot    minItems: 3
25c66ec88fSEmmanuel Vadot    items:
26c66ec88fSEmmanuel Vadot      - description: XO source
27c66ec88fSEmmanuel Vadot      - description: Second XO source
28c66ec88fSEmmanuel Vadot      - description: Sleep clock source
29b97ee269SEmmanuel Vadot      - description: PCIe 0 PIPE clock (optional)
30b97ee269SEmmanuel Vadot      - description: PCIe 1 PIPE clock (optional)
31b97ee269SEmmanuel Vadot      - description: PCIe 2 PIPE clock (optional)
32b97ee269SEmmanuel Vadot      - description: USB3 PIPE clock (optional)
33b97ee269SEmmanuel Vadot      - description: UFS RX symbol 0 clock (optional)
34b97ee269SEmmanuel Vadot      - description: UFS RX symbol 1 clock (optional)
35b97ee269SEmmanuel Vadot      - description: UFS TX symbol 0 clock (optional)
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot  clock-names:
38b97ee269SEmmanuel Vadot    minItems: 3
39c66ec88fSEmmanuel Vadot    items:
40c66ec88fSEmmanuel Vadot      - const: cxo
41c66ec88fSEmmanuel Vadot      - const: cxo2
42c66ec88fSEmmanuel Vadot      - const: sleep_clk
43b97ee269SEmmanuel Vadot      - const: pcie_0_pipe_clk_src
44b97ee269SEmmanuel Vadot      - const: pcie_1_pipe_clk_src
45b97ee269SEmmanuel Vadot      - const: pcie_2_pipe_clk_src
46b97ee269SEmmanuel Vadot      - const: usb3_phy_pipe_clk_src
47b97ee269SEmmanuel Vadot      - const: ufs_rx_symbol_0_clk_src
48b97ee269SEmmanuel Vadot      - const: ufs_rx_symbol_1_clk_src
49b97ee269SEmmanuel Vadot      - const: ufs_tx_symbol_0_clk_src
50c66ec88fSEmmanuel Vadot
51c66ec88fSEmmanuel Vadotrequired:
52c66ec88fSEmmanuel Vadot  - compatible
53c66ec88fSEmmanuel Vadot
547ef62cebSEmmanuel VadotallOf:
557ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
567ef62cebSEmmanuel Vadot
577ef62cebSEmmanuel VadotunevaluatedProperties: false
58c66ec88fSEmmanuel Vadot
59c66ec88fSEmmanuel Vadotexamples:
60c66ec88fSEmmanuel Vadot  - |
61c66ec88fSEmmanuel Vadot    clock-controller@300000 {
62c66ec88fSEmmanuel Vadot      compatible = "qcom,gcc-msm8996";
63c66ec88fSEmmanuel Vadot      #clock-cells = <1>;
64c66ec88fSEmmanuel Vadot      #reset-cells = <1>;
65c66ec88fSEmmanuel Vadot      #power-domain-cells = <1>;
66c66ec88fSEmmanuel Vadot      reg = <0x300000 0x90000>;
67c66ec88fSEmmanuel Vadot    };
68c66ec88fSEmmanuel Vadot...
69