xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-sm8450.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2e67e8565SEmmanuel Vadot%YAML 1.2
3e67e8565SEmmanuel Vadot---
4e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-sm8450.yaml#
5e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6e67e8565SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM8450
8e67e8565SEmmanuel Vadot
9e67e8565SEmmanuel Vadotmaintainers:
10e67e8565SEmmanuel Vadot  - Vinod Koul <vkoul@kernel.org>
11e67e8565SEmmanuel Vadot
12e67e8565SEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
148bab661aSEmmanuel Vadot  domains on SM8450
15e67e8565SEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-sm8450.h
17e67e8565SEmmanuel Vadot
18e67e8565SEmmanuel Vadotproperties:
19e67e8565SEmmanuel Vadot  compatible:
20e67e8565SEmmanuel Vadot    const: qcom,gcc-sm8450
21e67e8565SEmmanuel Vadot
22e67e8565SEmmanuel Vadot  clocks:
23e67e8565SEmmanuel Vadot    items:
24e67e8565SEmmanuel Vadot      - description: Board XO source
25e67e8565SEmmanuel Vadot      - description: Sleep clock source
26e67e8565SEmmanuel Vadot      - description: PCIE 0 Pipe clock source (Optional clock)
27e67e8565SEmmanuel Vadot      - description: PCIE 1 Pipe clock source (Optional clock)
28aa1a8ff2SEmmanuel Vadot      - description: PCIE 1 Phy Auxiliary clock source (Optional clock)
29e67e8565SEmmanuel Vadot      - description: UFS Phy Rx symbol 0 clock source (Optional clock)
30e67e8565SEmmanuel Vadot      - description: UFS Phy Rx symbol 1 clock source (Optional clock)
31e67e8565SEmmanuel Vadot      - description: UFS Phy Tx symbol 0 clock source (Optional clock)
32e67e8565SEmmanuel Vadot      - description: USB3 Phy wrapper pipe clock source (Optional clock)
33e67e8565SEmmanuel Vadot    minItems: 2
34e67e8565SEmmanuel Vadot
35e67e8565SEmmanuel Vadot  clock-names:
36e67e8565SEmmanuel Vadot    items:
37e67e8565SEmmanuel Vadot      - const: bi_tcxo
38e67e8565SEmmanuel Vadot      - const: sleep_clk
39e67e8565SEmmanuel Vadot      - const: pcie_0_pipe_clk # Optional clock
40e67e8565SEmmanuel Vadot      - const: pcie_1_pipe_clk # Optional clock
41e67e8565SEmmanuel Vadot      - const: pcie_1_phy_aux_clk # Optional clock
42e67e8565SEmmanuel Vadot      - const: ufs_phy_rx_symbol_0_clk # Optional clock
43e67e8565SEmmanuel Vadot      - const: ufs_phy_rx_symbol_1_clk # Optional clock
44e67e8565SEmmanuel Vadot      - const: ufs_phy_tx_symbol_0_clk # Optional clock
45e67e8565SEmmanuel Vadot      - const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock
46e67e8565SEmmanuel Vadot    minItems: 2
47e67e8565SEmmanuel Vadot
48e67e8565SEmmanuel Vadotrequired:
49e67e8565SEmmanuel Vadot  - compatible
50e67e8565SEmmanuel Vadot  - clocks
51e67e8565SEmmanuel Vadot  - clock-names
52*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
53e67e8565SEmmanuel Vadot
547ef62cebSEmmanuel VadotallOf:
557ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
567ef62cebSEmmanuel Vadot
577ef62cebSEmmanuel VadotunevaluatedProperties: false
58e67e8565SEmmanuel Vadot
59e67e8565SEmmanuel Vadotexamples:
60e67e8565SEmmanuel Vadot  - |
61e67e8565SEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
62e67e8565SEmmanuel Vadot    clock-controller@100000 {
63e67e8565SEmmanuel Vadot      compatible = "qcom,gcc-sm8450";
64e67e8565SEmmanuel Vadot      reg = <0x00100000 0x001f4200>;
65e67e8565SEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>;
66e67e8565SEmmanuel Vadot      clock-names = "bi_tcxo", "sleep_clk";
67e67e8565SEmmanuel Vadot      #clock-cells = <1>;
68e67e8565SEmmanuel Vadot      #reset-cells = <1>;
69e67e8565SEmmanuel Vadot      #power-domain-cells = <1>;
70e67e8565SEmmanuel Vadot    };
71e67e8565SEmmanuel Vadot
72e67e8565SEmmanuel Vadot...
73