xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,gcc-apq8084.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2d5b0e70fSEmmanuel Vadot%YAML 1.2
3d5b0e70fSEmmanuel Vadot---
4d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-apq8084.yaml#
5d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6d5b0e70fSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on APQ8084
8d5b0e70fSEmmanuel Vadot
9d5b0e70fSEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Stephen Boyd <sboyd@kernel.org>
11d5b0e70fSEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
12d5b0e70fSEmmanuel Vadot
13d5b0e70fSEmmanuel Vadotdescription: |
148bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
158bab661aSEmmanuel Vadot  domains on APQ8084.
16d5b0e70fSEmmanuel Vadot
17d5b0e70fSEmmanuel Vadot  See also::
188bab661aSEmmanuel Vadot    include/dt-bindings/clock/qcom,gcc-apq8084.h
198bab661aSEmmanuel Vadot    include/dt-bindings/reset/qcom,gcc-apq8084.h
20d5b0e70fSEmmanuel Vadot
21d5b0e70fSEmmanuel VadotallOf:
22d5b0e70fSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
23d5b0e70fSEmmanuel Vadot
24d5b0e70fSEmmanuel Vadotproperties:
25d5b0e70fSEmmanuel Vadot  compatible:
26d5b0e70fSEmmanuel Vadot    const: qcom,gcc-apq8084
27d5b0e70fSEmmanuel Vadot
28cb7aa33aSEmmanuel Vadot  clocks:
29cb7aa33aSEmmanuel Vadot    items:
30cb7aa33aSEmmanuel Vadot      - description: XO source
31cb7aa33aSEmmanuel Vadot      - description: Sleep clock source
32cb7aa33aSEmmanuel Vadot      - description: UFS RX symbol 0 clock
33cb7aa33aSEmmanuel Vadot      - description: UFS RX symbol 1 clock
34cb7aa33aSEmmanuel Vadot      - description: UFS TX symbol 0 clock
35cb7aa33aSEmmanuel Vadot      - description: UFS TX symbol 1 clock
36cb7aa33aSEmmanuel Vadot      - description: SATA ASIC0 clock
37cb7aa33aSEmmanuel Vadot      - description: SATA RX clock
38cb7aa33aSEmmanuel Vadot      - description: PCIe PIPE clock
39cb7aa33aSEmmanuel Vadot
40cb7aa33aSEmmanuel Vadot  clock-names:
41cb7aa33aSEmmanuel Vadot    items:
42cb7aa33aSEmmanuel Vadot      - const: xo
43cb7aa33aSEmmanuel Vadot      - const: sleep_clk
44cb7aa33aSEmmanuel Vadot      - const: ufs_rx_symbol_0_clk_src
45cb7aa33aSEmmanuel Vadot      - const: ufs_rx_symbol_1_clk_src
46cb7aa33aSEmmanuel Vadot      - const: ufs_tx_symbol_0_clk_src
47cb7aa33aSEmmanuel Vadot      - const: ufs_tx_symbol_1_clk_src
48cb7aa33aSEmmanuel Vadot      - const: sata_asic0_clk
49cb7aa33aSEmmanuel Vadot      - const: sata_rx_clk
50cb7aa33aSEmmanuel Vadot      - const: pcie_pipe
51cb7aa33aSEmmanuel Vadot
52d5b0e70fSEmmanuel Vadotrequired:
53d5b0e70fSEmmanuel Vadot  - compatible
54*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
55d5b0e70fSEmmanuel Vadot
56d5b0e70fSEmmanuel VadotunevaluatedProperties: false
57d5b0e70fSEmmanuel Vadot
58d5b0e70fSEmmanuel Vadotexamples:
59d5b0e70fSEmmanuel Vadot  - |
60cb7aa33aSEmmanuel Vadot    /* UFS PHY on APQ8084 is not supported (yet), so these bindings just serve an example */
61d5b0e70fSEmmanuel Vadot    clock-controller@fc400000 {
62d5b0e70fSEmmanuel Vadot        compatible = "qcom,gcc-apq8084";
63d5b0e70fSEmmanuel Vadot        reg = <0xfc400000 0x4000>;
64d5b0e70fSEmmanuel Vadot        #clock-cells = <1>;
65d5b0e70fSEmmanuel Vadot        #reset-cells = <1>;
66d5b0e70fSEmmanuel Vadot        #power-domain-cells = <1>;
67cb7aa33aSEmmanuel Vadot
68cb7aa33aSEmmanuel Vadot        clocks = <&xo_board>,
69cb7aa33aSEmmanuel Vadot                 <&sleep_clk>,
70cb7aa33aSEmmanuel Vadot                 <&ufsphy 0>,
71cb7aa33aSEmmanuel Vadot                 <&ufsphy 1>,
72cb7aa33aSEmmanuel Vadot                 <&ufsphy 2>,
73cb7aa33aSEmmanuel Vadot                 <&ufsphy 3>,
74cb7aa33aSEmmanuel Vadot                 <&sata 0>,
75cb7aa33aSEmmanuel Vadot                 <&sata 1>,
76cb7aa33aSEmmanuel Vadot                 <&pcie_phy>;
77cb7aa33aSEmmanuel Vadot        clock-names = "xo",
78cb7aa33aSEmmanuel Vadot                      "sleep_clk",
79cb7aa33aSEmmanuel Vadot                      "ufs_rx_symbol_0_clk_src",
80cb7aa33aSEmmanuel Vadot                      "ufs_rx_symbol_1_clk_src",
81cb7aa33aSEmmanuel Vadot                      "ufs_tx_symbol_0_clk_src",
82cb7aa33aSEmmanuel Vadot                      "ufs_tx_symbol_1_clk_src",
83cb7aa33aSEmmanuel Vadot                      "sata_asic0_clk",
84cb7aa33aSEmmanuel Vadot                      "sata_rx_clk",
85cb7aa33aSEmmanuel Vadot                      "pcie_pipe";
86d5b0e70fSEmmanuel Vadot    };
87d5b0e70fSEmmanuel Vadot...
88