xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8996.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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
7c66ec88fSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller Binding for MSM8996
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Stephen Boyd <sboyd@kernel.org>
11c66ec88fSEmmanuel Vadot  - Taniya Das <tdas@codeaurora.org>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotdescription: |
14c66ec88fSEmmanuel Vadot  Qualcomm global clock control module which supports the clocks, resets and
15c66ec88fSEmmanuel Vadot  power domains on MSM8996.
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot  See also:
18c66ec88fSEmmanuel Vadot  - dt-bindings/clock/qcom,gcc-msm8996.h
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadotproperties:
21c66ec88fSEmmanuel Vadot  compatible:
22c66ec88fSEmmanuel Vadot    const: qcom,gcc-msm8996
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  clocks:
25b97ee269SEmmanuel Vadot    minItems: 3
26c66ec88fSEmmanuel Vadot    items:
27c66ec88fSEmmanuel Vadot      - description: XO source
28c66ec88fSEmmanuel Vadot      - description: Second XO source
29c66ec88fSEmmanuel Vadot      - description: Sleep clock source
30b97ee269SEmmanuel Vadot      - description: PCIe 0 PIPE clock (optional)
31b97ee269SEmmanuel Vadot      - description: PCIe 1 PIPE clock (optional)
32b97ee269SEmmanuel Vadot      - description: PCIe 2 PIPE clock (optional)
33b97ee269SEmmanuel Vadot      - description: USB3 PIPE clock (optional)
34b97ee269SEmmanuel Vadot      - description: UFS RX symbol 0 clock (optional)
35b97ee269SEmmanuel Vadot      - description: UFS RX symbol 1 clock (optional)
36b97ee269SEmmanuel Vadot      - description: UFS TX symbol 0 clock (optional)
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot  clock-names:
39b97ee269SEmmanuel Vadot    minItems: 3
40c66ec88fSEmmanuel Vadot    items:
41c66ec88fSEmmanuel Vadot      - const: cxo
42c66ec88fSEmmanuel Vadot      - const: cxo2
43c66ec88fSEmmanuel Vadot      - const: sleep_clk
44b97ee269SEmmanuel Vadot      - const: pcie_0_pipe_clk_src
45b97ee269SEmmanuel Vadot      - const: pcie_1_pipe_clk_src
46b97ee269SEmmanuel Vadot      - const: pcie_2_pipe_clk_src
47b97ee269SEmmanuel Vadot      - const: usb3_phy_pipe_clk_src
48b97ee269SEmmanuel Vadot      - const: ufs_rx_symbol_0_clk_src
49b97ee269SEmmanuel Vadot      - const: ufs_rx_symbol_1_clk_src
50b97ee269SEmmanuel Vadot      - const: ufs_tx_symbol_0_clk_src
51c66ec88fSEmmanuel Vadot
52c66ec88fSEmmanuel Vadotrequired:
53c66ec88fSEmmanuel Vadot  - compatible
54c66ec88fSEmmanuel Vadot
55*7ef62cebSEmmanuel VadotallOf:
56*7ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
57*7ef62cebSEmmanuel Vadot
58*7ef62cebSEmmanuel VadotunevaluatedProperties: false
59c66ec88fSEmmanuel Vadot
60c66ec88fSEmmanuel Vadotexamples:
61c66ec88fSEmmanuel Vadot  - |
62c66ec88fSEmmanuel Vadot    clock-controller@300000 {
63c66ec88fSEmmanuel Vadot      compatible = "qcom,gcc-msm8996";
64c66ec88fSEmmanuel Vadot      #clock-cells = <1>;
65c66ec88fSEmmanuel Vadot      #reset-cells = <1>;
66c66ec88fSEmmanuel Vadot      #power-domain-cells = <1>;
67c66ec88fSEmmanuel Vadot      reg = <0x300000 0x90000>;
68c66ec88fSEmmanuel Vadot    };
69c66ec88fSEmmanuel Vadot...
70