xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-msm8996.yaml (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
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:
25*b97ee269SEmmanuel Vadot    minItems: 3
26c66ec88fSEmmanuel Vadot    items:
27c66ec88fSEmmanuel Vadot      - description: XO source
28c66ec88fSEmmanuel Vadot      - description: Second XO source
29c66ec88fSEmmanuel Vadot      - description: Sleep clock source
30*b97ee269SEmmanuel Vadot      - description: PCIe 0 PIPE clock (optional)
31*b97ee269SEmmanuel Vadot      - description: PCIe 1 PIPE clock (optional)
32*b97ee269SEmmanuel Vadot      - description: PCIe 2 PIPE clock (optional)
33*b97ee269SEmmanuel Vadot      - description: USB3 PIPE clock (optional)
34*b97ee269SEmmanuel Vadot      - description: UFS RX symbol 0 clock (optional)
35*b97ee269SEmmanuel Vadot      - description: UFS RX symbol 1 clock (optional)
36*b97ee269SEmmanuel Vadot      - description: UFS TX symbol 0 clock (optional)
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot  clock-names:
39*b97ee269SEmmanuel Vadot    minItems: 3
40c66ec88fSEmmanuel Vadot    items:
41c66ec88fSEmmanuel Vadot      - const: cxo
42c66ec88fSEmmanuel Vadot      - const: cxo2
43c66ec88fSEmmanuel Vadot      - const: sleep_clk
44*b97ee269SEmmanuel Vadot      - const: pcie_0_pipe_clk_src
45*b97ee269SEmmanuel Vadot      - const: pcie_1_pipe_clk_src
46*b97ee269SEmmanuel Vadot      - const: pcie_2_pipe_clk_src
47*b97ee269SEmmanuel Vadot      - const: usb3_phy_pipe_clk_src
48*b97ee269SEmmanuel Vadot      - const: ufs_rx_symbol_0_clk_src
49*b97ee269SEmmanuel Vadot      - const: ufs_rx_symbol_1_clk_src
50*b97ee269SEmmanuel Vadot      - const: ufs_tx_symbol_0_clk_src
51c66ec88fSEmmanuel Vadot
52c66ec88fSEmmanuel Vadot  '#clock-cells':
53c66ec88fSEmmanuel Vadot    const: 1
54c66ec88fSEmmanuel Vadot
55c66ec88fSEmmanuel Vadot  '#reset-cells':
56c66ec88fSEmmanuel Vadot    const: 1
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot  '#power-domain-cells':
59c66ec88fSEmmanuel Vadot    const: 1
60c66ec88fSEmmanuel Vadot
61c66ec88fSEmmanuel Vadot  reg:
62c66ec88fSEmmanuel Vadot    maxItems: 1
63c66ec88fSEmmanuel Vadot
64c66ec88fSEmmanuel Vadot  protected-clocks:
65c66ec88fSEmmanuel Vadot    description:
66c66ec88fSEmmanuel Vadot      Protected clock specifier list as per common clock binding.
67c66ec88fSEmmanuel Vadot
68c66ec88fSEmmanuel Vadotrequired:
69c66ec88fSEmmanuel Vadot  - compatible
70c66ec88fSEmmanuel Vadot  - reg
71c66ec88fSEmmanuel Vadot  - '#clock-cells'
72c66ec88fSEmmanuel Vadot  - '#reset-cells'
73c66ec88fSEmmanuel Vadot  - '#power-domain-cells'
74c66ec88fSEmmanuel Vadot
75c66ec88fSEmmanuel VadotadditionalProperties: false
76c66ec88fSEmmanuel Vadot
77c66ec88fSEmmanuel Vadotexamples:
78c66ec88fSEmmanuel Vadot  - |
79c66ec88fSEmmanuel Vadot    clock-controller@300000 {
80c66ec88fSEmmanuel Vadot      compatible = "qcom,gcc-msm8996";
81c66ec88fSEmmanuel Vadot      #clock-cells = <1>;
82c66ec88fSEmmanuel Vadot      #reset-cells = <1>;
83c66ec88fSEmmanuel Vadot      #power-domain-cells = <1>;
84c66ec88fSEmmanuel Vadot      reg = <0x300000 0x90000>;
85c66ec88fSEmmanuel Vadot    };
86c66ec88fSEmmanuel Vadot...
87